1 <div id="sone" class="<%ifnull ! currentSone>online<%else>offline<%/if>">
3 <div id="formPassword"><% formPassword|html></div>
4 <div id="currentSoneId" class="hidden"><% currentSone.id|html></div>
6 <script src="javascript/jquery-1.4.2.js" language="javascript"></script>
7 <script src="javascript/sone.js" language="javascript"></script>
11 <div id="notification-area">
13 <form id="notification-dismiss-template" class="hidden dismiss" action="dismissNotification.html" method="post">
14 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
15 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
16 <input type="hidden" name="notification" value="" />
17 <button type="submit"><%= Notification.Button.Dismiss|l10n|html></button>
20 <%foreach webInterface.notifications.all notification>
21 <div class="notification" id="<% notification.id|html>">
22 <%if notification.dismissable>
23 <form class="dismiss" action="dismissNotification.html" method="post">
24 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
25 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
26 <input type="hidden" name="notification" value="<% notification.id|html>" />
27 <button type="submit"><%= Notification.Button.Dismiss|l10n|html></button>
35 <div id="profile" class="<%ifnull currentSone>offline<%else>online<%/if>">
36 <a class="picture" href="index.html">
37 <%ifnull !currentSone>
38 <img src="/WoT/GetIdenticon?identity=<% currentSone.id|html>&width=80&height=80" width="80" height="80" alt="Profile Avatar" />
40 <img src="images/sone.png" width="80" height="80" alt="Sone is offline" />
43 <%ifnull ! currentSone>
45 <% currentSone|store key=sone>
46 <%include include/viewSone.html>