SF.net SVN: postfixadmin:[1129] trunk
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2011-07-25 23:18:58
|
Revision: 1129 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=1129&view=rev Author: christian_boltz Date: 2011-07-25 23:18:52 +0000 (Mon, 25 Jul 2011) Log Message: ----------- templates/edit-vacation.tpl, templates/users_vacation.tpl: - replaced hardcoded background-color with class=readonly css/default.css: - new style .readonly for vacation start/end input fields Modified Paths: -------------- trunk/css/default.css trunk/templates/edit-vacation.tpl trunk/templates/users_vacation.tpl Modified: trunk/css/default.css =================================================================== --- trunk/css/default.css 2011-07-25 22:59:39 UTC (rev 1128) +++ trunk/css/default.css 2011-07-25 23:18:52 UTC (rev 1129) @@ -38,6 +38,10 @@ font-size: 13px; } +.readonly { + background:#eee; +} + .button { border: 1px solid #aaaaaa; color: #777777; Modified: trunk/templates/edit-vacation.tpl =================================================================== --- trunk/templates/edit-vacation.tpl 2011-07-25 22:59:39 UTC (rev 1128) +++ trunk/templates/edit-vacation.tpl 2011-07-25 23:18:52 UTC (rev 1129) @@ -19,7 +19,7 @@ </tr> <tr> <td class="label"><label>{$PALANG.pUsersVacation_activefrom}:</label></td> - <td><input class="flat" name="activefrom" value="{$tActiveFrom}" readonly="readonly" style="background:#eee;"/> + <td><input class="flat readonly" name="activefrom" value="{$tActiveFrom}" readonly="readonly" /> {literal} <script language="JavaScript" type="text/javascript"> new tcal ({ @@ -33,7 +33,7 @@ </tr> <tr> <td class="label"><label>{$PALANG.pUsersVacation_activeuntil}:</label></td> - <td><input class="flat" name="activeuntil" value="{$tActiveUntil}" readonly="readonly" style="background:#eee;"/> + <td><input class="flat readonly" name="activeuntil" value="{$tActiveUntil}" readonly="readonly" /> {literal} <script language="JavaScript" type="text/javascript"> new tcal ({ Modified: trunk/templates/users_vacation.tpl =================================================================== --- trunk/templates/users_vacation.tpl 2011-07-25 22:59:39 UTC (rev 1128) +++ trunk/templates/users_vacation.tpl 2011-07-25 23:18:52 UTC (rev 1129) @@ -14,7 +14,7 @@ </tr> <tr> <td class="label"><label>{$PALANG.pUsersVacation_activefrom}:</label></td> - <td><input class="flat" name="fActiveFrom" value="{$tActiveFrom}" readonly="readonly" style="background:#eee;" /> + <td><input class="flat readonly" name="fActiveFrom" value="{$tActiveFrom}" readonly="readonly" /> {literal} <script language="JavaScript" type="text/javascript"> new tcal ({ @@ -28,7 +28,7 @@ </tr> <tr> <td class="label"><label>{$PALANG.pUsersVacation_activeuntil}:</label></td> - <td><input class="flat" name="fActiveUntil" value="{$tActiveUntil}" readonly="readonly" style="background:#eee;" /> + <td><input class="flat readonly" name="fActiveUntil" value="{$tActiveUntil}" readonly="readonly" /> {literal} <script language="JavaScript" type="text/javascript"> new tcal ({ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |