Fix yp html warnings from w3c - mainly empty paragraphs, but also domain lists recast buttons
This commit is contained in:
parent
c6eb08a727
commit
1b1b99955b
@ -13,11 +13,10 @@
|
|||||||
|
|
||||||
<h1><%= $title %></h1>
|
<h1><%= $title %></h1>
|
||||||
<!--br><%= $modul %><br-->
|
<!--br><%= $modul %><br-->
|
||||||
<p>
|
|
||||||
|
|
||||||
<p><b>
|
<b>
|
||||||
%=l ('bugr_DO_NOT_PANIC')
|
%=l ('bugr_DO_NOT_PANIC')
|
||||||
</b></p>
|
</b>
|
||||||
<p>
|
<p>
|
||||||
%=l ('bugr_SME_EXPERIENCE')
|
%=l ('bugr_SME_EXPERIENCE')
|
||||||
</p><p>
|
</p><p>
|
||||||
@ -49,7 +48,7 @@
|
|||||||
%=l ('bugr_YUM_REPOS')
|
%=l ('bugr_YUM_REPOS')
|
||||||
</li><br></ul>
|
</li><br></ul>
|
||||||
%=l ('bugr_PRIVACY')
|
%=l ('bugr_PRIVACY')
|
||||||
</p><p>
|
</p>
|
||||||
|
|
||||||
<% my $btn = l('bugr_CREATE_REPORT'); %>
|
<% my $btn = l('bugr_CREATE_REPORT'); %>
|
||||||
|
|
||||||
@ -57,7 +56,7 @@
|
|||||||
%= submit_button "$btn", class => 'action'
|
%= submit_button "$btn", class => 'action'
|
||||||
% end
|
% end
|
||||||
|
|
||||||
</p><p><b>
|
<p><b>
|
||||||
%=l ('bugr_DONATING')
|
%=l ('bugr_DONATING')
|
||||||
</b><br><br>
|
</b><br><br>
|
||||||
%=l ('bugr_AWARE_SME')
|
%=l ('bugr_AWARE_SME')
|
||||||
@ -66,6 +65,7 @@
|
|||||||
</b><br><br>
|
</b><br><br>
|
||||||
%=l ('bugr_CONSIDER_DONATING')
|
%=l ('bugr_CONSIDER_DONATING')
|
||||||
<br><br>
|
<br><br>
|
||||||
|
</p>
|
||||||
|
|
||||||
%= link_to 'https://wiki.koozali.org/Donate' => begin
|
%= link_to 'https://wiki.koozali.org/Donate' => begin
|
||||||
%= image '/images/btn_donateCC_LG.gif'
|
%= image '/images/btn_donateCC_LG.gif'
|
||||||
@ -76,7 +76,6 @@
|
|||||||
|
|
||||||
<br>
|
<br>
|
||||||
%=l ('bugr_THANK_YOU')
|
%=l ('bugr_THANK_YOU')
|
||||||
</p>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
<br><%= $modul %><br>
|
<br><%= $modul %><br>
|
||||||
|
|
||||||
<p>
|
|
||||||
<% my $btn = l('bugr_Download this report'); %>
|
<% my $btn = l('bugr_Download this report'); %>
|
||||||
|
|
||||||
%= form_for 'bugreportD' => (method => 'POST') => begin
|
%= form_for 'bugreportD' => (method => 'POST') => begin
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
%= $dat_datas->{now_string}
|
%= $dat_datas->{now_string}
|
||||||
</b>
|
</b>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
<br>
|
<br>
|
||||||
<span class=label>
|
<span class=label>
|
||||||
%=l 'dat_NTP_SERVER'
|
%=l 'dat_NTP_SERVER'
|
||||||
|
@ -44,25 +44,25 @@
|
|||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
%= text_field 'department' => $dir_datas->{department}, class => 'input'
|
%= text_field 'department' => $dir_datas->{department}, class => 'input'
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p><p>
|
||||||
<span class=label>
|
<span class=label>
|
||||||
%=l 'dir_COMPANY', class => 'label'
|
%=l 'dir_COMPANY', class => 'label'
|
||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
%= text_field 'company', $dir_datas->{company}, class => 'input'
|
%= text_field 'company', $dir_datas->{company}, class => 'input'
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p><p>
|
||||||
<span class=label>
|
<span class=label>
|
||||||
%=l 'dir_STREET', class => 'label'
|
%=l 'dir_STREET', class => 'label'
|
||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
%= text_field 'street' => $dir_datas->{street}, class => 'input'
|
%= text_field 'street' => $dir_datas->{street}, class => 'input'
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p><p>
|
||||||
<span class=label>
|
<span class=label>
|
||||||
%=l 'dir_CITY', class => 'label'
|
%=l 'dir_CITY', class => 'label'
|
||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
%= text_field 'city', $dir_datas->{city}, class => 'input'
|
%= text_field 'city', $dir_datas->{city}, class => 'input'
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p><p>
|
||||||
<span class=label>
|
<span class=label>
|
||||||
%=l 'dir_PHONENUMBER', class => 'label'
|
%=l 'dir_PHONENUMBER', class => 'label'
|
||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
|
@ -46,19 +46,34 @@
|
|||||||
%= t td => (class => 'sme-border') => $domain->{'Content'}
|
%= t td => (class => 'sme-border') => $domain->{'Content'}
|
||||||
%= t td => (class => 'sme-border') => l('dom_' . $domain->{'Nameservers'})
|
%= t td => (class => 'sme-border') => l('dom_' . $domain->{'Nameservers'})
|
||||||
|
|
||||||
% my $actionModify = "<a href='domains2?CsrfDef=TOKEN&trt=UPD&Domain=" . $domain->{Domain} . "'>" . "<button class='sme-modify-button' title=".l('MODIFY').">".l('MODIFY')."</button>" . "</a>";
|
%# my $actionModify = "<a href='domains2?CsrfDef=TOKEN&trt=UPD&Domain=" . $domain->{Domain} . "'>" . "<button class='sme-modify-button' title=".l('MODIFY').">".l('MODIFY')."</button>" . "</a>";
|
||||||
|
%my $modify_text = l('MODIFY'); # Localized text
|
||||||
% my $removable = ($domain->{Removable} || 'yes');
|
%my $csrf_token = "TOKEN"; # CSRF token for security
|
||||||
% my $actionRemove = ' ';
|
%my $domain_name = $domain->{Domain}; # Domain name extracted from the data structure
|
||||||
|
%my $actionModify = qq{
|
||||||
% if ($removable eq 'yes') {
|
% <button type='button' class='sme-modify-button' title='$modify_text'
|
||||||
% $actionRemove = "<a href='domains2?CsrfDef=TOKEN&trt=DEL&Domain=" . $domain->{Domain} . "'>" . "<button class='sme-remove-button' title=".l('REMOVE').">".l('REMOVE')."</button>" . "</a>";
|
% onclick="window.location.href='domains2?CsrfDef=$csrf_token&trt=UPD&Domain=$domain_name'">
|
||||||
% }
|
% $modify_text
|
||||||
|
% </button>
|
||||||
<td class='sme-border' style="min-width:15em">
|
%};
|
||||||
<%= $c->render_to_string(inline => $actionModify) %> <%= $c->render_to_string(inline => $actionRemove) %>
|
%my $removable = ($domain->{Removable} || 'yes');
|
||||||
</td>
|
%my $actionRemove = ' ';
|
||||||
</tr>
|
%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{
|
||||||
|
% <button type='button' class='sme-remove-button' title='$remove_text'
|
||||||
|
% onclick="window.location.href='domains2?CsrfDef=$csrf_token&trt=DEL&Domain=$domain_name'">
|
||||||
|
% $remove_text
|
||||||
|
% </button>
|
||||||
|
%};
|
||||||
|
%# $actionRemove = "<a href='domains2?CsrfDef=TOKEN&trt=DEL&Domain=" . $domain->{Domain} . "'>" . "<button class='sme-remove-button' title=".l('REMOVE').">".l('REMOVE')."</button>" . "</a>";
|
||||||
|
%};
|
||||||
|
<td class='sme-border' style="min-width:15em">
|
||||||
|
<%= $c->render_to_string(inline => $actionModify) %> <%= $c->render_to_string(inline => $actionRemove) %>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
% }
|
% }
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
|
|
||||||
% if ( stash 'error' ) {
|
% if ( stash 'error' ) {
|
||||||
<br><div class=sme-error>
|
<br><div class=sme-error>
|
||||||
%= $c->render_to_string(inline => stash 'error')
|
%= $c->render_to_string(inline => stash 'error')
|
||||||
</div>
|
</div>
|
||||||
%}
|
%}
|
||||||
|
|
||||||
<h1><%= $title%></h1>
|
<h1><%= $title%></h1>
|
||||||
@ -30,4 +30,3 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
@ -52,12 +52,11 @@
|
|||||||
|
|
||||||
<hr class='sectionbar' />
|
<hr class='sectionbar' />
|
||||||
|
|
||||||
</p>
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
<!-- percequ include 'partials/_rma_pptp' -->
|
<!-- percequ include 'partials/_rma_pptp' -->
|
||||||
|
|
||||||
<p><h2>
|
<h2>
|
||||||
%= $c->l('rma_VALIDFROM_TITLE', $c->l('rma_REMOTE_MANAGEMENT'));
|
%= $c->l('rma_VALIDFROM_TITLE', $c->l('rma_REMOTE_MANAGEMENT'));
|
||||||
</h2><br>
|
</h2><br>
|
||||||
%=l 'rma_VALIDFROM_DESC'
|
%=l 'rma_VALIDFROM_DESC'
|
||||||
@ -86,7 +85,7 @@
|
|||||||
%= t td => (class => 'sme-border') => $net
|
%= t td => (class => 'sme-border') => $net
|
||||||
%= t td => (class => 'sme-border') => $mask
|
%= t td => (class => 'sme-border') => $mask
|
||||||
%= t td => (class => 'sme-border') => $numhosts
|
%= t td => (class => 'sme-border') => $numhosts
|
||||||
<td class='sme-border'><input type='checkbox' name='Remove_nets' value='<%= $net.'/'.$mask %>'> </td>
|
<td class='sme-border'><input type='checkbox' name='Remote_nets' value='<%= $net.'/'.$mask %>'> </td>
|
||||||
</tr>
|
</tr>
|
||||||
% }
|
% }
|
||||||
|
|
||||||
@ -102,9 +101,6 @@
|
|||||||
%= l('rma_NO_ENTRIES_YET');
|
%= l('rma_NO_ENTRIES_YET');
|
||||||
</b>
|
</b>
|
||||||
%}
|
%}
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
%=l 'rma_DESC_VALID_FROM_ENTRIES'
|
%=l 'rma_DESC_VALID_FROM_ENTRIES'
|
||||||
<br><br>
|
<br><br>
|
||||||
<span class=label>
|
<span class=label>
|
||||||
@ -118,11 +114,10 @@
|
|||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
%= text_field 'ValidFromMask', class => 'input'
|
%= text_field 'ValidFromMask', class => 'input'
|
||||||
</span>
|
</span>
|
||||||
</p>
|
|
||||||
|
|
||||||
<hr class='sectionbar' />
|
<hr class='sectionbar' />
|
||||||
|
|
||||||
<p><h2>
|
<h2>
|
||||||
%=l 'rma_TITLE_SSH'
|
%=l 'rma_TITLE_SSH'
|
||||||
</h2><br>
|
</h2><br>
|
||||||
%=l 'rma_DESC_SSH'
|
%=l 'rma_DESC_SSH'
|
||||||
@ -158,11 +153,10 @@
|
|||||||
%= text_field 'SshTCPPort', class => 'input'
|
%= text_field 'SshTCPPort', class => 'input'
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
</p>
|
|
||||||
|
|
||||||
<hr class='sectionbar' />
|
<hr class='sectionbar' />
|
||||||
|
|
||||||
<p><h2>
|
<h2>
|
||||||
%=l 'rma_TITLE_FTP_ACCESS'
|
%=l 'rma_TITLE_FTP_ACCESS'
|
||||||
</h2><br>
|
</h2><br>
|
||||||
%= $c->render_to_string(inline => $c->l('rma_DESC_FTP_ACCESS'));
|
%= $c->render_to_string(inline => $c->l('rma_DESC_FTP_ACCESS'));
|
||||||
@ -186,11 +180,9 @@
|
|||||||
%= select_field 'FtpPasswordAccess' => $c->passwordLogin_list(), class => 'input'
|
%= select_field 'FtpPasswordAccess' => $c->passwordLogin_list(), class => 'input'
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
</p>
|
|
||||||
|
|
||||||
% my $mode = $c->get_telnet_mode();
|
% my $mode = $c->get_telnet_mode();
|
||||||
% if ( $mode ne 'off') {
|
% if ( $mode ne 'off') {
|
||||||
<p>
|
|
||||||
<hr class='sectionbar' />
|
<hr class='sectionbar' />
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
@ -210,13 +202,10 @@
|
|||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
</p>
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
<p>
|
|
||||||
<br>
|
<br>
|
||||||
%= submit_button "$btn", class => 'action'
|
%= submit_button "$btn", class => 'action'
|
||||||
</p>
|
|
||||||
|
|
||||||
% end
|
% end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user