From: riccardo Date: Fri, 18 Mar 2011 15:42:24 +0000 (+0100) Subject: div submenu and content height and margin fixed, respectively X-Git-Tag: 1.1~348 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e17d41cb30da47a54180b8f30795e7a6c4577337;p=telemeta.git div submenu and content height and margin fixed, respectively --- diff --git a/telemeta/htdocs/css/telemeta.css b/telemeta/htdocs/css/telemeta.css index a0ac2e78..23f7cc96 100644 --- a/telemeta/htdocs/css/telemeta.css +++ b/telemeta/htdocs/css/telemeta.css @@ -47,7 +47,7 @@ a img { border: none; } #content { position: relative; - margin: 2em 2em 0em 2em; + margin: 1em 2em 0em 2em; } #content ul, #content ul ul, #content ol { @@ -92,6 +92,7 @@ a img { border: none; } #submenu { position: relative; margin: 5px 2em 0; + height:3ex; z-index: 10; } #submenu h3, #submenu div { @@ -992,8 +993,8 @@ a.image-link { border-radius: 1ex 1ex 1ex 1ex; } .mediaitem_button:hover,.mediaitem_button:link:hover, .mediaitem_button:visited:hover{ - background-color: #e9e9d9; - color:#6A0307; + background-color: #e9e9e9; /*#e9e9d9;*/ + color: #000; /*#6A0307;*/ text-decoration: none; } .mediaitem_button_no_icon{ diff --git a/telemeta/htdocs/timeside/src/playlist.js b/telemeta/htdocs/timeside/src/playlist.js index 2be4abf6..d8c093fd 100644 --- a/telemeta/htdocs/timeside/src/playlist.js +++ b/telemeta/htdocs/timeside/src/playlist.js @@ -30,6 +30,12 @@ var playlist = { }; popupDialog(element,table,onOk); + }, + + remove: function(id){ + json([id],'telemeta.del_playlist',function(){ + window.location.reload(); + },true); } // ,add:function(title){ // if(title instanceof String) diff --git a/telemeta/templates/telemeta_default/home.html b/telemeta/templates/telemeta_default/home.html index 14255fbb..e4a50acd 100644 --- a/telemeta/templates/telemeta_default/home.html +++ b/telemeta/templates/telemeta_default/home.html @@ -55,13 +55,13 @@
-

{% trans "Playlists" %} -{% trans "Add" %}

+

{% trans "Playlists" %}

+{% trans "Add" %} {% for playlist in playlists %}

{{ playlist.playlist.title }}

CSV - {% trans "Delete" %} + {% trans "Delete" %}