1 <%include include/head.html>
3 <script language="javascript">
4 /* register input field/textarea swap. */
5 $(document).ready(function() {
6 registerInputTextareaSwap("#sone input.createpost", "What are you doing?");
10 <h1><%= Page.Index.Page.Title|l10n|insert needle="{sone}" key=currentSone.name|html></h1>
13 <form action="createPost.html" method="post">
15 <label for="text"><%= Page.Index.Label.Text|l10n|html></label>
16 <input class="createpost" name="text" />
19 <button type="submit"><%= Page.Index.Button.Post|l10n|html></button>
24 <h1><%= Page.Index.PostList.Title|l10n|html></h1>
28 <%include include/viewPost.html>
30 <div><%= Page.Index.PostList.Text.NoPostYet|l10n|html></div>
34 <h1><%= Page.Index.AddSone.Title|l10n|html></h1>
36 <div><%= Page.Index.AddSone.Description|l10n|html></div>
38 <form action="addSone.html" method="post">
39 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
40 <input id="addsone" type="text" name="request-uri" />
41 <button type="submit"><%= Page.Index.AddSone.Button.Add|l10n|html></button>
44 <%include include/tail.html>