fixed footer and css

This commit is contained in:
jeena 2013-07-10 14:50:19 +02:00
parent 193bfd2247
commit 1177167a65
5 changed files with 103 additions and 161 deletions

View file

@ -1,51 +1,47 @@
<div id="admin">
<h3>Page bearbeiten</h3>
<form action="<?php echo $this->base ?>/adminPage/save"method="post">
<input type="hidden" name="id" value="<?php echo $this->page['id'] ?>" />
<dl>
<dt>Aktiv</dt>
<dd>
<input type="checkbox" name="active" <?php if($this->page['active']) echo 'checked="checked"' ?> />
</dd>
</dl>
<dl>
<dt>Titel</dt>
<dd>
<input class="textfield" type="text" name="title" value="<?php echo $this->page['title'] ?>"/>
</dd>
</dl>
<dl>
<dt>Untertitel</dt>
<dd>
<input class="textfield" type="text" name="subtitle" value="<?php echo $this->page['subtitle'] ?>"/>
</dd>
</dl>
<dl>
<dt>Url</dt>
<dd>
<input class="textfield" type="text" name="url" value="<?php echo $this->page['url'] ?>"/>
</dd>
</dl>
<dl>
<dt>Headerbild</dt>
<dd>
<input class="textfield" type="text" name="header_image" value="<?php echo $this->page['header_image'] ?>"/>
<a href="javascript: void(0);" onclick="window.open('/adminPage/image/type/header', 'fenster1', 'width=600,height=400,status=yes,scrollbars=yes,resizable=yes');">Auswählen</a>
</dd>
</dl>
<dl>
<dt>Inhalt</dt>
<dd>
<!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded -->
<div>
<textarea id="content" name="content" rows="15" cols="80" style="width: 500px"><?php echo htmlentities($this->page['content']) ?></textarea>
</div>
</dd>
</dl>
<p>
<input type="submit" name="save" value="speichern" />
</p>
<form action="<?php echo $this->base ?>/adminPage/save" method="post">
<div style="display: none"><input type="hidden" name="id" value="<?php echo $this->page['id'] ?>" /></div>
<dl>
<dt>Aktiv</dt>
<dd>
<input type="checkbox" name="active" <?php if($this->page['active']) echo 'checked="checked"' ?> />
</dd>
</dl>
<dl>
<dt>Titel</dt>
<dd>
<input class="textfield" type="text" name="title" value="<?php echo $this->page['title'] ?>"/>
</dd>
</dl>
<dl>
<dt>Untertitel</dt>
<dd>
<input class="textfield" type="text" name="subtitle" value="<?php echo $this->page['subtitle'] ?>"/>
</dd>
</dl>
<dl>
<dt>Url</dt>
<dd>
<input class="textfield" type="text" name="url" value="<?php echo $this->page['url'] ?>"/>
</dd>
</dl>
<dl>
<dt>Headerbild</dt>
<dd>
<input class="textfield" type="text" name="header_image" value="<?php echo $this->page['header_image'] ?>"/>
<a href="javascript: void(0);" onclick="window.open('/adminPage/image/type/header', 'fenster1', 'width=600,height=400,status=yes,scrollbars=yes,resizable=yes');">Auswählen</a>
</dd>
</dl>
<dl>
<dt>Inhalt</dt>
<dd>
<textarea id="content" name="content" rows="15" cols="80"><?php echo htmlentities($this->page['content']) ?></textarea>
</dd>
</dl>
<p>
<input type="submit" name="save" value="speichern" />
</p>
</form>
</div>

View file

