Added basic structure for template

This commit is contained in:
Christian Wolf 2025-02-26 16:43:13 +01:00
parent f09aaba6d7
commit 0601798cfb
4 changed files with 73 additions and 0 deletions

View File

View File

0
template/src/index.html Normal file
View File

73
template/src/index.php Normal file
View File

@ -0,0 +1,73 @@
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
// Add Stylesheets
JHtml::_('stylesheet', 'templates/system/css/system.css', array('version' => 'auto', 'relative' => false));
JHtml::_('stylesheet', 'templates/system/css/general.css', array('version' => 'auto', 'relative' => false));
JHtml::_('stylesheet', 'main.css', array('version' => 'auto', 'relative' => true));
$doc = JFactory::getDocument();
$doc->addStyleSheet($this->baseurl.'/media/jui/css/icomoon.css');
// Check for a custom CSS file
JHtml::_('stylesheet', 'user.css', array('version' => 'auto', 'relative' => true));
// Check for a custom js file
JHtml::_('script', 'user.js', array('version' => 'auto', 'relative' => true));
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id='header'>
<div class='image_row'>
<div class='siderow'>
<div class='spacer'></div>
<div class='border'></div>
</div>
<div>
<a href='<?php echo JURI::base(); ?>'>
<img src='<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/images/logo.png' alt='Logo Zwergenland'>
</a>
</div>
<div class='siderow'>
<div class='spacer'></div>
<div class='border'></div>
</div>
</div>
<div class='title_row'>
<a href='<?php echo JURI::base(); ?>'><span class='title'>KINDERTAGESST&Auml;TTE</span><br /><span class='name'> ZWERGENLAND</span></a>
</div>
</div>
<div id='topmenu'>
<jdoc:include type="modules" name="topmenu" />
</div>
<div id='main_row'>
<div id='left_column'>
<jdoc:include type="modules" name="sidemenu" />
</div>
<div id='main'>
<jdoc:include type="component" />
</div>
</div>
<div id='bottommenu'>
<div id='impressum'>
<jdoc:include type="modules" name="impressum" />
</div>
<div id='copyright'>
<jdoc:include type="modules" name="copyright" />
</div>
</div>
</body>
</html>