From e83f7456a4c53c21ab900156b51452914cfa56df Mon Sep 17 00:00:00 2001 From: larsz Date: Fri, 27 Jan 2012 00:52:03 +0200 Subject: [PATCH] added styles for required fields in each service, minor style fix in CRON form (issue #38) --- web/css/main.css | 8 ++++++- web/images/asterisk2.png | Bin 0 -> 958 bytes web/js/templates.js | 50 +++++++++++++++++++-------------------- 3 files changed, 32 insertions(+), 26 deletions(-) create mode 100644 web/images/asterisk2.png diff --git a/web/css/main.css b/web/css/main.css index 8baf0849..5a6a1026 100644 --- a/web/css/main.css +++ b/web/css/main.css @@ -3,7 +3,7 @@ Title : Vesta Author : Eugen Lobicov, eugen.lobicov@gmail.com created : November 27, 2009 -last updated : January 15, 2012 +last updated : January 26, 2012 - - - - - - - - - - - - - - - - - - */ html{ @@ -1531,6 +1531,11 @@ input::-moz-focus-inner{ color:#a3a590; } + .b-new-entry .mandatory{ + padding-right:5px; + background:url(../images/asterisk2.png) no-repeat 100% 2px; + } + .b-new-entry .custom-select{} .b-new-entry .textarea{ @@ -1925,6 +1930,7 @@ input::-moz-focus-inner{ .b-new-entry_cron .form-row-line .text-field{ width:112px; margin:0; + padding-right:7px; } .b-new-entry_cron .form-row-line .cron-week-box .text-field{ width:109px; diff --git a/web/images/asterisk2.png b/web/images/asterisk2.png new file mode 100644 index 0000000000000000000000000000000000000000..363ea7adb3e5120f3bcb39af5d15d2c38c8420b5 GIT binary patch literal 958 zcmaJ=O^ee&7!J0Ub#XyFh{}RvR>6Z!GD$zSp>elqTDM?o=@zyKf@w0{hTUZ1WNOpm zp@@g|SoR*Gpo4Z@U*mthd(Q*c(fFOLDVaeT_1vuyLEEEx%O367 z1&80b1B#K#1Uy775PAE4s74w;(N)mVWCin zHDo!>5b1E}Q!7gQ;o3~WK%q_CfV$WRv7*(%eX8-y>2V5PFqieiX_;8T#K;OnC`fTi zGoWeyAL@B?bV!@%#P2_a!`3iBViSe9Pi%H^-L*JWpq2@;C?+k8_h(gX^f1L?4+o&U zodr9t@8Cf=L7S#p^FwO+HmVsK&-jAtI%-wXVJ@r4vYxF#Sb;h$8>O6)Sua=hs;)~j zu7T~ohkQEYIwxFZAvbOWFJO@kMBFFHsS@mgNy4hT*o(AKZ_0HRdw~nNA~Pe#*Lv!j zXGg4e;^n+)*=FAM$Y;GySW|y}NiMSok*OJ_R`jj&=i1R{E_t;1GWqC-i%*Vtx`AM=#QTL1>X85UH||9 literal 0 HcmV?d00001 diff --git a/web/js/templates.js b/web/js/templates.js index 2d663be5..6b538fd3 100644 --- a/web/js/templates.js +++ b/web/js/templates.js @@ -126,18 +126,18 @@ App.Templates.html = { \
\ \ - \ - \ + \ + \
\
\ - \ + \
\ - \ + \  \
\
\
\ - \ + \ ~!:TPL_DEFAULT_VALUE~! t \ \ + \ + \
\
\ - \ - \ + \ + \
\
\ \ @@ -253,8 +253,8 @@ App.Templates.html = { \
\ - \ - \ + \ + \
\
\ \ @@ -371,7 +371,7 @@ App.Templates.html = { '], NS_RECORD: ['~!:NAME~!'], NS_INPUT: ['
\ - \ + \ \ \
'], @@ -389,11 +389,11 @@ App.Templates.html = { \
\ - \ - \ + \ + \
\
\ - \ + \ \ Generate\
\ @@ -416,7 +416,7 @@ App.Templates.html = { \
\
\ - \ + \ \
\
\ @@ -424,19 +424,19 @@ App.Templates.html = { \
\
\ - \ + \ \
\
\ - \ + \ \
\
\ - \ + \ \
\
\ - \ + \ \
\ ~!:NS~!\ @@ -598,8 +598,8 @@ App.Templates.html = { \
\ - \ - \ + \ + \
\
\ \ @@ -942,7 +942,7 @@ App.Templates.html = {
\
\
\ - Schedule Time:\ + Schedule Time:\
\ \
\ @@ -975,8 +975,8 @@ App.Templates.html = {
\
\
\ - \ - \ + \ + \
\