11.0.0-116.sme - Fix other buttons in lists for elinks [SME: 13113]
---
.../templates/partials/_dom_list.html.ep | 118 ++++++------
.../templates/partials/_grp_list.html.ep | 50 ++---
.../templates/partials/_hos_list.html.ep | 46 ++---
.../templates/partials/_iba_list.html.ep | 104 +++++-----
.../templates/partials/_ln_list.html.ep | 30 +--
.../templates/partials/_pf_list.html.ep | 34 ++--
.../templates/partials/_prt_list.html.ep | 32 ++--
.../templates/partials/_pse_list.html.ep | 56 +++---
.../templates/partials/_quo_list.html.ep | 34 ++--
.../templates/partials/_usr_list.html.ep | 178 +++++++++---------
smeserver-manager.spec | 5 +-
11 files changed, 360 insertions(+), 327 deletions(-)
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_dom_list.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_dom_list.html.ep
index 6a2f94a..185dc77 100644
--- a/root/usr/share/smanager/themes/default/templates/partials/_dom_list.html.ep
+++ b/root/usr/share/smanager/themes/default/templates/partials/_dom_list.html.ep
@@ -51,73 +51,77 @@
% my $csrf_token = "TOKEN"; # CSRF token for security
% my $domain_name = $domain->{Domain}; # Domain name extracted from the data structure
% my $actionModify = qq{
- %
- %
- %
- % };
- % my $removable = ( $domain->{Removable} || 'yes' );
- % my $actionRemove = ' ';
- % if ($removable eq 'yes') {
- % my $remove_text = l('REMOVE'); # Localized text
- % my $csrf_token = "TOKEN"; # CSRF token for security
- % my $domain_name = $domain->{Domain}; # Domain name extracted from the data structure
- % $actionRemove = qq{
- %
- %
- %
- % };
- %# $actionRemove = "" . "" . "";
+ %
+ %
+ % $modify_text
+ %
% };
-
- <%= $c->render_to_string( inline => $actionModify ) %> <%= $c->render_to_string( inline => $actionRemove ) %>
- |
-
- % }
+ % my $removable = ( $domain->{Removable} || 'yes' );
+ % my $actionRemove = ' ';
+ % if ($removable eq 'yes') {
+ % my $remove_text = l('REMOVE'); # Localized text
+ % my $csrf_token = "TOKEN"; # CSRF token for security
+ % my $domain_name = $domain->{Domain}; # Domain name extracted from the data structure
+ % $actionRemove = qq{
+ %
+ %
+ % $remove_text
+ %
+ % };
+ %# $actionRemove = "" . "" . "";
+ % };
+
+ <%= $c->render_to_string( inline => $actionModify ) %> <%= $c->render_to_string( inline => $actionRemove ) %>
+ |
+
+ % }
-
-
+
+
- %= hidden_field 'trt' => 'ADD'
+%= hidden_field 'trt' => 'ADD'
- %= form_for '/domains' => ( method => 'POST' ) => begin
+%= form_for '/domains' => ( method => 'POST' ) => begin
-
-
+
+
- % my $btn2 = l('dom_DOMAINS_PAGE_CORPORATE_DNS');
+ % my $btn2 = l('dom_DOMAINS_PAGE_CORPORATE_DNS');
-
- %= l 'dom_DESC_CORPORATE_DNS_CURRENT'
-
-
-
-
- %= l 'dom_LABEL_CORPORATE_DNS_PRIMARY'
-
- %= $dom_datas->{forwarder}
-
-
-
- % if ($dom_datas->{forwarder2}) {
-
-
- %= l 'dom_LABEL_CORPORATE_DNS_SECONDARY'
-
- %= $dom_datas->{forwarder2}
-
-
- % }
+
+ %= l 'dom_DESC_CORPORATE_DNS_CURRENT'
+
- %= submit_button "$btn2", class => 'action'
+
+ %= l 'dom_LABEL_CORPORATE_DNS_PRIMARY'
+
+ %= $dom_datas->{forwarder}
+
- %= hidden_field 'trt' => 'UP2'
- % end
+
+ % if ($dom_datas->{forwarder2}) {
+
+
+ %= l 'dom_LABEL_CORPORATE_DNS_SECONDARY'
+
+ %= $dom_datas->{forwarder2}
+
+
+ % }
+
+
+ %= submit_button "$btn2", class => 'action'
+
+%= hidden_field 'trt' => 'UP2'
+% end
-
+
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_grp_list.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_grp_list.html.ep
index 6d8f406..29589d9 100644
--- a/root/usr/share/smanager/themes/default/templates/partials/_grp_list.html.ep
+++ b/root/usr/share/smanager/themes/default/templates/partials/_grp_list.html.ep
@@ -43,30 +43,34 @@
% my $csrf_token = "TOKEN"; # CSRF token for security
% my $group_name = $group->key; # group name extracted from the data structure
% my $actionModify = qq{
- %
- %
- %
- % };
- % my $remove_text = l('REMOVE'); # Localized text
- % my $csrf_token = "TOKEN"; # CSRF token for security
- % my $group_name = $group->key; # group name extracted from the data structure
- % my $actionRemove = qq{
- %
- %
+ %
+ %
+ % $modify_text
%
% };
- <%= $c->render_to_string( inline => $actionModify ) %> <%= $c->render_to_string( inline => $actionRemove ) %>
-
-
- % }
-
-
- <% } %>
-