Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fabio martelli
syncope
Commits
9e9c08a5
Commit
9e9c08a5
authored
Dec 06, 2016
by
Gianluca Filippone
Browse files
Client console graphical corrections
parent
e48d271e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ext/choreography/client-console/src/main/java/org/apache/syncope/client/console/panels/EEResourcesPanel.java
View file @
9e9c08a5
...
...
@@ -46,11 +46,11 @@ public class EEResourcesPanel extends Panel {
RepeatingView
resourcesOverview
=
new
RepeatingView
(
"resourceWidget"
);
resourcesOverview
.
add
(
new
ResourceWidget
(
resourcesOverview
.
newChildId
(),
"bg-yellow"
,
bundle
.
virtualMachines
,
"Virtual Machines"
,
"
glyphicons glyphicons-server
"
));
"bg-yellow"
,
bundle
.
virtualMachines
,
"Virtual Machines"
,
"
fa fa-cube
"
));
resourcesOverview
.
add
(
new
ResourceWidget
(
resourcesOverview
.
newChildId
(),
"bg-red"
,
bundle
.
cpus
,
"CPU"
,
"fa fa-c
loud
"
));
resourcesOverview
.
newChildId
(),
"bg-red"
,
bundle
.
cpus
,
"CPU"
,
"fa fa-c
ogs
"
));
resourcesOverview
.
add
(
new
ResourceWidget
(
resourcesOverview
.
newChildId
(),
"bg-green"
,
bundle
.
ram
,
"RAM"
,
"MB"
,
"
fa fa-cloud
"
));
resourcesOverview
.
newChildId
(),
"bg-green"
,
bundle
.
ram
,
"RAM"
,
"MB"
,
""
));
resourcesOverview
.
add
(
new
ResourceWidget
(
resourcesOverview
.
newChildId
(),
"bg-aqua"
,
bundle
.
storage
,
"Storage"
,
"GB"
,
"fa fa-database"
));
add
(
resourcesOverview
);
...
...
ext/choreography/client-console/src/main/resources/org/apache/syncope/client/console/widgets/ResourceWidget.html
View file @
9e9c08a5
...
...
@@ -40,7 +40,7 @@ under the License.
<h3><span
wicket:id=
"number"
/></h3>
<p><span
wicket:id=
"label"
/><span
wicket:id=
"unit"
/></p>
</div>
<div
class=
"icon"
style=
"cursor: pointer;"
>
<div
class=
"icon"
>
<i
wicket:id=
"icon"
></i>
</div>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment