-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.html
169 lines (139 loc) · 6.55 KB
/
base.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!--
Web application created by Carlos Pena
web page: https://github.com/carlosp420
twitter: @carlosp420
email: mycalesis@gmail.com
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="VoSeq">
<meta name="author" content="Carlos Pena">
<meta property="og:type" content="website">
<meta property="og:description" content="VoSeq is a database manager to store voucher and DNA sequence data for phylogenetic analysis. It is a unique database that enables to digitize biological data of museum specimens and molecular data such as DNA sequences, primers and genes.">
<meta property="og:site_name" content="VoSeq">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="Carlos Pena">
<meta property="og:url" content="http://voseq.github.io/VoSeq/">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@voseq_">
<meta name="twitter:creator" content="@carlosp420">
<meta name="twitter:title" content="VoSeq - database manager for DNA sequences">
<meta name="twitter:description" content="VoSeq is a database manager to store voucher and DNA sequence data for phylogenetic analysis. It is a unique database that enables to digitize biological data of museum specimens and molecular data such as DNA sequences, primers and genes.">
<meta name="twitter:domain" content="http://voseq.github.io/VoSeq/">
<title>{% block title %}{% endblock title %}</title>
{% block additional_css %}{% endblock additional_css %}
<script src="https://kit.fontawesome.com/627eadf58b.js" crossorigin="anonymous"></script>
<style type="text/css">
.navbar .divider-vertical {
min-height: 50px;
margin: 0 9px;
border-right: 1px solid #ffffff;
border-left: 1px solid #f2f2f2;
}
#toolbox {
padding-top: 8px;
}
</style>
<!-- Custom styles for this template -->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
{% block additional_javascript_header %}{% endblock additional_javascript_header %}
<!-- Bootstrap core CSS -->
<link href="http://netdna.bootstrapcdn.com/bootswatch/3.2.0/lumen/bootstrap.min.css" rel="stylesheet">
{% load staticfiles %}
<link rel="stylesheet" href="{% static 'css/pi.css' %}">
<link rel="shortcut icon" href="{% static 'img/favicon.ico' %}">
</head>
<body>
<!-- Static navbar -->
<div class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<span style="font-size: 3rem;">{{ app_name }}</span>
</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="/browse">Browse</a></li>
<li class="hidden-sm"><a href="http://mycalesis.me/">Contact</a></li>
<li>
<form action="/search/" method="get" class="navbar-form navbar-right form-inline" role="search">
<div class="form-group">
<input style="width:240px;" type="text" id="query" name="q"
class="form-control" value="{{ simple_query }}"
placeholder="Code or Taxon name">
</div>
<div class="form-group">
<button type="submit" class="btn btn-info" id="search_button">
<span class="glyphicon glyphicon-search"></span>
Search
</button>
<small><a href="/search/advanced/">Advanced <b>Search</b></a></small>
</div>
</form>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<div class="btn-group" id="toolbox">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"
id="tools">
Tools <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="/blast_new/">Blast new sequence</a></li>
<li><a href="/view_table/">Interactive overview table</a></li>
<li><a href="/genes/">View genes</a></li>
<li><a href="/create_dataset/">Create new dataset</a></li>
<li><a href="/create_voucher_table/">Create Voucher table</a></li>
<li><a href="/create_gene_table/">Create Gene table</a></li>
<li><a href="/genbank_fasta/">Create GenBank FASTA file</a></li>
<li><a href="/share_data_gbif/">Share data with GBIF</a></li>
</ul>
</div>
</li>
<li>
<form action="#" class="navbar-form form-inline">
<div class="form-group">
{% if request.user.is_authenticated %}
<a class="btn btn-info" href="/admin/">Admin</a>
<a class="btn btn-danger" href="{% url 'auth_logout' %}">Logout</a>
{% else %}
<a class="btn btn-success" href="{% url 'auth_login' %}">Login</a>
{% endif %}
</div>
</form>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
{% block jumbotron %}
{% endblock jumbotron %}
{% block content %}
{% endblock content %}
{% include 'public_interface/footer.html' %}
<!-- Bootstrap core JavaScript -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="{% static 'js/jquery-1.10.2.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
<script src="{% static 'js/jquery-ui.min.js' %}"></script>
{% block additional_javascript_footer %}
{% endblock additional_javascript_footer %}
</body>
</html>