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