jellyfin-web/dashboard-ui/device.html

59 lines
2.6 KiB
HTML
Raw Normal View History

2014-10-11 18:46:02 -07:00
<!DOCTYPE html>
<html>
<head>
<title>${TitleDevices}</title>
</head>
<body>
<div id="devicePage" data-role="page" class="page type-interior devicesPage">
<div data-role="content">
<div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="devices.html" data-role="button" class="ui-btn-active">${TabDevices}</a>
<a href="devicesupload.html" data-role="button">${TabCameraUpload}</a>
</div>
<div class="readOnlyContent">
<form class="deviceForm">
<ul data-role="listview" class="ulForm">
<li>
2014-10-13 13:14:53 -07:00
<label for="txtCustomName">${LabelCustomDeviceDisplayName}</label>
<input type="text" id="txtCustomName" data-mini="true" />
<div class="fieldDescription">${LabelCustomDeviceDisplayNameHelp}</div>
</li>
<li id="fldCameraUploadPath" style="display:none;">
2014-10-11 18:46:02 -07:00
<label for="txtUploadPath">${LabelCameraUploadPath}</label>
<div style="display: inline-block; width: 92%;">
<input type="text" id="txtUploadPath" data-mini="true" />
</div>
<button id="btnSelectUploadPath" type="button" data-icon="search" data-iconpos="notext" data-inline="true">${ButtonSelectDirectory}</button>
<div class="fieldDescription">${LabelCameraUploadPathHelp}</div>
</li>
</ul><br />
<ul data-role="listview" class="ulForm">
<li>
<button type="submit" data-theme="b" data-icon="check">
${ButtonSave}
</button>
<button type="button" onclick="Dashboard.navigate('devices.html');" data-icon="delete">
${ButtonCancel}
</button>
</li>
</ul>
</form>
</div>
</div>
</div>
2014-10-13 13:14:53 -07:00
<script type="text/javascript">
$('.deviceForm').off('submit', DevicePage.onSubmit).on('submit', DevicePage.onSubmit);
</script>
2014-10-11 18:46:02 -07:00
</div>
</body>
</html>