diff options
Diffstat (limited to 'templates/administration/messages.html')
-rw-r--r-- | templates/administration/messages.html | 126 |
1 files changed, 68 insertions, 58 deletions
diff --git a/templates/administration/messages.html b/templates/administration/messages.html index 76d2d1e0..657dba9e 100644 --- a/templates/administration/messages.html +++ b/templates/administration/messages.html @@ -5,68 +5,78 @@ </div> <div class="panel-body"> <p>{{lang_templateMessagesHelp}} - <form action="?do=Admin" method="post"> </div> - <table class="table table-hover"> - <thead> - <tr> - <th>{{lang_messages}}</th> - <th style='text-align:center;'>{{lang_germanJSON}}</th> - <th style='text-align:center;'>{{lang_englishJSON}}</th> - <th style='text-align:center;'>{{lang_portugueseJSON}}</th> - </tr> - </thead> - <tbody> - {{#msgs}} + <form action="?do=Admin" method="post"> + <table class="table table-hover"> + <thead> <tr> - <td>{{tag}}</td> - <td style='width:250px;text-align:center;'> - <input type="text" class="form-control" placeholder="{{lang_germanTAG}}" value="{{de}}" name="lang-de-{{tag}}"> - </td> - <td style='width:250px;text-align:center;'> - <input type="text" class="form-control" placeholder="{{lang_englishTAG}}" value="{{en}}" name="lang-en-{{tag}}"> - </td> - <td style='width:250px;text-align:center;'> - <input type="text" class="form-control" placeholder="{{lang_portugueseTAG}}" value="{{pt}}" name="lang-pt-{{tag}}"> - </td> + <th>{{lang_messages}}</th> + <th style='text-align:center;width:260px;'>{{lang_germanJSON}}</th> + <th style='text-align:center;width:260px;'>{{lang_englishJSON}}</th> + <th style='text-align:center;width:260px;'>{{lang_portugueseJSON}}</th> </tr> - {{/msgs}} - </tbody> - </table> - <table class="table table-hover"> - <thead> - <tr> - <th>{{lang_messagesHardcoded}}</th> - <th style='text-align:center;'>{{lang_germanJSON}}</th> - <th style='text-align:center;'>{{lang_englishJSON}}</th> - <th style='text-align:center;'>{{lang_portugueseJSON}}</th> - </tr> - </thead> - <tbody> - {{#msgsHC}} + </thead> + <tbody> + {{#msgs}} + <tr> + <td>{{tag}}</td> + <td style='width:250px;text-align:center;'> + <input type="text" class="form-control" placeholder="{{lang_germanTAG}}" value="{{de}}" name="lang#de#{{tag}}"> + </td> + <td style='width:250px;text-align:center;'> + <input type="text" class="form-control" placeholder="{{lang_englishTAG}}" value="{{en}}" name="lang#en#{{tag}}"> + </td> + <td style='width:250px;text-align:center;'> + <input type="text" class="form-control" placeholder="{{lang_portugueseTAG}}" value="{{pt}}" name="lang#pt#{{tag}}"> + </td> + </tr> + {{/msgs}} + </tbody> + </table> + <div class="panel-body"> + <a class="btn btn-primary" href='?do=Admin' >{{lang_back}}</a> + <a class="btn btn-primary" href='?do=Admin' >{{lang_newTag}}</a> + <input type="hidden" name="update" value="true"> + <input type="hidden" name="path" value="messages"> + <input type="hidden" name="token" value="{{token}}"> + <input type="submit" class="btn btn-primary" value="{{lang_update}}"> + </form> + </div> + <form action="?do=Admin" method="post"> + <table class="table table-hover"> + <thead> <tr> - <td>{{tag}}</td> - <td style='width:250px;text-align:center;'> - <input type="text" class="form-control" placeholder="{{lang_germanTAG}}" value="{{de}}" name="lang-de-{{tag}}"> - </td> - <td style='width:250px;text-align:center;'> - <input type="text" class="form-control" placeholder="{{lang_englishTAG}}" value="{{en}}" name="lang-en-{{tag}}"> - </td> - <td style='width:250px;text-align:center;'> - <input type="text" class="form-control" placeholder="{{lang_portugueseTAG}}" value="{{pt}}" name="lang-pt-{{tag}}"> - </td> + <th>{{lang_messagesHardcoded}}</th> + <th style='text-align:center;width:260px;'>{{lang_germanJSON}}</th> + <th style='text-align:center;width:260px;'>{{lang_englishJSON}}</th> + <th style='text-align:center;width:260px;'>{{lang_portugueseJSON}}</th> </tr> - {{/msgsHC}} - </tbody> - </table> - <div class="panel-body"> - <a class="btn btn-primary" href='?do=Admin' >{{lang_back}}</a> - <a class="btn btn-primary" href='?do=Admin' >{{lang_newTag}}</a> - <input type="hidden" name="update" value="true"> - <input type="hidden" name="path" value="{{path}}"> - <input type="hidden" name="token" value="{{token}}"> - <input type="submit" class="btn btn-primary" value="{{lang_update}}"> - </form> - </div> + </thead> + <tbody> + {{#msgsHC}} + <tr> + <td>{{tag}}</td> + <td style='width:250px;text-align:center;'> + <input type="text" class="form-control" placeholder="{{lang_germanTAG}}" value="{{de}}" name="lang#de#{{tag}}"> + </td> + <td style='width:250px;text-align:center;'> + <input type="text" class="form-control" placeholder="{{lang_englishTAG}}" value="{{en}}" name="lang#en#{{tag}}"> + </td> + <td style='width:250px;text-align:center;'> + <input type="text" class="form-control" placeholder="{{lang_portugueseTAG}}" value="{{pt}}" name="lang#pt#{{tag}}"> + </td> + </tr> + {{/msgsHC}} + </tbody> + </table> + <div class="panel-body"> + <a class="btn btn-primary" href='?do=Admin' >{{lang_back}}</a> + <a class="btn btn-primary" href='?do=Admin' >{{lang_newTag}}</a> + <input type="hidden" name="update" value="true"> + <input type="hidden" name="path" value="messages-hardcoded"> + <input type="hidden" name="token" value="{{token}}"> + <input type="submit" class="btn btn-primary" value="{{lang_update}}"> + </form> + </div> </div> </div> |