Refinements in tab visuals; fixed adding tag cache error

svn: r20074
This commit is contained in:
Doug Blank
2012-07-25 00:47:09 +00:00
parent 26a211d715
commit 4168033f83
12 changed files with 119 additions and 121 deletions

View File

@@ -34,16 +34,16 @@
<!-- Tabs --> <!-- Tabs -->
<h2>Citation information</h2> <h2>Citation information</h2>
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-general">General</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-general">General</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-notes">Notes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-notes">Note</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-data">Data</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-data">Data</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-references">References</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-references">Reference</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li>
</ul> </ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-general"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-general" style="background-color: #f4f0ec;">
<table class="infolist" style="width:90%;"> <table class="infolist" style="width:90%;">
<tr> <tr>
@@ -67,19 +67,19 @@
</table> </table>
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-notes"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-notes" style="background-color: #f4f0ec;">
{% note_table citation user action "/note/$act/citation/%s" citation.handle %} {% note_table citation user action "/note/$act/citation/%s" citation.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-media"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-media" style="background-color: #f4f0ec;">
{% media_table citation user action "/media/$act/citation/%s" citation.handle %} {% media_table citation user action "/media/$act/citation/%s" citation.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-data"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-data" style="background-color: #f4f0ec;">
{% data_table citation user action "/data/$act/citation/%s" citation.handle %} {% data_table citation user action "/data/$act/citation/%s" citation.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-references"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-references" style="background-color: #f4f0ec;">
{% citation_reference_table citation user action %} {% citation_reference_table citation user action %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table citation user action %} {% history_table citation user action %}
</div> </div>
</div> </div>
@@ -91,7 +91,7 @@
<hr> <hr>
<h2>Source information (shared)</h2> <h2>Source information (shared)</h2>
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="shared-tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="shared-tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-shared-general">General</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-shared-general">General</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-shared-notes">Notes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-shared-notes">Notes</a></li>
@@ -100,7 +100,7 @@
<li class="ui-corner-top ui-state-default"><a href="#tab-shared-references">References</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-shared-references">References</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-shared-history">History</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-shared-history">History</a></li>
</ul> </ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-shared-general"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-shared-general" style="background-color: #f4f0ec;">
<table class="infolist" style="width:90%;"> <table class="infolist" style="width:90%;">
<tr> <tr>
@@ -128,19 +128,19 @@
</table> </table>
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-shared-notes"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-shared-notes" style="background-color: #f4f0ec;">
{% note_table source user action "/note/$act/source/%s" source.handle %} {% note_table source user action "/note/$act/source/%s" source.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-shared-media"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-shared-media" style="background-color: #f4f0ec;">
{% media_table source user action "/media/$act/source/%s" source.handle %} {% media_table source user action "/media/$act/source/%s" source.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-shared-repositories"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-shared-repositories" style="background-color: #f4f0ec;">
{% repository_table source user action "/repository/$act/source/%s" source.handle %} {% repository_table source user action "/repository/$act/source/%s" source.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-shared-references"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-shared-references" style="background-color: #f4f0ec;">
{% citation_reference_table source user action %} {% citation_reference_table source user action %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-shared-history"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-shared-history" style="background-color: #f4f0ec;">
{% history_table source user action %} {% history_table source user action %}
</div> </div>
</div> </div>

View File

@@ -50,31 +50,31 @@
</div> </div>
<!-- Tabs --> <!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tab-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tab-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tab-selected ui-state-active"><a href="#tab-sources">Source Citations</a></li> <li class="ui-state-default ui-corner-top ui-tab-selected ui-state-active"><a href="#tab-sources">Citation</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-notes">Notes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-notes">Note</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-attributes">Attributes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-attributes">Attribute</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-references">References</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-references">Reference</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li>
</ul> </ul>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom" id="tab-sources"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom" id="tab-sources" style="background-color: #f4f0ec;">
{% citation_table event user action "/citation/$act/event/%s" event.handle %} {% citation_table event user action "/citation/$act/event/%s" event.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-notes"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-notes" style="background-color: #f4f0ec;">
{% note_table event user action "/note/$act/event/%s" event.handle %} {% note_table event user action "/note/$act/event/%s" event.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-media"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-media" style="background-color: #f4f0ec;">
{% media_table event user action "/media/$act/event/%s" event.handle %} {% media_table event user action "/media/$act/event/%s" event.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-attributes"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-attributes" style="background-color: #f4f0ec;">
{% attribute_table event user action "/attribute/$act/event/%s" event.handle %} {% attribute_table event user action "/attribute/$act/event/%s" event.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-references"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-references" style="background-color: #f4f0ec;">
{% event_reference_table event user action %} {% event_reference_table event user action %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table event user action %} {% history_table event user action %}
</div> </div>
</div> </div>

View File

@@ -94,40 +94,40 @@
<!-- Tabs --> <!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-children">Children</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-children">Children</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-events">Events</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-events">Event</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-citations">Citations</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-citations">Citation</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-attributes">Attributes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-attributes">Attribute</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-notes">Notes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-notes">Note</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-lds">LDS</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-lds">LDS</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li>
</ul> </ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-children"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-children" style="background-color: #f4f0ec;">
<!-- Events --> <!-- Events -->
{% children_table family user action "/person/$act/family/%s" family.handle %} {% children_table family user action "/person/$act/family/%s" family.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-events"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-events" style="background-color: #f4f0ec;">
{% event_table family user action "/event/$act/family/%s" family.handle %} {% event_table family user action "/event/$act/family/%s" family.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-citations"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-citations" style="background-color: #f4f0ec;">
{% citation_table family user action "/citation/$act/family/%s" family.handle %} {% citation_table family user action "/citation/$act/family/%s" family.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-attributes"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-attributes" style="background-color: #f4f0ec;">
{% attribute_table family user action "/attribute/add/family/%s" family.handle %} {% attribute_table family user action "/attribute/add/family/%s" family.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-notes"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-notes" style="background-color: #f4f0ec;">
{% note_table family user action "/note/$act/family/%s" family.handle %} {% note_table family user action "/note/$act/family/%s" family.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-media"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-media" style="background-color: #f4f0ec;">
{% media_table family user action "/media/$act/family/%s" family.handle %} {% media_table family user action "/media/$act/family/%s" family.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-lds"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-lds" style="background-color: #f4f0ec;">
{% lds_table family user action "/lds/add/family/%s" family.handle %} {% lds_table family user action "/lds/add/family/%s" family.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table family user action %} {% history_table family user action %}
</div> </div>
</div> </div>

View File

@@ -55,27 +55,27 @@
<!-- Tabs --> <!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-sources" style=":hover {color: black;}">Source Citations</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-sources" style=":hover {color: black;}">Citation</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-attributes">Attributes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-attributes">Attribute</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-notes">Notes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-notes">Note</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-references">References</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-references">Reference</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li>
</ul> </ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-sources"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-sources" style="background-color: #f4f0ec;">
{% citation_table media user action "/citation/$act/media/%s" media.handle %} {% citation_table media user action "/citation/$act/media/%s" media.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-notes"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-notes" style="background-color: #f4f0ec;">
{% note_table media user action "/note/$act/media/%s" media.handle %} {% note_table media user action "/note/$act/media/%s" media.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-attributes"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-attributes" style="background-color: #f4f0ec;">
{% attribute_table media user action "/attribute/add/media/%s" media.handle %} {% attribute_table media user action "/attribute/add/media/%s" media.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-references"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-references" style="background-color: #f4f0ec;">
{% media_reference_table media user action %} {% media_reference_table media user action %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table media user action %} {% history_table media user action %}
</div> </div>
</div> </div>

View File

@@ -75,17 +75,17 @@
<!-- Tabs --> <!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-general">General</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-general">General</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-surnames">Surnames</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-surnames">Surname</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-names">Other Names</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-names">Alternate Names</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-citations">Citations</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-citations">Citation</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-notes">Notes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-notes">Note</a></li>
</ul> </ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" <div class="ui-tabs-panel ui-widget-content ui-corner-bottom"
id="tab-general"> id="tab-general" style="background-color: #f4f0ec;">
<div style="overflow: auto; height:150px;"> <div style="overflow: auto; height:150px;">
<table border="1"> <table border="1">
<tr><td style="background-color: #FFF2C5;">{{nameform.group_as.label}}: </td> <tr><td style="background-color: #FFF2C5;">{{nameform.group_as.label}}: </td>
@@ -104,17 +104,17 @@
</div> </div>
&nbsp; &nbsp;
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-surnames"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-surnames" style="background-color: #f4f0ec;">
{% surname_table person user action "/person/%s/name/%s/surname/add" person.handle nameform.model.order %} {% surname_table person user action "/person/%s/name/%s/surname/add" person.handle nameform.model.order %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-names"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-names" style="background-color: #f4f0ec;">
{% name_table person user action "/person/%s/name" person.handle %} {% name_table person user action "/person/%s/name" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-citations"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-citations" style="background-color: #f4f0ec;">
{% citation_table nameform.model user action "/citation/add/person/%s/name/%s" person.handle nameform.model.order %} {% citation_table nameform.model user action "/citation/add/person/%s/name/%s" person.handle nameform.model.order %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom <div class="ui-tabs-panel ui-widget-content ui-corner-bottom
ui-tabs-hide" id="tab-notes"> ui-tabs-hide" id="tab-notes" style="background-color: #f4f0ec;">
{% note_table nameform.model user action "/person/%s/name/%s/note" person.handle nameform.model.order %} {% note_table nameform.model user action "/person/%s/name/%s/note" person.handle nameform.model.order %}
</div> </div>
</div> </div>

View File

@@ -72,15 +72,15 @@
<!-- Tabs --> <!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-corner-top ui-state-default"><a href="#tab-references">References</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-references">Reference</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li>
</ul> </ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-references"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-references" style="background-color: #f4f0ec;">
{% note_reference_table note user action %} {% note_reference_table note user action %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table note user action %} {% history_table note user action %}
</div> </div>
</div> </div>

View File

@@ -81,57 +81,57 @@
</div> </div>
<!-- Tabs --> <!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-events">Events</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-events">Event</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-names">Names</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-references">Family</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-citations">Citations</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-names">Name</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-attributes">Attributes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-citations">Citation</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-addresses">Addresses</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-attributes">Attribute</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-notes">Notes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-addresses">Address</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-notes">Note</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-internet">Internet</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-internet">Internet</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-association">Associations</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-association">Association</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-lds">LDS</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-lds">LDS</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-references">References</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li>
</ul> </ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-events"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-events" style="background-color: #f4f0ec;">
<!-- Events --> <!-- Events -->
{% event_table person user action "/event/$act/person/%s" person.handle %} {% event_table person user action "/event/$act/person/%s" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-names"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-names" style="background-color: #f4f0ec;">
{% name_table person user action "/person/%s/name" person.handle %} {% name_table person user action "/person/%s/name" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-citations"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-citations" style="background-color: #f4f0ec;">
{% citation_table person user action "/citation/$act/person/%s" person.handle %} {% citation_table person user action "/citation/$act/person/%s" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-attributes"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-attributes" style="background-color: #f4f0ec;">
{% attribute_table person user action "/attribute/$act/person/%s" person.handle %} {% attribute_table person user action "/attribute/$act/person/%s" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-addresses"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-addresses" style="background-color: #f4f0ec;">
{% address_table person user action "/place/$act/person/%s" person.handle %} {% address_table person user action "/place/$act/person/%s" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom <div class="ui-tabs-panel ui-widget-content ui-corner-bottom
ui-tabs-hide" id="tab-notes"> ui-tabs-hide" id="tab-notes" style="background-color: #f4f0ec;">
{% note_table person user action "/note/$act/person/%s" person.handle %} {% note_table person user action "/note/$act/person/%s" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-media"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-media" style="background-color: #f4f0ec;">
{% media_table person user action "/media/$act/person/%s" person.handle %} {% media_table person user action "/media/$act/person/%s" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-internet"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-internet" style="background-color: #f4f0ec;">
{% internet_table person user action "/person/%s/$act/internet" person.handle %} {% internet_table person user action "/person/%s/$act/internet" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-association"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-association" style="background-color: #f4f0ec;">
{% association_table person user action "/person/%s/$act/association" person.handle %} {% association_table person user action "/person/%s/$act/association" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-lds"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-lds" style="background-color: #f4f0ec;">
{% lds_table person user action "/person/%s/$act/lds" person.handle %} {% lds_table person user action "/person/%s/$act/lds" person.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-references"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-references" style="background-color: #f4f0ec;">
{% person_reference_table person user action %} {% person_reference_table person user action %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table person user action %} {% history_table person user action %}
</div> </div>
</div> </div>

View File

@@ -48,39 +48,39 @@
<!-- Tabs --> <!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-locations">Location</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-locations">Location</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-alternatelocations">Alternate Locations</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-alternatelocations">Alternate Locations</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-citations">Citations</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-citations">Citation</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-notes">Notes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-notes">Note</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-internet">Internet</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-internet">Internet</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-references">References</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-references">Reference</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li>
</ul> </ul>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom" id="tab-locations"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom" id="tab-locations" style="background-color: #f4f0ec;">
<!-- place.location_set --> <!-- place.location_set -->
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-alternatelocations"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-alternatelocations" style="background-color: #f4f0ec;">
{% location_table place user action "/location/$act/place/%s" place.handle %} {% location_table place user action "/location/$act/place/%s" place.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-citations"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-citations" style="background-color: #f4f0ec;">
{% citation_table place user action "/citation/$act/place/%s" place.handle %} {% citation_table place user action "/citation/$act/place/%s" place.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-notes"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-notes" style="background-color: #f4f0ec;">
{% note_table place user action "/note/$act/place/%s" place.handle %} {% note_table place user action "/note/$act/place/%s" place.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-media"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-media" style="background-color: #f4f0ec;">
{% media_table place user action "/media/$act/place/%s" place.handle %} {% media_table place user action "/media/$act/place/%s" place.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-internet"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-internet" style="background-color: #f4f0ec;">
{% internet_table place user action "/internet/$act/place/%s" place.handle %} {% internet_table place user action "/internet/$act/place/%s" place.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-references"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-references" style="background-color: #f4f0ec;">
{% place_reference_table place user action %} {% place_reference_table place user action %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table place user action %} {% history_table place user action %}
</div> </div>
</div> </div>

View File

@@ -46,27 +46,27 @@
<!-- Tabs --> <!-- Tabs -->
<div class="ui-tab ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tab ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tab-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tab-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tab-selected ui-state-active"><a href="#tab-addresses">Addresses</a></li> <li class="ui-state-default ui-corner-top ui-tab-selected ui-state-active"><a href="#tab-addresses">Address</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-internet">Internet</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-internet">Internet</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-notes">Notes</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-notes">Note</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-references">References</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-references">Reference</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li>
</ul> </ul>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom" id="tab-addresses"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom" id="tab-addresses" style="background-color: #f4f0ec;">
{% address_table repository user action "/address/add/repository/%s" repository.handle %} {% address_table repository user action "/address/add/repository/%s" repository.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-internet"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-internet" style="background-color: #f4f0ec;">
{% internet_table repository user action "/internet/add/repository/%s" repository.handle %} {% internet_table repository user action "/internet/add/repository/%s" repository.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-notes"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-notes" style="background-color: #f4f0ec;">
{% note_table repository user action "/note/$act/repository/%s" repository.handle %} {% note_table repository user action "/note/$act/repository/%s" repository.handle %}
</div> </div>
<div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-references"> <div class="ui-tab-panel ui-widget-content ui-corner-bottom ui-tab-hide" id="tab-references" style="background-color: #f4f0ec;">
{% repository_reference_table repository user action %} {% repository_reference_table repository user action %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table repository user action %} {% history_table repository user action %}
</div> </div>
</div> </div>

View File

@@ -51,31 +51,31 @@
<!-- Tabs --> <!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-notes">Notes</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-notes">Note</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-media">Media</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-data">Data</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-data">Data</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-repositories">Repositories</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-repositories">Repository</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-references">References</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-references">Reference</a></li>
<li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li> <li class="ui-corner-top ui-state-default"><a href="#tab-history">History</a></li>
</ul> </ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-notes"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-notes" style="background-color: #f4f0ec;">
{% note_table source user action "/note/$act/source/%s" source.handle %} {% note_table source user action "/note/$act/source/%s" source.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-media"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-media" style="background-color: #f4f0ec;">
{% media_table source user action "/media/$act/source/%s" source.handle %} {% media_table source user action "/media/$act/source/%s" source.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-data"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-data" style="background-color: #f4f0ec;">
{% data_table source user action "/data/add/source/%s" source.handle %} {% data_table source user action "/data/add/source/%s" source.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-repositories"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-repositories" style="background-color: #f4f0ec;">
{% repository_table source user action "/repository/$act/source/%s" source.handle %} {% repository_table source user action "/repository/$act/source/%s" source.handle %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-references"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-references" style="background-color: #f4f0ec;">
{% source_reference_table source user action %} {% source_reference_table source user action %}
</div> </div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table source user action %} {% history_table source user action %}
</div> </div>
</div> </div>

View File

@@ -42,11 +42,11 @@
</tr> </tr>
</table> </table>
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs"> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-references" style=":hover {color: black;}">References</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-references" style=":hover {color: black;}">Reference</a></li>
</ul> </ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-references"> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-references" style="background-color: #f4f0ec;">
{% tag_reference_table tag user action %} {% tag_reference_table tag user action %}
</div> </div>
</div> </div>

View File

@@ -64,7 +64,6 @@ def process_tag(request, context, handle, act, add_to=None): # view, edit, save
if tagform.is_valid(): if tagform.is_valid():
update_last_changed(tag, request.user.username) update_last_changed(tag, request.user.username)
tag = tagform.save() tag = tagform.save()
dji.rebuild_cache(tag)
act = "view" act = "view"
else: else:
act = "edit" act = "edit"
@@ -75,7 +74,6 @@ def process_tag(request, context, handle, act, add_to=None): # view, edit, save
if tagform.is_valid(): if tagform.is_valid():
update_last_changed(tag, request.user.username) update_last_changed(tag, request.user.username)
tag = tagform.save() tag = tagform.save()
dji.rebuild_cache(tag)
if add_to: if add_to:
item, handle = add_to item, handle = add_to
model = dji.get_model(item) model = dji.get_model(item)