aboutsummaryrefslogtreecommitdiff
path: root/templates/admin_create.html
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-09 23:13:33 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-09 23:13:33 +0100
commit54eb5d623979c2fe4765d20c5683eb853fd29285 (patch)
tree244ce1ba928b76369f76d3ac325cd575928aecc2 /templates/admin_create.html
parenta85ffdfc8095f205226cd991d4754feb3a632a3e (diff)
downloadguichet-54eb5d623979c2fe4765d20c5683eb853fd29285.tar.gz
guichet-54eb5d623979c2fe4765d20c5683eb853fd29285.zip
Add breadcrumbs; stuff
Diffstat (limited to 'templates/admin_create.html')
-rw-r--r--templates/admin_create.html13
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 }}" />