mirror of https://github.com/statping/statping
parent
abb48250b6
commit
e39bf6ef0a
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
|||
VERSION=0.6
|
||||
VERSION=0.61
|
||||
BINARY_NAME=statup
|
||||
GOPATH:=$(GOPATH)
|
||||
GOCMD=go
|
||||
|
|
|
@ -421,7 +421,7 @@ HTML, BODY {
|
|||
padding: 5px 5px; }
|
||||
|
||||
.lg_number {
|
||||
font-size: 8.1vw; }
|
||||
font-size: 7.8vw; }
|
||||
|
||||
.stats_area {
|
||||
margin-top: 1.5rem !important;
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
}
|
||||
|
||||
.lg_number {
|
||||
font-size: 8.1vw;
|
||||
font-size: 7.8vw;
|
||||
}
|
||||
|
||||
.stats_area {
|
||||
|
|
|
@ -40,5 +40,13 @@
|
|||
<script src="/js/main.js"></script>
|
||||
{{end}}
|
||||
|
||||
<style>
|
||||
@media (max-width: 767px) {
|
||||
#live_logs {
|
||||
font-size: 6pt;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -62,14 +62,16 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-7">
|
||||
<div class="col-8 col-sm-9">
|
||||
<label for="domain">Domain</label>
|
||||
<input type="text" name="domain" class="form-control" value="{{ .Domain }}" id="domain">
|
||||
</div>
|
||||
<div class="col-sm-5 mt-4">
|
||||
<div class="col-4 col-sm-3 mt-sm-1 mt-0">
|
||||
<label for="enable_cdn" class="d-inline d-sm-none">Enable CDN</label>
|
||||
<label for="enable_cdn" class="d-none d-sm-block">Enable CDN</label>
|
||||
<span class="switch">
|
||||
<input type="checkbox" name="enable_cdn" class="switch" id="switch-normal" {{if USE_CDN}}checked{{end}}{{if .UsingAssets}} disabled{{end}}>
|
||||
<label for="switch-normal">Enable CDN</label>
|
||||
<label for="switch-normal" class="mt-2 mt-sm-0"></label>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -141,7 +143,7 @@
|
|||
<form method="POST" action="/settings/notifier/{{ $n.Method }}">
|
||||
{{if $n.Title}}<h4>{{$n.Title}}
|
||||
</h4>{{end}}
|
||||
{{if $n.Description}}<p class="text-muted">{{safe $n.Description}}</p>{{end}}
|
||||
{{if $n.Description}}<p class="small text-muted">{{safe $n.Description}}</p>{{end}}
|
||||
{{range .Form}}
|
||||
<div class="form-group">
|
||||
<label class="text-capitalize" for="{{underscore .Title}}">{{.Title}}</label>
|
||||
|
@ -151,7 +153,7 @@
|
|||
{{end}}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="col-9 col-sm-6">
|
||||
<div class="input-group mb-2">
|
||||
<div class="input-group-prepend">
|
||||
<div class="input-group-text">Limit</div>
|
||||
|
@ -163,19 +165,19 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-2 mt-1">
|
||||
<div class="col-3 col-sm-2 mt-1">
|
||||
<span class="switch">
|
||||
<input type="checkbox" name="enable" class="switch" id="switch-{{ $n.Method }}" {{if $n.Enabled}}checked{{end}}>
|
||||
<label for="switch-{{ $n.Method }}"></label>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4">
|
||||
<div class="col-12 col-sm-4 mb-2 mb-sm-0 mt-2 mt-sm-0">
|
||||
<button type="submit" class="btn btn-primary btn-block text-capitalize">Save</button>
|
||||
</div>
|
||||
|
||||
{{if $n.CanTest}}
|
||||
<div class="col-sm-12">
|
||||
<div class="col-12 col-sm-4 float-right text-right">
|
||||
<button class="btn btn-secondary btn-block text-capitalize">Test</button>
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue