* Fri Sep 26 2025 Brian Read <brianr@koozali.org> 1.0-26.sme
- Fix remove logic, add in user name to rem panel re-format templates, add space to list panel [SME: 13168]
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
'wrg_ERROR_WRONG_ACCT_TYPE' => 'The associated account shoult be a user or admin account.',
|
||||
'wrg_ERROR_OCCURED' => 'An error occured',
|
||||
'wrg_CLIENTS_ALREADY_CONFIGURED' => 'You can not alter the server ip, mask, private and public key as there are already some clients configured.',
|
||||
'wrg_NO_CONF' => 'No configured client',
|
||||
'wrg_NO_CONF' => 'No configured clients',
|
||||
'wrg_INTERFACE' => 'Interface',
|
||||
'wrg_CANCELLED' => 'Operation cancelled',
|
||||
'wrg_SUCCESSFULLY_MODIFIED_CONF' => 'Client configuration successfully modified',
|
||||
|
@@ -35,6 +35,7 @@
|
||||
</span>
|
||||
%= $wrg_datas->{wgport}
|
||||
<br></p>
|
||||
<br />
|
||||
|
||||
<table class="sme-border"><tbody>
|
||||
<tr>
|
||||
@@ -91,6 +92,7 @@
|
||||
% if ( scalar @$wgconf == 0 ) {
|
||||
%= l 'wrg_NO_CONF'
|
||||
% } else {
|
||||
<br />
|
||||
<table class="sme-border"><tbody>
|
||||
<tr>
|
||||
<th class='sme-border'>
|
||||
|
@@ -1,3 +1,12 @@
|
||||
|
||||
Mojolicious Template Code Formatter vmojofmt 0.1.9
|
||||
Input data:
|
||||
Upload a file:
|
||||
(none)
|
||||
Remove empty lines from output
|
||||
Formatted Output:
|
||||
Output Syntax:
|
||||
|
||||
<div id='wrg_mod'>
|
||||
|
||||
%= form_for '/wireguard2' => (method => 'POST') => begin
|
||||
|
@@ -5,17 +5,25 @@
|
||||
%= l 'wrg_DESC_REMOVE_CLIENT'
|
||||
</p>
|
||||
|
||||
<p><br><span class=label>
|
||||
%=l 'wrg_CONF_NAME'
|
||||
</span>
|
||||
<p><span class=label>
|
||||
%= l 'wrg_USER'
|
||||
</span><span class=data>
|
||||
%= $wrg_datas->{account}
|
||||
<br></p>
|
||||
</p>
|
||||
|
||||
<p><span class=label>
|
||||
%= l 'wrg_CONF_NAME'
|
||||
</span><span class=data>
|
||||
%= $wrg_datas->{wgconf}
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<p><span class=label>
|
||||
%= l 'COMMENT'
|
||||
</span>
|
||||
</span><span class=data>
|
||||
%= $wrg_datas->{wgcomment}
|
||||
<br></p>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<div class="center">
|
||||
%= submit_button l('REMOVE'), name => 'remove', class => 'action left-btn'
|
||||
@@ -23,7 +31,7 @@
|
||||
</div>
|
||||
|
||||
%= hidden_field 'trt' => $wrg_datas->{trt}
|
||||
%= hidden_field 'Wgconf' => $wrg_datas->{account}
|
||||
%= hidden_field 'Wgconf' => $wrg_datas->{wgconf}
|
||||
|
||||
% end
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
%define release 25
|
||||
%define release 26
|
||||
%define version 1.0
|
||||
%define debug_package %{nil}
|
||||
|
||||
@@ -61,6 +61,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 26 2025 Brian Read <brianr@koozali.org> 1.0-26.sme
|
||||
- Fix remove logic, add in user name to rem panel re-format templates, add space to list panel [SME: 13168]
|
||||
|
||||
* Thu Sep 25 2025 Brian Read <brianr@koozali.org> 1.0-25.sme
|
||||
- Sort outy Remove panel placement and operation of buttons [SME: 13168]
|
||||
|
||||
|
Reference in New Issue
Block a user