Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Physical server page #970

Closed
wants to merge 48 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
ca99b62
[Routes] Adds routes to physical_server
Mar 20, 2017
95edeb1
[EmsCommon] Adds physical_server flags
Mar 20, 2017
0ef30c0
[ui_constants] Adds physical_server structure
Mar 20, 2017
d60cc0a
[QuadIcon] Adds PhysicalServer structure
Mar 20, 2017
3c0e12f
[TextualSummary] Adds physical server flag
Mar 21, 2017
8affee9
[TextualSummary] Adds physical server flag
Mar 21, 2017
aa60337
[PhysicalServerFlags] Adds physical server flag
Mar 21, 2017
92c7549
[PhysicalServerViews] Adds all physical server views
Mar 21, 2017
4feb863
[PhysicalServerController] Adds physical server's controller
Mar 21, 2017
7142a11
[PhysicalServerToolbar] Adds physical server's toolbar structure.
Mar 21, 2017
bef6016
Add helpers to physical server pages
Mar 21, 2017
471a4e2
Change physical infra helpers
Mar 21, 2017
fb91056
Add images assets to physical server pages
Mar 21, 2017
ea20828
[Fix] Fixes all warning made by rubocop
Mar 21, 2017
0a3a4a3
[Fix] Fixes warning in files made by rubocop
Mar 22, 2017
4b2916a
[Fix] Fixes of warning made by rubocop into views and helpers of phys…
Mar 22, 2017
7bb757a
[Fix] Fixing some issues
Mar 22, 2017
7ad7e4b
[Fix] Changes html_safe to safe_join
Mar 22, 2017
019c7f4
[Typo] Typo some errors warning by rubocop
Mar 22, 2017
fefe826
[Typo] Delete a blank space after backslash
Mar 22, 2017
4d82e5d
[Fix] Turns into hash rockets syntax
Mar 22, 2017
5c0ef75
[Fix] Inserts '.try' method call
Mar 22, 2017
dc082d9
Merge remote-tracking branch 'manageiq/master' into physical_server_page
Mar 23, 2017
6d646bc
[BugFix] Changes the attribute methods call
Mar 23, 2017
26de5af
Create fetures for physical servers toolbar's buttons.
gabrielsvinha Apr 7, 2017
4b08d75
Update ci processing with methods for toolbar buttons
gabrielsvinha Apr 7, 2017
87c39e4
Update toolbar button with modify methods
gabrielsvinha Apr 7, 2017
f3c5a59
Insert cases for ems common show toolbar buttons
gabrielsvinha Apr 7, 2017
f069e05
Update textual summary name methods
gabrielsvinha Apr 7, 2017
19d23a1
Fix methods calls for physical server center button
gabrielsvinha Apr 10, 2017
f3f6bdc
Merge remote-tracking branch 'ManageIQ/master' into physical_server_page
gabrielsvinha Apr 10, 2017
9b82528
Remove & operators from physical server textual summary
gabrielsvinha Apr 11, 2017
7e836c4
Removes vms variable.
gabrielsvinha Apr 11, 2017
762d426
Fix ems_common controller
walteraa Apr 19, 2017
3f36681
Merge remote-tracking branch 'manageiq/master' into physical_server_page
walteraa Apr 19, 2017
8adb93b
Fix rubocop issues
walteraa Apr 19, 2017
301bb36
Fix rubocup styles for physical server textual summary
gabrielsvinha Apr 19, 2017
1c139d0
Merge branch 'physical_server_page' of github.com:lenovo/manageiq-ui-…
gabrielsvinha Apr 19, 2017
017ae3f
fixed robocop issues
MaysaMacedo Apr 19, 2017
088fb68
Fix rubocup styles for physical server textual summary
gabrielsvinha Apr 20, 2017
0fc2547
Merge remote-tracking branch 'ManageIQ/master' into physical_server_page
gabrielsvinha Apr 24, 2017
4bfd07a
merged 'physical_server_page' into fix
MaysaMacedo Apr 25, 2017
462f14f
Merge remote-tracking branch 'upstreamMIQ/master' into physical_serve…
MaysaMacedo Apr 25, 2017
13ee483
Fix CI processing controller
walteraa Apr 25, 2017
420a230
Merge remote-tracking branch 'upstream/physical_server_page' into phy…
MaysaMacedo Apr 25, 2017
ee96de7
fixed code climate issues
MaysaMacedo Apr 25, 2017
6e61f01
fixed rubocop issues
MaysaMacedo Apr 25, 2017
fd8c51e
Merge branch 'physical_server_page_fix' into HEAD
MaysaMacedo Apr 25, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed robocop issues
MaysaMacedo committed Apr 19, 2017
commit 017ae3f4d59ec5a497bee3aa30da6556d34e36ef
Original file line number Diff line number Diff line change
@@ -14,17 +14,15 @@ class ApplicationHelper::Toolbar::PhysicalServerCenter < ApplicationHelper::Tool
:url_parms => "main_div",
:confirm => N_("Refresh relationships and power states for all items related to the selected items?"),
:enabled => false,
:onwhen => "1+"
),
:onwhen => "1+"),
button(
:physical_server_edit,
'pficon pficon-edit fa-lg',
t = N_('Edit Selected items'),
t,
:url_parms => "main_div",
:enabled => false,
:onwhen => "1+"
),
:onwhen => "1+"),
button(
:physical_server_delete,
'pficon pficon-delete fa-lg',
@@ -33,8 +31,7 @@ class ApplicationHelper::Toolbar::PhysicalServerCenter < ApplicationHelper::Tool
:url_parms => "main_div",
:confirm => N_("Warning: The selected items and ALL of their components will be permanently removed!?"),
:enabled => false,
:onwhen => "1+"
),
:onwhen => "1+"),
]
),
])
@@ -54,19 +51,17 @@ class ApplicationHelper::Toolbar::PhysicalServerCenter < ApplicationHelper::Tool
:url_parms => "main_div",
:confirm => N_("Power on the server?"),
:klass => ApplicationHelper::Button::PhysicalServerFeatureButton,
:options => {:feature => :power_on}
),
:options => {:feature => :power_on}),
button(
:physical_server_power_off,
nil,
N_('Power off the server'),
N_('Power Off'),
:image => "power_off",
:image => "power_off",
:url_parms => "main_div",
:confirm => N_("Power off the server?"),
:klass => ApplicationHelper::Button::PhysicalServerFeatureButton,
:options => {:feature => :power_off}
),
:options => {:feature => :power_off}),
button(
:physical_server_restart,
nil,
@@ -76,8 +71,7 @@ class ApplicationHelper::Toolbar::PhysicalServerCenter < ApplicationHelper::Tool
:url_parms => "main_div",
:confirm => N_("Restart the server?"),
:klass => ApplicationHelper::Button::PhysicalServerFeatureButton,
:options => {:feature => :restart}
),
:options => {:feature => :restart}),
]
),
select(
@@ -117,8 +111,7 @@ class ApplicationHelper::Toolbar::PhysicalServerCenter < ApplicationHelper::Tool
:url_parms => "main_div",
:confirm => N_("Turn off the Identify LED?"),
:klass => ApplicationHelper::Button::PhysicalServerFeatureButton,
:options => {:feature => :turn_off_loc_led}
),
:options => {:feature => :turn_off_loc_led}),
]
),
])
Original file line number Diff line number Diff line change
@@ -14,17 +14,15 @@ class ApplicationHelper::Toolbar::PhysicalServersCenter < ApplicationHelper::Too
:url_parms => "main_div",
:confirm => N_("Refresh relationships and power states for all items related to the selected items?"),
:enabled => false,
:onwhen => "1+"
),
:onwhen => "1+"),
button(
:physical_server_edit,
'pficon pficon-edit fa-lg',
t = N_('Edit Selected items'),
t,
:url_parms => "main_div",
:enabled => false,
:onwhen => "1+"
),
:onwhen => "1+"),
button(
:physical_server_delete,
'pficon pficon-delete fa-lg',
@@ -33,8 +31,7 @@ class ApplicationHelper::Toolbar::PhysicalServersCenter < ApplicationHelper::Too
:url_parms => "main_div",
:confirm => N_("Warning: The selected items and ALL of their components will be permanently removed!?"),
:enabled => false,
:onwhen => "1+"
),
:onwhen => "1+"),
]
),
])
@@ -56,8 +53,7 @@ class ApplicationHelper::Toolbar::PhysicalServersCenter < ApplicationHelper::Too
:url_parms => "main_div",
:confirm => N_("Power on the server?"),
:klass => ApplicationHelper::Button::PhysicalServerFeatureButton,
:options => {:feature => :power_on}
),
:options => {:feature => :power_on}),
button(
:physical_server_power_off,
nil,
@@ -67,8 +63,7 @@ class ApplicationHelper::Toolbar::PhysicalServersCenter < ApplicationHelper::Too
:url_parms => "main_div",
:confirm => N_("Power off the server?"),
:klass => ApplicationHelper::Button::PhysicalServerFeatureButton,
:options => {:feature => :power_off}
),
:options => {:feature => :power_off}),
button(
:physical_server_restart,
nil,
@@ -78,8 +73,7 @@ class ApplicationHelper::Toolbar::PhysicalServersCenter < ApplicationHelper::Too
:url_parms => "main_div",
:confirm => N_("Restart the server?"),
:klass => ApplicationHelper::Button::PhysicalServerFeatureButton,
:options => {:feature => :restart}
),
:options => {:feature => :restart}),
]
),
select(
@@ -99,8 +93,7 @@ class ApplicationHelper::Toolbar::PhysicalServersCenter < ApplicationHelper::Too
:url_parms => "main_div",
:confirm => N_("Blink the Identify LED?"),
:klass => ApplicationHelper::Button::PhysicalServerFeatureButton,
:options => {:feature => :blink_loc_led}
),
:options => {:feature => :blink_loc_led}),
button(
:physical_server_turn_on_loc_led,
nil,
@@ -110,8 +103,7 @@ class ApplicationHelper::Toolbar::PhysicalServersCenter < ApplicationHelper::Too
:url_parms => "main_div",
:confirm => N_("Turn on the Identify LED?"),
:klass => ApplicationHelper::Button::PhysicalServerFeatureButton,
:options => {:feature => :turn_on_loc_led}
),
:options => {:feature => :turn_on_loc_led}),
button(
:physical_server_turn_off_loc_led,
nil,
@@ -121,8 +113,7 @@ class ApplicationHelper::Toolbar::PhysicalServersCenter < ApplicationHelper::Too
:url_parms => "main_div",
:confirm => N_("Turn off the Identify LED?"),
:klass => ApplicationHelper::Button::PhysicalServerFeatureButton,
:options => {:feature => :turn_off_loc_led}
),
:options => {:feature => :turn_off_loc_led}),
]
),
])