added base plugin
This commit is contained in:
parent
fcad3b07f1
commit
193bfd2247
5 changed files with 23 additions and 26 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
config/admin.ini
|
config/admin.ini
|
||||||
config/database.config.ini
|
config/database.config.ini
|
||||||
|
public/img/header
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
this is my site
|
<?php if($this->header_image): ?>
|
||||||
|
<img id="header_image" src="<?php echo $this->base ?>/img/header/<?php echo $this->header_image ?>" alt="">
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
Title (<?php echo $this->title; ?>)
|
<h1><?php echo $this->title ?></h1>
|
||||||
|
<?php if($this->subtitle): ?>
|
||||||
|
<h2><?php echo $this->subtitle ?></h2>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
<?php echo $this->content ?>
|
||||||
|
</div>
|
||||||
|
|
|
@ -59,20 +59,7 @@
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<article id="stage">
|
<article id="stage">
|
||||||
|
<?php echo $this->stageContent ?>
|
||||||
<?php if($this->headerImage): ?>
|
|
||||||
<img id="header_image" src="<?php echo $this->headerImage ?>" alt="">
|
|
||||||
<?php endif ?>
|
|
||||||
|
|
||||||
<h1><?php echo Navigation::getTitle(); ?></h1>
|
|
||||||
<?php if(Navigation::getSubtitle()): ?>
|
|
||||||
<h2><?php echo Navigation::getSubtitle(); ?></h2>
|
|
||||||
<?php endif ?>
|
|
||||||
|
|
||||||
<div id="content">
|
|
||||||
<?php echo $this->stageContent ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
|
8
library/DidgeridooArtwork/Page/Plugin/Base.php
Normal file
8
library/DidgeridooArtwork/Page/Plugin/Base.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
class DidgeridooArtwork_Page_Plugin_Base extends DidgeridooArtwork_Page_Plugin_Abstract
|
||||||
|
{
|
||||||
|
public function render($params)
|
||||||
|
{
|
||||||
|
return $this->_view->base;
|
||||||
|
}
|
||||||
|
}
|
|
@ -4,7 +4,6 @@ html, body {
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: white;
|
background: white;
|
||||||
|
|
||||||
font-family: "Trebuchet MS", "Lucida Grande", verdana, arial, georgia;
|
font-family: "Trebuchet MS", "Lucida Grande", verdana, arial, georgia;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -38,6 +37,8 @@ h2 + h3 {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img { max-width: 100%; }
|
||||||
|
|
||||||
#container {
|
#container {
|
||||||
min-width: 750px;
|
min-width: 750px;
|
||||||
max-width: 1100px;
|
max-width: 1100px;
|
||||||
|
@ -138,15 +139,6 @@ h2 + h3 {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#stage img {
|
|
||||||
border: 1px solid #888;
|
|
||||||
background-color: white;
|
|
||||||
padding: 5px;
|
|
||||||
margin: 0 0 1em 1em;
|
|
||||||
float: right;
|
|
||||||
border-radius: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#angebote {
|
#angebote {
|
||||||
float: right;
|
float: right;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue