-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3137c4
commit b45bfc8
Showing
36 changed files
with
527 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
<div class="span-19 navigation last"> | ||
<div class="navigation"> | ||
<ul> | ||
<a href="">Navigation</a> | ||
<a href="">Could</a> | ||
<a href="">Go</a> | ||
<a href="">Here</a> | ||
<?php | ||
// This is a really sketchy way of building up navigation. | ||
// Please do not actually use this in a real app. Thx -Kris | ||
Library::import('recess.lang.Inflector'); | ||
$app = $controller->application(); | ||
$controllers = $app->listControllers(); | ||
foreach($controllers as $controllerClass): | ||
$navController = new $controllerClass($app); | ||
?> | ||
<li><a href="<?php echo $navController->urlTo('index'); ?>"><?php echo Inflector::toEnglish(str_replace('Controller','',$controllerClass)); ?></a></li> | ||
<?php endforeach; ?> | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
$title = 'Home'; | ||
include_once($viewsDir . 'common/header.php'); | ||
?> | ||
<div class="span-24 last"> | ||
<div class="span-12 notice"> | ||
<p>Friends,</p> | ||
<p>I appreciate your interest in Recess! I hope you'll find these bits (somewhat) functional and fun.</p> | ||
<p>The Recess framework is early stage so please travel with caution.</p> | ||
<p>Thanks and Enjoy!</p> | ||
<p><a href="http://www.krisjordan.com/">Kris Jordan</a></p> | ||
</div> | ||
</div> | ||
|
||
<h2>Welcome to your new Recess application!</h2> | ||
|
||
<h3>Next steps?</h3> | ||
|
||
<ul> | ||
<li><a href="<?php echo $_ENV['url.base']; ?>recess/">Recess Tools</a></li> | ||
</ul> | ||
|
||
<h3>For more information visit <a href="http://www.recessframework.org/">http://www.recessframework.org/</a></h3> | ||
|
||
<?php include_once($viewsDir . 'common/footer.php'); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.