- Timestamp:
- Apr 25, 2006, 9:14:47 PM (19 years ago)
- Location:
- branches/branch-1_6/template/yoga
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/template/yoga/default-layout.css
r1262 r1267 126 126 /** 127 127 * Filter forms are displayed label by label with the input (or select...) 128 * below the label. Use a SPAN to group objects in a single line. 128 * below the label. Use an UL to make a group (radiobox for instance). 129 * Use a SPAN to group objects in line 129 130 */ 130 131 FIELDSET { … … 134 135 } 135 136 137 FORM.filter FIELDSET UL { 138 margin: 0; 139 } 140 FORM.filter FIELDSET UL, 136 141 FORM.filter FIELDSET LABEL { 137 142 display: block; 138 143 float: left; 139 width: auto;140 144 margin-right: 1em; 141 145 padding: 0; 142 146 } 143 FORM.filter FIELDSET UL LABEL { 147 148 FORM.filter FIELDSET LI { 149 list-style: none; 150 margin-bottom: 0.5em; 151 } 152 153 FORM.filter FIELDSET LI LABEL { 154 display: inline; 155 float: none; 156 } 157 158 FORM.filter FIELDSET UL.tagSelection LABEL { 144 159 display: inline; 145 160 float: none; … … 155 170 } 156 171 FORM.filter FIELDSET * LABEL INPUT, 157 FORM.filter FIELDSET LABEL * INPUT,158 172 FORM.filter FIELDSET * LABEL SELECT, 159 FORM.filter FIELDSET LABEL * SELECT,160 173 FORM.filter FIELDSET * LABEL TEXTAREA, 161 FORM.filter FIELDSET LABEL * TEXTAREA { 174 FORM.filter FIELDSET LABEL SPAN INPUT, 175 FORM.filter FIELDSET LABEL SPAN SELECT, 176 FORM.filter FIELDSET LABEL SPAN TEXTAREA { 162 177 display: inline; 163 178 vertical-align: top; -
branches/branch-1_6/template/yoga/search.tpl
r1258 r1267 25 25 <input type="text" style="width: 300px" name="search_allwords" size="30" onfocus="this.className='focus';" onblur="this.className='nofocus';"/> 26 26 </label> 27 <label> 28 <span><input type="radio" name="mode" value="AND" checked="checked" /> {lang:search_mode_and}</span> 29 <span><input type="radio" name="mode" value="OR" /> {lang:search_mode_or}</span> 30 </label> 27 <ul> 28 <li><label> 29 <input type="radio" name="mode" value="AND" checked="checked" />{lang:search_mode_and} 30 </label></li> 31 <li><label> 32 <input type="radio" name="mode" value="OR" />{lang:search_mode_or} 33 </label></li> 34 </ul> 31 35 <label>{lang:search_author} 32 36 <input type="text" style="width: 300px" name="search_author" size="30" onfocus="this.className='focus';" onblur="this.className='nofocus';"/> … … 42 46 <fieldset> 43 47 <legend>{lang:search_date}</legend> 44 <label>{lang:search_date_type} 45 <span> 48 <ul> 49 <li><label>{lang:search_date_type}</label></li> 50 <li><label> 46 51 <input type="radio" name="date_type" value="date_creation" checked="checked" />{lang:Creation date} 47 </ span>48 < span>52 </label></li> 53 <li><label> 49 54 <input type="radio" name="date_type" value="date_available" />{lang:Post date} 50 </span> 51 </label> 52 <label>{lang:search_date_from} 53 <span> 55 </li></label> 56 </ul> 57 <ul> 58 <li><label>{lang:search_date_from}</label></li> 59 <li> 54 60 <select name="start_day"> 55 61 <!-- BEGIN start_day --> … … 63 69 </select> 64 70 <input name="start_year" type="text" size="4" maxlength="4" onfocus="this.className='focus';" onblur="this.className='nofocus';"> 65 </span> 66 <a href="#" onClick="document.search.start_day.value={TODAY_DAY};document.search.start_month.value={TODAY_MONTH};document.search.start_year.value={TODAY_YEAR};">{lang:today}</a> 67 </label> 68 <label>{lang:search_date_to} 69 <span> 71 </li> 72 <li> 73 <a href="#" onClick="document.search.start_day.value={TODAY_DAY};document.search.start_month.value={TODAY_MONTH};document.search.start_year.value={TODAY_YEAR};">{lang:today}</a> 74 </li> 75 </ul> 76 <ul> 77 <li><label>{lang:search_date_to}</label></li> 78 <li> 70 79 <select name="end_day"> 71 80 <!-- BEGIN end_day --> … … 79 88 </select> 80 89 <input name="end_year" type="text" size="4" maxlength="4" onfocus="this.className='focus';" onblur="this.className='nofocus';"> 81 </span> 82 <a href="#" onClick="document.search.end_day.value={TODAY_DAY};document.search.end_month.value={TODAY_MONTH};document.search.end_year.value={TODAY_YEAR};">{lang:today}</a> 83 </label> 90 </li> 91 <li> 92 <a href="#" onClick="document.search.end_day.value={TODAY_DAY};document.search.end_month.value={TODAY_MONTH};document.search.end_year.value={TODAY_YEAR};">{lang:today}</a> 93 </li> 94 </ul> 84 95 </fieldset> 85 96 … … 93 104 </select> 94 105 </label> 95 <label>{lang:search_subcats_included} 96 <span> 97 <input type="radio" name="subcats-included" value="1" checked="checked" />{lang:yes} 98 </span> 99 <span> 100 <input type="radio" name="subcats-included" value="0" />{lang:no} 101 </span> 102 </label> 103 <label>{lang:search_sort} 104 <span><input type="radio" name="sd" value="AND" />{lang:search_ascending}</span> 105 <span><input type="radio" name="sd" value="d" checked="checked" />{lang:search_descending}</span> 106 </label> 106 <ul> 107 <li><label>{lang:search_subcats_included}</label></li> 108 <li><label> 109 <input type="radio" name="subcats-included" value="1" checked="checked" />{lang:yes} 110 </label></li> 111 <li><label> 112 <input type="radio" name="subcats-included" value="0" />{lang:no} 113 </label></li> 114 </ul> 115 <ul> 116 <li><label>{lang:search_sort}</li></label> 117 <li><label> 118 <input type="radio" name="sd" value="AND" />{lang:search_ascending} 119 </li></label> 120 <li><label> 121 <input type="radio" name="sd" value="d" checked="checked" />{lang:search_descending} 122 </li></label> 123 </ul> 107 124 </fieldset> 108 125 <p> … … 113 130 114 131 <script type="text/javascript"><!-- 115 document. post.search_allwords.focus();132 document.search.search_allwords.focus(); 116 133 //--></script> 117 134
Note: See TracChangeset
for help on using the changeset viewer.