/[smecontribs]/rpms/smeserver-manager-AdminLTE/contribs10/smeserver-manager-AdminLTE-0.1.3-Update-default_ep_html-with-contribs-header.patch
ViewVC logotype

Contents of /rpms/smeserver-manager-AdminLTE/contribs10/smeserver-manager-AdminLTE-0.1.3-Update-default_ep_html-with-contribs-header.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Jun 6 19:51:28 2021 UTC (3 years, 5 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-manager-AdminLTE-0_1_3-19_el7_sme, smeserver-manager-AdminLTE-0_1_3-13_el7_sme, smeserver-manager-AdminLTE-0_1_3-18_el7_sme, smeserver-manager-AdminLTE-0_1_3-12_el7_sme, smeserver-manager-AdminLTE-0_1_4-1_el7_sme, smeserver-manager-AdminLTE-0_1_3-11_el7_sme, smeserver-manager-AdminLTE-0_1_3-16_el7_sme, smeserver-manager-AdminLTE-0_1_3-10_el7_sme, smeserver-manager-AdminLTE-0_1_3-20_el7_sme, smeserver-manager-AdminLTE-0_1_3-9_el7_sme, smeserver-manager-AdminLTE-0_1_3-21_el7_sme, smeserver-manager-AdminLTE-0_1_3-6_el7_sme, smeserver-manager-AdminLTE-0_1_3-8_el7_sme, smeserver-manager-AdminLTE-0_1_3-2_el7_sme, smeserver-manager-AdminLTE-0_1_3-7_el7_sme, smeserver-manager-AdminLTE-0_1_3-4_el7_sme, smeserver-manager-AdminLTE-0_1_3-15_el7_sme, smeserver-manager-AdminLTE-0_1_3-3_el7_sme, smeserver-manager-AdminLTE-0_1_3-5_el7_sme, HEAD
* Sun Jun 06 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-2.sme
- Update default ep file for new contribs header and remove heading from status line [SME: 11623]

1 diff -urN smeserver-manager-AdminLTE-0.1.3.old/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep smeserver-manager-AdminLTE-0.1.3/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep
2 --- smeserver-manager-AdminLTE-0.1.3.old/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep 2021-04-28 07:07:00.000000000 +0100
3 +++ smeserver-manager-AdminLTE-0.1.3/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep 2021-06-06 20:38:21.860584277 +0100
4 @@ -29,7 +29,8 @@
5 <!-- Theme style -->
6 %= stylesheet "/dist/css/adminlte.css"
7 %= stylesheet "/css/server-manager2.css"
8 -
9 + %= content_for 'head_contrib'
10 + %= content_for 'refresh'
11
12 </head>
13 <body class="hold-transition sidebar-mini layout-boxed">
14 @@ -124,14 +125,15 @@
15
16 <div class="container-fluid">
17 <div class="row mb-2">
18 +<!--
19 <div class="col-sm-3">
20 %# Extract the initial h1 to 3 heading from content and use that as header
21 % my $content = content('module');
22 - % my $heading;
23 - % if ($content =~ /<h(1|2|3)>[\n]*[\s]*(.*)[\s]*[\n]*<\/h(1|2|3)>/i) {
24 - % $heading = $2;
25 - % } else { $heading = "unknown";}
26 - %= "$heading";
27 + %# my $heading;
28 + %# if ($content =~ /<h(1|2|3)>[\n]*[\s]*(.*)[\s]*[\n]*<\/h(1|2|3)>/i) {
29 + %# $heading = $2;
30 + %# } else { $heading = "unknown";}
31 + %#= "$heading";
32 %#and take out heading that we have used already - this does not work - left for later...
33 %# my $startofheading = index(lc($content),"<h$3>");
34 %# my $endofheading = index(lc($content),"<\/h$3>");
35 @@ -140,12 +142,13 @@
36 %# my $content =~ s/<p>//gim;
37 %# my $content =~ s/<\/p>//gim;
38 </div>
39 +-->
40
41 - <div class="col-sm-4">
42 + <div class="col-sm-5">
43 <b><%= session 'SystemName' %>@<%= session 'DomainName' %></b>
44 </div>
45
46 - <div id="h2e23" class="col-sm-2">
47 + <div id="h2e23" class="col-sm-3">
48 % if ( not defined $c->session->{username} ) {
49 <a class="button" target="_parent" href="login"><b>Login</b></a>
50 % } else {
51 @@ -154,7 +157,7 @@
52 </div>
53
54
55 - <div class="col-sm-2">
56 + <div class="col-sm-4">
57 <ol class="breadcrumb float-sm-right">
58
59 <li class="breadcrumb-item active"><a href="#">Home</a></li>

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed