Add device token to android app notifier config

This commit is contained in:
JonnyWong16 2017-03-25 23:39:32 -07:00
commit 8e13e2deb2
4 changed files with 27 additions and 29 deletions

View file

@ -526,6 +526,12 @@ textarea.form-control:focus {
text-align: center;
pointer-events: none;
}
.form-control[readonly] {
background-color: #555;
}
.form-control[readonly]:focus {
background-color: #fff;
}
.poster {
position: relative;
height: 225px;
@ -3037,12 +3043,6 @@ a:hover .overlay-refresh-image:hover {
#plex-log-levels label {
margin-bottom: 0;
}
#api_key.form-control[readonly] {
background-color: #555;
}
#api_key.form-control[readonly]:focus {
background-color: #fff;
}
#plexpy-notifiers-table .friendly_name,
#notifier-config-modal span.notifier_id {
color: #777;

View file

@ -43,7 +43,7 @@
<label for="${item['name']}">${item['label']}</label>
<div class="row">
<div class="col-md-8">
<input type="${item['input_type']}" class="form-control" id="${item['name']}" name="${item['name']}" value="${item['value']}" size="30">
<input type="${item['input_type']}" class="form-control" id="${item['name']}" name="${item['name']}" value="${item['value']}" size="30" ${'readonly' if item.get('readonly') else ''}>
% if item['name'] == 'osx_notify_app':
<a href="javascript:void(0)" id="osxnotifyregister">Register</a>
% endif