Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5d73c408

Von Sven Schöling vor etwa 12 Jahren hinzugefügt

  • ID 5d73c408bfee2d7fbd4dd1789073f86b9cfc518f
  • Vorgänger c52f43e0
  • Nachfolger dcc04bee

<body class=admin> auf Admin Layout umgeschrieben.

Unterschiede anzeigen:

SL/Controller/Layout.pm
4 4
use parent qw(SL::Controller::Base);
5 5

  
6 6
use SL::Menu;
7
use SL::Controller::Layout::Admin;
7 8
use SL::Controller::Layout::Classic;
8 9
use SL::Controller::Layout::V3;
9 10
use SL::Controller::Layout::V4;
......
18 19
  return SL::Controller::Layout::V3->new         if $params{style} eq 'v3';
19 20
  return SL::Controller::Layout::V4->new         if $params{style} eq 'v4';
20 21
  return SL::Controller::Layout::Javascript->new if $params{style} eq 'neu';
22
  return SL::Controller::Layout::Admin->new      if $params{style} eq 'admin';
21 23
  return SL::Controller::Layout::None->new;
22 24
}
23 25

  
SL/Controller/Layout/Admin.pm
1
package SL::Controller::Layout::Admin;
2

  
3
use strict;
4
use parent qw(SL::Controller::Layout::Base);
5

  
6
sub new {
7
  my ($class, @slurp) = @_;
8

  
9
  my $self = $class->SUPER::new(@slurp);
10

  
11
  $self->add_sub_layouts([
12
    SL::Controller::Layout::None->new,
13
  ]);
14

  
15
  $self;
16
}
17

  
18
sub start_content {
19
  "<div id='admin' class='admin'>\n";
20
}
21

  
22
sub end_content {
23
  "</div>\n";
24
}
25

  
26
1;
bin/mozilla/admin.pl
91 91
  $locale = $::locale;
92 92
  $auth   = $::auth;
93 93

  
94
  $::request->{layout} = SL::Controller::Layout->new(style => 'admin');
94 95
  $::request->{layout}->use_stylesheet("lx-office-erp.css");
95 96
  $form->{favicon}    = "favicon.ico";
96 97

  
css/kivitendo/main.css
115 115
th.login {
116 116
	text-align: right;
117 117
}
118
body.admin {
118
div.admin {
119 119
	background-color: #FFFFE0;
120
    padding: 8px;
120 121
	color: #000000;
121 122
}
122 123
body.menu {
css/lx-office-erp/main.css
69 69
  text-align: right;
70 70
}
71 71

  
72
body.admin {
73
  background-color:#ffffff;
72
div.admin {
74 73
  color: black;
74
  margin: 8px;
75 75
}
76 76

  
77 77
.message_error_login {
templates/webpages/admin/adminlogin.html
1 1
[%- USE T8 %]
2 2
[% USE HTML %]
3 3
[% USE LxERP%]
4
<body class="admin">
5

  
6 4
 <script type='text/javascript'>
7 5
    $(function(){ document.getElementsById('rpw').focus();});
8 6
 </script>
templates/webpages/admin/backup_dataset.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3
<body class="admin">
4

  
5 3
 <script type="text/javascript">
6 4
  <!--
7 5
      $(function(){
templates/webpages/admin/backup_dataset_email_done.html
1 1
[%- USE T8 %]
2 2
[%- USE LxERP %]
3 3
[%- USE HTML %]
4
<body class="admin">
5

  
6 4
 <h2>[% title %]</h2>
7 5

  
8 6
 <p>[% LxERP.t8('The dataset backup has been sent via email to #1.', to) | html %]</p>
templates/webpages/admin/create_dataset.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3
<body class="admin">
4

  
5 3
  <h2>[% title %]</h2>
6 4

  
7 5
  <form method="post" action="admin.pl">
templates/webpages/admin/dbadmin.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3
<body class="admin">
4

  
5 3
  <h2>[% title %]</h2>
6 4

  
7 5
  <form method="post" action="admin.pl">
templates/webpages/admin/dbcreate.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3 3
[%- USE LxERP %]
4
<body class="admin">
5

  
6 4
  <h2>[% title %]</h2>
7 5

  
8 6
  <form method="post" action="admin.pl">
templates/webpages/admin/dbdelete.html
1 1
[%- USE T8 %]
2 2
[%- USE LxERP %]
3 3
[%- USE HTML %]
4
<body class="admin">
5

  
6 4
  <h2>[% title %]</h2>
7 5

  
8 6
  <form method="post" action="admin.pl">
templates/webpages/admin/delete_dataset.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3
<body class="admin">
4

  
5 3
 <h2>[% title %]</h2>
6 4
 <p><a href="admin.pl?action=pg_database_administration">[% 'Back' | $T8 %]</a></p>
7 5
 <form method="post" action="admin.pl">
templates/webpages/admin/edit_user.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3 3
[%- USE L %]
4
<body class="admin">
5

  
6 4
 <script type="text/javascript" src="js/common.js"></script>
7 5
 <script type="text/javascript" src="js/jquery.js"></script>
8 6
 <script type="text/javascript">
templates/webpages/admin/list_users.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3
<body class="admin">
4

  
5 3
 <h1>[% title %]</h1>
6 4

  
7 5
 <form method="post" action="admin.pl">
templates/webpages/admin/restore_dataset.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3
<body class="admin">
4

  
5 3
  <script type='text/javascript'>
6 4
    $(function(){ document.getElementsByName('dbname')[0].focus();});
7 5
  </script>
templates/webpages/admin/restore_dataset_start_header.html
1 1
[%- USE T8 %]
2
<body class="admin">
3

  
4 2
 <h2>[% title %]</h2>
5 3

  
6 4
 <p>[%- 'The restoration process has started. Here\'s the output of the &quot;pg_restore&quot; command:' | $T8 %]</p>
templates/webpages/admin/update_dataset.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3
<body class="admin">
4

  
5 3
 <h2>[% title %]</h2>
6 4
 <p><a href="admin.pl?action=pg_database_administration">[% 'Back' | $T8 %]</a></p>
7 5
 [% IF ALL_UPDATED %]

Auch abrufbar als: Unified diff