git-annex/templates/configurators/xmpp.hamlet

40 lines
1.4 KiB
Text
Raw Normal View History

<div .col-sm-9 .jumbotron>
2012-10-25 20:50:41 +00:00
<h2>
Configuring jabber account
<p>
A jabber account is used to communicate between #
devices that are not in direct contact. #
It can also be used to pair up with a friend's repository, if desired.
<p>
It's fine to reuse an existing jabber account; git-annex won't #
2012-10-25 20:50:41 +00:00
post any messages to it.
<p>
$maybe msg <- problem
2014-04-17 23:58:27 +00:00
<span .glyphicon .glyphicon-warning-sign></span> Unable to connect to the Jabber server. #
Maybe you entered the wrong password? (Error message: #{msg})
$nothing
2014-04-17 23:58:27 +00:00
<span .glyphicon .glyphicon-user></span> If you have a Gmail account, you can use #
Google Talk. Just enter your full Gmail address #
<small>(<tt>you@gmail.com</tt>)</small> #
and password below.
2012-10-25 20:50:41 +00:00
<p>
2013-03-16 22:48:23 +00:00
<form method="post" .form-horizontal enctype=#{enctype}>
2012-10-25 20:50:41 +00:00
<fieldset>
^{form}
2012-11-25 04:38:11 +00:00
^{webAppFormAuthToken}
2014-04-18 00:07:09 +00:00
<div .form-group>
<div .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Use this account
<a .btn .btn-default href="@{DisconnectXMPPR}">
Stop using this account
2012-10-25 20:50:41 +00:00
<div .modal .fade #workingmodal>
2014-04-20 22:44:28 +00:00
<div .modal-dialog>
<div .modal-content>
<div .modal-header>
<h3>
Testing account ...
<div .modal-body>
<p>
Testing jabber account. This could take a minute.