aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-05-22 16:57:43 +0200
committerMax Magorsch <arzano@gentoo.org>2020-05-22 16:57:43 +0200
commita005ba8e29ff68950bc6b9c93898ddb34fb25d60 (patch)
tree24e4051efc3e19c04095aa0ce3695c5c7dd43110 /admin/resources/templates/kc-switch.html
downloadtyrian-keycloak-theme-a005ba8e29ff68950bc6b9c93898ddb34fb25d60.tar.gz
tyrian-keycloak-theme-a005ba8e29ff68950bc6b9c93898ddb34fb25d60.tar.bz2
tyrian-keycloak-theme-a005ba8e29ff68950bc6b9c93898ddb34fb25d60.zip
Initial version of the theme
Please note that this is currently still a WIP and likely to change a lot in future. Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'admin/resources/templates/kc-switch.html')
-rw-r--r--admin/resources/templates/kc-switch.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/admin/resources/templates/kc-switch.html b/admin/resources/templates/kc-switch.html
new file mode 100644
index 0000000..7f28598
--- /dev/null
+++ b/admin/resources/templates/kc-switch.html
@@ -0,0 +1,12 @@
+<span>
+ <div class='onoffswitch' tabindex='0'>
+ <input type='checkbox' ng-model='ngModel' class='onoffswitch-checkbox' name='{{name}}' id='{{id}}'>
+ <label for='{{id}}' class='onoffswitch-label'>
+ <span class='onoffswitch-inner'>
+ <span class='onoffswitch-active'>{{kcOnText}}</span>
+ <span class='onoffswitch-inactive'>{{kcOffText}}</span>
+ </span>
+ <span class='onoffswitch-switch'></span>
+ </label>
+ </div>
+</span> \ No newline at end of file