|
Revision 23580, 0.8 kB
(checked in by tokuhirom, 5 years ago)
|
|
デモへのリンクを追加
|
| Line | |
|---|
| 1 | % my $docroot = config()->{application}->{docroot} |
|---|
| 2 | % my $title = config()->{application}->{title} |
|---|
| 3 | <!doctype html> |
|---|
| 4 | <title><%= $title %></title> |
|---|
| 5 | <link rel="stylesheet" type="text/css" href="<%= $docroot %>static/style-sites.css"> |
|---|
| 6 | <script type="text/javascript" src="<%= $docroot %>static/jquery.js"></script> |
|---|
| 7 | <script type="text/javascript"><!-- |
|---|
| 8 | $(function() { |
|---|
| 9 | var $this = $('h1'); |
|---|
| 10 | $this.css({background : 'orange'}) |
|---|
| 11 | .text($this.text().replace('MENTA', 'めんた')); |
|---|
| 12 | }); |
|---|
| 13 | //--></script> |
|---|
| 14 | |
|---|
| 15 | <h1><%= $title %></h1> |
|---|
| 16 | <p><%= localtime time %></p> |
|---|
| 17 | |
|---|
| 18 | <h2>デモ</h2> |
|---|
| 19 | <ul> |
|---|
| 20 | <li><a href="<%= $docroot %>form">フォーム</a></li> |
|---|
| 21 | <li><a href="<%= $docroot %>goto_wassr">リダイレクト(Wassr にとびます)</a></li> |
|---|
| 22 | <li><a href="<%= $docroot %>users">DBI(DBI および DBD::CSV がないとエラーになります)</a></li> |
|---|
| 23 | </ul> |
|---|