Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
6bbb5d04
Commit
6bbb5d04
authored
Apr 15, 2011
by
Markos Gogoulos
Browse files
Merge branch 'ui-0.2' of
https://code.grnet.gr/git/synnefo
into ui-0.2
parents
9a340414
83aeb938
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/templates/standard.html
View file @
6bbb5d04
...
...
@@ -213,13 +213,6 @@ function update_machines_view(data){
Go through the servers in the input data. Update existing entries, add
new ones to the list
*/
// show message in case user has no servers!
if
(
data
.
servers
.
values
.
length
==
0
)
{
showWelcome
()
}
else
{
hideWelcome
()
}
$
.
each
(
data
.
servers
.
values
,
function
(
i
,
server
){
existing
=
$
(
'
#
'
+
server
.
id
);
...
...
@@ -339,6 +332,13 @@ function update_machines_view(data){
}
else
{
$
(
"
#mini.separator
"
).
fadeOut
(
"
slow
"
);
}
// show message in case user has no servers!
if
(
servers
.
length
==
0
)
{
showWelcome
()
}
else
{
hideWelcome
()
}
// set confirm box position
if
(
window
.
innerHeight
-
220
<
$
(
'
#machinesview
'
).
height
())
...
...
Write
Preview
Markdown
is supported
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