diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-09 23:13:33 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-09 23:13:33 +0100 |
commit | 54eb5d623979c2fe4765d20c5683eb853fd29285 (patch) | |
tree | 244ce1ba928b76369f76d3ac325cd575928aecc2 /templates/admin_create.html | |
parent | a85ffdfc8095f205226cd991d4754feb3a632a3e (diff) | |
download | guichet-54eb5d623979c2fe4765d20c5683eb853fd29285.tar.gz guichet-54eb5d623979c2fe4765d20c5683eb853fd29285.zip |
Add breadcrumbs; stuff
Diffstat (limited to 'templates/admin_create.html')
-rw-r--r-- | templates/admin_create.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/admin_create.html b/templates/admin_create.html index 94dee5b..3e636a5 100644 --- a/templates/admin_create.html +++ b/templates/admin_create.html @@ -6,6 +6,17 @@ <a class="ml-auto btn btn-info" href="/">Retour</a> </div> +<div class="mt-4"> + <nav aria-label="breadcrumb"> + <ol class="breadcrumb"> + {{range .Path}} + <li class="breadcrumb-item"><a href="/admin/ldap/{{.DN}}">{{.Identifier}}</a></li> + {{end}} + <li class="breadcrumb-item active" aria-current="page">Nouvel objet</li> + </ol> + </nav> +</div> + {{if .Error}} <div class="alert alert-danger mt-4">Impossible de créer l'objet. <div style="font-size: 0.8em">{{ .Error }}</div> @@ -13,10 +24,12 @@ {{end}} <form method="POST" class="mt-4"> + <!-- <div class="form-group"> <label>Parent:</label> <input type="text" disabled="true" class="form-control" value="{{ .SuperDN }}" /> </div> + --> <div class="form-group"> <label for="idvalue">Identifiant:</label> <input type="text" id="idvalue" name="idvalue" class="form-control" value="{{ .IdValue }}" /> |