A set of plugins to help on managing geographic information

This commit is contained in:
ahwelp
2023-01-24 20:41:37 +00:00
parent 616a97f16c
commit a60cfcec3a
61 changed files with 7895 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
{{#id}}
<form method="POST" action="/city/{{id}}/edit">
<input type="hidden" name="id" value="{{id}}" />
<input type="hidden" name="_method" value="put" />
{{/id}}
{{^id}}
<form method="POST" action="/city">
<input type="hidden" name="id" value="" />
{{/id}}
<input type='text' name='id' value='{{id}}' />
<input type='text' name='name' value='{{name}}' />
<input type='text' name='state' value='{{state.shortname}}' />
<input type='text' name='country' value='{{country.name}}' />
</form>
+3
View File
@@ -0,0 +1,3 @@
<a href='/city/form' >Adicionar </a>
<div class="table-responsive remote-datatable" data-source="/city/table?selective=true"></div>
+12
View File
@@ -0,0 +1,12 @@
<div class="table-responsive">
<table class='table datatable' data-src="/city/quicksearch?selective=true" style="width: 100%">
<thead>
<tr>
<th data-field='id' data-orderable="false">Id</th>
<th data-field='type'>Tipo</th>
<th data-field='name'>Nome</th>
<th data-field='number'>N Cadastro</th>
</tr>
</thead>
</table>
</div>