some more sonarqube fixes
This commit is contained in:
parent
a2d2e8d5e0
commit
e03d9466b3
6 changed files with 14 additions and 20 deletions
|
@ -897,8 +897,7 @@ func getFilterResultMin(filter *Filter) {
|
|||
}
|
||||
} else {
|
||||
if len(result) > 50 {
|
||||
filter.Log("Could not convert value, '", result, "', to number")
|
||||
//filter.Log("Could not convert value, with length ", len(result), ", to number")
|
||||
filter.Log("Could not convert value, with length ", len(result), ", to number")
|
||||
} else {
|
||||
filter.Log("Could not convert value, '", result, "', to number")
|
||||
}
|
||||
|
|
|
@ -9,15 +9,13 @@ GoWatch Backups
|
|||
{{define "content"}}
|
||||
|
||||
<div class="container row">
|
||||
<div class="row h3 justify-content-center">
|
||||
Backups
|
||||
</div>
|
||||
{{ if .Error }}
|
||||
<div class="row h3 justify-content-center text-danger">
|
||||
{{ .Error }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<table class="table table-striped table-hover">
|
||||
<table class="table table-striped table-hover caption-top">
|
||||
<caption class="h3 text-center">Backups</caption>
|
||||
<thead>
|
||||
<tr class="table-dark">
|
||||
<th>File</th>
|
||||
|
|
|
@ -5,17 +5,12 @@ GoWatch
|
|||
{{define "content"}}
|
||||
{{ if .warnings }}
|
||||
<div class="h3 text-center text-danger" id="logHeader">Startup Warnings</div>
|
||||
<table class="table table-striped table-hover">
|
||||
<tbody>
|
||||
{{ range .warnings }}
|
||||
<tr>
|
||||
<td class="h5 text-center text-danger">{{ . }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
{{ range .warnings }}
|
||||
<div class="h5 text-center text-danger">{{ . }}</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<table class="table table-striped table-hover">
|
||||
<table class="table table-striped table-hover caption-top">
|
||||
<caption class="h3 text-center">Watches</caption>
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
|
|
@ -3,7 +3,8 @@ GoWatch
|
|||
{{end}}
|
||||
|
||||
{{define "content"}}
|
||||
<table class="table table-striped table-hover">
|
||||
<table class="table table-striped table-hover caption-top">
|
||||
<caption class="h3 text-center">Notifiers</caption>
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{{define "title"}}
|
||||
GoWatch
|
||||
GoWatch Schedules
|
||||
{{end}}
|
||||
|
||||
{{define "content"}}
|
||||
<form action="{{.urlPrefix}}schedules/update" method="POST">
|
||||
<table class="table table-striped table-hover">
|
||||
<caption class="h3 text-center">Schedules</caption>
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>Watch</th>
|
||||
|
|
|
@ -16,7 +16,7 @@ GoWatch Edit {{ .Watch.Name }}
|
|||
{{end}}
|
||||
|
||||
{{ define "left" }}
|
||||
<table>
|
||||
<table role="presentation">
|
||||
<tr>
|
||||
<td>
|
||||
<button type="button" id="filterButton" class="btn btn-primary btn-sm" data-bs-toggle="modal" data-bs-target="#FilterModal">
|
||||
|
@ -115,7 +115,7 @@ GoWatch Edit {{ .Watch.Name }}
|
|||
<button class="btn btn-primary mt-4" data-bs-dismiss="modal" id="submitFilterButton">Add Filter</button>
|
||||
</div>
|
||||
<div class="h3 text-center text-danger" id="logHeader">Logs</div>
|
||||
<table class="table table-hover table-sm" id="logTable">
|
||||
<table class="table table-hover table-sm" role="presentation" id="logTable">
|
||||
<tbody id="logTableBody">
|
||||
|
||||
</tbody>
|
||||
|
|
Loading…
Add table
Reference in a new issue