%= include '/ng-templates/new_user'
diff --git a/templates/main/admin_settings.html.ep b/templates/main/admin_settings.html.ep
index c737fa445..b44a125f5 100644
--- a/templates/main/admin_settings.html.ep
+++ b/templates/main/admin_settings.html.ep
@@ -6,7 +6,8 @@
%= include 'bootstrap/navigation'
-
-
+
<%=l 'Maintenance' %>
@@ -71,7 +71,7 @@
-
+
<%=l 'Maintenance End' %>
@@ -79,6 +79,47 @@
type="datetime-local">
+
+
+
+
+
Content Security Policy
+
+
+
+
+
+
+
+
+ <%=l 'Advanced CSP' %>
+
+
+
+ % for my $item (sort keys %$csp) {
+
+ % }
+
+
+%= include "/main/admin_settings_submit"
+
-
-
-
-
-
- <%=l 'Save' %>
-
-
- <%=l 'Cancel' %>
-
-
-
-
+%= include "/main/admin_settings_submit"
diff --git a/templates/main/admin_settings_submit.html.ep b/templates/main/admin_settings_submit.html.ep
new file mode 100644
index 000000000..faa325bc7
--- /dev/null
+++ b/templates/main/admin_settings_submit.html.ep
@@ -0,0 +1,13 @@
+
+
+
+
+ <%=l 'Save' %>
+
+
+ <%=l 'Cancel' %>
+
+
+
diff --git a/templates/main/list_bases_ng.html.ep b/templates/main/list_bases_ng.html.ep
index ed12475fe..2571c49e2 100644
--- a/templates/main/list_bases_ng.html.ep
+++ b/templates/main/list_bases_ng.html.ep
@@ -31,10 +31,13 @@
-
-
+
diff --git a/templates/main/manage_user.html.ep b/templates/main/manage_user.html.ep
index 8d784a992..32f167b8a 100644
--- a/templates/main/manage_user.html.ep
+++ b/templates/main/manage_user.html.ep
@@ -13,7 +13,7 @@
(<%= ($user->external_auth or $origin) %>)
% }
-% if ($user->external_auth && $user->ldap_entry ) {
+% if ($user->external_auth && $user->external_auth eq 'ldap' && $user->ldap_entry ) {
<%= $user->ldap_entry->dn %>
% }
@@ -53,6 +53,12 @@
<%=l 'Groups' %>
+% }
+% if ($_user->is_admin) {
+
+ <%=l 'Remove' %>
+
+
% }
@@ -79,9 +85,15 @@
% }
% if ( $_user->is_admin && $user->id && $user->is_external && $user->external_auth eq 'ldap' && $user->ldap_entry ) {
-
+
%= include '/main/manage_user_groups'
+% }
+% if ( $_user->is_admin) {
+
+ %= include '/main/manage_user_remove'
+
+
% }
diff --git a/templates/main/manage_user_remove.html.ep b/templates/main/manage_user_remove.html.ep
new file mode 100644
index 000000000..3274a0eff
--- /dev/null
+++ b/templates/main/manage_user_remove.html.ep
@@ -0,0 +1,20 @@
+
+
+ <%=l 'Are you sure you want to remove this user ?' %>
+ <%= $user->name %>
+
+
+
+
+ <%=l 'The external LDAP entry will not be removed' %>
+
+
+
+
<%=l 'Cancel' %>
+
+ <%=l 'Remove' %>
+
+
diff --git a/templates/main/requirements.html.ep b/templates/main/requirements.html.ep
index 54ad4f434..4e7daa59b 100644
--- a/templates/main/requirements.html.ep
+++ b/templates/main/requirements.html.ep
@@ -24,7 +24,7 @@
<%=l 'To make this possible, copy the content of' %>
spice.reg <%=l 'to an ASCII file and save it with a .reg extension, then execute the file.' %>
<%=l 'Please, make sure you have the right path and release, according to your PC configuration.' %>
<%=l 'For more information, check' %> <%=l 'the Windows Clients documentation' %> .
-
macOS ©
<%=l 'For Spice client setup follow this ' %> link .
+
macOS ©
<%=l 'Follow these steps for Spice client setup' %> link .