Main html table set to 90%; order of choices is based on numeric in Django
svn: r19552
This commit is contained in:
parent
96f9d72540
commit
00213b2203
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<h3>{{source.title|escape}}</h3>
|
<h3>{{source.title|escape}}</h3>
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
<table class="infolist"> {% comment %} 2 cols {% endcomment %}
|
<table class="infolist" style="width:90%;"> {% comment %} 2 cols {% endcomment %}
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="ColumnAttribute">Title:</td>
|
<td class="ColumnAttribute">Title:</td>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
{% include "detail_breadcrumb.html" %}
|
{% include "detail_breadcrumb.html" %}
|
||||||
|
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
<table class="infolist">
|
<table class="infolist" style="width:90%;">
|
||||||
<trbody>
|
<trbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="ColumnAttribute">Event type:</td>
|
<td class="ColumnAttribute">Event type:</td>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<h3>{{family.father|make_name:user}} and {{family.mother|make_name:user}}</h3>
|
<h3>{{family.father|make_name:user}} and {{family.mother|make_name:user}}</h3>
|
||||||
|
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
<table class="infolist"> {% comment %} 4 cols {% endcomment %}
|
<table class="infolist" style="width:90%;"> {% comment %} 4 cols {% endcomment %}
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2">Father</th>
|
<th colspan="2">Father</th>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<h3>{{person|make_name:user}} [{{person.gramps_id}}]</h3>
|
<h3>{{person|make_name:user}} [{{person.gramps_id}}]</h3>
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
<table class="infolist"> {% comment %} 4 cols {% endcomment %}
|
<table class="infolist" style="width:90%;"> {% comment %} 4 cols {% endcomment %}
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
{% include "detail_breadcrumb.html" %}
|
{% include "detail_breadcrumb.html" %}
|
||||||
|
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
<table class="infolist">
|
<table class="infolist" style="width:90%;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="ColumnAttribute">ID:</td>
|
<td class="ColumnAttribute">ID:</td>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
{% include "detail_breadcrumb.html" %}
|
{% include "detail_breadcrumb.html" %}
|
||||||
|
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
<table class="infolist"> {% comment %} 5 cols {% endcomment %}
|
<table class="infolist" style="width:90%;"> {% comment %} 5 cols {% endcomment %}
|
||||||
<tbody>
|
<tbody>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
{% ifequal action "edit" %}
|
{% ifequal action "edit" %}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
|
|
||||||
<table class="infolist">
|
<table class="infolist" style="width:90%;">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="ColumnAttribute">Place Name:</td>
|
<td class="ColumnAttribute">Place Name:</td>
|
||||||
<td class="Columnvalue" id="data" colpan="3"> {{place.title|escape}}</td>
|
<td class="Columnvalue" id="data" colpan="3"> {{place.title|escape}}</td>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
|
|
||||||
<form name="RunForm" action="/report/{{report.handle}}/run">
|
<form name="RunForm" action="/report/{{report.handle}}/run">
|
||||||
<table class="infolist">
|
<table class="infolist" style="width:90%;">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="ColumnAttribute">Name:</td>
|
<td class="ColumnAttribute">Name:</td>
|
||||||
<td class="ColumnValue" id="data" colspan="5">{{report.name}} </td>
|
<td class="ColumnValue" id="data" colspan="5">{{report.name}} </td>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
|
|
||||||
<table class="infolist">
|
<table class="infolist" style="width:90%;">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="ColumnAttribute">Name:</td>
|
<td class="ColumnAttribute">Name:</td>
|
||||||
<td class="ColumnValue" id="data" colspan="5">{{repository.name}} </td>
|
<td class="ColumnValue" id="data" colspan="5">{{repository.name}} </td>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<h3>{{source.title|escape}}</h3>
|
<h3>{{source.title|escape}}</h3>
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
<table class="infolist"> {% comment %} 2 cols {% endcomment %}
|
<table class="infolist" style="width:90%;"> {% comment %} 2 cols {% endcomment %}
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="ColumnAttribute">Title:</td>
|
<td class="ColumnAttribute">Title:</td>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<h3>{{person|make_name:user}} [{{person.gramps_id}}]</h3>
|
<h3>{{person|make_name:user}} [{{person.gramps_id}}]</h3>
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
<table class="infolist"> {% comment %} 4 cols {% endcomment %}
|
<table class="infolist" style="width:90%;"> {% comment %} 4 cols {% endcomment %}
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<div id="summaryarea">
|
<div id="summaryarea">
|
||||||
|
|
||||||
<table class="infolist">
|
<table class="infolist" style="width:90%;">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="ColumnAttribute">Name:</td>
|
<td class="ColumnAttribute">Name:</td>
|
||||||
<td class="ColumnValue" id="data" colspan="5">{{tag.name}} </td>
|
<td class="ColumnValue" id="data" colspan="5">{{tag.name}} </td>
|
||||||
|
@ -69,7 +69,8 @@ def get_default_type(the_type):
|
|||||||
return the_type.objects.get(val=val, name=name)
|
return the_type.objects.get(val=val, name=name)
|
||||||
|
|
||||||
def get_datamap(grampsclass):
|
def get_datamap(grampsclass):
|
||||||
return [(x[0],x[2]) for x in grampsclass._DATAMAP]
|
return sorted([(x[0],x[2]) for x in grampsclass._DATAMAP],
|
||||||
|
key=lambda item: item[1])
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -15,4 +15,4 @@ db = DbDjango()
|
|||||||
def Print(m):
|
def Print(m):
|
||||||
print m
|
print m
|
||||||
|
|
||||||
import_file(db, "/tmp/dblank-im_ged.ged", Print)
|
#import_file(db, "/tmp/dblank-im_ged.ged", Print)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user