Remove template and update breadcrumbs
This commit is contained in:
parent
79b2e7f492
commit
4551efc1ed
@ -1,69 +0,0 @@
|
|||||||
% layout 'AdminLTE' , title => "Sme server 2 - login";
|
|
||||||
|
|
||||||
% content_for 'module' => begin
|
|
||||||
|
|
||||||
<div id="" class="">
|
|
||||||
|
|
||||||
%if ( config 'debug' ) {
|
|
||||||
<p>
|
|
||||||
%= dumper $c->current_route
|
|
||||||
%if ( stash 'trt' ) {
|
|
||||||
%= dumper stash 'trt'
|
|
||||||
%}
|
|
||||||
</p>
|
|
||||||
%}
|
|
||||||
|
|
||||||
% if ( stash 'error' ) {
|
|
||||||
<br><div class="">
|
|
||||||
%= $c->render_to_string(inline => stash 'error')
|
|
||||||
</div>
|
|
||||||
%}
|
|
||||||
|
|
||||||
% my $btn = l('use_SIGNIN');
|
|
||||||
% if ( $trt eq 'RESET' ) {
|
|
||||||
<br><div class=""><h2>
|
|
||||||
%= $c->render_to_string(inline => l 'use_DESC_RESET')
|
|
||||||
</h2></div>
|
|
||||||
% $btn = l('use_RESET');
|
|
||||||
%}
|
|
||||||
|
|
||||||
<h1>
|
|
||||||
%=l 'use_TITLE'
|
|
||||||
</h1>
|
|
||||||
|
|
||||||
%= form_for '/login' => (method => 'POST') => begin
|
|
||||||
|
|
||||||
<p><span class="">
|
|
||||||
%=l 'USER_NAME'
|
|
||||||
</span><span class="">
|
|
||||||
%= text_field 'Username'
|
|
||||||
</span></p>
|
|
||||||
|
|
||||||
% if ( $trt ne 'RESET' ) {
|
|
||||||
<p><span class="">
|
|
||||||
%=l 'PASSWORD'
|
|
||||||
</span><span class="">
|
|
||||||
%= password_field 'Password', id => "", autocomplete => 'current-password', class=>""
|
|
||||||
% if (config 'hasJquery') {
|
|
||||||
%#<a href='#' id="" class=""> <img src="images/visible.png" height="16" alt="Visible"></a>
|
|
||||||
% }
|
|
||||||
</span></p>
|
|
||||||
%}
|
|
||||||
|
|
||||||
%= hidden_field 'From' => $c->tx->req->url
|
|
||||||
%= hidden_field 'Trt' => $trt
|
|
||||||
|
|
||||||
<br>
|
|
||||||
<div class="">
|
|
||||||
%= submit_button "$btn", class => ""
|
|
||||||
</div>
|
|
||||||
%if ( config 'pwdreset' ) {
|
|
||||||
<div class=""><a href='login2'>
|
|
||||||
%=l 'use_FORGOT'
|
|
||||||
</a></div>
|
|
||||||
%}
|
|
||||||
|
|
||||||
% end
|
|
||||||
|
|
||||||
</div>
|
|
||||||
%end
|
|
@ -8,7 +8,10 @@
|
|||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<ol class="breadcrumb float-sm-start">
|
<ol class="breadcrumb float-sm-start">
|
||||||
<li class="breadcrumb-item"><a href="initial">Home</a></li>
|
<li class="breadcrumb-item"><a href="initial">Home</a></li>
|
||||||
<li class="breadcrumb-item active" aria-current="page"><%= $c->current_route %></li>
|
<li class="breadcrumb-item active" aria-current="page">
|
||||||
|
<a href="<%= $c->stash('controller') %>"> <%= $c->stash('controller') %>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
%define name smeserver-manager-AdminLTE
|
%define name smeserver-manager-AdminLTE
|
||||||
%define version 11.0.0
|
%define version 11.0.0
|
||||||
%define release 5
|
%define release 6
|
||||||
Summary: AdminLTE is an html framework for admin consoles - this rpm adds it to smeserver manager2
|
Summary: AdminLTE is an html framework for admin consoles - this rpm adds it to smeserver manager2
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
@ -26,11 +26,15 @@ AdminLTE is an html framework for admin consoles
|
|||||||
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip
|
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 16 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-6.sme
|
||||||
|
- Remove old template
|
||||||
|
- Update breadcrumbs
|
||||||
|
|
||||||
* Wed Apr 16 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-5.sme
|
* Wed Apr 16 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-5.sme
|
||||||
- Fix Remote Access remove network
|
- Fix Remote Access remove network
|
||||||
|
|
||||||
* Wed Apr 16 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-4.sme
|
* Wed Apr 16 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-4.sme
|
||||||
- More template cleanign
|
- More template cleaning
|
||||||
- Fix Password syntax errors
|
- Fix Password syntax errors
|
||||||
|
|
||||||
* Tue Apr 15 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-3.sme
|
* Tue Apr 15 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-3.sme
|
||||||
|
Loading…
x
Reference in New Issue
Block a user