mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 16:01:22 +00:00
[svn]
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8175 by aaron @ 1/18/2009 4:42 AM
This commit is contained in:
@@ -12,25 +12,9 @@
|
||||
{% block javascript %}
|
||||
<style type="text/css">
|
||||
<!--
|
||||
td.f { background: #7f96e8; width: 80pt; font-size: 10pt }
|
||||
td.ff { background: #ff6666; width: 80pt; font-size: 10pt }
|
||||
td.fe { background: #7f96e8; width: 80pt; text-align:right; font-size: 10pt }
|
||||
td.ffe { background: #ff6666; width: 80pt; text-align:right; font-size: 10pt }
|
||||
td.e { background: #aaaaaa; width: 80pt; text-align:center; font-size: 10pt }
|
||||
td.n { width: 120pt }
|
||||
td.t { font-size: 10pt }
|
||||
td.week { width: 4pt }
|
||||
td.h { width: 80pt; font-size: 8pt; text-align: center }
|
||||
tr.r { height: 40pt }
|
||||
tr.brk { height: 12pt }
|
||||
tr.sbrk { height: 2pt }
|
||||
tr.dblsbrk { height: 4pt }
|
||||
td.sbrk { background: #dddddd }
|
||||
td.dblsbrk { background: #dddddd; font-size: 6pt }
|
||||
span.l { background: #7f96e8 }
|
||||
span.s { background: #ff6666 }
|
||||
table.t { background: #dddddd }
|
||||
body { margin-left: 5%; margin-right: 5% }
|
||||
td.yes { background: #7f96e8; width: 80pt; font-size: 10pt }
|
||||
td.no { background: #ff6666; width: 80pt; font-size: 10pt }
|
||||
td.name { background: #7f96e8; width: 80pt; text-align:right; font-size: 10pt }
|
||||
-->
|
||||
</style>
|
||||
|
||||
@@ -39,7 +23,7 @@ body { margin-left: 5%; margin-right: 5% }
|
||||
{% block content %}
|
||||
{% if expedition %}
|
||||
<table>
|
||||
<tr>
|
||||
<tr><td />
|
||||
{% for date in expedition.ListDays %}
|
||||
{% ifchanged date.month %}
|
||||
<td class="h">{{ date|date:"F" }}</td>
|
||||
@@ -47,15 +31,32 @@ body { margin-left: 5%; margin-right: 5% }
|
||||
<td class="h"></td>
|
||||
{% endifchanged %}
|
||||
{% endfor %}
|
||||
<tr>
|
||||
</tr>
|
||||
<tr><td />
|
||||
{% for date in expedition.ListDays %}
|
||||
<td class="h">{{ date|date:"D" }}</td>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr><td />
|
||||
{% for date in expedition.ListDays %}
|
||||
<td class="h">{{ date|date:"d" }}</td>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
</tr>
|
||||
|
||||
{% for personexpedition in expedition.personexpedition_set.all %}
|
||||
<tr>
|
||||
<td class="name">
|
||||
{{ personexpedition.person }}
|
||||
</td>
|
||||
{% for dateTF in personexpedition.ListDaysTF %}
|
||||
<td {{ dateTF|yesno:"class='yes',class='no'"|safe }}></td>
|
||||
{% empty %}
|
||||
<td colspan="{{ expedition.ListDays|length }}">No data yet.</td>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user