Add “hidden” class to Sone ID.
[Sone.git] / src / main / resources / templates / include / viewSone.html
1 <div class="sone <% sone.status|html><%if sone.modified> modified<%/if> <% sone.id|css|html><%if sone.local> local<%/if><%if sone.new> new<%/if>">
2         <div class="id hidden"><% sone.id|html></div>
3         <div class="unknown-marker" title="<%= View.Sone.Status.Unknown|l10n|html>">?</div>
4         <div class="modified-marker" title="<%= View.Sone.Status.Modified|l10n|html>">!</div>
5         <div class="download-marker" title="<%= View.Sone.Status.Downloading|l10n|html>">⬊</div>
6         <div class="insert-marker" title="<%= View.Sone.Status.Inserting|l10n|html>">⬈</div>
7         <div class="idle-marker" title="<%= View.Sone.Status.Idle|l10n|html>">✔</div>
8         <div class="last-update"><%= View.Sone.Label.LastUpdate|l10n|html> <span class="time"><% sone.time|date format="MMM d, yyyy, HH:mm:ss"></span></div>
9         <div class="profile-link"><a href="viewSone.html?sone=<% sone.id|html>" title="<% sone.requestUri|html>"><% sone.niceName|html></a></div>
10         <div class="short-request-uri"><% sone.requestUri|substring start=4 length=43|html></div>
11         <div class="hidden"><% sone.blacklisted></div>
12         <%if sone.local>
13                 <form class="lock<%if sone.locked> hidden<%/if>" action="lockSone.html" method="post">
14                         <input type="hidden" name="formPassword" value="<% formPassword|html>" />
15                         <input type="hidden" name="sone" value="<% sone.id|html>" />
16                         <input type="hidden" name="returnPage" value="<% request.uri|html>" />
17                         <button type="submit" title="<%= View.Sone.Button.LockSone.Tooltip|l10n|html>"><%= View.Sone.Button.LockSone|l10n|html></button>
18                 </form>
19                 <form class="unlock<%if !sone.locked> hidden<%/if>" action="unlockSone.html" method="post">
20                         <input type="hidden" name="formPassword" value="<% formPassword|html>" />
21                         <input type="hidden" name="sone" value="<% sone.id|html>" />
22                         <input type="hidden" name="returnPage" value="<% request.uri|html>" />
23                         <button type="submit" title="<%= View.Sone.Button.UnlockSone.Tooltip|l10n|html>"><%= View.Sone.Button.UnlockSone|l10n|html></button>
24                 </form>
25         <%/if>
26         <%if ! sone.current>
27                 <%ifnull ! currentSone>
28                         <form class="unfollow<%if ! sone.friend> hidden<%/if>" action="unfollowSone.html" method="post">
29                                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
30                                 <input type="hidden" name="sone" value="<% sone.id|html>" />
31                                 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
32                                 <button type="submit"><%= View.Sone.Button.UnfollowSone|l10n|html></button>
33                         </form>
34                         <form class="follow<%if sone.friend> hidden<%/if>" action="followSone.html" method="post">
35                                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
36                                 <input type="hidden" name="sone" value="<% sone.id|html>" />
37                                 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
38                                 <button type="submit"><%= View.Sone.Button.FollowSone|l10n|html></button>
39                         </form>
40                 <%/if>
41         <%/if>
42         <div class="spacer">&nbsp;</div>
43 </div>