]> git.parisson.com Git - telemeta.git/commitdiff
remove top player, fix public item button
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 10 Sep 2015 12:35:22 +0000 (14:35 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 10 Sep 2015 12:35:22 +0000 (14:35 +0200)
telemeta/locale
telemeta/static/telemeta/css/telemeta.css
telemeta/templates/telemeta/home.html

index 50b228a61d1fd8bc65ea54695d6b149389899ee0..16fc8c1bebfedf30a8b89e2fb2601c61020311ae 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 50b228a61d1fd8bc65ea54695d6b149389899ee0
+Subproject commit 16fc8c1bebfedf30a8b89e2fb2601c61020311ae
index 63a186e2d915850e8ed8b15e419b15be762afe13..1a7263baca42fba6cc581e8c8fb26845f829b722 100644 (file)
@@ -1240,6 +1240,27 @@ a.image-link {
 
 }
 
+
+#btn-black{
+    font-weight: bold;
+    color:#ffffff;
+    background-color:black;
+    border-color:#black;
+
+}
+
+#btn-black:hover{
+    font-weight: bold;
+    color:black;
+    background-color:#ffffff;
+    border-color:black;
+
+}
+
+.btn-module {
+    margin: 0 0 1.5em 1.5em;
+}
+
 textarea:focus,
 input[type="text"]:focus,
 input[type="password"]:focus,
index 3b7123f8ff02b850c1e379208469870120844338..66bd821e528da7e0e8f937fb565ee9324159f7a9 100644 (file)
@@ -8,17 +8,11 @@
 
 {% block modules %}
 
-{% if sound_pub_item %}
-<div id="module" class="module">
-    <h3><img src="{{ STATIC_URL }}telemeta/images/module_playlist.png" alt="playlist" style="vertical-align:middle" />
-    {% trans "Musical selection" %}</h3>
-    <div style="background-color: white; align: center; padding: 1em;">
-    <span style="font-size: 80%; "><a href="{% url "telemeta-item-detail" sound_pub_item.public_id %}"><b>{{ sound_pub_item }}</b></a>{% if sound_pub_item.alt_title %} ({{ sound_pub_item.alt_title }}){% endif %}<br /><span style="font-size: 90%; padding: 1ex;">{{ sound_pub_item.location.fullnames|to_string }}</span></span>
-    <iframe style="margin-top: 1ex;" width='376' height='220' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='/archives/items/{{ sound_pub_item.public_id }}/player/362x130/'></iframe>
-
-    </div>
+<div class="btn-module">
+ <center>
+  <button type="button" id="btn-black" class="btn btn-default" onclick="location.href='{%url "telemeta-fullaccess-items"%}'"> <span class="glyphicon glyphicon-play" aria-hidden="true"></span> {% trans "Access to free    public sound items" %}</a></button>
+ </center>
 </div>
-{% endif %}
 
 <div class="module">
     <h3><img src="{{ STATIC_URL }}telemeta/images/module_world.png" alt="world" style="vertical-align:middle" />
@@ -54,7 +48,6 @@
 {% endblock %}
 
 </div>
-<button type="button" id="btn" class="btn btn-default" onclick="location.href='{%url "telemeta-fullaccess-items"%}'"> <span class="glyphicon glyphicon-play" aria-hidden="true"></span> AccĂ©der aux items consultables en libre acces</a></button>
 <div class="home-description">
 <img class="align-left" src="{{ STATIC_URL }}telemeta/images/vox.png" alt="vox" style="vertical-align:middle;" />