summaryrefslogtreecommitdiffstats
path: root/modules-available/citymanagement/templates/page-citymanagement.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/citymanagement/templates/page-citymanagement.html')
-rw-r--r--modules-available/citymanagement/templates/page-citymanagement.html77
1 files changed, 0 insertions, 77 deletions
diff --git a/modules-available/citymanagement/templates/page-citymanagement.html b/modules-available/citymanagement/templates/page-citymanagement.html
deleted file mode 100644
index 6d7750cf..00000000
--- a/modules-available/citymanagement/templates/page-citymanagement.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<div class="panel panel-default" style="border-color:#333;">
- <div class="panel-heading" style="border-color:#333;background-color:#333;background-image: none;color:#FFF;">
- <div class="panel-title">{{lang_cityPage}}</div>
- </div>
- <div class="panel-body">
- <p>
- {{lang_cityInfo}}
- </p>
-
- </div>
- <table class="table">
- <tr>
- <form method="post" action="?do=Citymanagement">
- <input type="hidden" name="action" value="create">
- <input type="hidden" name="token" value="{{token}}">
- <td><input class="form-control" name="name" type="text" placeholder="{{lang_cityname}}"></td>
- <td><input class="btn btn-primary" type="submit" value="{{lang_create}}"></td>
- </form>
- </tr>
- <tr>
- <th style="text-align: center;">ID</th>
- <th style="text-align: center;">{{lang_cityname}}</th>
- <th colspan="4">{{lang_operations}}</th>
- </tr>
- {{#cities}}
- <tr>
- <td><input class="form-control" type="text" disabled="disabled" value="{{id}}" size="3"></td>
- <td><input class="form-control" type="text" disabled="disabled" value="{{name}}"></td>
- <td colspan="4">
- <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#city{{id}}"><span class="glyphicon glyphicon-edit" aria-hidden="true"></span> {{lang_edit}}</button>
- <form method="post" action="?do=Citymanagement" style="display:inline-block;">
- <input type="hidden" name="action" value="delete">
- <input type="hidden" name="cityid" value="{{id}}">
- <input type="hidden" name="token" value="{{token}}">
- <button class="btn btn-danger" type="submit" onclick="return confirm('{{lang_cancelConfirm}}');"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> {{lang_remove}}</a>
- </form>
- </td>
- </tr>
- {{/cities}}
- <tr>
- <td colspan="6">
- <ul class="pagination" style="margin:10px 0;">
- {{#pages}}
- <li class="{{class}}"><a href="?do=Citymanagement&page={{page}}">{{page}}</a></li>
- {{/pages}}
- </ul>
- </td>
- </tr>
- </table>
-</div>
-{{#cities}}
-<div class="modal fade" id="city{{id}}" tabindex="-1" role="dialog">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header"><h4 class="modal-title">{{lang_editcity}}</h4></div>
- <div class="modal-body">
- <form method="post" action="">
- <input type="hidden" name="action" value="edit">
- <input type="hidden" name="token" value="{{token}}">
- <div class="form-group">
- <label for="cityid">ID</label>
- <input type="text" class="form-control" name="cityid" readonly="readonly" value="{{id}}">
- </div>
- <div class="form-group">
- <label for="cityid">{{lang_cityname}}</label>
- <input type="text" class="form-control" name="name" placeholder="{{lang_cityname}}" value="{{name}}">
- </div>
- <div class="modal-footer">
- <input class="btn btn-primary" type="submit" value="{{lang_save}}">
- <a class="btn btn-default" data-dismiss="modal">{{lang_close}}</a>
- </div>
- </form>
- </div>
- </div>
- </div>
-</div>
-{{/cities}}