Skip to content

Commit

Permalink
[design] quick improve of new plugins filter
Browse files Browse the repository at this point in the history
  • Loading branch information
plegall committed Oct 7, 2019
1 parent 95a656c commit 0e86caa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
9 changes: 2 additions & 7 deletions admin/themes/default/template/plugins_new.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,13 @@ jQuery(document).ready(function(){
}
});
jQuery("#filter").focus();
jQuery(".titrePage input[name='Clear']").click(function(){
$("#filter").val('');
$(".pluginBox").show();
});
});
{/literal}{/footer_script}

<div class="titrePage">
<span class="sort">
{'Filter'|@translate} : <input type="text" id="filter">
<input type="button" name="Clear" Value="{'Cancel'|@translate}"> |
{'Sort order'|@translate} :
<i class="icon-filter"></i> {'Filter'|@translate} <input type="text" id="filter">
<i class="icon-sort-number-up"></i> {'Sort order'|@translate}
{html_options name="selectOrder" options=$order_options selected=$order_selected}
</span>
<h2>{'Plugins'|@translate}</h2>
Expand Down
5 changes: 4 additions & 1 deletion admin/themes/default/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,11 @@ TABLE.table2 TR {

TABLE.table2 THEAD TD { padding:7px 10px 3px 10px; }
TABLE.table2 TR.throw { text-align: center; }
.sort { display:block; padding:8px 5px 5px 15px; text-align: left;}
.sort { display:block; padding:1em 2em 0 2em; text-align: left;}

.sort .icon-sort-number-up {
margin-left: 25px;
}

.hour {
white-space: pre;
Expand Down

0 comments on commit 0e86caa

Please sign in to comment.