summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-12-29 23:45:23 +0100
committerDaniel Friesel <derf@finalrewind.org>2017-12-29 23:45:23 +0100
commit5a6120e54e8ed6406f4d5a7a43e44ef1aff21f12 (patch)
treecb18cc4a1ac9a3b304470f2e1195000fa03874fe /index.pl
parentab94c51e92e8b5cb29b1c63cdd6781bd5e258b12 (diff)
add missing adjustments for dark layout
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index 079c8c9..76e38c0 100644
--- a/index.pl
+++ b/index.pl
@@ -316,8 +316,10 @@ sub handle_request {
my $hide_low_delay = $self->param('hidelowdelay') // 0;
my $hide_opts = $self->param('hide_opts') // 0;
my $show_realtime = $self->param('show_realtime') // 0;
+ my $show_details = $self->param('detailed') // 0;
my $backend = $self->param('backend') // 'iris';
my $admode = $self->param('admode') // 'deparr';
+ my $dark_layout = $self->param('dark') // 0;
my $apiver = $self->param('version') // 0;
my $callback = $self->param('callback');
my $with_related = !$self->param('no_related');
@@ -337,6 +339,8 @@ sub handle_request {
$self->session( hide_opts => $hide_opts );
$self->session( show_realtime => $show_realtime );
$self->session( admode => $admode );
+ $self->session( dark => $dark_layout );
+ $self->session( detailed => $show_details );
$self->session( no_related => !$with_related );
}