2014-09-04 20:17:43 +00:00
|
|
|
<div ##{ident}>
|
2012-11-03 01:13:06 +00:00
|
|
|
<table .table>
|
|
|
|
<tbody>
|
|
|
|
$if null buddies
|
|
|
|
<tr>
|
2013-03-07 02:02:47 +00:00
|
|
|
<td>
|
|
|
|
$if isNothing myjid
|
|
|
|
Not connected to the jabber server. Check your network connection ...
|
|
|
|
$else
|
2013-03-15 19:05:02 +00:00
|
|
|
Searching...
|
2012-11-03 01:13:06 +00:00
|
|
|
$else
|
2012-11-10 20:35:09 +00:00
|
|
|
$forall (name, away, canpair, paired, buddyid) <- buddies
|
2012-11-03 01:13:06 +00:00
|
|
|
<tr>
|
|
|
|
<td>
|
2013-03-15 19:05:02 +00:00
|
|
|
$if isself buddyid
|
2014-04-21 11:05:52 +00:00
|
|
|
<span .glyphicon .glyphicon-star> #
|
2014-04-20 10:42:31 +00:00
|
|
|
<span :away:.text-muted>
|
2013-03-15 19:05:02 +00:00
|
|
|
your other devices
|
2012-11-03 01:13:06 +00:00
|
|
|
$else
|
2014-04-21 11:05:52 +00:00
|
|
|
<span .glyphicon .glyphicon-user> #
|
2014-04-20 10:42:31 +00:00
|
|
|
<span :away:.text-muted>
|
2013-03-15 19:05:02 +00:00
|
|
|
#{name}
|
2012-11-03 01:13:06 +00:00
|
|
|
<td>
|
2012-11-03 01:36:26 +00:00
|
|
|
$if away
|
2014-04-20 10:42:31 +00:00
|
|
|
<span .text-muted>
|
2012-11-03 01:36:26 +00:00
|
|
|
away
|
2012-11-03 01:13:06 +00:00
|
|
|
$else
|
2012-11-10 20:35:09 +00:00
|
|
|
$if paired
|
|
|
|
<span .label .label-success>
|
|
|
|
paired
|
2012-11-03 01:36:26 +00:00
|
|
|
$else
|
2012-11-10 20:35:09 +00:00
|
|
|
$if canpair
|
2013-03-15 19:05:02 +00:00
|
|
|
$if isself buddyid
|
2014-04-20 10:42:31 +00:00
|
|
|
<a .btn .btn-primary .btn-sm href="@{RunningXMPPPairSelfR}">
|
2013-03-16 18:50:30 +00:00
|
|
|
Start pairing
|
2013-03-15 19:05:02 +00:00
|
|
|
$else
|
2014-04-20 10:42:31 +00:00
|
|
|
<a .btn .btn-primary .btn-sm href="@{RunningXMPPPairFriendR buddyid}">
|
2013-03-15 19:05:02 +00:00
|
|
|
Start pairing
|
2012-11-10 20:35:09 +00:00
|
|
|
$else
|
|
|
|
not using git-annex
|