mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update action sheet
This commit is contained in:
parent
4d7cc304b7
commit
76376601ab
4 changed files with 14 additions and 18 deletions
|
@ -103,7 +103,7 @@
|
||||||
|
|
||||||
// If any items have an icon, give them all an icon just to make sure they're all lined up evenly
|
// If any items have an icon, give them all an icon just to make sure they're all lined up evenly
|
||||||
var renderIcon = itemsWithIcons.length;
|
var renderIcon = itemsWithIcons.length;
|
||||||
var center = options.title && (!itemsWithIcons.length || itemsWithIcons.length != options.items.length);
|
var center = options.title && (!itemsWithIcons.length);
|
||||||
|
|
||||||
if (center) {
|
if (center) {
|
||||||
dlg.classList.add('centered');
|
dlg.classList.add('centered');
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
return {
|
return {
|
||||||
name: name,
|
name: name,
|
||||||
id: t.id,
|
id: t.id,
|
||||||
ironIcon: 'tablet-android'
|
ironIcon: playerInfo.id == t.id ? 'check' : null
|
||||||
};
|
};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
$('#txtUserName', page).val(user.Name);
|
$('#txtUserName', page).val(user.Name);
|
||||||
$('#txtConnectUserName', page).val(currentUser.ConnectUserName);
|
$('#txtConnectUserName', page).val(currentUser.ConnectUserName);
|
||||||
|
|
||||||
$('#chkIsAdmin', page).checked(user.Policy.IsAdministrator).checkboxradio("refresh");
|
$('#chkIsAdmin', page).checked(user.Policy.IsAdministrator);
|
||||||
|
|
||||||
$('#chkDisabled', page).checked(user.Policy.IsDisabled).checkboxradio("refresh");
|
$('#chkDisabled', page).checked(user.Policy.IsDisabled).checkboxradio("refresh");
|
||||||
$('#chkIsHidden', page).checked(user.Policy.IsHidden).checkboxradio("refresh");
|
$('#chkIsHidden', page).checked(user.Policy.IsHidden).checkboxradio("refresh");
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title></title>
|
<title></title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="editUserPage" data-role="page" class="page type-interior userProfilesPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Users" data-require="jqmcollapsible,scripts/useredit,paper-input,jqmcheckbox">
|
<div id="editUserPage" data-role="page" class="page type-interior userProfilesPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Users" data-require="jqmcollapsible,scripts/useredit,paper-input,jqmcheckbox,paper-checkbox">
|
||||||
|
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
<div class="content-primary">
|
<div class="content-primary">
|
||||||
|
@ -48,8 +48,7 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<input type="checkbox" id="chkIsAdmin" name="chkIsAdmin" />
|
<paper-checkbox id="chkIsAdmin">${OptionAllowUserToManageServer}</paper-checkbox>
|
||||||
<label for="chkIsAdmin">${OptionAllowUserToManageServer}</label>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<fieldset id="featureAccessFields" data-role="controlgroup">
|
<fieldset id="featureAccessFields" data-role="controlgroup">
|
||||||
|
@ -114,8 +113,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="fieldDescription">${OptionDisableUserHelp}</div>
|
<div class="fieldDescription">${OptionDisableUserHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="accessControlDiv" data-role="collapsible">
|
|
||||||
<h2>${HeaderAdvancedControl}</h2>
|
|
||||||
<div style="margin: 1em 0;">
|
<div style="margin: 1em 0;">
|
||||||
<input type="checkbox" id="chkDisableUserPreferences" data-mini="true" />
|
<input type="checkbox" id="chkDisableUserPreferences" data-mini="true" />
|
||||||
<label for="chkDisableUserPreferences">${OptionDisableUserPreferences}</label>
|
<label for="chkDisableUserPreferences">${OptionDisableUserPreferences}</label>
|
||||||
|
@ -126,7 +123,6 @@
|
||||||
<label for="chkIsHidden">${OptionHideUser}</label>
|
<label for="chkIsHidden">${OptionHideUser}</label>
|
||||||
<div class="fieldDescription">${OptionHideUserFromLoginHelp}</div>
|
<div class="fieldDescription">${OptionHideUserFromLoginHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<br />
|
<br />
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue