fixed background image

This commit is contained in:
messerbill 2013-05-02 14:26:13 +02:00
parent bd7fbc5734
commit 3ed8070194
10 changed files with 30 additions and 19 deletions

View File

@ -18,4 +18,8 @@ class PageApi extends \SYSTEM\PAGE\PageClass {
return new default_page();
}
public static function action_prices(){
return new prices();
}
}

View File

@ -11,8 +11,8 @@
<body style="background: #6699FF;">
<div style="width: 900px; margin-right: auto; margin-left: auto;"><img src="danube/page/default_page/pics/css/font.png" /></div>
<div class="hero-unit" style=" border: 1px solid black; border-top: 0px solid black; box-shadow: 5px 5px 3px; background: url(danube/page/default_page/pics/css/verlauf_header.png); width: 934px; padding: 0px; margin: 0; margin-bottom: 15px; padding-bottom: -10px; margin-left: auto; margin-right: auto; margin-top: -2px;">
<div class="hero-unit" style="background: url(danube/page/default_page/pics/css/verlauf_header.png); margin: 0; padding: 0; border-top-left-radius: 5px; border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 0; -webkit-border-bottom-left-radius: 0; -moz-border-bottom-left-radius: 0; -moz-border-bottom-right-radius: 0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;">
<div class="hero-unit" style=" border: 1px solid black; border-top: 0px solid black; box-shadow: 5px 5px 3px; background: url(danube/page/default_page/pics/css/verlauf_bg.png); width: 934px; padding: 0px; margin: 0; margin-bottom: 15px; padding-bottom: -10px; margin-left: auto; margin-right: auto; margin-top: -2px;">
<div class="hero-unit" style="background: url(danube/page/default_page/pics/css/verlauf_bg.png); margin: 0; padding: 0; border-top-left-radius: 5px; border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 0; -webkit-border-bottom-left-radius: 0; -moz-border-bottom-left-radius: 0; -moz-border-bottom-right-radius: 0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;">
<!-- <div class="hero-unit" style=" height: 700px; margin-top: 0px; padding: 0;">
<div class="hero-unit" style=" margin-top: 0px; padding:7px; height: 200;">
@ -20,7 +20,7 @@
</div>-->
<div id="danube_menu" class="navbar navbar-inverse" style="height: 32px; ">
<div class="navbar-inner" style="border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; background: url(danube/page/default_page/pics/css/verlauf_header.png); ">
<div class="navbar-inner" style="border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; background: url(danube/page/default_page/pics/css/verlauf_bg.png); ">
<div class="1container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
@ -30,10 +30,9 @@
<a class="brand" href="#">${menu_home}</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="#" class="filter" url="?action=test"><i class="android-ic_action_book"></i> ${info}</a></li>
<li class="active"><a href="#">${menu_prices}</a></li>
<li><a href="#" onclick="javascript:loadcontent()" url="?action=googlemaps">${menu_contact}</a></li>
<li><a href="#">${menu_gallery}</a></li>
<li class="active"><a href="#" url="?action=prices">${menu_prices}</a></li>
<li><a href="#" url="?action=googlemaps">${menu_contact}</a></li>
<li><a href="#">${menu_gallery}</a></li>
</ul>
@ -73,7 +72,7 @@
</div>
</div>
<div class="hero-unit" style="background: url(danube/page/default_page/pics/css/verlauf_footer.png)no-repeat; text-align: right; font-size: 75%; color: grey; height: 25px; padding: 0; margin: 0; border-top-left-radius: 0; border-top-right-radius: 0; padding-bottom: 3px; padding-right: 3px;">
<div class="hero-unit" style="background: url(danube/page/default_page/pics/css/verlauf_bg.png)no-repeat; text-align: right; font-size: 75%; color: grey; height: 25px; padding: 0; margin: 0; border-top-left-radius: 0; border-top-right-radius: 0; padding-bottom: 3px; padding-right: 3px;">
WebCraft Media
</div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 187 KiB

View File

@ -1,3 +1,3 @@
<div id="site-content"></div>
hallo ${content};
<div>
${content}
</div>

View File

@ -6,18 +6,12 @@ $(document).ready(function() {
});
});
function loadcontent()
{
//alert("test");
$("#site-content").load("http://mojotrollz.eu/web/danube/danube/page/googlemaps/googlemaps.tpl");
}
function loadAjaxContent(url) {
var dataTmp;
$.get(url, function (data) {
dataTmp = data;
bodyelem = $("html,body");
bodyelem.animate({scrollTop: 0});
bodyelem.animate();
}).complete(function() {
$('#site-content-wrapper').slideUp({duration: 'slow',
complete: function(){
@ -26,4 +20,4 @@ function loadAjaxContent(url) {
site_content_is_visible = true;
}});
});
}
}

View File

@ -0,0 +1 @@
<div>${content};</div>

View File

@ -0,0 +1,9 @@
<?php
class prices extends SYSTEM\PAGE\Page {
public function html(){
$vars = array();
$vars['content'] = 'Preise:';
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'prices/prices.tpl'), $vars);
}
}

View File

@ -0,0 +1,3 @@
<div>
${content}
</div>

View File

@ -4,4 +4,5 @@ $autoload = SYSTEM\autoload::getInstance();
$autoload->registerFolder(dirname(__FILE__),'');
$autoload->registerFolder(dirname(__FILE__).'/default_page','');
$autoload->registerFolder(dirname(__FILE__).'/googlemaps','');
$autoload->registerFolder(dirname(__FILE__).'/googlemaps','');
$autoload->registerFolder(dirname(__FILE__).'/prices','');