mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
WebUI: add a base template for info messages
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -69,7 +69,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||
<h3 data-i18n="general.role" class="card-title section-title-inner">Role</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p data-i18n="admin.role_help" class="fs-5 fw-semibold mb-4"></p>
|
||||
{{template "infomsg" "admin.role_help"}}
|
||||
<div class="form-group row mt-10">
|
||||
<label for="idRole" data-i18n="general.role" class="col-md-3 col-form-label">Role</label>
|
||||
<div class="col-md-9">
|
||||
@@ -92,7 +92,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div id="groups">
|
||||
<p class="fs-5 fw-semibold mb-4" data-i18n="admin.users_groups_help"></p>
|
||||
{{template "infomsg" "admin.users_groups_help"}}
|
||||
<div class="form-group">
|
||||
<div data-repeater-list="groups">
|
||||
{{range $idx, $val := .Admin.Groups}}
|
||||
@@ -181,7 +181,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||
<h3 data-i18n="admin.user_page_pref" class="card-title section-title-inner">User page preferences</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p data-i18n="admin.user_page_pref_help" class="fs-5 fw-semibold mb-4"></p>
|
||||
{{template "infomsg" "admin.user_page_pref_help"}}
|
||||
|
||||
<div class="form-group row mt-10">
|
||||
<label for="idUserPageHiddenSections" data-i18n="admin.hide_sections" class="col-md-3 col-form-label">Hide sections</label>
|
||||
|
||||
Reference in New Issue
Block a user