Add count div to domain selector (#7305)
* Add count div to domain selector
This commit is contained in:
parent
da6471df5f
commit
885df6b3fb
|
|
@ -3479,19 +3479,6 @@ else { //default: white
|
|||
float: left;
|
||||
}
|
||||
|
||||
div.action_bar > div.heading > div.count {
|
||||
display: inline-block;
|
||||
margin-left: 10px;
|
||||
font-family: <?=$heading_count_text_font?>;
|
||||
font-size: <?=$heading_count_text_size?>;
|
||||
line-height: calc(<?=$heading_count_text_size?> + 1px);
|
||||
color: <?=$heading_count_text_color?>;
|
||||
font-weight: <?=$heading_count_text_weight?>;
|
||||
border-radius: <?=$heading_count_border_radius?>;
|
||||
background-color: <?=$heading_count_background_color?>;
|
||||
padding: <?=$heading_count_padding?>;
|
||||
}
|
||||
|
||||
div.action_bar > div.actions {
|
||||
float: right;
|
||||
white-space: normal;
|
||||
|
|
@ -3526,6 +3513,21 @@ else { //default: white
|
|||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
/* COUNT **********************************************************************/
|
||||
|
||||
div.count {
|
||||
display: inline-block;
|
||||
margin-left: 10px;
|
||||
font-family: <?=$heading_count_text_font?>;
|
||||
font-size: <?=$heading_count_text_size?>;
|
||||
line-height: calc(<?=$heading_count_text_size?> + 1px);
|
||||
color: <?=$heading_count_text_color?>;
|
||||
font-weight: <?=$heading_count_text_weight?>;
|
||||
border-radius: <?=$heading_count_border_radius?>;
|
||||
background-color: <?=$heading_count_background_color?>;
|
||||
padding: <?=$heading_count_padding?>;
|
||||
}
|
||||
|
||||
/* LIST ************************************************************************/
|
||||
|
||||
.list {
|
||||
|
|
|
|||
|
|
@ -1084,7 +1084,7 @@
|
|||
obj = JSON.parse(this.responseText);
|
||||
|
||||
//update the domain count
|
||||
document.getElementById('domain_count').innerText = '('+ obj.length +')';
|
||||
document.getElementById('domain_count').innerText = obj.length;
|
||||
|
||||
//add new options from the json results
|
||||
for (var i=0; i < obj.length; i++) {
|
||||
|
|
@ -1184,7 +1184,7 @@
|
|||
<div id='domains_block'>
|
||||
<div id='domains_header'>
|
||||
<input id='domains_hide' type='button' class='btn' style='float: right' value="{$text.theme_button_close}">
|
||||
<a id='domains_title' href='{$domains_app_path}'>{$text.theme_title_domains} <span id='domain_count' style='font-size: 80%;'></span></a>
|
||||
<a id='domains_title' href='{$domains_app_path}'>{$text.theme_title_domains}<div class='count' id='domain_count' style='font-size: 80%;'></div></a>
|
||||
<br><br>
|
||||
<input type='text' id='domains_search' class='formfld' style='margin-left: 0; min-width: 100%; width: 100%;' placeholder="{$text.theme_label_search}" onkeyup="search_domains('domains_list');">
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue