- improve : template code
tables are horizontaly centered by default git-svn-id: http://piwigo.org/svn/trunk@1253 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
02597251fc
commit
6d1dd2a0f5
5 changed files with 11 additions and 34 deletions
|
@ -188,10 +188,6 @@ SPAN.filename:after {
|
|||
content: "]";
|
||||
}
|
||||
|
||||
TABLE.thumbnail {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
TD.thumbnail label {
|
||||
position: relative;
|
||||
}
|
||||
|
|
|
@ -53,6 +53,10 @@ HR.separation {
|
|||
/** General defaults **/
|
||||
INPUT {margin: 0;}
|
||||
ul, dl, li { text-align: left;}
|
||||
TABLE { /* horizontaly centered */
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
/* for debugging purpose */
|
||||
pre { text-align:left; }
|
||||
|
||||
|
|
|
@ -91,9 +91,6 @@ de l'image...
|
|||
margin-left: 10px;
|
||||
}
|
||||
|
||||
TABLE.infoTable {
|
||||
margin: auto;
|
||||
}
|
||||
TABLE.infoTable .value {
|
||||
text-align: left;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<!-- BEGIN calendar -->
|
||||
<!-- $Id:$ -->
|
||||
<!-- BEGIN thumbnails -->
|
||||
<style type="text/css">
|
||||
<!--
|
||||
|
@ -13,13 +14,13 @@ DIV.calImg
|
|||
height: {calendar.thumbnails.HEIGHT}px;
|
||||
}
|
||||
//--></style>
|
||||
<table class="calMonth" align="center" cellpadding="1">
|
||||
<table class="calMonth">
|
||||
<!-- BEGIN head -->
|
||||
<thead>
|
||||
<thead><tr>
|
||||
<!-- BEGIN col -->
|
||||
<td class="calDayHead">{calendar.thumbnails.head.col.LABEL}</td>
|
||||
<td class="calDayHead">{calendar.thumbnails.head.col.LABEL}</td>
|
||||
<!-- END col -->
|
||||
</thead>
|
||||
</tr></thead>
|
||||
<!-- END head -->
|
||||
<!-- BEGIN row -->
|
||||
<tr>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- $Id:$ -->
|
||||
<div id="content">
|
||||
|
||||
<div class="titrePage">
|
||||
|
@ -19,7 +20,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
<!-- END errors -->
|
||||
<table width="100%" align="center" cellpadding="2">
|
||||
<table width="100%" cellpadding="2">
|
||||
<tr>
|
||||
<td width="50%" colspan="2"><b>{lang:search_keywords} : </b>
|
||||
<td colspan="2" valign="top">
|
||||
|
@ -116,28 +117,6 @@
|
|||
<input type="radio" name="sd" value="d" checked="checked" />{lang:search_descending}
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <tr>
|
||||
<td width="25%" nowrap="nowrap"><b>{L_SEARCH_WITHIN} : </b></td>
|
||||
<td width="25%" nowrap="nowrap">
|
||||
<input type="radio" name="search_fields" value="all" checked="checked" />{L_SEARCH_ALL}<br />
|
||||
<input type="radio" name="search_fields" value="imgonly" />{L_SEARCH_IMG_ONLY}<br />
|
||||
<input type="radio" name="search_fields" value="commentsonly" />{L_SEARCH_COMMENTS_ONLY}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>{lang:search_sort} : </b></td>
|
||||
<td nowrap="nowrap">
|
||||
{S_SELECT_SORT_KEY}<br />
|
||||
<input type="radio" name="sd" value="a" />{lang:search_ascending}<br />
|
||||
<input type="radio" name="sd" value="d" checked="checked" />{lang:search_descending}
|
||||
</td>
|
||||
<td nowrap="nowrap"><b>{L_DISPLAY_RESULTS} : </b></td>
|
||||
<td nowrap="nowrap">
|
||||
<input type="radio" name="show_results" value="images" checked="checked" />{L_IMAGES}
|
||||
<input type="radio" name="show_results" value="comments" /> {L_COMMENTS}
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<td align="center" valign="bottom" colspan="4" height="38">
|
||||
<input type="submit" name="submit" value="{lang:submit}" class="bouton" />
|
||||
|
|
Loading…
Reference in a new issue