mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 10:44:55 +02:00
First public release of MyAAC
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{extends "page.tpl"}
|
||||
|
||||
{block "title"}
|
||||
Welcome to Dwoo-ed CodeIgniter
|
||||
{/block}
|
||||
|
||||
{block "content"}
|
||||
<h1>Welcome to Dwoo-ed CodeIgniter!</h1>
|
||||
|
||||
<p>The page you are looking at is being generated dynamically by <b>CodeIgniter</b> in combination with the 'Smarty-killer' <b>Dwoo</b> template engine.
|
||||
The page is rendered at {$itshowlate} by the Dwoo_compiler.</p>
|
||||
|
||||
<p>If you would like to edit this page you'll find it located at:</p>
|
||||
<code>application/views/dwoowelcome.tpl</code>
|
||||
|
||||
<p>The corresponding controller for this page is found at:</p>
|
||||
<code>application/controllers/dwoowelcome.php</code>
|
||||
|
||||
<p>The library for Dwoo integration can be found at:</p>
|
||||
<code>application/libraries/Dwootemplate.php</code>
|
||||
|
||||
<p>If you are exploring Dwoo for the very first time, you should start by reading the {anchor uri='http://dwoo.org/' title='Dwoo website'}.</p>
|
||||
<p>If you are exploring CodeIgniter for the very first time, you should start by reading the {anchor uri='http://codeigniter.com/user_guide/' title='User Guide'}.</p>
|
||||
|
||||
<pre>
|
||||
<b>Usage</b>:
|
||||
$this->load->library('Dwootemplate');
|
||||
$this->dwootemplate->assign('test', 'test');
|
||||
$this->dwootemplate->display('dwoowelcome.tpl');
|
||||
</pre>
|
||||
{/block}
|
57
system/libs/dwoo/Dwoo/Adapters/CodeIgniter/views/page.tpl
Normal file
57
system/libs/dwoo/Dwoo/Adapters/CodeIgniter/views/page.tpl
Normal file
@@ -0,0 +1,57 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>{block "title"}Here come the title{/block}</title>
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 40px;
|
||||
font-family: Lucida Grande, Verdana, Sans-serif;
|
||||
font-size: 14px;
|
||||
color: #4F5155;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #003399;
|
||||
background-color: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #444;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #D0D0D0;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin: 24px 0 2px 0;
|
||||
padding: 5px 0 6px 0;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Monaco, Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #D0D0D0;
|
||||
color: #002166;
|
||||
display: block;
|
||||
margin: 14px 0 14px 0;
|
||||
padding: 12px 10px 12px 10px;
|
||||
}
|
||||
|
||||
pre {
|
||||
font-family: Monaco, Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #D0D0D0;
|
||||
color: #B9BAA4;
|
||||
display: block;
|
||||
margin: 14px 0 14px 0;
|
||||
padding: 12px 10px 12px 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{block "content"}Here comes the content{/block}
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user