mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 12:22:38 +09:00
Feature #4363: Fix action buttons layout
This commit is contained in:
1 parent
4dcd90b188
commit
de2f081fcd
5 files changed
+20
-11
No files matched your search
@@ -284,7 +284,7 @@ define(function(require) {
|
||||
break;
|
||||
case "refresh":
|
||||
buttonContext = $("#" + customId + "refresh_buttons", buttonsRow);
|
||||
icon = button.icon ? button.icon : '<i class="fa fa-refresh fa-lg"/>';
|
||||
icon = button.icon ? button.icon : '<i class="fa fa-refresh"/>';
|
||||
text = button.text ? icon + ' ' + button.text : icon;
|
||||
strClass.push("white_button", "refresh", "button", "secondary");
|
||||
buttonCode = '<button class="' + strClass.join(' ') + '" href="' + buttonName + '">' + text + '</button>';
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
{{! limitations under the License. }}
|
||||
{{! -------------------------------------------------------------------------- }}
|
||||
|
||||
<div class="text-right">
|
||||
<span class="left">
|
||||
<div>
|
||||
<span>
|
||||
{{#unless customContext}}
|
||||
<span id="{{customId}}back_button" class=" only-right-info only-right-form">
|
||||
<button class="button radius" href="back"> <i class="fa fa-arrow-left"></i> <i class="fa fa-list"></i>
|
||||
@@ -35,7 +35,7 @@
|
||||
<span id="{{customId}}create_buttons" class=" only-right-list"></span>
|
||||
<span id="{{customId}}refresh_buttons" class=" only-right-info only-right-list"></span>
|
||||
</span>
|
||||
<span>
|
||||
<span style="margin-left: 2rem">
|
||||
<span id="{{customId}}main_buttons" class="only-right-info only-right-list"></span>
|
||||
|
||||
<span id="{{customId}}vmsplay_buttons" class='only-right-info only-right-list'></span>
|
||||
@@ -60,6 +60,8 @@
|
||||
</button>
|
||||
<ul id='{{customId}}vmsplanification_buttons' class='only-right-info only-right-list dropdown-pane menu vertical' data-dropdown></ul>
|
||||
|
||||
</span>
|
||||
<span style="margin-left: 2rem">
|
||||
<button type='button' data-toggle='{{customId}}more_buttons' class='only-right-info only-right-list top_button button secondary dropdown'>
|
||||
<i class='fa fa-ellipsis-v'/>
|
||||
</button>
|
||||
|
||||
@@ -34,12 +34,14 @@
|
||||
</div>
|
||||
{{#if buttons}}
|
||||
<div class="actions_row">
|
||||
<div class="large-3 columns only-right-list">
|
||||
{{#if dataTable.searchInputHTML}}
|
||||
{{{dataTable.searchInputHTML}}}
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="large-9 columns action_blocks"></div>
|
||||
<div class="large-3 columns">
|
||||
<div class="only-right-list">
|
||||
{{#if dataTable.searchInputHTML}}
|
||||
{{{dataTable.searchInputHTML}}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
@@ -247,7 +247,7 @@ $breadcrumbs-item-slash: true;
|
||||
// ----------
|
||||
|
||||
//$button-padding: 0.85em 1em;
|
||||
$button-padding: 0.6em 1em;
|
||||
$button-padding: 0.6em 0.7em;
|
||||
$button-margin: 0 0 $global-margin 0;
|
||||
$button-fill: solid;
|
||||
$button-background: $primary-color;
|
||||
@@ -530,7 +530,7 @@ $tab-background: $white;
|
||||
$tab-background-active: $white;
|
||||
$tab-item-font-size: rem-calc(15);
|
||||
$tab-item-background-hover: $light-gray;
|
||||
$tab-item-padding: 1rem 1.5rem;
|
||||
$tab-item-padding: 1.5rem;
|
||||
$tab-expand-max: 6;
|
||||
$tab-content-background: $white;
|
||||
$tab-content-border: $white;
|
||||
|
||||
@@ -90,4 +90,9 @@ textarea {
|
||||
|
||||
.graph {
|
||||
height: rem-calc(100px);
|
||||
}
|
||||
|
||||
.dropdown-pane {
|
||||
width: auto;
|
||||
max-width: 300px;
|
||||
}
|
||||
Reference in new issue
Block a user