3 <div id="formPassword"><% formPassword|html></div>
4 <div id="currentSoneId" class="hidden"><% currentSone.id|html></div>
5 <div id="loggedIn" class="hidden"><%ifnull !currentSone>true<%else>false<%/if></div>
7 <script src="javascript/jquery-1.4.2.js" language="javascript"></script>
8 <script src="javascript/jquery.url.js" language="javascript"></script>
9 <script src="javascript/jquery.fieldselection.js" language="javascript"></script>
10 <script src="javascript/sone.js" language="javascript"></script>
12 <div id="offline-marker"></div>
16 <div id="notification-area">
18 <div id="notification-hash" class="hidden"><% notificationHash|html></div>
20 <form id="notification-dismiss-template" class="hidden dismiss" action="dismissNotification.html" method="post">
21 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
22 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
23 <input type="hidden" name="notification" value="" />
24 <button type="submit"><%= Notification.Button.Dismiss|l10n|html></button>
27 <%foreach notifications notification>
28 <div class="notification" id="<% notification.id|html>" lastUpdatedTime="<%notification.lastUpdatedTime|html>">
29 <%if notification.dismissable>
30 <form class="dismiss" action="dismissNotification.html" method="post">
31 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
32 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
33 <input type="hidden" name="notification" value="<% notification.id|html>" />
34 <button type="submit"><%= Notification.Button.Dismiss|l10n|html></button>
37 <%include notification>
42 <div id="profile" class="<%ifnull currentSone>offline<%else>online<%/if>">
43 <div class="avatar profile-avatar">
44 <a class="picture" href="index.html">
45 <%ifnull !currentSone>
46 <%ifnull !currentSone.profile.avatar>
47 <%currentSone.profile.avatar|image-link max-width==80 max-height==80 mode==enlarge title=="Profile Avatar">
49 <img src="/WebOfTrust/GetIdenticon?identity=<% currentSone.id|html>&width=80&height=80" width="80" height="80" alt="Profile Avatar" />
52 <img src="images/sone.png" width="80" height="80" alt="Sone is offline" />
56 <%ifnull ! currentSone>
58 <%include include/viewSone.html sone=currentSone>
61 <form id="search" action="search.html" method="get">
62 <input type="text" name="query" value="" />
63 <button type="submit"><%= View.Search.Button.Search|l10n|html></button>