Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ec1cc7bb
authored
Mar 18, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: remove unused code
parent
ba06f3bc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
one/static/script/cloud.js
+0
-15
one/templates/box/template/summary.html
+0
-3
No files found.
one/static/script/cloud.js
View file @
ec1cc7bb
...
...
@@ -574,21 +574,6 @@ $(function() {
e
.
stopPropagation
();
}
}());
$
(
'#new-owner-form input[type=submit]'
).
click
(
function
()
{
var
neptun
=
$
(
this
).
prev
().
val
();
$
.
ajax
({
type
:
'POST'
,
url
:
'/ajax/group/'
+
$
(
this
).
data
(
'id'
)
+
'/add/'
,
data
:
'neptun='
+
neptun
,
dataType
:
'json'
,
success
:
function
(
data
)
{
window
.
location
.
reload
();
}
}).
error
(
function
(
data
)
{
//TODO: fancy modal alert
alert
(
JSON
.
parse
(
data
.
responseText
).
status
);
})
});
$
(
'#group-members .remove'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
...
...
one/templates/box/template/summary.html
View file @
ec1cc7bb
...
...
@@ -54,9 +54,6 @@
<a
href=
"#"
class=
"try-template"
data-url=
"{% url new_vm_from_template template=t.id %}"
title=
"{% trans "
Try
"
%}"
>
<img
src=
"{% static "
icons
/
control
.
png
"
%}"
alt=
"{% trans "
Start
"
%}"
/>
</a>
<!--<a href="#" title="{% trans "Edit" %}">
<img src="{% static "icons/pencil.png" %}" alt="{% trans "Edit" %}" />
</a>-->
<a
href=
"#"
class=
"template-share"
data-id=
"{{t.id}}"
data-gid=
"{{group.id}}"
title=
"{% trans "
Share
"
%}"
>
<img
src=
"{% static "
icons
/
user-share
.
png
"
%}"
alt=
"{% trans "
Share
"
%}"
/>
</a>
...
...
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