Commit 2d7ee0b5 by Danyi Bence

google font linked, js interface update

parent b104bdf5
......@@ -4,6 +4,7 @@
<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">
......@@ -14,7 +15,7 @@ $(function(){
$('.wm .summary').each(function(){
this.originalHeight=parseInt($(this).next('.details').css('height'));
})
$('.wm .summary').click(function(){
var toggleDetails=function(){
if($(this).next('.details').is(':hidden')){
$(this).next('.details')
.css('height',0)
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment