initial commit (save point)

This commit is contained in:
Lance Edgar 2012-04-10 12:39:30 -05:00
commit 81f6b57a63
29 changed files with 1488 additions and 0 deletions

View file

@ -0,0 +1,2 @@
<%inherit file="/base.mako" />
${parent.body()}

View file

@ -0,0 +1,13 @@
<%inherit file="/batches/base.mako" />
<%inherit file="/crud.mako" />
<%def name="crud_name()">Batch</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
% if fieldset.edit and fieldset.model.rowcount:
<p>${h.link_to("View Batch Details", url('batch.details', uuid=fieldset.model.uuid))}</p>
% endif
</%def>
${parent.body()}

View file

@ -0,0 +1,9 @@
<table class="fieldset">
<tr>
<td class="label">Columns</td>
<td>
${columns|n}
</td>
</tr>
</table>

View file

@ -0,0 +1,12 @@
<%inherit file="/batches/base.mako" />
<%inherit file="/index.mako" />
<%def name="title()">Batch : ${batch.name}</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
<p>${h.link_to("View Batch Properties", url('batch') + '?uuid=' + batch.uuid)}</p>
<p>${h.link_to("Execute this Batch", url('batch.execute', uuid=batch.uuid))}</p>
</%def>
${parent.body()}

View file

@ -0,0 +1,11 @@
<%inherit file="/batches/base.mako" />
<%inherit file="/index.mako" />
<%def name="title()">Batch Dictionaries</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
## <p>${h.link_to("Create a New Dictionary", url('batch_dictionary'))}</p>
</%def>
${parent.body()}

View file

@ -0,0 +1,11 @@
<%inherit file="/batches/base.mako" />
<%inherit file="/crud.mako" />
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
<p>${h.link_to("Back to Dictionaries", url('batch_dictionaries'))}</p>
</%def>
${parent.body()}
${columns|n}

View file

@ -0,0 +1,8 @@
<table class="fieldset">
<tr class="columns">
<td class="label">Supported Columns</td>
<td>
${grid|n}
</td>
</tr>
</table>

View file

@ -0,0 +1,13 @@
<%inherit file="/batches/base.mako" />
<%inherit file="/index.mako" />
<%def name="title()">Batches</%def>
<%def name="menu()">
<p>${h.link_to("Create a New Batch", url('batch'))}</p>
<p>${h.link_to("Manage Terminals", url('batch_terminals'))}</p>
<p>${h.link_to("View Dictionaries", url('batch_dictionaries'))}</p>
<p>${h.link_to("SIL Columns", url('sil_columns'))}</p>
</%def>
${parent.body()}

View file

@ -0,0 +1,9 @@
<%inherit file="/batches/base.mako" />
<%inherit file="/crud.mako" />
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
<p>${h.link_to("Back to SIL Columns", url('sil_columns'))}</p>
</%def>
${parent.body()}

View file

@ -0,0 +1,10 @@
<%inherit file="/batches/base.mako" />
<%inherit file="/index.mako" />
<%def name="title()">SIL Columns</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
</%def>
${parent.body()}

View file

@ -0,0 +1,24 @@
<table class="wrapper">
<tr>
<td><h2>Supported Fields</h2></td>
## <td class="right">${h.link_to("Update Field List", '#', id='update-fields')}</td>
</tr>
</table>
${grid|n}
##<script language="javascript" type="text/javascript">
##
##$(function() {
##
## $('#update-fields').click(function() {
## $('div.grid').load('${url('batches', action='update_terminal')}?uuid=${fieldset.model.uuid}');
## return false;
## });
##
##});
##
##</script>

View file

@ -0,0 +1,13 @@
<%inherit file="/batches/base.mako" />
<%inherit file="/crud.mako" />
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
<p>${h.link_to("Back to Batch Terminals", url('batch_terminals'))}</p>
</%def>
${parent.body()}
% if fieldset.edit:
${terminal_columns|n}
% endif

View file

@ -0,0 +1,17 @@
<h2>Supported Columns</h2>
<table class="fieldset">
<tr class="source_columns">
<td class="label">Source</td>
<td>
${source|n}
</td>
</tr>
<tr class="target_columns">
<td class="label">Target</td>
<td>
${target|n}
</td>
</tr>
</table>

View file

@ -0,0 +1,11 @@
<%inherit file="/batches/base.mako" />
<%inherit file="/index.mako" />
<%def name="title()">Batch Terminals</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
<p>${h.link_to("Create a New Terminal", url('batch_terminal'))}</p>
</%def>
${parent.body()}