Changes

From SME Server
Jump to navigationJump to search
Line 438: Line 438:  
    %= include 'partials/_dhcpd_scan'
 
    %= include 'partials/_dhcpd_scan'
 
%}
 
%}
</syntaxhighlight>and finally the front panel details is defined:<syntaxhighlight>
+
</syntaxhighlight>and finally the front panel details is defined:
 +
===Mojolicious Meta Commands===
 +
<syntaxhighlight lang="perl">
 
else {  #PARAMS
 
else {  #PARAMS
      #Front parameter panel here...
+
%= button_to $c->l('dhcpd_CONNECTED_IP') => '/dhcpd1'
 
+
%= button_to $c->l('dhcpd_SCAN_YOUR_NETWORK') => '/dhcpd3'
 +
%= button_to $c->l('dhcpd_GLOBAL_WINPOPUP') => '/dhcpd2'
 +
   
 +
<hr />
 +
<h2>
 +
%= $c->l("dhcpd_DHCPD_SETTINGS_TITLE")
 +
</h2>
 +
% my $btn = l('dhcpd_SAVE/RESTART');
 +
%= form_for '/dhcpd5' => (method => 'POST') => begin
 +
<span class=label>
 +
%=l 'dhcpd_CHECK_CLIENT_STATUS'
 +
</span><span class=data>
 +
% param retrievessl=>$dhcp_data->{"params"}->{"checkclientstatus"};
 +
%=select_field  checkclientstatus=>$dhcp_data->{"check"}
 +
</span><br>
    +
%= submit_button "$btn", class => 'action'
 +
    % end
 
%}
 
%}
   Line 448: Line 466:  
%end
 
%end
 
</syntaxhighlight>
 
</syntaxhighlight>
  −
===Mojolicious Meta Commands===
      
===Perl Commands===
 
===Perl Commands===

Navigation menu