Mercurial > prosody-modules
comparison mod_invite/invite/invite.html @ 2058:4b3037c7af62
mod_invite: Allows existing users to generate URLs that can be used to invite new users. Mutual presence subscriptions are automatically created when the creation succeeds.
author | Thijs Alkemade <me@thijsalkema.de> |
---|---|
date | Wed, 02 Mar 2016 18:12:34 +0100 |
parents | |
children | 0fd7802b435e |
comparison
equal
deleted
inserted
replaced
2057:1c126c49f5c1 | 2058:4b3037c7af62 |
---|---|
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <meta charset="utf-8"> | |
5 <title>Invite</title> | |
6 <link rel="stylesheet" href="bootstrap.min.css"> | |
7 </head> | |
8 <body> | |
9 <div class="container col-md-4 col-md-offset-4" style="margin-top: 100px"> | |
10 <div class="panel panel-default"> | |
11 <div class="panel-heading"> | |
12 <div class="panel-title">Account creation</div> | |
13 </div> | |
14 | |
15 <div class="panel-body" style="padding: 20px"> | |
16 | |
17 <div class="alert alert-success"> | |
18 <p>Already have an XMPP account? <a href="xmpp:{{user}}?roster">Add {{user}} to your contact list.</a></p> | |
19 </div> | |
20 | |
21 <p>{{user}} invites you to create an XMPP account on the server {{server}}.</p> | |
22 | |
23 <form action="/invite" method="post" class="form-horizontal"> | |
24 <div class="form-group" style="margin-right: 0px;"> | |
25 <label for="user" class="col-sm-2 control-label">Username:</label> | |
26 <div class="input-group col-sm-10"> | |
27 <input type="text" name="user" class="form-control" placeholder="user"> | |
28 <div class="input-group-addon">@{{server}}</div> | |
29 </div> | |
30 </div> | |
31 <div class="form-group" style="margin-right: 0px;"> | |
32 <label for="password" class="col-sm-2 control-label">Password:</label> | |
33 <div class="input-group col-sm-10"> | |
34 <input type="password" name="password" class="form-control" placeholder="password"> | |
35 </div> | |
36 </div> | |
37 <input type="hidden" name="token" value="{{token}}"> | |
38 <button type="submit" class="btn btn-primary btn-lg">Create</button> | |
39 </form> | |
40 </div> | |
41 </div> | |
42 </div> | |
43 </body> | |
44 </html> |