PageRenderTime 59ms CodeModel.GetById 56ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/sitebricks-acceptance-tests/src/main/resources/ShowIf.html

http://github.com/dhanji/sitebricks
HTML | 62 lines | 42 code | 9 blank | 11 comment | 0 complexity | b25b0139a9d5bf2868b16bfc2d5aa130 MD5 | raw file
 1<html>
 2<!--
 3
 4
 5
 6Design by Free CSS Templates
 7http://www.freecsstemplates.org
 8Released for free under a Creative Commons Attribution 2.5 License
 9
10-->
11<head>
12
13    <link href="default.css" rel="stylesheet" type="text/css" />
14</head>
15
16<body>
17    <!-- start header -->
18    <div id="header">
19        <div id="logo">
20            <h1>Sitebricks</h1>
21            <h2>a fast, light web framework from Google</h2>
22        </div>
23        <div id="menu">
24            <ul>
25                <li class="active"><a href="http://code.google.com/p/google-sitebricks">Google Sitebricks</a></li>
26
27                <li><a href="http://google-sitebricks.googlecode.com/svn/trunk">source</a></li>
28                <li><a href="http://code.google.com/p/google-sitebricks/wiki/list">doc</a></li>
29                <li><a href="http://code.google.com/p/google-guice">guice</a></li>
30            </ul>
31        </div>
32    </div>
33
34    <div id="page">
35        <!-- start content -->
36        <div id="content">
37            <div class="post">
38                <h1 class="title">examples</h1>
39                <div class="entry">
40
41                    The following span tag will only be shown if query parameter "show" is true.
42
43                    @ShowIf(show)
44                    <span>
45                        Message : ${message}
46                    </span>
47                    <br/><br/><br/>
48                    <p>
49                        <a href="showif?show=${!show}">toggle</a>
50                    </p>
51                </div>
52
53
54                <div class="meta">
55                    <p class="byline">Google Sitebricks.</p>
56                </div>
57            </div>
58        </div>
59    </div>
60
61</body>
62</html>