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/jquery.url.js" language="javascript"></script>
8 <script src="javascript/sone.js" language="javascript"></script>
12 <div id="notification-area">
14 <form id="notification-dismiss-template" class="hidden dismiss" action="dismissNotification.html" method="post">
15 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
16 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
17 <input type="hidden" name="notification" value="" />
18 <button type="submit"><%= Notification.Button.Dismiss|l10n|html></button>
21 <%foreach webInterface.notifications.all notification>
22 <div class="notification" id="<% notification.id|html>">
23 <%if notification.dismissable>
24 <form class="dismiss" action="dismissNotification.html" method="post">
25 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
26 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
27 <input type="hidden" name="notification" value="<% notification.id|html>" />
28 <button type="submit"><%= Notification.Button.Dismiss|l10n|html></button>
31 <%include notification>
36 <div id="profile" class="<%ifnull currentSone>offline<%else>online<%/if>">
37 <a class="picture" href="index.html">
38 <%ifnull !currentSone>
39 <img src="/WoT/GetIdenticon?identity=<% currentSone.id|html>&width=80&height=80" width="80" height="80" alt="Profile Avatar" />
41 <img src="images/sone.png" width="80" height="80" alt="Sone is offline" />
44 <%ifnull ! currentSone>
46 <% currentSone|store key=sone>
47 <%include include/viewSone.html>