Changeset 100 for trunk


Ignore:
Timestamp:
07/06/11 16:23:38 (13 years ago)
Author:
Kris Deugau
Message:

/trunk/templates

Templates

UI tweaks - make sure all main-body content is valign=top

dns.css

tweak comment style so IE ignores a line properly
fix typo, set valign=top on #datatablewrapper
add a couple more classes

grouptree-ie.css

tweak padding to indent group tree properly, comment a few more (apparently)
irrelevant bits

Location:
trunk/templates
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/deldom.tmpl

    r39 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66<h3>Are you really sure you want to delete domain <TMPL_VAR NAME=domain>?</h3>
    77<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=deldom&amp;del=cancel&amp;id=<TMPL_VAR NAME=id>">cancel</a> &nbsp; | &nbsp; <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=deldom&amp;del=ok&amp;id=<TMPL_VAR NAME=id>">confirm</a>
  • trunk/templates/delgrp.tmpl

    r39 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66<h3>Are you really sure you want to delete group <TMPL_VAR NAME=delgroupname>?</h3>
    77<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=delgrp&amp;del=cancel&amp;id=<TMPL_VAR NAME=id>">cancel</a> &nbsp; | &nbsp;
  • trunk/templates/delrec.tmpl

    r39 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66<h3>Are you really sure you want to delete record:<br />
    77<TMPL_VAR NAME=host> <TMPL_VAR NAME=ftype> <TMPL_VAR NAME=recval></h3>
  • trunk/templates/deluser.tmpl

    r39 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66<h3>Are you really sure you want to delete user <TMPL_VAR NAME=user>?</h3>
    77<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=deluser&amp;del=cancel&amp;id=<TMPL_VAR NAME=id>">cancel</a> &nbsp; | &nbsp; <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=deluser&amp;del=ok&amp;id=<TMPL_VAR NAME=id>">confirm</a>
  • trunk/templates/dns.css

    r84 r100  
    2525        margin-left: 0;
    2626        padding-left: 40px;
    27 //border: thin solid #FF0000;
     27/*      border: thin solid #FF0000;*/
    2828}
    2929fieldset {
     
    181181        text-align: center;
    182182}
     183.maintitle {
     184        font-size: 1.3em;
     185}
     186
    183187
    184188#header {
     
    228232        width: 98%;
    229233        margin-left: 1%;
    230         margin:right: 1%;
    231 }
     234        margin-right: 1%;
     235        vertical-align: top;
     236}
     237table.csubtable {
     238        margin-left: auto;
     239        margin-right: auto;
     240}
     241td.main {
     242        vertical-align: top;
     243}
  • trunk/templates/dnsq.tmpl

    r38 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77<TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
  • trunk/templates/domlist.tmpl

    r95 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77 <TMPL_IF errmsg>
     
    99 </TMPL_IF>
    1010
    11 <div id="datatablewrapper">
    12 
    1311<table width="98%">
    14 <tr><th colspan="3" align="center">Domain list</th></tr>
     12<tr><th colspan="3"><div class="center maintitle">Domain list</div></th></tr>
    1513<tr>
    1614<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
     
    4947</table>
    5048
    51 </div>
    52 
    5349</td>
    5450</tr>
  • trunk/templates/edgroup.tmpl

    r66 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77<form action="dns.cgi" method="post">
  • trunk/templates/editsoa.tmpl

    r39 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77<TMPL_IF update_failed><div class="errmsg">Error updating SOA record: <TMPL_VAR NAME=msg></div></TMPL_IF>
    88
    9 <div>edit SOA</div>
     9<div>Edit SOA</div>
    1010
    1111<div id="tableholder">
     
    2222<tr class="darkrowheader">
    2323        <td colspan="2" class="title"><TMPL_IF NAME=isgrp>Edit default SOA record for group <TMPL_ELSE>Edit SOA record for </TMPL_IF><TMPL_VAR NAME=parent></td>
    24         <td class="title">Systemwide defaults:</td>
     24        <td class="title">Defaults:</td>
    2525</tr>
    2626<tr class="datalinelight">
  • trunk/templates/grouptree-ie.css

    r84 r100  
    33*/
    44ul.grptree {
    5         padding-left: 0px;      /* hack pthui */
     5/*      padding-left: 0px;      /* hack pthui */
     6        padding-left: 15px;     /* hack pthui */
    67}
    78li.hassub {
     
    3233        -khtml-opacity: 0;
    3334}
    34 li.hassub input + ul {
     35/*li.hassub input + ul {
    3536/*      background: url('../images/tree_closed.png') 0px -2px no-repeat;*/
    3637/*      margin-top: -0.95em;    /* esplain to me, why this not 1em?  O_o */
    3738/*      padding-top: 0.1em;*/
    38         padding-left: 1.25em;   /* ah-HA!  use this to adjust the indent!  watch for neg margin from li.hassub */
     39/*      padding-left: 2.25em;   /* ah-HA!  use this to adjust the indent!  watch for neg margin from li.hassub */
    3940/*      xdisplay: block;
    4041/*      height: 1em;*/
    41 }
     42/*}
    4243/*li.hassub input + ul > li {
    4344/*      height: 0;
     
    5455/*      padding-top: 1.1em;
    5556/*      height: auto;*/
    56 }
     57/*}*/
    5758/*li.hassub input:checked + ul > li {
    5859/*      height: auto;
  • trunk/templates/grpman.tmpl

    r79 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77 <TMPL_IF del_failed>
     
    99 </TMPL_IF>
    1010
    11 <div id="datatablewrapper">
    12 
    1311<table width="98%">
    14 <tr><th colspan="3" align="center">Manage groups</th></tr>
     12<tr><th colspan="3"><div class="center maintitle">Manage groups</div></th></tr>
    1513<tr>
    1614<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
     
    4644</table>
    4745
    48 </div>
    49 
    5046</td>
    5147</tr>
  • trunk/templates/log.tmpl

    r90 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
    6 
    7 <div id="datatablewrapper">
     5<td align="center" valign="top">
    86
    97<table border="0" width="90%">
    10 <tr><th colspan="5" align="center">Log entries for <TMPL_VAR NAME=logfor></th></tr>
     8<tr><th colspan="5"><div class="center maintitle">Log entries for <TMPL_VAR NAME=logfor></div></th></tr>
    119  <tr class="darkrowheader">
    1210      <td>Name</td>
     
    3432</table>
    3533
    36 </div>
    37 
    3834</td>
    3935</tr>
    4036</table>
    41 
  • trunk/templates/newdomain.tmpl

    r38 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77<form action="dns.cgi">
  • trunk/templates/newgrp.tmpl

    r66 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77<form action="dns.cgi">
  • trunk/templates/reclist.tmpl

    r95 r100  
    1313<table><tr><td>
    1414
    15 <div class="center">Records<TMPL_IF NAME=parent> in <TMPL_VAR NAME=parent></TMPL_IF></div>
     15<div class="center maintitle">Records<TMPL_IF NAME=parent> in <TMPL_VAR NAME=parent></TMPL_IF></div>
    1616
    1717<TMPL_INCLUDE NAME=soadata.tmpl>
  • trunk/templates/record.tmpl

    r90 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77<form action="dns.cgi" method="post">
  • trunk/templates/template.tmpl

    r65 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77<!-- content here -->
  • trunk/templates/user.tmpl

    r82 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77<form action="dns.cgi" method="post">
  • trunk/templates/useradmin.tmpl

    r67 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td class="main">
    66
    77<TMPL_IF warnmsg>
    88<div class="warning">Warning: <TMPL_VAR NAME=warnmsg></div>
    99</TMPL_IF>
    10  <TMPL_IF del_failed>
    11   <div class='errmsg'>Error deleting user <TMPL_VAR NAME=delusername>: <TMPL_VAR NAME=errmsg></div>
    12  </TMPL_IF>
     10<TMPL_IF del_failed>
     11<div class='errmsg'>Error deleting user <TMPL_VAR NAME=delusername>: <TMPL_VAR NAME=errmsg></div>
     12</TMPL_IF>
    1313
    14 <div id="datatablewrapper">
    15 
    16 <table width="98%">
    17 <tr><th colspan="3" align="center">Manage users</th></tr>
     14<table width="98%" class="csubtable">
     15<tr><th colspan="3"><div class="center maintitle">Manage users</div></th></tr>
    1816<tr>
    1917<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
     
    2523</table>
    2624
    27 <table width="98%" border="0" cellspacing="4" cellpadding="3">
     25<table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable">
    2826<tr>
    2927<TMPL_LOOP NAME=colheads>
     
    4745</table>
    4846
    49 </div>
    50 
    5147</td>
    5248</tr>
  • trunk/templates/whoisq.tmpl

    r48 r100  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77<TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
Note: See TracChangeset for help on using the changeset viewer.