Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b0aaeda1
authored
Jan 28, 2013
by
[3~[3~[3~Bence Dnyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Store AJAX loading demo
parent
7a4c4881
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
6 deletions
+38
-6
one/templates/base.html
+9
-0
one/templates/home.html
+29
-6
No files found.
one/templates/base.html
View file @
b0aaeda1
...
...
@@ -28,6 +28,15 @@ $(function(){
});
}
})
$
(
'#load-more-files'
).
click
(
function
(){
$
(
'.actions'
,
this
).
show
();
var
that
=
this
;
setTimeout
(
function
(){
$
(
that
).
prev
(
'li'
).
slideDown
(
500
,
function
(){
$
(
'.actions'
,
that
).
hide
();
});
},
2000
);
})
})
</script>
...
...
one/templates/home.html
View file @
b0aaeda1
...
...
@@ -4,7 +4,7 @@
{% block content %}
<div
class=
"boxes"
>
<div
class=
"contentblock"
id=
"state"
>
<h2>
Új virtuális gép indítása
</h2>
<h2>
Virtuális gépek
</h2>
<div
class=
"content"
>
{% for m in templates %}
<form
method=
"POST"
action=
"/vm/new/{{m.pk}}/"
>
{% csrf_token %}
...
...
@@ -26,8 +26,6 @@
{% endfor %}
</div>
<div
class=
"boxes"
>
<div
class=
"contentblock"
>
<h2>
Adattár
...
...
@@ -96,9 +94,35 @@
</ul>
</div>
</li>
<li
class=
"file-details wm"
>
<li
class=
"wm"
style=
"display: none"
>
<div
class=
"summary"
>
<div
class=
"name filetype-text"
>
matlab_serial.txt
</div>
<div
class=
"actions"
>
<a
href=
"#"
><img
src=
"../../one/static/icons/pencil.png"
alt=
"rename"
/></a>
<a
href=
"#"
><img
src=
"../../one/static/icons/minus-circle.png"
alt=
"delete"
/></a>
<a
href=
"#"
><img
src=
"../../one/static/icons/download-cloud.png"
alt=
"download"
/></a>
</div>
<div
class=
"info"
>
358 Kb
</div>
<div
class=
"clear"
></div>
</div>
<div
class=
"details"
>
<h3>
Részletek
</h3>
<ul>
<li>
Létrehozva:
<span
class=
"value"
>
2012.12.29. 23:12
</span></li>
<li>
Módosítva:
<span
class=
"value"
>
2012.12.29. 23:12
</span></li>
<li>
Hozzáférés:
<span
class=
"value"
>
2012.12.29. 23:12
</span></li>
<li>
Típus:
<span
class=
"value"
>
text/plain
</span></li>
</ul>
</div>
</li>
<li
class=
"file-details wm"
id=
"load-more-files"
>
<div
class=
"summary"
>
<div
class=
"name filetype-more"
>
Mutasd a régebbi fájlokat!
</div>
<div
class=
"name filetype-more"
>
Mutasd a régebbi fájlokat!
</div>
<div
class=
"actions"
style=
"text-align: right; display: none"
>
<img
src=
"../../one/static/load-3.gif"
alt=
"loading"
/>
</div>
<div
class=
"clear"
></div>
</div>
</li>
...
...
@@ -111,6 +135,5 @@
</ul>
</div>
</div>
</div>
{% endblock %}
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