]> Frank Brehm's Git Trees - books.git/commitdiff
Änderungen zu Sitzungseinstellungen und Optik
authorFrank Brehm <frank@brehm-online.com>
Fri, 19 Dec 2008 13:28:49 +0000 (13:28 +0000)
committerFrank Brehm <frank@brehm-online.com>
Fri, 19 Dec 2008 13:28:49 +0000 (13:28 +0000)
19 files changed:
lib/FrBr/Books.pm
lib/FrBr/Books/Controller/Books.pm
lib/FrBr/Books/Controller/Logout.pm
lib/FrBr/Books/Controller/Root.pm
lib/FrBr/Books/Controller/SessionOpts.pm [new file with mode: 0644]
root/lib/site/statusbar.tt2
root/lib/site/styles.css
root/src/autor/index.tt2
root/src/autor/list.tt2
root/src/books/index.tt2
root/src/books/list.tt2
root/src/books/styles.css
root/src/category/index.tt2
root/src/index.tt2
root/src/ort/index.tt2
root/src/serie/index.tt2
root/src/sessionopts/index.tt2 [new file with mode: 0644]
root/src/sessionopts/styles.css [new file with mode: 0644]
root/src/verlag/index.tt2

index a251562cd3a7a297ff2d289117ae5c319bea8c86..777b3baa829635113ebc0f0d44895fd58b0c6a6a 100644 (file)
@@ -215,7 +215,7 @@ sub auto : Private {
     $c->log->debug( $K . "Aktuelle Script-URL: '" . $c->stash->{'self_url'} . "'." ) if $c->stash->{'debug_level'} >= 2;
 
     # Listenlaenge festlegen
-    $c->stash->{'list_length'} = $c->session->{'list_length'} || $c->config->{'default_list_length'} || 10;
+    $c->stash->{'list_length'} = $c->session->{'list_length'} || $c->config->{'default_list_length'} || 20;
     
 
     1;
index 319473382ec165ee6b44b3b9f1103695ffd85f43..3408a3e97d8697fab39f8907a1f8c97bd63e2eb6 100644 (file)
@@ -232,7 +232,9 @@ sub form_new : Path('new') {
     }
 
     $c->stash->{'return_target_action'} = $c->session->{'return_target_new'};
-    return $self->do_save_book($c);
+    my $res = $self->do_save_book($c);
+    delete $c->session->{'book_list_page'} if $res and exists $c->session->{'book_list_page'};
+    return $res;
 
 }
 
@@ -351,6 +353,7 @@ sub delete_buch : Path('delete') {
         $c->stash->{'template'} = 'books/delete_success.tt2';
         delete $c->session->{'delete_book_id'} if exists $c->session->{'delete_book_id'};
         delete $c->session->{'book_data_edit'} if exists $c->session->{'book_data_edit'};
+        delete $c->session->{'book_list_page'} if exists $c->session->{'book_list_page'};
     }
 
 }
