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
Commit
2d7ee0b5
authored
Jan 28, 2013
by
Danyi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
google font linked, js interface update
parent
b104bdf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
one/templates/base.html
+13
-7
No files found.
one/templates/base.html
View file @
2d7ee0b5
...
...
@@ -4,18 +4,19 @@
<html
lang=
"{{lang}}"
>
<head>
<title>
{% block title %}IK Cloud{% endblock %}
</title>
<link
href=
'http://fonts.googleapis.com/css?family=Metrophobic'
rel=
'stylesheet'
type=
'text/css'
>
<link
rel=
"stylesheet"
href=
"/static/style.css"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"/static/favicon.png"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"one/static/favicon.png"
>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<script
src=
"/static/jquery.min.js"
></script>
<script
type=
"text/javascript"
>
<link
rel=
"icon"
type=
"image/png"
href=
"one/static/favicon.png"
>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<script
src=
"/static/jquery.min.js"
></script>
<script
type=
"text/javascript"
>
$
(
function
(){
$
(
'.wm .summary'
).
each
(
function
(){
this
.
originalHeight
=
parseInt
(
$
(
this
).
next
(
'.details'
).
css
(
'height'
));
})
$
(
'.wm .summary'
).
click
(
function
(){
if
(
$
(
this
).
next
(
'.details'
).
is
(
':hidden'
)){
var
toggleDetails
=
function
(){
if
(
$
(
this
).
next
(
'.details'
).
is
(
':hidden'
)){
$
(
this
).
next
(
'.details'
)
.
css
(
'height'
,
0
)
.
css
(
'padding'
,
'0px 5px'
)
...
...
@@ -31,7 +32,8 @@ $(function(){
$
(
that
).
next
(
'.details'
).
hide
();
});
}
})
}
$
(
'.wm .summary'
).
click
(
toggleDetails
);
$
(
'#load-more-files'
).
click
(
function
(){
$
(
'.actions'
,
this
).
show
();
var
that
=
this
;
...
...
@@ -44,6 +46,10 @@ $(function(){
$
(
'#new-wm-button'
).
click
(
function
(){
$
(
'#modal'
).
show
();
$
(
'#modal-container'
).
html
(
$
(
'#new-wm'
).
html
());
$
(
'#modal-container .wm .summary'
).
each
(
function
(){
this
.
originalHeight
=
parseInt
(
$
(
this
).
next
(
'.details'
).
css
(
'height'
));
})
$
(
'#modal-container .wm .summary'
).
click
(
toggleDetails
);
});
$
(
'#shadow'
).
click
(
function
(){
$
(
'#modal'
).
hide
();
...
...
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