Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
8ea4a7bb
authored
Jul 31, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: enable resources change button/help text during state changes
parent
deb02ed6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
circle/dashboard/static/dashboard/vm-details.js
+5
-5
No files found.
circle/dashboard/static/dashboard/vm-details.js
View file @
8ea4a7bb
...
@@ -393,12 +393,12 @@ function checkNewActivity(runs) {
...
@@ -393,12 +393,12 @@ function checkNewActivity(runs) {
$
(
"[data-target=#_console]"
).
attr
(
"data-toggle"
,
"_pill"
).
attr
(
"href"
,
"#"
).
parent
(
"li"
).
addClass
(
"disabled"
);
$
(
"[data-target=#_console]"
).
attr
(
"data-toggle"
,
"_pill"
).
attr
(
"href"
,
"#"
).
parent
(
"li"
).
addClass
(
"disabled"
);
}
}
if
(
data
[
'status'
]
==
"STOPPED"
)
{
if
(
data
[
'status'
]
==
"STOPPED"
||
data
[
'status'
]
==
"PENDING"
)
{
$
(
".
enabled-when-stopped
"
).
prop
(
"disabled"
,
false
);
$
(
".
change-resources-button
"
).
prop
(
"disabled"
,
false
);
$
(
".
hide-when-stopped
"
).
hide
();
$
(
".
change-resources-help
"
).
hide
();
}
else
{
}
else
{
$
(
".
enabled-when-stopped
"
).
prop
(
"disabled"
,
true
);
$
(
".
change-resources-button
"
).
prop
(
"disabled"
,
true
);
$
(
".
hide-when-stopped
"
).
show
();
$
(
".
change-resources-help
"
).
show
();
}
}
if
(
runs
>
0
&&
decideActivityRefresh
())
{
if
(
runs
>
0
&&
decideActivityRefresh
())
{
...
...
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