diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/directory.html | 1 | ||||
-rw-r--r-- | templates/profile.html | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/templates/directory.html b/templates/directory.html index bdc587f..e91354d 100644 --- a/templates/directory.html +++ b/templates/directory.html @@ -22,6 +22,7 @@ <th scope="col">Identifiant</th> <th scope="col">Nom complet</th> <th scope="col">Email</th> + <th scope="col">Description</th> </thead> <tbody id="users"> diff --git a/templates/profile.html b/templates/profile.html index bfd79cd..5445d6d 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -37,6 +37,18 @@ <label for="surname">Nom de famille:</label> <input type="text" id="surname" name="surname" class="form-control" value="{{ .Surname }}" /> </div> + <div class="form-group"> + <label for="description">Description (180 caractères maximum)</label> + <textarea id="description" name="description" class="form-control" maxlength="180">{{ .Description }}</textarea> + </div> + <div class="form-group form-check"> + {{if .Visibility}} + <input class="form-check-input" name="visibility" type="checkbox" id="visibility" checked> + {{else}} + <input class="form-check-input" name="visibility" type="checkbox" id="visibility"> + {{end}} + <label class="form-check-label" for="visibility">Apparaît sur l'annuaire</label> + </div> <button type="submit" class="btn btn-primary">Enregistrer les modifications</button> </form> {{end}} |