Commit c8bbbd5e authored by Romain Loth's avatar Romain Loth

smaller tab buttons for corpora top bar

parent ad11a010
/* styles for menu.html template (navbar etc) */
#dafixedtop .navbar-text {
margin: 0 ;
padding-top: 15px;
padding-bottom: 15px;
}
#corporatop.nav-tabs > li > a {
line-height: .85;
}
{% extends "pages/menu.html" %} {% extends "pages/menu.html" %}
{% load staticfiles %} {% load staticfiles %}
{% block css %} {% block css %}
<link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "css/d3/dc.css"%}"/> <link rel="stylesheet" type="text/css" href="{% static "css/d3/dc.css"%}"/>
<link rel="stylesheet" type="text/css" href="{% static "css/jquery/jquery.dynatable.css"%}"/> <link rel="stylesheet" type="text/css" href="{% static "css/jquery/jquery.dynatable.css"%}"/>
<link rel="stylesheet" type="text/css" href="{% static "css/gargantext/tables.css"%}"/> <link rel="stylesheet" type="text/css" href="{% static "css/gargantext/tables.css"%}"/>
......
{% extends "pages/menu.html" %} {% extends "pages/menu.html" %}
{% block css %}
{% load staticfiles %} {% load staticfiles %}
<link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.css" %}"> {% block css %}
<link rel="stylesheet" type="text/css" href="{% static "css/d3/dc.css"%}"/> <link rel="stylesheet" type="text/css" href="{% static "css/d3/dc.css"%}"/>
<link rel="stylesheet" type="text/css" href="{% static "css/jquery/jquery.dynatable.css"%}"/> <link rel="stylesheet" type="text/css" href="{% static "css/jquery/jquery.dynatable.css"%}"/>
......
{% extends "pages/menu.html" %} {% extends "pages/menu.html" %}
{% load staticfiles %}
{% block css %} {% block css %}
{% load staticfiles %}
<link rel="stylesheet" href="{% static "css/bootstrap.css" %}" />
<script src="{% static "js/jquery/jquery.min.js" %}" type="text/javascript"></script> <script src="{% static "js/jquery/jquery.min.js" %}" type="text/javascript"></script>
......
{% extends "pages/menu.html" %} {% extends "pages/menu.html" %}
{% load staticfiles %}
{% block css %} {% block css %}
{% load staticfiles %}
<link rel="stylesheet" href="{% static "css/bootstrap.css" %}">
<script src="{% static "js/jquery/jquery.min.js" %}" type="text/javascript"></script> <script src="{% static "js/jquery/jquery.min.js" %}" type="text/javascript"></script>
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
<head> <head>
<link rel="shortcut icon" href="{% static "/favicon.ico" %}"> <link rel="shortcut icon" href="{% static "/favicon.ico" %}">
<script type="text/javascript" src="{% static "js/jquery/jquery.min.js" %}"></script> <script type="text/javascript" src="{% static "js/jquery/jquery.min.js" %}"></script>
<link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "css/gargantext/menu.css"%}"/>
{% block css %} {% block css %}
{% endblock %} {% endblock %}
</head> </head>
...@@ -47,7 +49,7 @@ ...@@ -47,7 +49,7 @@
<ul class="nav pull-right"> <ul class="nav pull-right">
<li class="dropdown"> <li class="dropdown">
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown" title="That is your username"> <a href="#" role="button" class="dropdown-toggle navbar-text" data-toggle="dropdown" title="That is your username">
<i class="icon-user"></i> <i class="icon-user"></i>
<span class="glyphicon glyphicon-user" aria-hidden="true" style="color:white"></span> <span class="glyphicon glyphicon-user" aria-hidden="true" style="color:white"></span>
{{ user.username | truncatechars:15}} {{ user.username | truncatechars:15}}
...@@ -75,7 +77,7 @@ ...@@ -75,7 +77,7 @@
</div> </div>
{% if corpus %} {% if corpus %}
<div class="container"> <div class="container">
<ul class="nav nav-tabs navbar-static-top nav-justified"> <ul id="corporatop" class="nav nav-tabs navbar-static-top nav-justified">
<li> <li>
<a type="button" class="btn btn-default {% if view == 'titles' %} active {% endif %}" <a type="button" class="btn btn-default {% if view == 'titles' %} active {% endif %}"
onclick="javascript:location.href='/projects/{{project.id}}/corpora/{{ corpus.id }}/'" onclick="javascript:location.href='/projects/{{project.id}}/corpora/{{ corpus.id }}/'"
......
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 to comment