Commit: 2542cb1925c6092ebbb6edb7b8897a6e3bea8800

Author: Jon Adams | Date: 2010-02-16 01:15:27 -0800
updating image path references to full uri, updating js and css paths, rad cli setup for js updated
diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php index 65a6914..38a220e 100644 --- a/views/layouts/default.html.php +++ b/views/layouts/default.html.php @@ -1,4 +1,4 @@ -<?php + <?php /** * Lithium: the most rad php framework * @@ -11,29 +11,15 @@ <head> <?php echo $this->html->charset(); ?> <title>Docs > <?php echo $this->title(); ?></title> - <?php echo $this->html->style(array('lithium', '/li3_docs/css/li3_docs')); ?> + <?php echo $this->html->style(array('lithium', 'u1m', '/li3_docs/css/li3_docs')); ?> <?php echo $this->scripts(); ?> <?php echo $this->html->link('Icon', null, array('type' => 'icon')); ?> </head> <body class="docs"> <div id="wrapper"> - <div id="cli"> - <div id="cli-display"></div> - <div> - <form id="cli-form" onSubmit="return false"> - <input type="text" id="cli-input" /> - <input id="cli-submit" type="submit" /> - </form> - </div> - </div> - <div id="git-shortcuts"> - <span id="git-clone-path" class="clone fixed"><strong>git clone</strong> code@rad-dev.org:lithium.git</span> - <a href="#" id="git-copy" class="copy" title="Copy the git clone shortcut to your clipboard">copy to clipboard</a> - </div> <div id="container"> <div id="header"> - <h1><?php echo $this->html->link('Docs', '/docs');?></h1> - <h2>Powered by <?php echo $this->html->link('Lithium', 'http://lithify.me');?>.</h2> + <h1><?php echo $this->html->link('Lithium API', '/docs');?></h1> <ul class="crumbs"> <?php foreach (isset($crumbs) ? $crumbs : array() as $crumb): ?> <li class="<?= $crumb['class'];?>"> @@ -56,23 +42,21 @@ </div> <div id="footer"> <p class="copyright"> - <?php printf($t('Pretty much everything is %s 2009 and beyond, the Union of Rad'), '&copy;'); ?> + <?php printf( + $t('Pretty much everything is %s %s and beyond, the Union of Rad'), + '&copy;', + date('Y') + ); ?> </p> </div> <?php echo $this->html->script(array( 'http://code.jquery.com/jquery-1.4.1.min.js', - 'li3', - 'cli', - 'libraries/ZeroClipboard/ZeroClipboard.js', - 'showdown.min.js' + 'rad.cli', + 'showdown.min' )); ?> <script type="text/javascript" charset="utf-8"> $(document).ready(function () { - li3.setup({ - base : '<?php echo $this->_request->env('base');?>', - testimonials: <?php echo !empty($testimonials) ? 'true' : 'false'; ?> - }); - li3Cli.setup(); + RadCli.setup(); var converter = new Showdown.converter("/"); $(".markdown").each(function () { diff --git a/webroot/css/li3_docs.css b/webroot/css/li3_docs.css index b05aa8c..631a43d 100644 --- a/webroot/css/li3_docs.css +++ b/webroot/css/li3_docs.css @@ -53,26 +53,26 @@ ul.libraries, ul.children, ul.subclasses, ul.properties, ul.methods, ul.paramete padding: 0; } .libraries > li { - background: url("../img/icons/silk/package_green.png") no-repeat center left; + background: url("http://lithify.me/img/icons/silk/package_green.png") no-repeat center left; padding: .25em 0 .25em 26px; } .children > li, .subclasses > li { - background: url("../img/icons/silk/package.png") no-repeat 0 6px; + background: url("http://lithify.me/img/icons/silk/package.png") no-repeat 0 6px; padding: .25em 0 .25em 26px; } .children > li.class { - background: url("../img/icons/silk/brick.png") no-repeat 0 6px; + background: url("http://lithify.me/img/icons/silk/brick.png") no-repeat 0 6px; } .properties > li { - background: url("../img/icons/silk/cog.png") no-repeat 0 6px; + background: url("http://lithify.me/img/icons/silk/cog.png") no-repeat 0 6px; padding: .25em 0 .25em 26px; } .methods > li { - background: url("../img/icons/silk/wrench.png") no-repeat 0 6px; + background: url("http://lithify.me/img/icons/silk/wrench.png") no-repeat 0 6px; padding: .25em 0 .25em 26px; } .parameters > li { - background: url("../img/icons/silk/cog_go.png") no-repeat 0 6px; + background: url("http://lithify.me/img/icons/silk/cog_go.png") no-repeat 0 6px; padding: .25em 0 .25em 26px; } .parameters ul { @@ -82,23 +82,23 @@ ul.libraries, ul.children, ul.subclasses, ul.properties, ul.methods, ul.paramete margin: 0; } .related > li { - background: url("../img/icons/silk/brick_add.png") no-repeat 0 6px; + background: url("http://lithify.me/img/icons/silk/brick_add.png") no-repeat 0 6px; padding: .25em 0 .25em 26px; } .nav.namespace { - background: url("../img/icons/silk/package_green.png") no-repeat center left; + background: url("http://lithify.me/img/icons/silk/package_green.png") no-repeat center left; padding: .25em 0 .25em 26px; } .nav.class { - background: url("../img/icons/silk/package.png") no-repeat center left; + background: url("http://lithify.me/img/icons/silk/package.png") no-repeat center left; padding: .25em 0 .25em 26px; } .nav.method { - background: url("../img/icons/silk/wrench.png") no-repeat center left; + background: url("http://lithify.me/img/icons/silk/wrench.png") no-repeat center left; padding: .25em 0 .25em 26px; } span.parent { - background: url("../img/icons/silk/brick_link.png") no-repeat center left; + background: url("http://lithify.me/img/icons/silk/brick_link.png") no-repeat center left; padding: .25em 0 .25em 26px; } span.type {