1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Feature #4363: Replace tiny buttons with small ones

This commit is contained in:
Carlos Martín 2016-04-28 15:11:36 +02:00
parent 9dc679840c
commit b3595d5c50
8 changed files with 12 additions and 12 deletions

View File

@ -16,7 +16,7 @@
<div class="row">
<div class="large-12 columns">
<button id="import_wilds" class="button tiny success right radius" >{{tr "Import Wilds"}}</button>
<button id="import_wilds" class="button small success right radius" >{{tr "Import Wilds"}}</button>
<table id="datatable_host_wilds" class="datatable twelve">
<thead>
<tr>

View File

@ -42,8 +42,8 @@
<tr>
<td class="key_td">{{tr "Password"}}</td>
<td class="value_td" colspan="2">
<button id="update_password" type="button" class="button tiny radius secondary" >
{{tr "Update password"}} <a><i class="fa fa-pencil-square-o"/></a>
<button id="update_password" type="button" class="button small radius secondary" >
{{tr "Update password"}} <i class="fa fa-pencil-square-o"/>
</button>
</td>
</tr>

View File

@ -70,7 +70,7 @@ define(function(require) {
<th>' + Locale.tr("DONE") + '</th>\
<th>' + Locale.tr("MESSAGE") + '</th>\
<th colspan="">' + Locale.tr("Actions") + '</th>\
<th><button id="add_scheduling_action" class="button tiny success right radius" >' + Locale.tr("Add action") + '</button></th>\
<th><button id="add_scheduling_action" class="button small success right radius" >' + Locale.tr("Add action") + '</button></th>\
</tr>\
</thead>' +
fromJSONtoActionsTable(that.element.USER_TEMPLATE.SCHED_ACTION) +

View File

@ -41,9 +41,9 @@
<td>
{{#isTabActionEnabled "vms-tab" "VM.resize"}}
{{#if resizeStateEnabled}}
<button id="resize_capacity" class="button tiny success right radius" >{{tr "Resize"}}</button>
<button id="resize_capacity" class="button small success right radius" >{{tr "Resize"}}</button>
{{else}}
<button id="resize_capacity" class="button tiny success right radius" disabled="disabled">{{tr "Resize"}}</button>
<button id="resize_capacity" class="button small success right radius" disabled="disabled">{{tr "Resize"}}</button>
{{/if}}
{{/isTabActionEnabled}}
</td>

View File

@ -91,10 +91,10 @@ define(function(require) {
that.element.LCM_STATE) &&
OpenNebulaVM.isNICAttachSupported(that.element)) {
html += '\
<button id="attach_nic" class="button tiny success right radius" >' + Locale.tr("Attach nic") + '</button>'
<button id="attach_nic" class="button small success right radius" >' + Locale.tr("Attach nic") + '</button>'
} else {
html += '\
<button id="attach_nic" class="button tiny success right radius" disabled="disabled">' + Locale.tr("Attach nic") + '</button>'
<button id="attach_nic" class="button small success right radius" disabled="disabled">' + Locale.tr("Attach nic") + '</button>'
}
}

View File

@ -78,10 +78,10 @@ define(function(require) {
// If VM is not RUNNING, then we forget about the attach disk form.
if (that.element.STATE == OpenNebulaVM.STATES.ACTIVE && that.element.LCM_STATE == OpenNebulaVM.LCM_STATES.RUNNING) {
html += '\
<button id="take_snapshot" class="button tiny success right radius" >' + Locale.tr("Take snapshot") + '</button>'
<button id="take_snapshot" class="button small success right radius" >' + Locale.tr("Take snapshot") + '</button>'
} else {
html += '\
<button id="take_snapshot" class="button tiny success right radius" disabled="disabled">' + Locale.tr("Take snapshot") + '</button>'
<button id="take_snapshot" class="button small success right radius" disabled="disabled">' + Locale.tr("Take snapshot") + '</button>'
}
}

View File

@ -29,7 +29,7 @@
<th>{{tr "Actions"}}
{{#isTabActionEnabled "vms-tab" "VM.attachdisk"}}
<span class="right">
<button id="attach_disk" class="button tiny success right radius">
<button id="attach_disk" class="button small success right radius">
{{tr "Attach disk"}}
</button>
</span>

View File

@ -49,7 +49,7 @@
<th>{{tr "Actions"}}</th>
<th>
{{#isTabActionEnabled "vrouters-tab" "VirtualRouter.attachnic"}}
<button class="attach_nic button tiny success right radius" >
<button class="attach_nic button small success right radius" >
{{tr "Attach nic"}}
</button>
{{/isTabActionEnabled}}