]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Controller/Layout/Admin.pm
<body class=admin> auf Admin Layout umgeschrieben.
[kivitendo-erp.git] / SL / Controller / Layout / Admin.pm
diff --git a/SL/Controller/Layout/Admin.pm b/SL/Controller/Layout/Admin.pm
new file mode 100644 (file)
index 0000000..9d8f30c
--- /dev/null
@@ -0,0 +1,26 @@
+package SL::Controller::Layout::Admin;
+
+use strict;
+use parent qw(SL::Controller::Layout::Base);
+
+sub new {
+  my ($class, @slurp) = @_;
+
+  my $self = $class->SUPER::new(@slurp);
+
+  $self->add_sub_layouts([
+    SL::Controller::Layout::None->new,
+  ]);
+
+  $self;
+}
+
+sub start_content {
+  "<div id='admin' class='admin'>\n";
+}
+
+sub end_content {
+  "</div>\n";
+}
+
+1;