rhein new design

This commit is contained in:
Ulf Gebhardt 2014-06-03 01:25:58 +02:00
parent 93feb714f3
commit a95cf0dfe3
4 changed files with 44 additions and 28 deletions

View File

@ -5,7 +5,7 @@ $(document).ready(function() {
$(this).addClass('aktmenulink');
$(this).parent().addClass('aktmenuitem');
page = $(this).attr('page');
$('#content').load('http://fewo-rhein-zwbg.de/index.php?page='+page,function(){
$('#content').load('http://www.fewo-rhein-zwbg.de/index.php?page='+page,function(){
if(page === 'anreise'){
drawmap();}
if(page === 'wohnung'){
@ -28,7 +28,7 @@ function register_anfrage(){
$('#message_fail').show();
} else {
$.ajax({
url: 'http://fewo-rhein-zwbg.de/api.php?call=anfrage',
url: 'http://www.fewo-rhein-zwbg.de/api.php?call=anfrage',
type: 'GET',
data: { name : name,
telefon : telefon,

View File

@ -18,6 +18,7 @@ class default_page extends SYSTEM\PAGE\Page {
$vars = array();
$vars['js'] = self::js();
$vars['css'] = self::css();
$vars['default_gallery'] = saimod_webcraft_gallery::getGalleryGalleria(3);
$vars = array_merge($vars, \SYSTEM\locale::getStrings(\DBD\locale_string::CATEGORY_RHEIN_TEXT));
$vars = array_merge($vars, \SYSTEM\locale::getStrings(\DBD\locale_string::CATEGORY_RHEIN_OTHER));
return \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PPAGE(),'default_page/rhein.tpl'), $vars);

View File

@ -1,12 +1,8 @@
#mainbox {
min-height: 550px;
border-color: #d3d5d9;
border-style: solid;
border-width: 1px;
width: 750px;
margin: 0 auto;
padding: 0;
background-color: #e1dd99;
}
#menu {
@ -20,10 +16,17 @@
clear: both;
width: 750px;
margin: 0 auto;
padding-top: 5px;
}
#copyright {
float: left;
margin-left: 162px;
color: white;
}
#copyright a {
color: white;
}
#info {
@ -32,19 +35,26 @@
}
body {
background-color: #efeee8;
background-color: #FFF;
font-size: 13px;
font-family: Arial, Verdana, SunSans-Regular, Sans-Serif;
font-family: Georgia, "Times New Roman", Times, serif;
font-family: Arial, serif;
color: #000000;
height: 100%;
background: url(http://www.fewo-rhein-zwbg.de/api.php?call=files&cat=gallery&id=HPIM0049.JPG) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
#inhalt {
margin: 0 0 0 156px;
background-color: #f9f7e2;
padding: 15px 5px 20px 10px;
background-color: #FFF;
padding: 5px 15px 20px 15px;
min-height: 470px;
opacity: 0.95;
border-radius: 4px;
box-shadow: 3px 3px 3px #000;
}
#content {
@ -71,10 +81,10 @@ a {
}
.menulink {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 10px;
//font-family: Georgia, "Times New Roman", Times, serif;
font-size: 12px;
font-weight: bold;
color: #000000;
color: #FFF;
text-decoration: none;
display: block;
padding: 2px 0 1px 10px;
@ -82,23 +92,27 @@ a {
}
.menulink:hover {
background-color: #cac15d;
//background-color: #cac15d;
background-color: #FFF;
opacity: 0.7;
color: green;
}
.aktmenuitem {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #FFFFFF;
background-color: #FFF;
opacity: 0.8;
}
.aktmenuitem:hover {
}
.aktmenulink {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 10px;
font-size: 12px;
font-weight: bold;
color: #FF6600;
color: green;
text-decoration: none;
display: block;
padding: 2px 0 1px 10px;
@ -106,19 +120,21 @@ a {
}
.aktmenulink:hover {
background-color: #cac15d;
color: green;
}
#abovemenu {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #f9f7e2;
height: 15px;
}
#stichworte {
clear: both;
width: 750px;
margin: 0 auto;
display: none;
}
.galleria-container {

View File

@ -3,7 +3,7 @@
<head>
<link rel="shortcut icon" href="./api.php?call=files&cat=page&id=favico.gif" />
<title>${rhein_other_title}</title>
<meta name="author" content="Ulf Gebhardt" /> <!-- TODO ${x}-->
<meta name="author" content="Webcraft Media" /> <!-- TODO ${x}-->
<meta name="description" content="Heini's H&uuml;tte" /> <!-- TODO ${x}-->
<meta name="date" content="2008-2-2" /> <!-- TODO ${x}-->
<meta name="keywords" lang="de" content="Ferienwohnung, Wanderunterkunft, Pension, Zwingenberg, Bergstra&szlig;e" /> <!-- TODO ${x}-->
@ -11,13 +11,6 @@
${js}
${css}
<style type="text/css">
#header {
height: 80px;
background: url(./api.php?call=files&cat=page&id=header5.jpg) no-repeat;
text-align: center;
color: #FFFFFF;
}
#header_title {
height: 80px;
background: url(./api.php?call=files&cat=page&id=header_title4.gif) no-repeat;
@ -40,7 +33,13 @@
<div class="menuitem"><a class="menulink" href="#" page="agbs">AGBs</a></div>
</div>
<div id="inhalt">
<div id="content">${rhein_main}</div>
<div id="content">
${rhein_welcome}
<div id="galleria" style="border-radius: 5px; height: 500px;">
${default_gallery}
</div>
${rhein_main}
</div>
</div>
</div>
<div id="footer">