Changeset 1415:46f961cd2b91 for admin
- Timestamp:
- 08/16/13 18:32:16 (12 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/posts.php
r1358 r1415 260 260 if (!$show_filters) { 261 261 echo '<p><a id="filter-control" class="form-control" href="#">'. 262 __('Filter s').'</a></p>';262 __('Filter posts list').'</a></p>'; 263 263 } 264 264 265 265 echo 266 266 '<form action="posts.php" method="get" id="filters-form">'. 267 '<fieldset><legend>'.__('Filters').'</legend>'. 268 '<div class="three-cols">'. 269 '<div class="col">'. 270 '<label for="user_id">'.__('Author:'). 271 form::combo('user_id',$users_combo,$user_id).'</label> '. 272 '<label for="cat_id">'.__('Category:'). 273 form::combo('cat_id',$categories_combo,$cat_id).'</label> '. 274 '<label for="status">'.__('Status:'). 275 form::combo('status',$status_combo,$status).'</label> '. 276 '</div>'. 277 278 '<div class="col">'. 279 '<label for="selected">'.__('Selected:'). 280 form::combo('selected',$selected_combo,$selected).'</label> '. 281 '<label for="month">'.__('Month:'). 282 form::combo('month',$dt_m_combo,$month).'</label> '. 283 '<label for="lang">'.__('Lang:'). 284 form::combo('lang',$lang_combo,$lang).'</label> '. 285 '</div>'. 286 287 '<div class="col">'. 288 '<p><label for="sortby">'.__('Order by:'). 289 form::combo('sortby',$sortby_combo,$sortby).'</label> '. 290 '<label for="order">'.__('Sort:'). 291 form::combo('order',$order_combo,$order).'</label></p>'. 292 '<p><label for="nb" class="classic">'. form::field('nb',3,3,$nb_per_page).' '. 293 __('Entries per page').'</label></p> '. 294 '<p><input type="submit" value="'.__('Apply filters').'" /></p>'. 295 '</div>'. 296 '</div>'. 267 '<h3>'.__('Filter posts list').'</h3>'. 268 269 '<div class="table">'. 270 '<div class="cell">'. 271 '<p><label for="user_id" class="ib">'.__('Author:').'</label> '. 272 form::combo('user_id',$users_combo,$user_id).'</p>'. 273 '<p><label for="cat_id" class="ib">'.__('Category:').'</label> '. 274 form::combo('cat_id',$categories_combo,$cat_id).'</p>'. 275 '<p><label for="status" class="ib">'.__('Status:').'</label>' . 276 form::combo('status',$status_combo,$status).'</p> '. 277 '</div>'. 278 279 '<div class="cell">'. 280 '<p><label for="selected" class="ib">'.__('Selected:').'</label> '. 281 form::combo('selected',$selected_combo,$selected).'</p>'. 282 '<p><label for="month" class="ib">'.__('Month:').'</label> '. 283 form::combo('month',$dt_m_combo,$month).'</p>'. 284 '<label for="lang" class="ib">'.__('Lang:').'</label> '. 285 form::combo('lang',$lang_combo,$lang).'</p> '. 286 '</div>'. 287 288 '<div class="cell filters-options">'. 289 '<p><label for="sortby" class="ib">'.__('Order by:').'</label> '. 290 form::combo('sortby',$sortby_combo,$sortby).'</p>'. 291 '<p><label for="order" class="ib">'.__('Sort:').'</label> '. 292 form::combo('order',$order_combo,$order).'</p>'. 293 '<p><span class="label ib">Afficher</span> <label for="nb" class="classic">'. form::field('nb',3,3,$nb_per_page).' '. 294 __('entries per page').'</label></p>'. 295 '</div>'. 296 '</div>'. 297 298 '<p class="no-margin"><input type="submit" value="'.__('Apply filters').'" /></p>'. 299 297 300 '<br class="clear" />'. //Opera sucks 298 '</fieldset>'.299 301 '</form>'; 300 302 -
admin/style/default.css
r1399 r1415 69 69 font-size: 1em; 70 70 color: #575859; 71 } 72 #entry-sidebar h5 { 73 font-weight: normal; 74 color: #333; 71 75 } 72 76 p, div.p { … … 1361 1365 display: none; 1362 1366 font-weight: bold; 1363 background: url(magnifier.png) no-repeat 0 0; 1364 color: green; 1367 background: url(../images/expand.png) no-repeat .6rem center; 1365 1368 padding-left: 20px; 1369 color: #000; 1366 1370 } 1367 1371 .constrained { … … 1518 1522 } 1519 1523 1524 /* ------------------------------------------------------- Filters */ 1525 #filters-form { 1526 border: 1px dashed #999; 1527 border-radius: .6rem; 1528 margin-bottom: 2em; 1529 padding: .5em 1em 0; 1530 } 1531 #filters-form .table { 1532 display: table; 1533 width: 100%; 1534 padding: 0; 1535 margin-bottom: 1em; 1536 margin-top: 1.5em; 1537 } 1538 #filters-form .cell { 1539 padding: 0 2em 0 0; 1540 display: table-cell; 1541 vertical-align: top; 1542 } 1543 #filters-form .filters-options { 1544 padding-left: 2em; 1545 border-left: 1px solid #ccc; 1546 } 1547 #filters-form label.ib, span.ib { 1548 width:7em; 1549 display: inline-block; 1550 } 1551 #filters-form select { 1552 width: 14em; 1553 } 1554 1555 /* ---------------------------------------------------- Pagination */ 1556 .pagination { 1557 height: 20px; 1558 line-height: 20px; 1559 padding: 0 1rem; 1560 border: 1px solid #ccc; 1561 overflow: hidden; 1562 background: #e1e1e1; 1563 background: -moz-linear-gradient(center top , #f2f2f2, #e1e1e1); 1564 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#e1e1e1)); 1565 -moz-border-radius: 4px; 1566 -webkit-border-radius: 4px; 1567 border-radius: 4px; 1568 } 1569 .pagination a, .pagination strong { 1570 height: 20px; 1571 border: none; 1572 padding: 2px 6px; 1573 background-color : transparent; 1574 background-position : 50% 50%; 1575 background-repeat: no-repeat; 1576 } 1577 .pagination a:hover, .pagination strong { 1578 border-color : #ccc; 1579 background-color: #fff; 1580 } 1581 1520 1582 /* --------------------------------------------------------------------------- 1521 1583 Media queries vite fait en attendant la reprise complète du layout
Note: See TracChangeset
for help on using the changeset viewer.