@ -18,7 +18,7 @@
<meta name="Description" content="" />
<meta name="keywords" content="" />
</head>
<body>
<body<?php if(Access::isLogged()): ?> class="admin"<?php endif ?>>
<div id="container">
<header>
@ -63,6 +63,11 @@
</article>
<footer>
<p id="social">
<a href="https://www.facebook.com/pages/Naturheilpraxis-SEINHEIT/190046497711632">
<img src="<?php echo $this->base ?>/img/facebook-icon.png" alt="SEINHEIT bei Facebook">
</a>
</p>
<p>Naturheilpraxis SEINHEIT. Kinga Pannek, Bahnhofstraße 105, 8620 Wetzikon, Schweiz</p>
</footer>

View file

@ -1,8 +0,0 @@
<?php
class DidgeridooArtwork_Page_Plugin_Base extends DidgeridooArtwork_Page_Plugin_Abstract
{
public function render($params)
{
return $this->_view->base;
}
}

View file

@ -1,3 +1,7 @@
body.admin footer {
margin-bottom: 4em;
}
#adminNavigation {
font-family: verdana;
background: #90CB93;
@ -42,12 +46,6 @@
background: #216849;
}
#stage img {
background-color: transparent;
border: none;
}
#admin dd {
font-size: 1em;
line-height: 1.6em;
@ -66,6 +64,13 @@ input, textarea {
padding: 2px;
}
textarea {
width: 90% !important;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#admin dl {
margin: 15px 0;
}
@ -120,31 +125,3 @@ textarea {
width: 650px;
height: 350px;
}
.smallnavigate {
width: 155px;
float: right;
}
.smallnavigate a {
text-decoration: none;
color: #EF871F;
font-size: 12pt;
}
.smallnavigate span {
line-height: 23px;
}
.smallnavigate a:hover {
text-decoration: underline;
}
.smallnavigate img {
height: 23px;
widht: 14px;
}
.box {
width: 200px;
float: left;
margin-left: 25px;
text-align: center;
margin-top: 20px;
}

View file

@ -83,78 +83,6 @@ img { max-width: 100%; }
#stage {
border-top: 5px solid #90cb93;
padding: 50px 0px;
background: url("/img/background.gif") no-repeat center 110px ;
min-height: 510px;
}
#imagearea {
margin: 0px 0 260px;
clear: both;
}
#imagearea #titleimage {
border-top: 10px solid #216f85;
padding-top: 35%;
background-image: url("file://localhost/Users/karlpannek/Dropbox/Kinga%20Praxis%20Fotos/Originale/AR8R8369.JPG");
background-size: 1100px;
background-size: cover;
}
#imagearea #imagelist {
padding: 0;
}
#imagearea #imagelist li {
list-style-type: none;
display: block;
float: left;
width: 350px;
height: 200px;
border: 0px solid black;
margin-right: 5px;
background-size: 342px;
background-size: cover;
}
#imagearea #imagelist li p {
background-color: #90cb93;
height: 20px;
margin: 0;
padding: 10px;
text-align: center;
color: white;
}
#imagearea .testimonial {
background-color: #216f85;
margin-right: 0;
}
#imagearea .testimonial blockquote {
padding: 35px;
color: white;
background-color: transparent;
height: auto;
font-style: italic;
font-size: 1.2em;
}
#angebote {
float: right;
text-align: right;
}
#angebote a {
border: 0;
background: none;
margin: 10px 0 10px 10px;
float: left;
}
#angebote a img {
border: 0;
background: white;
border: 1px solid #aaa;
}
p.diagramm {
@ -165,3 +93,47 @@ p.diagramm {
#stage p.diagramm img {
float: none;
}
footer {
clear: both;
border-top: 3px solid #90CB93;
}
footer #social {
float: right;
margin-top: 10px;
}
.col3 .box {
width: 33%;
display: inline-block;
}
.box {
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
vertical-align: middle;
}
.box h2 {
background: #90CB93;
color: white;
font-size: 1em;
padding: 0.5em;
}
.box h2 a {
text-decoration: none;
color: white;
}
.box.cite {
background: #216f85;
color: white;
padding: 2em;
text-align: center;
font-style: italic;
font-weight: bold;
font-size: 1.9em;
}