diff options
author | raul | 2014-07-15 21:06:07 +0200 |
---|---|---|
committer | raul | 2014-07-15 21:06:07 +0200 |
commit | bd9cdadb71b9cb46e7c8c629739997d2a0c1388e (patch) | |
tree | 2c8084c0132b581f6e2eb850248eddee69a77b7a /templates/administration/_page.html | |
parent | [i18n] Updated the translations (diff) | |
download | slx-admin-bd9cdadb71b9cb46e7c8c629739997d2a0c1388e.tar.gz slx-admin-bd9cdadb71b9cb46e7c8c629739997d2a0c1388e.tar.xz slx-admin-bd9cdadb71b9cb46e7c8c629739997d2a0c1388e.zip |
[i18n] Added administration interface for the i18n system
Diffstat (limited to 'templates/administration/_page.html')
-rw-r--r-- | templates/administration/_page.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/administration/_page.html b/templates/administration/_page.html new file mode 100644 index 00000000..b6d11cd6 --- /dev/null +++ b/templates/administration/_page.html @@ -0,0 +1,34 @@ +<div class="container"> + <div class="panel panel-default"> + <div class="panel-heading"> + Language Administration + </div> + <div class="panel-body"> + <table class="table table-hover"> + <thead> + <tr> + <th>Template</th> + <th style='text-align:center;'>{{lang_german}}</th> + <th style='text-align:center;'>{{lang_english}}</th> + <th style='text-align:center;'>Português</th> + <tr> + </thead> + <tbody> + {{#table}} + <tr onclick="goTo('{{link}}');"> + <td>{{template}}</td> + <td style='width:200px;text-align:center;'>{{de}}</td> + <td style='width:200px;text-align:center;'>{{en}}</td> + <td style='width:200px;text-align:center;'>{{pt}}</td> + </tr> + {{/table}} + </tbody> + </table> + </div> + </div> +</div> +<script> +function goTo(link){ + window.location.href = "?do=Admin&template=" + link; +} +</script> |