1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

remove button markup

This commit is contained in:
Luke Pulverenti 2015-09-06 15:09:36 -04:00
parent c58b7f3469
commit aed5226fe5
32 changed files with 217 additions and 643 deletions

View file

@ -218,7 +218,7 @@
function showPendingUserMenu(elem) {
require(['jqmpopup'], function() {
require(['jqmpopup'], function () {
var card = $(elem).parents('.card');
var page = $(elem).parents('.page');
var id = card.attr('data-id');
@ -281,9 +281,8 @@
html += '<div class="cardFooter">';
html += '<div class="cardText" style="text-align:right; float:right;">';
html += '<button class="btnUserMenu" type="button" data-inline="true" data-iconpos="notext" data-icon="ellipsis-v" style="margin: 2px 0 0;"></button>';
html += '<div class="cardText" style="text-align:right; float:right;padding:0;">';
html += '<paper-icon-button icon="' + AppInfo.moreIcon + '" class="btnUserMenu"></paper-icon-button>';
html += "</div>";
html += '<div class="cardText" style="margin-right: 30px; padding: 11px 0 10px;">';
@ -470,6 +469,11 @@
showInvitePopup(page);
});
$('.btnAddUser', page).on('click', function () {
Dashboard.navigate('usernew.html');
});
$('.addUserForm').off('submit', onSubmit).on('submit', onSubmit);
}).on('pagebeforeshow', "#userProfilesPage", function () {