jellyfin-web/dashboard-ui/useredit.html
Luke Pulverenti 56f6598039 update text
2015-03-21 14:12:12 -04:00

118 lines
6.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<div id="editUserPage" data-role="page" class="page type-interior userProfilesPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Users">
<div data-role="content">
<div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" id="userProfileNavigation" data-mini="true">
<a href="#" data-role="button" class="ui-btn-active">${TabProfile}</a>
<a href="#" data-role="button" onclick="Dashboard.navigate('userlibraryaccess.html', true);">${TabAccess}</a>
<a href="#" data-role="button" onclick="Dashboard.navigate('userparentalcontrol.html', true);">${TabParentalControl}</a>
<a href="#" data-role="button" onclick="Dashboard.navigate('userpassword.html', true);">${TabPassword}</a>
</div>
<p class="lnkEditUserPreferencesContainer">
<a class="lnkEditUserPreferences" href="#" target="_blank">${ButtonEditOtherUserPreferences}</a>
</p>
<br/>
<form id="editUserProfileForm">
<div class="disabledUserBanner" style="display:none;">
<div class="btn btnDarkAccent btnStatic">
<div>
${HeaderThisUserIsCurrentlyDisabled}
</div>
<div style="font-weight:normal;font-size:90%;margin-top:5px;">
${MessageReenableUser}
</div>
</div>
</div>
<ul data-role="listview" class="ulForm">
<li id="fldUserName">
<label for="txtUserName">${LabelName}</label>
<input id="txtUserName" required="required" type="text" />
</li>
<li id="fldConnectInfo" style="display: none; background: #e8eef7;padding:1em;border-radius:5px;">
<label for="txtConnectUserName">${LabelConnectUserName}</label>
<input id="txtConnectUserName" type="text" />
<div class="fieldDescription">
<div>${LabelConnectUserNameHelp}</div>
<div style="margin-top: .75em;"><a href="http://emby.media/connect" target="_blank">${ButtonLearnMoreAboutEmbyConnect}</a></div>
</div>
<br />
</li>
<li>
<input type="checkbox" id="chkIsAdmin" name="chkIsAdmin" />
<label for="chkIsAdmin">${OptionAllowUserToManageServer}</label>
</li>
</ul>
<fieldset id="featureAccessFields" data-role="controlgroup">
<legend>${HeaderFeatureAccess}</legend>
<input type="checkbox" id="chkEnableContentDeletion" name="chkEnableContentDeletion" />
<label for="chkEnableContentDeletion">${OptionAllowDeleteLibraryContent}</label>
<input type="checkbox" id="chkEnableDownloading" />
<label for="chkEnableDownloading">${OptionAllowContentDownloading}</label>
<input type="checkbox" id="chkEnableMediaPlayback" name="chkEnableMediaPlayback" />
<label for="chkEnableMediaPlayback">${OptionAllowMediaPlayback}</label>
<input type="checkbox" id="chkEnableLiveTvAccess" name="chkEnableLiveTvAccess" />
<label for="chkEnableLiveTvAccess">${OptionAllowBrowsingLiveTv}</label>
<input type="checkbox" id="chkManageLiveTv" name="chkManageLiveTv" />
<label for="chkManageLiveTv">${OptionAllowManageLiveTv}</label>
<input type="checkbox" id="chkEnableSync" />
<label for="chkEnableSync">${OptionAllowSyncContent}</label>
</fieldset>
<br />
<div>
<fieldset id="remoteControlFields" data-role="controlgroup">
<legend>${HeaderRemoteControl}</legend>
<input type="checkbox" id="chkEnableRemoteControlOtherUsers" name="chkEnableRemoteControlOtherUsers" />
<label for="chkEnableRemoteControlOtherUsers">${OptionAllowRemoteControlOthers}</label>
<input type="checkbox" id="chkRemoteControlSharedDevices" />
<label for="chkRemoteControlSharedDevices">${OptionAllowRemoteSharedDevices}</label>
</fieldset>
<div class="fieldDescription">${OptionAllowRemoteSharedDevicesHelp}</div>
<br />
</div>
<div id="fldIsEnabled" style="margin: 1em 0 2em;">
<div data-role="controlgroup">
<input type="checkbox" id="chkDisabled" name="chkDisabled" />
<label for="chkDisabled">${OptionDisableUser}</label>
</div>
<div class="fieldDescription">${OptionDisableUserHelp}</div>
</div>
<div id="accessControlDiv" data-role="collapsible">
<h2>${HeaderAdvancedControl}</h2>
<div style="margin: 1em 0;">
<input type="checkbox" id="chkDisableUserPreferences" data-mini="true" />
<label for="chkDisableUserPreferences">${OptionDisableUserPreferences}</label>
<div class="fieldDescription">${OptionDisableUserPreferencesHelp}</div>
</div>
<div id="fldIsHidden" style="margin: 2em 0 1em;">
<input type="checkbox" id="chkIsHidden" name="chkIsHidden" data-mini="true" />
<label for="chkIsHidden">${OptionHideUser}</label>
<div class="fieldDescription">${OptionHideUserFromLoginHelp}</div>
</div>
</div>
<br />
<ul data-role="listview" class="ulForm">
<li>
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
${ButtonSave}
</button>
</li>
</ul>
</form>
</div>
</div>
<script type="text/javascript">
$('#editUserProfileForm').on('submit', EditUserPage.onSubmit);
</script>
</div>
</body>
</html>