Files
SaS/web_dev/sas_web/templates/public/header.html
T
2017-11-27 15:44:24 +01:00

42 lines
1.8 KiB
HTML

{% load static %}
<link rel="stylesheet" type="text/css" href="{% static "public/css/header.css" %}">
<div id=header>
<form action="{% url "datenbank:index" %}" method="post">
{% csrf_token %}
<table class="table">
<tr>
<td id ="logotablerow", width="20%">
<img id="logo" src="{% static "public/images/apb_icon.png" %}" alt="logo">
</td>
<td class="link-container">
<a class="top-links", href="https://www.tagesschau.de">tagesschau.de</a>
</td>
<td class="link-container">
<a class="top-links", href="http://www.goethelb.de">goethelb.de</a>
</td>
<td class="link-container">
<a class="top-links", href="http://www.zeit.de">zeit.de</a>
</td>
<td class="link-container">
<a class="top-links", href="https://www.bpb.de">bpb.de</a>
</td>
<td vertical-align="middle", width="25%" class="allcenter">
<input type="text" id="search" name="query" maxlength="30" placeholder="Datenbank durchsuchen" value="{{ query }}">
</td>
<td width="5%" class="allcenter">
<input id="submit_search" type="submit" value="Suchen">
</td>
</tr>
</table>
</form>
<div id="navigation">
<ul class="navbar">
<li class ="navbar"><a {% if appname == "startpage" %}class="active"{% endif %} href="/">Information</a></li>
<li class="navbar"><a {% if appname == "datenbank" %}class="active"{% endif %} href="{% url "datenbank:index" %}">Datenbank</a></li>
<li class="navbar"><a {% if appname == "meingoethopia" %}class="active"{% endif %} href="{% url "meingoethopia:index" %}">Mein Goethopia</a></li>
</ul>
</div>
</div>