Move pesticide settings outside the mocks
And build a system for pulling common code out of the handlers
This commit is contained in:
parent
f6879ac094
commit
38f64783ac
3 changed files with 56 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{{ template "sync/layout/base.html" . }}
|
||||
{{ template "sync/layout/authenticated.html" . }}
|
||||
|
||||
{{ define "title" }}Dash{{ end }}
|
||||
{{ define "title" }}Settings - Pesticide{{ end }}
|
||||
{{ define "extraheader" }}
|
||||
<style>
|
||||
.target-icon {
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<h1 class="mb-0">Pesticide Products Configuration</h1>
|
||||
<a
|
||||
href="{{ .URLs.SettingPesticideAdd }}"
|
||||
href="{{ .URL.SettingPesticideAdd }}"
|
||||
class="btn btn-primary"
|
||||
id="addProductBtn"
|
||||
>
|
||||
Loading…
Add table
Add a link
Reference in a new issue