index 404dbaa81bc6468186bd11054b0565052e76e6fa..b7f0d73a7f3620600939d2511ab12fa1ab4162c7 100644 (file)
@@ -37,7 +37,25 @@ sub index : Private {
 
     # Ueberfluessige Sitzungsdaten weg ...
     my @Keys = qw(
+        autor_data_edit
+        book_data_edit
+        book_list_page
+        category_data_edit
+        delete_book_id
+        from_book_list
         list_length
+        ort_data_edit
+        return_target_autor_save
+        return_target_category_save
+        return_target_ort_save
+        return_target_serie_save
+        return_target_verlag_save
+        return_target_del
+        return_target_edit
+        return_target_new
+        return_target_view
+        serie_data_edit
+        verlag_data_edit
     );
     for my $key (@Keys) {
         delete $c->session->{$key} if $c->session->{$key};
index 3eb10710d9c637670ee8a4c2ba5cedb9d883db3d..9e57f1a593ce7d120be7e82f5a73944fc6177727 100644 (file)
@@ -58,7 +58,15 @@ sub end : ActionClass('RenderView') {
     my ( $self, $c ) = @_;
     my $K = __PACKAGE__ . "::end(): ";
 
-    pop @{ $c->stash->{'menu_path'} };
+    #pop @{ $c->stash->{'menu_path'} };
+    my $i = 0;
+    my $last = scalar(  @{ $c->stash->{'menu_path'} } ) - 1;
+    for my $m ( @{ $c->stash->{'menu_path'} } ) {
+        unless ( exists $m->{'show'} ) {
+            $m->{'show'} = ( $i == $last ) ? 0 : 1;
+        }
+        $i++;
+    }
     $c->log->debug( get_output_string( $K, "Menue-Pfad: ", $c->stash->{'menu_path'} ) ) if $c->stash->{'debug_level'};
 
 }
diff --git a/lib/FrBr/Books/Controller/SessionOpts.pm b/lib/FrBr/Books/Controller/SessionOpts.pm
new file mode 100644 (file)
index 0000000..5474fa6
--- /dev/null
@@ -0,0 +1,93 @@
+package FrBr::Books::Controller::SessionOpts;
+
+# $Id$
+# $URL$
+
+use strict;
+use warnings;
+use base 'Catalyst::Controller';
+use FrBr::Common;
+
+=head1 NAME
+
+FrBr::Books::Controller::SessionOpts - Catalyst Controller fuer Sitzungseinstellungen
+
+=head1 DESCRIPTION
+
+Catalyst Controller.
+
+=head1 METHODS
+
+=cut
+
+
+#-------------------------------------------------------
+
+=head2 auto
+
+=cut
+
+sub auto : Private {
+
+    my ( $self, $c ) = @_;
+    my $K = ( caller(0) )[3] . "(): ";
+
+    $c->log->debug( $K . "aufgerufen." ) if $c->stash->{'debug_level'} > 2;
+
+    $c->stash->{'menu_path'} = [] unless $c->stash->{'menu_path'};
+    push @{ $c->stash->{'menu_path'} }, {
+        'path' => $c->web_path("/sessionopts"),
+        'name' => "Sitzungseinstellungen"
+    };
+
+    $c->stash->{'cssfiles'} = [] unless $c->stash->{'cssfiles'};
+    push @{$c->stash->{'cssfiles'}}, 'sessionopts/styles.css';
+
+    1;
+
+} ## end sub auto :
+
+#-------------------------------------------------------
+
+=head2 index 
+
+=cut
+
+sub index : Private {
+
+    my ( $self, $c ) = @_;
+
+    $c->stash->{'site_title'} = "Sitzungseinstellungen";
+
+    return 1 unless $c->request->params->{'submit'};
+
+    # Listenlaenge festlegen
+    my $length = $c->request->params->{'list_length'};
+    if ( $length and to_int( $length ) ) {
+        $length = to_int( $length );
+        $length = 5 if $length < 5;
+        $length = 500 if $length > 500;
+        $c->session->{'list_length'} = $length;
+        $c->stash->{'list_length'} = $length;
+    }
+
+}
+
+#-------------------------------------------------------
+
+=head1 AUTHOR
+
+Frank Brehm
+
+=head1 LICENSE
+
+This library is free software, you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;
+
+__END__
+
+# vim: noai : ts=4 fenc=utf-8 filetype=perl expandtab :
index 7ba9d0cf6c49393234923c5d611bff978af07f2d..9d4fbe77fa05910d9209f528183c639c7c0b0df4 100644 (file)
 [%- IF login_action == 'none' -%]
     &nbsp;
 [%- ELSE -%]
-    [% tt_menu = [ ]; tt_menu.push( "<a href=\"${item.path}\">${item.name}</a>" ) FOREACH item IN menu_path %][% tt_menu.join('&nbsp;&raquo;&nbsp;') %]
+    [%- tt_menu = [ ]; %][% FOR item IN menu_path -%]
+        [%- IF item.show -%][%- tt_menu.push( "<a href=\"${item.path}\">${item.name}</a>" ) -%]
+        [%- ELSE -%][%- tt_menu.push( item.name ) -%]
+        [%- END -%]
+    [%- END -%]
+    [% tt_menu.join('&nbsp;&raquo;&nbsp;') %]
 [%- END -%]
     </td>
     <td style="text-align: right;">
index 8a74849111ad3f7941a901b3acb4b1df41fa182d..925f59af33b30732341804d401a882bbac543092 100644 (file)
@@ -177,6 +177,7 @@ TABLE.menu {
     margin-top:         20px;
     margin-bottom:      20px;
     border-spacing:     0;
+    border-collapse:    separate;
     padding:            2px;
 }
 
@@ -194,7 +195,14 @@ TABLE.menu TD {
 TABLE.menu TD.empty {
     margin:             0;
     padding:            0;
-    font-size:          6pt;
+    border-style:      none;
+}
+
+TABLE.menu TD.empty_row {
+    margin:             0;
+    padding:            0;
+    border-style:      none;
+    height:            12px;
 }
 
 TABLE.menu TD.button {
@@ -204,6 +212,23 @@ TABLE.menu TD.button {
     padding:            5px;
 }
 
+TABLE.menu TD.empty_button {
+    background-color:   [% site.col.head %];
+    border:             1px solid [% site.col.line %];
+    border-right-style:        none;
+    margin:             0;
+    padding:            0;
+    width:             10px;
+}
+
+TABLE.menu TD.vertical_row {
+    background-color:   [% site.col.head %];
+    border:             1px solid [% site.col.line %];
+    margin:             0;
+    padding:           0;
+    width:             5px;
+}
+
 
 TABLE.menu TD.item {
     background-color:   [% site.col.statusbarbg %];
index 404f02fee7f6db11918b462c532adff9f8702b20..bfaa50f5cedde9df47cc300f20b48d1f4e3dc237 100644 (file)
     <th colspan="2">Menü</th>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>
   <tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/autor/list') %]">Liste der Buchautoren</a></td>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>
   [% IF Catalyst.user_exists %]<tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/autor/new') %]">Neuer Autor</a></td>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>[% END %]
   <tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/') %]">Zurück zum Hauptmenü</a></td>
   </tr>
index 3ea09992609e4f8a7f8154ba4fac0c6772e9407e..390f2bd96a204b4a2ebcdc8b051c00d0b8f829d9 100644 (file)
@@ -42,3 +42,4 @@
 [% IF rowstyle == 'even' %][% rowstyle = 'odd'%][% ELSE %][% rowstyle = 'even' %][% END %][% END -%]
 </table></td></tr></table>
 </div>
+<br />
index 7ea1d27398de3a8c1c2e9f8d21db3beb0b8a741d..c916f02dbbac51d59bd0fed761db574b3f1b047f 100644 (file)
   <tr>
     <th colspan="2">Menü</th>
   </tr><tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr><tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/books/search') %]">Suchen ...</a></td>
   </tr><tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr><tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/books/list') %]">Bücherliste</a></td>
   </tr><tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   [% IF Catalyst.user_exists %]</tr><tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/books/new') %]">Neues Buch</a></td>
   </tr><tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>[% END %]
+    <td colspan="2" class="empty_row"></td>[% END %]
   </tr><tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/') %]">Zurück zum Hauptmenü</a></td>
   </tr>
index 543d3aa81166bced3758d54c0f55906a843f6c6c..7340d4afd3d04bba2d07138050028fc82e05ce2b 100644 (file)
@@ -55,4 +55,4 @@
 [% IF rowstyle == 'even' %][% rowstyle = 'odd'%][% ELSE %][% rowstyle = 'even' %][% END %][% END -%]
 [% PROCESS navrow %]</table></td></tr></table>
 </div>
-
+<br />
index 41f400fbb1b650c6cc8099e7a662a12de1a83346..43f1d16da89a757424a7b7352cf9de0fbb25ec68 100644 (file)
@@ -146,3 +146,14 @@ TABLE.buchliste TD.button {
   padding-right:       1em;
 }
 
+TABLE.buchliste TABLE.nav {
+    width:             100%;
+    margin:            0;
+    border-style:      none;
+}
+
+TABLE.buchliste TABLE.nav TD {
+    margin:            0;
+    border-style:      none;
+}
+
index c9e577bf4447760e67eb7a45f4d02f2d4ebc9e70..9e9e9fbcb2ea86118d770607b77b851c97925b76 100644 (file)
     <th colspan="2">Menü</th>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>
   <tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/kategorie/list') %]">Liste der Kategorien</a></td>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>
   [% IF Catalyst.user_exists %]<tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/kategorie/new') %]">Neue Kategorie</a></td>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>[% END %]
   <tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/') %]">Zurück zum Hauptmenü</a></td>
   </tr>
index 9bb2cb33ee8c04a0a97f3f35314001c85aa3b101..b194b886c88cfc0ef32c15dda731dca061fb136a 100644 (file)
@@ -1,4 +1,4 @@
-[%#
+<!-- [%#
 
     message.tt2 - Universal-Template
 
@@ -7,61 +7,84 @@
     $Id$
     $URL$
 
--%]
+%]
+
+Hauptmenü
+
+-->
+
 [%- META title = 'Willkommen in Franks Büchersammlung' -%]
+[%- rowspan_vline = 13 -%]
 
 <div style="text-align: center">
-<table class="menu" cellspacing="0">
+<table class="menu" cellspacing="0" width="525">
   <tr>
-    <th colspan="2">Menü</th>
+    <th colspan="7">Menü</th>
   </tr><tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="7" class="empty_row"></td>
   </tr><tr>
-    <td class="button">
-      &nbsp;</td>
+    <th colspan="2" width="250">Daten</th>
+    <td class="empty" width="10"></td>
+    <td class="vertical_row" rowspan="[% rowspan_vline %]">&nbsp;</td>
+    <td class="empty" width="10"></td>
+    <th colspan="2" width="250">Einstellungen</th>
+  </tr><tr>
+    <td colspan="3" class="empty_row"></td>
+    <td colspan="3" class="empty_row"></td>
+  </tr><tr>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/books') %]">Bücher</a></td>
+    <td class="empty"></td>
+    <td class="empty"></td>
+    <td class="empty_button"></td>
+    <td class="item">
+      <a href="[% path('/sessionopts') %]">Sitzung</a></td>
   </tr><tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="3" class="empty_row"></td>
+    <td colspan="3" class="empty_row"></td>
   </tr><tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/autor') %]">Autoren</a></td>
+    <td class="empty"></td>
+    <td colspan="3" class="empty"></td>
   </tr><tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="3" class="empty_row"></td>
+    <td colspan="3" class="empty_row"></td>
   </tr><tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/verlag') %]">Verlage</a></td>
+    <td class="empty"></td>
+    <td colspan="3" class="empty">&nbsp;</td>
   </tr><tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="3" class="empty_row"></td>
+    <td colspan="3" class="empty_row"></td>
   </tr><tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/kategorie') %]">Kategorien</a></td>
+    <td class="empty"></td>
+    <td colspan="3" class="empty">&nbsp;</td>
   </tr><tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="3" class="empty_row"></td>
+    <td colspan="3" class="empty_row"></td>
   </tr><tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/serie') %]">Buchserien</a></td>
+    <td class="empty"></td>
+    <td colspan="3" class="empty">&nbsp;</td>
   </tr><tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="3" class="empty_row"></td>
+    <td colspan="3" class="empty_row"></td>
   </tr><tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/ort') %]">Aufbewahrungsorte</a></td>
+    <td class="empty"></td>
+    <td colspan="3" class="empty">&nbsp;</td>
   </tr>
 </table>
 </div>
index c1255ecb3c225015dd629facf1785f5616ddaa70..1ae97e7d3e8469c8d414d8c751c8bd7fa923636e 100644 (file)
     <th colspan="2">Menü</th>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>
   <tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/ort/list') %]">Liste der Aufbewahrungsorte</a></td>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>
   [% IF Catalyst.user_exists %]<tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/ort/new') %]">Neuer Aufbewahrungsort</a></td>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>[% END %]
   <tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/') %]">Zurück zum Hauptmenü</a></td>
   </tr>
index c6ba3475756ba176405b54d976dce35f5a715ba9..4576820bbb5ee7932ced3259bc69e27109333db1 100644 (file)
     <th colspan="2">Menü</th>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>
   <tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/serie/list') %]">Liste der Buchserien</a></td>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>
   [% IF Catalyst.user_exists %]<tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/serie/new') %]">Neue Buchserie</a></td>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>[% END %]
   <tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/') %]">Zurück zum Hauptmenü</a></td>
   </tr>
diff --git a/root/src/sessionopts/index.tt2 b/root/src/sessionopts/index.tt2
new file mode 100644 (file)
index 0000000..0bdc1a8
--- /dev/null
@@ -0,0 +1,48 @@
+<!-- [%#
+
+    Template zur Darstellung des Formulars für Sitzungseinstellungen
+
+    vim: noai : ts=4 fenc=utf-8 filetype=html expandtab :
+
+    $Id$
+    $URL$
+
+-%]
+
+Formulars für Sitzungseinstellungen -->
+
+[%- META title = 'Sitzungseinstellungen' -%]
+[%- entries = [ 5, 10, 20, 50, 100, 200, 500 ] -%]
+
+<div class="center">
+
+<form method="post" action="[% self_url %]">
+  <table class="sessionopts" cellspacing="0">
+    <tr>
+      <th colspan="2" class="title">Sitzungseinstellungen</th>
+    </tr><tr>
+      <td colspan="2" class="empty"></td>
+    </tr><tr>
+      <th>Maximale Listenlänge:</th>
+      <td><select name="list_length" size="1">
+        [% FOR e IN entries %]<option class="number" value="[% e %]"[% IF e == list_length %] selected[% END %]>[% e %]</option>[% END %]
+        </select></td>
+    </tr><tr>
+      <td colspan="2" class="empty"></td>
+    </tr><tr>
+      <th colspan="2" class="button"><input type="submit" name="submit" value="OK" /></th>
+    </tr>
+  </table>
+</form>
+[%- IF error_msg %]
+<div class="error">
+<span class="bold">Fehler:</span>&nbsp;[% error_msg %]
+</div>
+[% END %]
+<div class="back">
+<h2><a href="[% path('/') %]">Zurück</a></h2>
+</div>
+
+</div>
+
+<br />
diff --git a/root/src/sessionopts/styles.css b/root/src/sessionopts/styles.css
new file mode 100644 (file)
index 0000000..cea9043
--- /dev/null
@@ -0,0 +1,97 @@
+/* [%#
+   # Template fuer Stylesheets Login-Formular
+   #
+   # $Id$
+   # $URL$
+   #
+-%]
+
+Stylesheets Autoren */
+
+DIV.center {
+  margin:               auto;
+  text-align:           center;
+  width:                auto;
+}
+
+TABLE.wrapper {
+  border-spacing:       0;
+  margin:               auto;
+}
+
+TABLE.wrapper TH {
+  text-align:           center;
+  font-size:            1.2em;
+}
+
+TABLE.wrapper TD {
+  text-align:           left;
+}
+
+TABLE.wrapper TD.action {
+  font-weight:          bolder;
+  padding-top:          1em;
+  padding-bottom:       1em;
+}
+
+TABLE.sessionopts {
+  border-width:                2px;
+  border-style:                solid;
+  border-top-color:     [% site.col.tab_rahmen_hell %];
+  border-left-color:    [% site.col.tab_rahmen_hell %];
+  border-right-color:  [% site.col.tab_rahmen_dkl %];
+  border-bottom-color:  [% site.col.tab_rahmen_dkl %];  
+  border-collapse:     separate;
+  border-spacing:      0;
+  margin:              auto;
+}
+
+TABLE.sessionopts TH {
+  vertical-align:      top;
+  text-align:          left; 
+  font-size:            1em;
+  padding:             2px;
+  border-width:                1px;
+  border-style:                solid;
+  border-top-color:     [% site.col.tab_rahmen_dkl %];
+  border-left-color:    [% site.col.tab_rahmen_dkl %];
+  border-right-color:  [% site.col.tab_rahmen_hell %];
+  border-bottom-color:  [% site.col.tab_rahmen_hell %];  
+  background-color:    [% site.col.list_head %];
+}
+
+TABLE.sessionopts TD {
+  vertical-align:      top;
+  font-size:            1em;
+  padding:             2px;
+  border-width:                1px;
+  border-style:                solid;
+  border-top-color:     [% site.col.tab_rahmen_dkl %];
+  border-left-color:    [% site.col.tab_rahmen_dkl %];
+  border-right-color:  [% site.col.tab_rahmen_hell %];
+  border-bottom-color:  [% site.col.tab_rahmen_hell %];  
+  background-color:    [% site.col.list_row_bold %];
+}
+
+TABLE.sessionopts OPTION.number {
+  text-align:          right;
+}
+
+TABLE.sessionopts TD.empty {
+  height:              3px;
+}
+
+TABLE.sessionopts TH.button {
+  font-weight:          bolder;
+  text-align:           center;
+  padding-left:         1em;
+  padding-right:        1em;
+}
+
+TABLE.sessionopts TH.button INPUT {
+  font-weight:          bolder;
+  font-size:           1.2em;
+  padding-left:         2em;
+  padding-right:        2em;
+}
+
index a72dc7c1345e01cd5a66501f812bbe6bc772c111..5ae0be447732b038c1ffe45c2ad94a4d8806993f 100644 (file)
     <th colspan="2">Menü</th>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>
   <tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/verlag/list') %]">Liste der Verlage</a></td>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>
   [% IF Catalyst.user_exists %]<tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/verlag/new') %]">Neuer Verlag</a></td>
   </tr>
   <tr>
-    <td colspan="2" class="empty">
-      &nbsp;</td>
+    <td colspan="2" class="empty_row"></td>
   </tr>[% END %]
   <tr>
-    <td class="button">
-      &nbsp;</td>
+    <td class="empty_button"></td>
     <td class="item">
       <a href="[% path('/') %]">Zurück zum Hauptmenü</a></td>
   </tr>