git-annex/templates/configurators/xmpp/buddylist.hamlet
Joey Hess 0881f6d45c webapp: Fixed visual glitch in xmpp pairing.
It seems that all other uses of <div .col-sm-9> occur outside of
<div .content-box>. This one occurred inside it, when xmpp pairing.

This was introduced in the bootstrap 3 conversion.
2014-09-04 16:18:20 -04:00

40 lines
1.2 KiB
Text

<div ##{ident}>
<table .table>
<tbody>
$if null buddies
<tr>
<td>
$if isNothing myjid
Not connected to the jabber server. Check your network connection ...
$else
Searching...
$else
$forall (name, away, canpair, paired, buddyid) <- buddies
<tr>
<td>
$if isself buddyid
<span .glyphicon .glyphicon-star> #
<span :away:.text-muted>
your other devices
$else
<span .glyphicon .glyphicon-user> #
<span :away:.text-muted>
#{name}
<td>
$if away
<span .text-muted>
away
$else
$if paired
<span .label .label-success>
paired
$else
$if canpair
$if isself buddyid
<a .btn .btn-primary .btn-sm href="@{RunningXMPPPairSelfR}">
Start pairing
$else
<a .btn .btn-primary .btn-sm href="@{RunningXMPPPairFriendR buddyid}">
Start pairing
$else
not using git-annex