Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
2e480551
Commit
2e480551
authored
May 06, 2016
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CSS] Tob bar factorized for menu and explorer.
parent
15128b92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
134 deletions
+65
-134
explorer.html
templates/graphExplorer/explorer.html
+10
-83
menu.html
templates/pages/menu.html
+55
-51
No files found.
templates/graphExplorer/explorer.html
View file @
2e480551
<html>
<head>
{% load staticfiles %}
<link
rel=
"stylesheet"
href=
"{% static "
js
/
bootstrap
/
3
.
0
.
2
/
bootstrap
.
css
"
%}"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
bootstrap
/
3
.
1
.
1
/
bootstrap-theme
.
min
.
css
"
%}"
>
{% extends "pages/menu.html" %}
{% load staticfiles %}
{% block css %}
<link
rel=
"stylesheet"
href=
"{% static "
js
/
jquery
/
1
.
11
.
2
/
jquery-ui
.
css
"
%}"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
libs
/
css2
/
freshslider
.
css
"
%}"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
libs
/
css2
/
custom
.
css
"
%}"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
libs
/
css2
/
sidebar
.
css
"
%}"
media=
"screen"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
js
/
gargantext
/
menu
.
css
"%}"
/>
<style>
#leftcolumn
{
...
...
@@ -42,80 +43,11 @@
-->
</head>
<body>
<div
id=
"graphsfixedtop"
class=
"navbar navbar-inverse"
role=
"navigation"
>
<div
class=
"container"
>
<div
class=
"navbar-inner"
>
<button
class=
"navbar-toggle"
data-toggle=
"collapse"
data-target=
".navbar-collapse"
>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
class=
"navbar-brand"
style=
"line-height:15px; height:10px; padding: 10px 10px;"
href=
"/"
><img
src=
"{% static "
img
/
logoSmall
.
png
"%}"
title=
"Back to home."
></a>
</div>
<div
class=
"navbar-collapse collapse"
>
<ul
class=
"nav navbar-nav"
>
<li><a
href=
"/about/"
title=
"More informations about the project, its sponsors and its authors."
>
<span
class=
"glyphicon glyphicon-info-sign"
aria-hidden=
"true"
></span>
About
</a>
</li>
{% if user.is_authenticated %}
<li><a
href=
"/projects/"
title=
"All your projects are here."
>
<span
class=
"glyphicon glyphicon-home"
aria-hidden=
"true"
></span>
Projects
</a></li>
{% endif %}
{% if project %}
<li><a
href=
"/projects/{{project.id}}"
>
<span
class=
"glyphicon glyphicon-book"
aria-hidden=
"true"
></span>
{{project.name | truncatechars:15}}
</a></li>
{% endif %}
{% if corpus %}
<li><a
href=
"/projects/{{project.id}}/corpora/{{corpus.id}}"
>
<span
class=
"glyphicon glyphicon-file"
aria-hidden=
"true"
></span>
{{corpus.name | truncatechars:15}}
</a></li>
{% endif %}
</ul>
<ul
class=
"nav pull-right"
>
<li
class=
"dropdown"
>
<a
href=
"#"
role=
"button"
class=
"dropdown-toggle navbar-text"
data-toggle=
"dropdown"
title=
"That is your username"
>
<i
class=
"icon-user"
></i>
<span
class=
"glyphicon glyphicon-user"
aria-hidden=
"true"
style=
"color:white"
></span>
{{ user.username | truncatechars:15}}
<i
class=
"caret"
></i>
</a>
<ul
class=
"dropdown-menu"
>
<li><a
tabindex=
"-1"
href=
"http://www.iscpif.fr/tiki-index.php?page=gargantext_feedback"
title=
"Send us a message (bug, thanks, congrats...)"
>
<span
class=
"glyphicon glyphicon-bullhorn"
aria-hidden=
"true"
></span>
Report Feedback
</a></li>
<li
class=
"divider"
></li>
{% if user.is_authenticated %}
<li>
<a
tabindex=
"-1"
href=
"/auth/logout"
title=
"Click here to logout especially on public devices"
>
<span
class=
"glyphicon glyphicon-log-out"
aria-hidden=
"true"
></span>
Logout
</a></li>
{% else %}
<li><a
tabindex=
"-1"
href=
"/auth/login"
>
Login
</a></li>
{% endif %}
</ul>
</li>
</ul>
</div>
{% endblock %}
</div>
</div>
{% block content %}
<!-- this is the tweakbar -->
<div
id=
"defaultop"
class=
"navbar navbar-default"
>
...
...
@@ -497,7 +429,6 @@
<script
type=
"text/javascript"
src=
"{% static "
js
/
libs
/
jquery
/
jquery
.
easytabs
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
libs
/
bootstrap
/
js
/
bootstrap
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
libs
/
bootstrap
/
js
/
bootstrap-modal
.
js
"
%}"
type=
"text/javascript"
></script>
<script
src=
"{% static "
js
/
libs
/
bootstrap
/
js
/
bootstrap-hover-dropdown
.
min
.
js
"
%}"
type=
"text/javascript"
></script>
...
...
@@ -526,12 +457,8 @@
// $('#tab-container-top').easytabs({updateHash:false});
</script>
</body>
{% endblock %}
</html>
templates/pages/menu.html
View file @
2e480551
...
...
@@ -132,60 +132,64 @@
<!--/.nav-collapse -->
{% block corpusBannerTop %}
{% if corpus %}
<div
class=
"container theme-showcase"
>
<div
class=
"jumbotron"
style=
"margin-bottom:0"
>
<br>
<br>
<!--
<a type="button" class="btn btn-default
href="/projects/{{project.id}}/corpora/{{ corpus.id }}/">Export corpus</a>
--!>
<!-- <li class="divider"></li> --!>
<div class="row">
<div class="col-md-4">
{% if project %}
<h3><a href="/projects/{{project.id}}">
<span class="glyphicon glyphicon-book" aria-hidden="true"></span>
{{ project.name }}
</a>
<br>
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
{{ corpus.name }}
<br>
<span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
{{ corpus.date }}
</h3>
{% endif %}
</div>
<div class="col-md-4">
</div>
<div class="col-md-4">
{% if corpus %}
{% if view != "graph" %}
<div
class=
"container theme-showcase"
>
<div
class=
"jumbotron"
style=
"margin-bottom:0"
>
<br>
<!-- <a class="btn btn-default" role="button" href="/project/{{project.id}}/corpus/{{corpus.id}}/{{view}}/update">Update</a> -->
<!--
<a class="btn btn-default" role="button" href="/project/{{project.id}}/corpus/{{ corpus.id }}/corpus.csv">Download</a>
<a type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="bottom"
data-content='
<ul>
<li> Rename </li>
<li> Add new documents </li>
<li><a href="/delete/{{corpus.id}}">Delete</a></li>
</ul>
'>Manage</a>
-->
<!-- <a class="btn btn-primary btn-lg" role="button" href="/admin/documents/corpus/{{ corpus.id }}/">Add documents</a></p> -->
<br>
<!--
<a type="button" class="btn btn-default
href="/projects/{{project.id}}/corpora/{{ corpus.id }}/">Export corpus</a>
--!>
<!-- <li class="divider"></li> --!>
<div class="row">
<div class="col-md-4">
{% if project %}
<h3><a href="/projects/{{project.id}}">
<span class="glyphicon glyphicon-book" aria-hidden="true"></span>
{{ project.name }}
</a>
<br>
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
{{ corpus.name }}
<br>
<span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
{{ corpus.date }}
</h3>
{% endif %}
</div>
<div class="col-md-4">
</div>
<div class="col-md-4">
<br>
<!-- <a class="btn btn-default" role="button" href="/project/{{project.id}}/corpus/{{corpus.id}}/{{view}}/update">Update</a> -->
<!--
<a class="btn btn-default" role="button" href="/project/{{project.id}}/corpus/{{ corpus.id }}/corpus.csv">Download</a>
<a type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="bottom"
data-content='
<ul>
<li> Rename </li>
<li> Add new documents </li>
<li><a href="/delete/{{corpus.id}}">Delete</a></li>
</ul>
'>Manage</a>
-->
<!-- <a class="btn btn-primary btn-lg" role="button" href="/admin/documents/corpus/{{ corpus.id }}/">Add documents</a></p> -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% else %}
<div
class=
"container theme-showcase"
>
<div
class=
"jumbotron"
style=
"margin-bottom:0"
>
</div>
</div>
{% endif %}
{% endif %}
{% endblock %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment