Changeset 24685
- Timestamp:
- 11/23/08 14:27:31 (4 years ago)
- Location:
- lang/perl/Yacafi/trunk/example
- Files:
-
- 1 added
- 2 modified
-
index.cgi (modified) (2 diffs)
-
static/styles/style.css (added)
-
tmpl/index.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Yacafi/trunk/example/index.cgi
r24575 r24685 5 5 use Yacafi extends => { 6 6 template => { 7 params => {8 prefix => 'tmpl/',9 ext => 'html',7 params => { 8 prefix => 'tmpl/', 9 ext => 'html', 10 10 }, 11 11 files => [qw/ index /], … … 16 16 17 17 sub do_index { 18 view_template 'index', ( 19 id => 'yappo', 20 name => 'osawa <at> tokyo', 21 ); 18 view_template 'index'; 22 19 } 20 -
lang/perl/Yacafi/trunk/example/tmpl/index.html
r24684 r24685 10 10 <link href="<%= uri_for('static/styles/fonts-min.css') %>" rel="stylesheet" type="text/css" media="all" /> 11 11 <link href="<%= uri_for('static/styles/base-min.css') %>" rel="stylesheet" type="text/css" media="all" /> 12 <link href="<%= uri_for('static/styles/style.css') %>" rel="stylesheet" type="text/css" media="all" /> 12 13 <title>Yacafi (Yet another CGI application framework interface)</title> 13 14 </head> 14 15 <body> 15 <h1>Yacafi(Yet another CGI application framework interface)</h1> 16 <div id="container"> 17 <h1>Yacafi (Yet another CGI application framework interface)</h1> 18 19 <div class="content"> 20 <h2>What is Yacafi?:</h2> 21 <p> 22 Yacafiは気軽に使えるウェブアプリケーション実行環境です。 23 </p> 24 </div> 25 26 <div class="content"> 27 <h2>How to use:</h2> 28 <ul> 29 <li><a href="http://blog.yappo.jp/yappo/archives/000618.html">とりあえずここを参照</a></li> 30 </ul> 31 </div> 32 33 <div class="content"> 16 34 <h2>Examples:</h2> 17 35 <ul> … … 19 37 <li><a href="yacafi-template.cgi">template</a></li> 20 38 </ul> 39 </div> 40 41 </div> 21 42 </body> 22 43 </html>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)