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
951af651
authored
Feb 09, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: add new member to group
parent
82a96649
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
one/static/box.less
+5
-0
one/static/cloud.js
+7
-5
No files found.
one/static/box.less
View file @
951af651
...
...
@@ -473,8 +473,13 @@ table {
#new-member {
.name {
background-image: url(icons/user--plus.png) !important;
float: left;
}
#new-member-form {
float: right;
margin-left: 5px;
display: none;
z-index: 2;
position: relative;
}
}
one/static/cloud.js
View file @
951af651
...
...
@@ -39,16 +39,16 @@ $(function() {
$
(
'.wm .summary'
).
unbind
(
'click'
).
click
(
toggleDetails
);
$
(
'.stop-vm-button'
).
click
(
function
()
{
stop_vm
(
$
(
this
).
data
(
'id'
),
$
(
this
).
data
(
'name'
));
});
});
$
(
'.resume-vm-button'
).
click
(
function
()
{
manage_vm
(
$
(
this
).
data
(
'id'
),
"resume"
);
});
});
$
(
'.delete-vm-button'
).
click
(
function
()
{
delete_vm
(
$
(
this
).
data
(
'id'
),
$
(
this
).
data
(
'name'
));
});
});
$
(
'.restart-vm-button'
).
click
(
function
()
{
restart_vm
(
$
(
this
).
data
(
'id'
),
$
(
this
).
data
(
'name'
));
});
});
$
(
'#new-wm-button'
).
click
(
function
()
{
$
(
'#modal'
).
show
();
$
(
'#modal-container'
).
html
(
$
(
'#new-wm'
).
html
());
...
...
@@ -101,7 +101,6 @@ $(function() {
$
(
'#new-group-semester'
).
change
(
updateSummary
);
$
(
'#new-group-members'
).
change
(
updateSummary
);
});
/**
* Confirm pop-up window
*/
...
...
@@ -153,6 +152,9 @@ $(function() {
}
})
}
$
(
'#new-member'
).
click
(
function
(){
$
(
'#new-member-form'
).
toggle
();
})
/**
* Convert bytes to human readable format
...
...
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