.tabs {
border: 1px solid #6a0307;
/* border-color: gray black black gray;*/
- margin: 1.8em 0;
+ margin: 0em 0;
padding: .3em 0 0 .5em;
float: left;
width: 15em;
.tabs :link:hover, .tabs :visited:hover { background: transparent }
.tabcontents {
- padding: 0.4em 2em;
+ padding: 0em 2em;
margin-left: 17em;
min-height: 300px;
}
<link rel="stylesheet" type="text/css" href="{% url telemeta-css "admin.css" %}" />
{% endblock %}
-{% block content %}
+{% block title %}
<h1><img src="{% url telemeta-images "admin_red.png" %}" style="vertical-align:middle" /> {% trans "Administration" %}</h1>
-<br />
+{% endblock %}
+
+{% block content %}
+
{% block tab %}
<div class="tabs">
<ul>
{% endblock %}
{% block title %}
- <h1><img src="{% url telemeta-images "world_red.png" %}" style="vertical-align:middle" /> {% trans "Geographic Navigator" %}</h1>
+ <h1><img src="{% url telemeta-images "world_red.png" %}" style="vertical-align:middle" /> {% trans "Geographic Navigator" %}</h1>
{% endblock %}
+
{% block title_buttons %}
{% if continents %}
<a href="#" onclick="resourceMap.toggle('map'); return false;" class="component button">{% trans "Map" %}</a> |
<a href="#" onclick="resourceMap.toggle('list'); return false;" class="component button">{% trans "List" %}</a>
{% endif %}
{% endblock %}
+
{% block content %}
{% if continents %}
<ul class="continents">
{% block head_title %}{{ continent }} - {% trans "Geographic Navigator" %} - {{ block.super }}{% endblock %}
-{% block content %}
+{% block title %}
<h1><img src="{% url telemeta-images "world_red.png" %}" style="vertical-align:middle" /> <a href="{% url telemeta-geo-continents %}">{% trans "World" %}</a> /
{{ continent }}</h1>
+{% endblock title %}
+
+{% block content %}
<table class="listing">
<tr>
<th>{% trans "Country" %}</th>
{% extends "telemeta/base.html" %}
{% load i18n %}
+{% block title %}
+<h1><img src="{% url telemeta-images "user_red.png" %}" style="vertical-align:middle" /> {% trans "User authentication" %}</h1>
+{% endblock %}
+
{% block content %}
-<h1>{% trans "User authentication" %}</h1>
-<br />
+
{% if form.errors %}
<p class="login-error">{% trans "Your username and password didn't match. Please try again." %}</p>
{% endif %}
{% block title %}
<img src="images/item.png" style="vertical-align:middle" /> <h1>Item : {{ item }}</h1>
{% endblock %}
+
{% block title_buttons %}
<a href="{% url telemeta-item-detail item.public_id %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
{% endblock %}
{% block infos %}
<div class="infos">
- <form enctype="multipart/form-data" id="_editItemForm" method="POST" action="">{% csrf_token %}
- <ul>{% for error in form.non_field_errors %}<li class="error">{{ error }}</li>{% endfor %}</ul>
+ <form enctype="multipart/form-data" id="_editItemForm" method="POST" action="">{% csrf_token %}
<table>
+ <tr><td colspan="2">{% for error in form.non_field_errors %}<li class="error">{{ error }}</li>{% endfor %}</td></tr>
{% for field in form %}
{% if not field.html_name == "copied_from_item" %}
<tr>
</script>
{% endblock %}
-{% block content %}
+{% block title %}
<h1><img src="{% url telemeta-images "adv_search_red.png" %}" style="vertical-align:middle" /> {% trans "Advanced Search" %}</h1>
+{% endblock %}
+{% block content %}
<form action="{% url telemeta-search %}" id="searchform">{% csrf_token %}
<fieldset>
{% block head_title %}{% trans "Search Results" %} - {{ block.super }}{% endblock %}
-{% block content %}
+{% block title %}
<h1><img src="{% url telemeta-images "search_red.png" %}" style="vertical-align:middle" /> {% trans "Search Results" %}</h1>
+{% endblock %}
+{% block content %}
{% if criteria %}
<ul>
{% if criteria.pattern %}