From c4e1715bfb2df1698ea89706ce48aed5a3eb91fb Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 27 Apr 2010 16:27:45 +0000 Subject: [PATCH] Added caps proof of concept git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17891 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/images/caps.png | Bin 0 -> 557 bytes gosa-core/html/include/gosa.js | 31 +++++++++++++++++++++++ gosa-core/html/themes/default/style.css | 5 ++++ gosa-core/ihtml/themes/default/login.tpl | 9 +++++-- 4 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 gosa-core/html/images/caps.png diff --git a/gosa-core/html/images/caps.png b/gosa-core/html/images/caps.png new file mode 100644 index 0000000000000000000000000000000000000000..c44694d8cf98677e94a48fd9e5971cfd38aed69b GIT binary patch literal 557 zcmV+|0@D47P)fo}JdthI3vn5flSfs_*7d*peJ>+2hM&)?V9+Fwh7UawEg z9BZwk)zt=w2;O@zGng69Io#gfK?t$mYOQ>G1@wA-0uV1QE<}yS2LOQgz5t%rJkN1| z{{U;= 97 && charCode <= 122 && shifton) { + return true; + } + + if (charCode >= 65 && charCode <= 90 && !shifton) { + return true; + } + + return false; +} + + + /* Scroll down the body frame */ function scrollDown2() { diff --git a/gosa-core/html/themes/default/style.css b/gosa-core/html/themes/default/style.css index cf4b4897a..944babcd2 100644 --- a/gosa-core/html/themes/default/style.css +++ b/gosa-core/html/themes/default/style.css @@ -58,6 +58,11 @@ input[type=text]:hover, input[type=password]:hover, textarea:hover, select:hover border-color:#777; } +input[type=password]{ + background-repeat:no-repeat; + background-position:right center; +} + textarea, select { border:1px solid #DDD; margin-bottom:2px; diff --git a/gosa-core/ihtml/themes/default/login.tpl b/gosa-core/ihtml/themes/default/login.tpl index 569ca4250..1dc7ceacf 100644 --- a/gosa-core/ihtml/themes/default/login.tpl +++ b/gosa-core/ihtml/themes/default/login.tpl @@ -46,8 +46,13 @@ -- 2.30.2