Skip to content
Snippets Groups Projects
Commit c79e805d authored by Tim Repke's avatar Tim Repke
Browse files

fixed anmeldung view im adminpanel

parent 36496900
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,9 @@ function page_stuff() ...@@ -12,8 +12,9 @@ function page_stuff()
function page_front(){ function page_front(){
global $text, $config_baseurl, $config_current_fahrt_id; global $text, $config_baseurl, $config_current_fahrt_id;
$text .= '<style>#admin-content{padding:0}</style>';
$text .= '<a href="'.$config_baseurl.'?fid='.$config_current_fahrt_id.'">'.$config_baseurl.'?fid='.$config_current_fahrt_id.'</a><br />'; $text .= '<a href="'.$config_baseurl.'?fid='.$config_current_fahrt_id.'">'.$config_baseurl.'?fid='.$config_current_fahrt_id.'</a><br />';
$text .= '<iframe src="'.$config_baseurl.'?fid='.$config_current_fahrt_id.'" style="height:100%; width:100%;"></iframe>'; $text .= '<iframe src="'.$config_baseurl.'?fid='.$config_current_fahrt_id.'" style="height:90vh; width:100%; position: absolute; border:0;"></iframe>';
} }
function page_list(){ function page_list(){
......
...@@ -4,7 +4,7 @@ $config_verbose_level = 0; // 0 = nothing, 1 = important, 2 = somewhat important ...@@ -4,7 +4,7 @@ $config_verbose_level = 0; // 0 = nothing, 1 = important, 2 = somewhat important
$config_admin_verbose_level = 0; $config_admin_verbose_level = 0;
// URL where site is hosted with trailing slash // URL where site is hosted with trailing slash
$config_baseurl = "localhost/fsfahrt"; //"http://fsfahrt.repke.eu/anmeldung/registration-system/"; $config_baseurl = "http://localhost/fsfahrt"; //"http://fsfahrt.repke.eu/anmeldung/registration-system/";
// absolute path to doc root withOUT trailing slash // absolute path to doc root withOUT trailing slash
$config_basepath = __DIR__; //"/var/www/vhosts/fsfahrt.repke.eu/httpdocs/anmeldung/registration-system"; $config_basepath = __DIR__; //"/var/www/vhosts/fsfahrt.repke.eu/httpdocs/anmeldung/registration-system";
......
...@@ -6,7 +6,6 @@ html,body { ...@@ -6,7 +6,6 @@ html,body {
height:100% height:100%
} }
body{ body{
margin-top: 40px;
height:100%; height:100%;
} }
...@@ -42,15 +41,14 @@ table { ...@@ -42,15 +41,14 @@ table {
} }
#admin-content{ #admin-content{
left: 0;
right: 0;
bottom: 0;
height: auto; height: auto;
position: relative; position: absolute;
/*width: 100%;*/ width: auto;
top: 0; left:0; right:0;
top: 40px; bottom: 0;
display: block; display: block;
margin: 0; margin: 0;
padding: 0 10px;
} }
#logout{ #logout{
float:right; float:right;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment