From: <sil...@us...> - 2010-02-23 19:52:24
|
Revision: 1788 http://znc.svn.sourceforge.net/znc/?rev=1788&view=rev Author: silverleo Date: 2010-02-23 19:52:00 +0000 (Tue, 23 Feb 2010) Log Message: ----------- Fix input checkbox widths, which rendered badly on some browsers. Modified Paths: -------------- trunk/modules/www/webadmin/add_edit_chan.tmpl trunk/modules/www/webadmin/add_edit_user.tmpl trunk/modules/www/webadmin/settings.tmpl trunk/webskins/_default_/pub/main.css Modified: trunk/modules/www/webadmin/add_edit_chan.tmpl =================================================================== --- trunk/modules/www/webadmin/add_edit_chan.tmpl 2010-02-23 06:09:21 UTC (rev 1787) +++ trunk/modules/www/webadmin/add_edit_chan.tmpl 2010-02-23 19:52:00 UTC (rev 1788) @@ -40,7 +40,7 @@ <td>Options:</td> <td> <? LOOP OptionLoop ?> - <input type="checkbox" name="<? VAR Name ?>" id="opt_<? VAR Name ?>" value="true"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="opt_<? VAR Name ?>"> <? VAR DisplayName ?></label><br> + <input type="checkbox" class="checkbox" name="<? VAR Name ?>" id="opt_<? VAR Name ?>" value="true"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="opt_<? VAR Name ?>"> <? VAR DisplayName ?></label><br> <? ENDLOOP ?> </td> </tr> Modified: trunk/modules/www/webadmin/add_edit_user.tmpl =================================================================== --- trunk/modules/www/webadmin/add_edit_user.tmpl 2010-02-23 06:09:21 UTC (rev 1787) +++ trunk/modules/www/webadmin/add_edit_user.tmpl 2010-02-23 19:52:00 UTC (rev 1788) @@ -113,7 +113,7 @@ <tbody> <tr class="<? IF __EVEN__ ?>altrow<? ENDIF ?>"> <td> - <span class="nowrap"><input type="checkbox" name="loadmod" id="lm_<? VAR Name ?>" value="<? VAR Name ?>"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="lm_<? VAR Name ?>"> <? VAR Name ?></label></span> + <span class="nowrap"><input type="checkbox" class="checkbox" name="loadmod" id="lm_<? VAR Name ?>" value="<? VAR Name ?>"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="lm_<? VAR Name ?>"> <? VAR Name ?></label></span> </td> <td> <? IF Disabled ?><? VAR Args ?><? ELSE ?><input type="text" name="modargs_<? VAR Name ?>" value="<? VAR Args ?>" /><? ENDIF ?> @@ -171,7 +171,7 @@ <input type="hidden" name="channel" value="<? VAR Name ?>" /> [<a href="editchan?user=<? VAR Username ESC=URL ?>&name=<? VAR Name ESC=URL ?>">Edit</a>] [<a href="delchan?user=<? VAR Username ESC=URL ?>&name=<? VAR Name ESC=URL ?>">Del</a>] </td> - <td><input type="checkbox" name="save_<? VAR Name ?>"<? IF InConfig ?> checked="checked"<? ENDIF ?> /></td> + <td><input type="checkbox" class="checkbox" name="save_<? VAR Name ?>"<? IF InConfig ?> checked="checked"<? ENDIF ?> /></td> <td><? VAR Name ?></td> <td><? VAR CurModes ?></td> <td><? VAR DefModes ?></td> @@ -237,7 +237,7 @@ <td>Options:</td> <td> <? LOOP OptionLoop ?> - <span class="nowrap"><input type="checkbox" name="<? VAR Name ?>" id="opt_<? VAR Name ?>" value="1"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="opt_<? VAR Name ?>"><? VAR DisplayName ?></label><br></span> + <span class="nowrap"><input type="checkbox" class="checkbox" name="<? VAR Name ?>" id="opt_<? VAR Name ?>" value="1"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="opt_<? VAR Name ?>"><? VAR DisplayName ?></label><br></span> <? ENDLOOP ?> </td> </tr> Modified: trunk/modules/www/webadmin/settings.tmpl =================================================================== --- trunk/modules/www/webadmin/settings.tmpl 2010-02-23 06:09:21 UTC (rev 1787) +++ trunk/modules/www/webadmin/settings.tmpl 2010-02-23 19:52:00 UTC (rev 1788) @@ -130,7 +130,7 @@ <tbody> <? LOOP ModuleLoop ?> <tr class="<? IF __EVEN__ ?>altrow<? ENDIF ?>"> - <td><span class="nowrap"><input type="checkbox" name="loadmod" id="lm_<? VAR Name ?>" value="<? VAR Name ?>"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="lm_<? VAR Name ?>"> <? VAR Name ?></label></span></td> + <td><span class="nowrap"><input type="checkbox" class="checkbox" name="loadmod" id="lm_<? VAR Name ?>" value="<? VAR Name ?>"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="lm_<? VAR Name ?>"> <? VAR Name ?></label></span></td> <td><input type="text" name="modargs_<? VAR Name ?>" value="<? VAR Args ?>" /></td> <td><? VAR Description ?></td> </tr> Modified: trunk/webskins/_default_/pub/main.css =================================================================== --- trunk/webskins/_default_/pub/main.css 2010-02-23 06:09:21 UTC (rev 1787) +++ trunk/webskins/_default_/pub/main.css 2010-02-23 19:52:00 UTC (rev 1788) @@ -74,6 +74,10 @@ width: 100%; } +table.section input.checkbox { + width: auto; +} + /* !FORMS */ .nowrap { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |