diff options
Diffstat (limited to 'modules-available/debugconfig/templates')
-rw-r--r-- | modules-available/debugconfig/templates/debugconfig.html | 15 | ||||
-rw-r--r-- | modules-available/debugconfig/templates/relaystatus.html | 37 |
2 files changed, 12 insertions, 40 deletions
diff --git a/modules-available/debugconfig/templates/debugconfig.html b/modules-available/debugconfig/templates/debugconfig.html index 200eb355..91ee9799 100644 --- a/modules-available/debugconfig/templates/debugconfig.html +++ b/modules-available/debugconfig/templates/debugconfig.html @@ -19,21 +19,6 @@ <div class="col-md-2"> <input name="port" id="DBG_SERVER_PORT" class="form-control" value="{{port}}" type="text" /> </div> - <div class="col-md-2"> - <a class="btn btn-default" data-toggle="modal" data-target="help-remoteDebugging"> - <span class="glyphicon glyphicon-question-sign"></span> - </a> - </div> - - <div class="modal fade" id="help-remoteDebugging" tabindex="-1" role="dialog"> - <div class="modal-dialog"> - <div class="modal-content"> - <div class="modal-header">{{setting}}</div> - <div class="modal-body">{{{description}}}</div> - <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">{{lang_close}}</a></div> - </div> - </div> - </div> </div> <div class="panel-footer"> <button type="submit" class="btn btn-primary">{{lang_save}}</button> diff --git a/modules-available/debugconfig/templates/relaystatus.html b/modules-available/debugconfig/templates/relaystatus.html index d38b3735..17b05b04 100644 --- a/modules-available/debugconfig/templates/relaystatus.html +++ b/modules-available/debugconfig/templates/relaystatus.html @@ -1,32 +1,23 @@ <div class="panel panel-default"> - <div class="panel-heading"> - Active relays - </div> + <div class="panel-heading">Relay Status</div> <div class="panel-body"> <table class="table table-striped table-condensed"> <thead> <tr> - <th>Relay ID</th> - <th>BWLP client</th> - <th>Debug Server</th> - <th> - <form method="post"> - <input type="hidden" name="token" value={{token}}> - <input type="hidden" name="action" value="refreshList"> - <button type="submit" class="btn btn-default pull-right btn-xs" title="Refresh relay list"><span class="glyphicon glyphicon-refresh"></span></button> - </form> - </th> + <th>Client</th> + <th>Port</th> + <th>Status</th> + <th>Log</th> </tr> </thead> <tbody> - {{#activeRelays}} + {{#activeRelays}} <tr> - <td>{{id}}</td> - <td>{{bwlpclient}}</td> - <td>{{debugserver}}</td> - <td> - <div class="btn-group pull-right"> + <td>{{cltAddress}}</td> + <td>{{port}}</td> + <td>{{code}}</td> + <td> <button type="button" class="btn btn-default btn-xs" data-toggle="modal" data-target="#log" title="Show log"><span class="glyphicon glyphicon-paperclip"></span></button> <div id="log" class="modal fade" tabindex="-1" role="dialog"> <div class="modal-dialog"> @@ -39,14 +30,10 @@ </div> </div> </div> - </div> - </td> + </td> </tr> - {{/activeRelays}} + {{/activeRelays}} </tbody> </table> - <!-- </div> - <div data-tm-id="{{id}}" data-tm-log="messages"> - </div> --> </div> </div> |