Show More
@@ -9,8 +9,18 b'' | |||||
9 | @import 'buttons'; |
|
9 | @import 'buttons'; | |
10 |
|
10 | |||
11 | :root { |
|
11 | :root { | |
12 | --primary-color: @rcblue; |
|
12 | --primary-color: @rcblue; | |
13 | --light-primary-color: @rclightblue; |
|
13 | --light-primary-color: @rclightblue; | |
14 | --dark-primary-color: @rcdarkblue; |
|
14 | --dark-primary-color: @rcdarkblue; | |
15 |
--primary-text-color: @ |
|
15 | --primary-text-color: @text-color; | |
|
16 | ||||
|
17 | --paper-spinner-layer-1-color: @grey6; | |||
|
18 | --paper-spinner-layer-2-color: @grey5; | |||
|
19 | --paper-spinner-layer-3-color: @grey4; | |||
|
20 | --paper-spinner-layer-4-color: @grey3; | |||
16 | } |
|
21 | } | |
|
22 | ||||
|
23 | .paper-toggle-button { | |||
|
24 | display: inline; | |||
|
25 | } | |||
|
26 |
@@ -10,7 +10,7 b'' | |||||
10 |
|
10 | |||
11 | <div class="panel panel-default"> |
|
11 | <div class="panel panel-default"> | |
12 | <div class="panel-heading"> |
|
12 | <div class="panel-heading"> | |
13 |
<h3 class="panel-title">${_('Your |
|
13 | <h3 class="panel-title">${_('Your Live Notification Settings')}</h3> | |
14 | </div> |
|
14 | </div> | |
15 | <div class="panel-body"> |
|
15 | <div class="panel-body"> | |
16 |
|
16 | |||
@@ -23,15 +23,13 b'' | |||||
23 | <div class="fields"> |
|
23 | <div class="fields"> | |
24 | <div class="field"> |
|
24 | <div class="field"> | |
25 | <div class="label"> |
|
25 | <div class="label"> | |
26 |
<label for="new_email">${_('Notifications |
|
26 | <label for="new_email">${_('Notifications Status')}:</label> | |
27 | </div> |
|
27 | </div> | |
28 | <div class="checkboxes"> |
|
28 | <div class="checkboxes"> | |
29 | <div style="display: inline-block"> |
|
29 | <paper-toggle-button class="paper-toggle-button" on-change="toggleNotifications" ${'checked' if c.rhodecode_user.get_instance().user_data.get('notification_status') else ''}></paper-toggle-button> | |
30 | <paper-toggle-button on-change="toggleNotifications" ${'checked' if c.rhodecode_user.get_instance().user_data.get('notification_status') else ''}></paper-toggle-button> |
|
|||
31 | <paper-tooltip>Toggle your notifications on/off globally.</paper-tooltip> |
|
30 | <paper-tooltip>Toggle your notifications on/off globally.</paper-tooltip> | |
32 | </div> |
|
|||
33 | <template is="dom-if" if="{{changeNotificationsLoading}}"> |
|
31 | <template is="dom-if" if="{{changeNotificationsLoading}}"> | |
34 | <paper-spinner active class="toggle-ajax-spinner"></paper-spinner> |
|
32 | <paper-spinner active class="toggle-ajax-spinner"></paper-spinner> | |
35 | </template> |
|
33 | </template> | |
36 | </div> |
|
34 | </div> | |
37 | </div> |
|
35 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now