pull/119/head
Hunter Long 2019-01-03 09:36:30 -08:00
parent 5e60b5578b
commit bcedc75c8e
4 changed files with 8 additions and 11 deletions

View File

@ -31,8 +31,8 @@ import (
func TestResetHandlerDatabase(t *testing.T) {
Clean()
loadDatabase()
createDatabase()
//loadDatabase()
//createDatabase()
}
func TestFailedHTTPServer(t *testing.T) {

View File

@ -36,8 +36,7 @@
{{end}}
</div>
<div class="col-12">
{{if ne (len .Groups) 0}}
<div class="col-12 mt-3">
<h3>Groups</h3>
<table class="table">
<thead>
@ -46,21 +45,19 @@
<th scope="col"></th>
</tr>
</thead>
<tbody class="sortable" id="services_table">
<tbody class="sortable" id="groups_table">
{{range .Groups}}
<tr id="group_{{.Id}}" data-id="{{.Id}}">
<td><span class="drag_icon d-none d-md-inline"><i class="fas fa-bars"></i></span> {{.Name}}</td>
<td>{{.Name}}</td>
<td class="text-right">
<div class="btn-group">
<a href="/service/{{.Id}}" class="btn btn-outline-secondary"><i class="fas fa-chart-area"></i> View</a>
{{if Auth}}<a href="/api/groups/{{.Id}}" class="ajax_delete btn btn-danger" data-method="DELETE" data-obj="groups_{{.Id}}" data-id="{{.Id}}"><i class="fas fa-times"></i></a>{{end}}
{{if Auth}}<a href="/api/groups/{{.Id}}" class="ajax_delete btn btn-danger" data-method="DELETE" data-obj="group_{{.Id}}" data-id="{{.Id}}"><i class="fas fa-times"></i></a>{{end}}
</div>
</td>
</tr>
{{end}}
</tbody>
</table>
{{end}}
{{if Auth}}
<h3>Create Group</h3>
{{template "form_group" NewGroup}}

View File

@ -1,6 +1,6 @@
// Code generated by go generate; DO NOT EDIT.
// This file was generated by robots at
// 2018-12-31 13:16:43.415892 -0800 PST m=+1.140052566
// 2019-01-03 07:34:25.019934 -0800 PST m=+0.528929648
//
// This contains the most recently Markdown source for the Statping Wiki.
package source

View File

@ -1 +1 @@
0.80.32
0.80.33