]> git.parisson.com Git - telemeta.git/commitdiff
use django-bootstrap3 css plus patches
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Apr 2016 14:06:43 +0000 (16:06 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Apr 2016 14:06:43 +0000 (16:06 +0200)
telemeta/static/telemeta/css/bootstrap.css
telemeta/static/telemeta/css/telemeta-more.css [new file with mode: 0644]
telemeta/templates/telemeta/base.html
telemeta/templates/telemeta/mediaitem_detail.html
telemeta/templates/telemeta/resource_detail.html

index b4695123b8398c835557d03336e0f91ef6941a65..8988a0f752fd4ea6cdce3932d1ef8beedefcc316 100644 (file)
@@ -299,6 +299,9 @@ th {
 .glyphicon-pencil:before {
   content: "\270f";
 }
+.glyphicon-copy:before {
+  content: "\e205";
+}
 .glyphicon-glass:before {
   content: "\e001";
 }
diff --git a/telemeta/static/telemeta/css/telemeta-more.css b/telemeta/static/telemeta/css/telemeta-more.css
new file mode 100644 (file)
index 0000000..0362b38
--- /dev/null
@@ -0,0 +1,22 @@
+a, a:visited {
+    color: #BB0000;
+    text-decoration:none;
+}
+a:hover {
+    background-color: transparent;
+    color: #BB0000;
+    text-decoration: underline;
+}
+
+.pagination > .active > a,
+.pagination > .active > span,
+.pagination > .active > a:hover,
+.pagination > .active > span:hover,
+.pagination > .active > a:focus,
+.pagination > .active > span:focus {
+  z-index: 2;
+  color: #fff;
+  cursor: default;
+  background-color: #6a0307;
+  border-color: #6a0307;
+}
index 69397cc328af495e36687feaea4bfa6e9e015e86..3db1eba369795b84de8fd3c48a64fe7429eb6202 100644 (file)
@@ -32,7 +32,8 @@
 
 {% block stylesheets %}
 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}telemeta/css/telemeta.css" />
-<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}telemeta/css/bootstrap.css" />
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}bootstrap/dist/css/bootstrap.css" />
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}telemeta/css/telemeta-more.css" />
 
 <!--[if IE]>
 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}telemeta/css/telemeta_ie.css" />
index 4b539b3ebaf9d044df59d3372a453806ed327253..c3a66944ac2ce571484d88b134169c926a1cc889 100644 (file)
     </a>
     <a href="{% url "telemeta-item-copy" item.public_id %}">
       <button type="button" class="btn btn-default">
-        <span class="glyphicon glyphicon-new-window"></span> {% trans "Copy" %}
+        <span class="glyphicon glyphicon-copy"></span> {% trans "Copy" %}
       </button>
     </a>
     {% endif %}
index 92f39909e8dd59fa496e5ae9c231a07d3eb6b601..c363fc4c3f8dff875b6883520e4d97bc8252cb8f 100644 (file)
@@ -46,7 +46,7 @@ jQuery(document).ready(function(){
     </a>
     <a href="{% url "telemeta-resource-copy" type resource.public_id %}">
       <button type="button" class="btn btn-default">
-        <span class="glyphicon glyphicon-new-window"></span> {% trans "Copy" %}
+        <span class="glyphicon glyphicon-copy"></span> {% trans "Copy" %}
       </button>
     </a>
     {% endif %}
@@ -139,4 +139,3 @@ jQuery(document).ready(function(){
 {% else %}
     <p>{% trans "No such resource" %}</p>
 {% endif %}
-