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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
ec28178d
authored
Feb 20, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: remove '-button' suffix
parent
4064aad2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
one/static/script/cloud.js
+3
-3
one/templates/box/key/entry.html
+1
-1
one/templates/box/template/summary.html
+2
-2
No files found.
one/static/script/cloud.js
View file @
ec28178d
...
@@ -9,12 +9,12 @@ $(function() {
...
@@ -9,12 +9,12 @@ $(function() {
$
(
this
).
next
(
'.details'
).
slideDown
(
700
);
$
(
this
).
next
(
'.details'
).
slideDown
(
700
);
}
}
})
})
$
(
'.delete-template
-button
'
).
click
(
function
(
e
)
{
$
(
'.delete-template'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
delete_template_confirm
(
$
(
this
).
data
(
'id'
),
$
(
this
).
data
(
'name'
));
delete_template_confirm
(
$
(
this
).
data
(
'id'
),
$
(
this
).
data
(
'name'
));
});
});
$
(
'.delete-key
-button
'
).
click
(
function
(
e
)
{
$
(
'.delete-key'
).
click
(
function
(
e
)
{
var
id
=
$
(
this
).
data
(
'id'
);
var
id
=
$
(
this
).
data
(
'id'
);
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
...
@@ -69,7 +69,7 @@ $(function() {
...
@@ -69,7 +69,7 @@ $(function() {
});
});
})
})
});
});
$
(
'.try-template
-button
'
).
click
(
function
(
e
)
{
$
(
'.try-template'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
new_vm
(
$
(
this
).
data
(
'id'
));
new_vm
(
$
(
this
).
data
(
'id'
));
...
...
one/templates/box/key/entry.html
View file @
ec28178d
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
{{key}}
{{key}}
</div>
</div>
<div
class=
"actions"
>
<div
class=
"actions"
>
<a
href=
"#"
class=
"remove delete-key
-button
"
data-id=
"{{key.id}}"
>
<a
href=
"#"
class=
"remove delete-key"
data-id=
"{{key.id}}"
>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans 'Remove' %}"
/>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans 'Remove' %}"
/>
</a>
</a>
</div>
</div>
...
...
one/templates/box/template/summary.html
View file @
ec28178d
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
{% block actions %}
{% block actions %}
{% if t.state == 'READY' %}
{% if t.state == 'READY' %}
<a
href=
"#"
class=
"try-template
-button
"
data-id=
"{{t.id}}"
title=
"{% trans "
Try
"
%}"
>
<a
href=
"#"
class=
"try-template"
data-id=
"{{t.id}}"
title=
"{% trans "
Try
"
%}"
>
<img
src=
"/static/icons/control.png"
alt=
"{% trans "
Start
"
%}"
/>
<img
src=
"/static/icons/control.png"
alt=
"{% trans "
Start
"
%}"
/>
</a>
</a>
<a
href=
"#"
title=
"{% trans "
Edit
"
%}"
>
<a
href=
"#"
title=
"{% trans "
Edit
"
%}"
>
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<img
src=
"/static/icons/user-share.png"
alt=
"{% trans "
Share
"
%}"
/>
<img
src=
"/static/icons/user-share.png"
alt=
"{% trans "
Share
"
%}"
/>
</a>
</a>
{% endif %}
{% endif %}
<a
href=
"#"
class=
"delete-template
-button
"
data-id=
"{{ t.id }}"
data-name=
"{{ t.name }}"
title=
"{% trans "
Remove
"
%}"
>
<a
href=
"#"
class=
"delete-template"
data-id=
"{{ t.id }}"
data-name=
"{{ t.name }}"
title=
"{% trans "
Remove
"
%}"
>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans "
Remove
"
%}"
/>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans "
Remove
"
%}"
/>
</a>
</a>
{% endblock actions %}
{% endblock actions %}
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