1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-27 14:03:40 +03:00

Feature #4363: Fix refresh button for tables

This commit is contained in:
Daniel Molina 2016-04-04 19:06:23 +02:00
parent 655023d07f
commit 28b24505b8
2 changed files with 11 additions and 5 deletions

View File

@ -17,7 +17,7 @@
<div id="{{dataTableId}}Container">
{{! TODO: show also refresh and search box when {info: true} is used in panels}}
{{#if conf.select}}
<div class="row">
<div class="row select-resources">
<div class="large-6 small-12 columns" id="selected_ids_row_{{dataTableId}}">
<label for="selected_resource_id_{{dataTableId}}" id="select_resource_{{dataTableId}}" class="secondary label">{{selectOptions.select_resource}}</label>
<span id="selected_resource_{{dataTableId}}" hidden>{{selectOptions.you_selected}}</span>
@ -26,12 +26,12 @@
<span id="selected_resource_name_{{dataTableId}}" class="radius label"></span>
<input id="selected_resource_id_{{dataTableId}}" type="text" style="visibility: hidden; width:0px !important; height:0px !important;padding: 0px !important;margin: 0px !important;display: inline;"/>
</div>
<div class="large-2 small-2 columns">
<a id="refresh_button_{{dataTableId}}" href="#" class="button hollow secondary right"> <i class="fa fa-refresh" /></a>
</div>
<div class="large-4 small-10 columns">
<div class="large-4 small-10 columns right">
<input id="{{dataTableId}}_search" class="search" type="search" placeholder="{{tr "Search"}}"/>
</div>
<div class="large-2 small-2 columns right">
<a id="refresh_button_{{dataTableId}}" href="#" class="refresh-table right"> <i class="fa fa-lg fa-fw fa-refresh" /></a>
</div>
</div>
{{/if}}
<table id="{{dataTableId}}" class="hover">

View File

@ -48,4 +48,10 @@ table {
.button {
margin-bottom: 0;
}
}
.select-resources {
.refresh-table {
margin-top: 0.5rem;
}
}