Display block on rows in browse views
svn: r19705
This commit is contained in:
parent
38b50049f2
commit
ecf49d95e8
@ -28,6 +28,9 @@
|
|||||||
.content {
|
.content {
|
||||||
padding: 0px 0px 10px;
|
padding: 0px 0px 10px;
|
||||||
}
|
}
|
||||||
|
.browsecell {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
#subtitle {
|
#subtitle {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
@ -17,12 +17,12 @@
|
|||||||
{% for source in page.object_list %}
|
{% for source in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
<td>{{ forloop.counter|row_count:page }}</td>
|
<td>{{ forloop.counter|row_count:page }}</td>
|
||||||
<td><a href="/{{view}}/{{source.handle|escape}}" class="noThumb">
|
<td><a href="/{{view}}/{{source.handle|escape}}" class="browsecell">
|
||||||
<span class="grampsid">[{{source.gramps_id}}]</span></a>
|
<span class="grampsid">[{{source.gramps_id}}]</span></a>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<td><a href="/{{view}}/{{source.handle|escape}}">{{source.title|escape}}</a>
|
<td><a href="/{{view}}/{{source.handle|escape}}" class="browsecell">{{source.title|escape|nbsp}}</a>
|
||||||
<td><a href="/{{view}}/{{source.handle|escape}}">{{source.pubinfo|nbsp}}</a>
|
<td><a href="/{{view}}/{{source.handle|escape}}" class="browsecell">{{source.pubinfo|nbsp}}</a>
|
||||||
<td><a href="/{{view}}/{{source.handle|escape}}">{{source.author|nbsp}}</a>
|
<td><a href="/{{view}}/{{source.handle|escape}}" class="browsecell">{{source.author|nbsp}}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
@ -18,15 +18,15 @@
|
|||||||
{% for event in page.object_list %}
|
{% for event in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
<td>{{ forloop.counter|row_count:page }}</td>
|
<td>{{ forloop.counter|row_count:page }}</td>
|
||||||
<td><a href="/{{view}}/{{event.handle|escape}}" class="noThumb">
|
<td><a href="/{{view}}/{{event.handle|escape}}" class="noThumb browsecell">
|
||||||
<span class="grampsid">[{{event.gramps_id}}]</span></a>
|
<span class="grampsid">[{{event.gramps_id}}]</span></a>
|
||||||
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
|
|
||||||
<td><a href="/{{view}}/{{event.handle|escape}}">{{event.event_type|nbsp}}</a>
|
<td><a href="/{{view}}/{{event.handle|escape}}" class="browsecell">{{event.event_type|nbsp}}</a>
|
||||||
<td><a href="/{{view}}/{{event.handle|escape}}">{{event.description|nbsp}}</a>
|
<td><a href="/{{view}}/{{event.handle|escape}}" class="browsecell">{{event.description|nbsp}}</a>
|
||||||
<td><a href="/{{view}}/{{event.handle|escape}}">{{event|date_as_text:user}}</a>
|
<td><a href="/{{view}}/{{event.handle|escape}}" class="browsecell">{{event|date_as_text:user}}</a>
|
||||||
<td><a href="/{{view}}/{{event.handle|escape}}">{{event.place.title|nbsp}}</a>
|
<td><a href="/{{view}}/{{event.handle|escape}}" class="browsecell">{{event.place.title|nbsp}}</a>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<td>[Private]</td>
|
<td>[Private]</td>
|
||||||
|
@ -16,14 +16,14 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
{% for family in page.object_list %}
|
{% for family in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
<td><a href="/{{view}}/{{family.handle|escape}}" class="noThumb">{{ forloop.counter|row_count:page }}</a></td>
|
<td><a href="/{{view}}/{{family.handle|escape}}" class="browsecell">{{ forloop.counter|row_count:page }}</a></td>
|
||||||
<td><a href="/{{view}}/{{family.handle|escape}}" class="noThumb"><span class="grampsid">[{{family.gramps_id}}]</span></a>
|
<td><a href="/{{view}}/{{family.handle|escape}}" class="browsecell"><span class="grampsid">[{{family.gramps_id}}]</span></a>
|
||||||
<td><a href="/{{view}}/{{family.handle|escape}}">{{family.father|make_name:user|nbsp}}</a>
|
<td><a href="/{{view}}/{{family.handle|escape}}" class="browsecell">{{family.father|make_name:user|nbsp}}</a>
|
||||||
<td><a href="/{{view}}/{{family.handle|escape}}">{{family.mother|make_name:user|nbsp}}</a>
|
<td><a href="/{{view}}/{{family.handle|escape}}" class="browsecell">{{family.mother|make_name:user|nbsp}}</a>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<td><a href="/{{view}}/{{family.handle|escape}}">{{family.family_rel_type|escape}}</a>
|
<td><a href="/{{view}}/{{family.handle|escape}}" class="browsecell">{{family.family_rel_type|escape}}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td><a href="/{{view}}/{{family.handle|escape}}">[Private]</a>
|
<td><a href="/{{view}}/{{family.handle|escape}}" class="browsecell">[Private]</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -17,12 +17,12 @@
|
|||||||
{% for media in page.object_list %}
|
{% for media in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
<td>{{ forloop.counter|row_count:page }}</td>
|
<td>{{ forloop.counter|row_count:page }}</td>
|
||||||
<td><a href="/{{view}}/{{media.handle|escape}}" class="noThumb">
|
<td><a href="/{{view}}/{{media.handle|escape}}" class="noThumb browsecell">
|
||||||
<span class="grampsid">[{{media.gramps_id}}]</span></a>
|
<span class="grampsid">[{{media.gramps_id}}]</span></a>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<td><a href="/{{view}}/{{media.handle|escape}}">{{media.mime|escape}}</a>
|
<td><a href="/{{view}}/{{media.handle|escape}}" class="browsecell">{{media.mime|escape}}</a>
|
||||||
<td><a href="/{{view}}/{{media.handle|escape}}">{{media|display_date|nbsp}}</a>
|
<td><a href="/{{view}}/{{media.handle|escape}}" class="browsecell">{{media|display_date|nbsp}}</a>
|
||||||
<td><a href="/{{view}}/{{media.handle|escape}}">{{media.path|escape}}</a>
|
<td><a href="/{{view}}/{{media.handle|escape}}" class="browsecell">{{media.path|escape}}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
{% for note in page.object_list %}
|
{% for note in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
<td>{{ forloop.counter|row_count:page }}</td>
|
<td>{{ forloop.counter|row_count:page }}</td>
|
||||||
<td><a href="/{{view}}/{{note.handle|escape}}" class="noThumb">
|
<td><a href="/{{view}}/{{note.handle|escape}}" class="noThumb browsecell">
|
||||||
<span class="grampsid">[{{note.gramps_id}}]</span></a>
|
<span class="grampsid">[{{note.gramps_id}}]</span></a>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<td><a href="/{{view}}/{{note.handle|escape}}">{{note.note_type|escape}}</a>
|
<td><a href="/{{view}}/{{note.handle|escape}}" class="browsecell">{{note.note_type|escape}}</a>
|
||||||
<td><a href="/{{view}}/{{note.handle|escape}}">{{note.text|preview:70}}</a>
|
<td><a href="/{{view}}/{{note.handle|escape}}" class="browsecell">{{note.text|preview:70}}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
@ -18,14 +18,14 @@
|
|||||||
{% for name in page.object_list %}
|
{% for name in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
{% if name.person %}
|
{% if name.person %}
|
||||||
<td><a href="{{name.person.handle}}/" class="noThumb">{{ forloop.counter|row_count:page }}</a>
|
<td><a href="{{name.person.handle}}/" class="noThumb browsecell">{{ forloop.counter|row_count:page }}</a>
|
||||||
</td>
|
</td>
|
||||||
<td><a href="{{name.person.handle}}/" class="noThumb">{{name|make_name:user}}</a>
|
<td><a href="{{name.person.handle}}/" class="noThumb browsecell">{{name|make_name:user}} </a>
|
||||||
</td>
|
</td>
|
||||||
<td><a href="{{name.person.handle}}/" class="grampsid">[{{name.person.gramps_id}}]</a></td>
|
<td><a href="{{name.person.handle}}/" class="grampsid browsecell">[{{name.person.gramps_id}}]</a></td>
|
||||||
<td><a href="{{name.person.handle}}/" class="noThumb">{{name.person.gender_type}}</a></td>
|
<td><a href="{{name.person.handle}}/" class="noThumb browsecell">{{name.person.gender_type}} </a></td>
|
||||||
<td><a href="{{name.person.handle}}/" class="noThumb">{{name.person.birth|date_as_text:user}}</a></td>
|
<td><a href="{{name.person.handle}}/" class="noThumb browsecell">{{name.person.birth|date_as_text:user}} </a></td>
|
||||||
<td><a href="{{name.person.handle}}/" class="noThumb">{{name.person.death|date_as_text:user}}</a></td>
|
<td><a href="{{name.person.handle}}/" class="noThumb browsecell">{{name.person.death|date_as_text:user}} </a></td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
{% for place in page.object_list %}
|
{% for place in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
<td>{{ forloop.counter|row_count:page }}</td>
|
<td>{{ forloop.counter|row_count:page }}</td>
|
||||||
<td><a href="/{{view}}/{{place.handle|escape}}" class="noThumb">
|
<td><a href="/{{view}}/{{place.handle|escape}}" class="noThumb browsecell">
|
||||||
<span class="grampsid">[{{place.gramps_id}}]</span></a>
|
<span class="grampsid">[{{place.gramps_id}}]</span></a>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<td><a href="/{{view}}/{{place.handle|escape}}">{{place.title|escape}}</a>
|
<td><a href="/{{view}}/{{place.handle|escape}}" class="browsecell">{{place.title|escape}}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td></td>
|
<td></td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
{% for report in page.object_list %}
|
{% for report in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
<td>{{ forloop.counter|row_count:page }}</td>
|
<td>{{ forloop.counter|row_count:page }}</td>
|
||||||
<td><a href="/{{view}}/{{report.handle|escape}}" class="noThumb">
|
<td><a href="/{{view}}/{{report.handle|escape}}" class="noThumb browsecell">
|
||||||
<span class="grampsid">{{report.name}}</span></a>
|
<span class="grampsid">{{report.name}}</span></a>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<td></td>
|
<td></td>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<i>Hint</i>: use Gramps CLI options such as output file format <b>off=pdf</b>, <b>off=ged</b>, or <b>off=gramps</b>
|
<i>Hint</i>: use Gramps CLI options such as output file format <b>off=pdf</b>, <b>off=ged</b>, or <b>off=gramps</b>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<td class="ColumnValue" id="data">
|
<td class="ColumnValue">
|
||||||
<input type="submit" value="Run"></input>
|
<input type="submit" value="Run"></input>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
{% for repository in page.object_list %}
|
{% for repository in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
<td>{{ forloop.counter|row_count:page }}</td>
|
<td>{{ forloop.counter|row_count:page }}</td>
|
||||||
<td><a href="/{{view}}/{{repository.handle|escape}}" class="noThumb">
|
<td><a href="/{{view}}/{{repository.handle|escape}}" class="noThumb browsecell">
|
||||||
<span class="grampsid">[{{repository.gramps_id}}]</span></a>
|
<span class="grampsid">[{{repository.gramps_id}}]</span></a>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<td><a href="/{{view}}/{{repository.handle|escape}}">{{repository.repository_type|escape}}</a>
|
<td><a href="/{{view}}/{{repository.handle|escape}}" class="browsecell">{{repository.repository_type|escape}}</a>
|
||||||
<td><a href="/{{view}}/{{repository.handle|escape}}">{{repository.name|escape}}</a>
|
<td><a href="/{{view}}/{{repository.handle|escape}}" class="browsecell">{{repository.name|escape}}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
@ -17,12 +17,12 @@
|
|||||||
{% for source in page.object_list %}
|
{% for source in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
<td>{{ forloop.counter|row_count:page }}</td>
|
<td>{{ forloop.counter|row_count:page }}</td>
|
||||||
<td><a href="/{{view}}/{{source.handle|escape}}" class="noThumb">
|
<td><a href="/{{view}}/{{source.handle|escape}}" class="noThumb browsecell">
|
||||||
<span class="grampsid">[{{source.gramps_id}}]</span></a>
|
<span class="grampsid">[{{source.gramps_id}}]</span></a>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<td><a href="/{{view}}/{{source.handle|escape}}">{{source.title|escape}}</a>
|
<td><a href="/{{view}}/{{source.handle|escape}}" class="browsecell">{{source.title|escape}}</a>
|
||||||
<td><a href="/{{view}}/{{source.handle|escape}}">{{source.pubinfo|nbsp}}</a>
|
<td><a href="/{{view}}/{{source.handle|escape}}" class="browsecell">{{source.pubinfo|nbsp}}</a>
|
||||||
<td><a href="/{{view}}/{{source.handle|escape}}">{{source.author|nbsp}}</a>
|
<td><a href="/{{view}}/{{source.handle|escape}}" class="browsecell">{{source.author|nbsp}}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
@ -9,19 +9,19 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th>Text</th>
|
<th>Text</th>
|
||||||
<th></th>
|
<th>Color</th>
|
||||||
<th></th>
|
<th>Priority</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for tag in page.object_list %}
|
{% for tag in page.object_list %}
|
||||||
<tr class="{% cycle odd,even %}">
|
<tr class="{% cycle odd,even %}">
|
||||||
<td>{{ forloop.counter|row_count:page }}</td>
|
<td>{{ forloop.counter|row_count:page }}</td>
|
||||||
<td><a href="/{{view}}/{{tag.handle|escape}}" class="noThumb">
|
<td><a href="/{{view}}/{{tag.handle|escape}}" class="noThumb browsecell">
|
||||||
<span class="grampsid">[{{tag.name}}]</span></a>
|
<span class="grampsid">[{{tag.name}}]</span></a>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<td></td>
|
<td><a href="/{{view}}/{{tag.handle}}" class="browsecell">{{tag.color}}</a></td>
|
||||||
<td></td>
|
<td><a href="/{{view}}/{{tag.handle}}" class="browsecell">{{tag.priority}}</a></td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user