comparison mod_invites_page/html/invite.html @ 4124:4d54e75312af

mod_invites_page: Fix incorrect use of <button> (thanks Martin)
author Matthew Wild <mwild1@gmail.com>
date Mon, 14 Sep 2020 18:06:54 +0100
parents 82b02f85ac31
children 24404c289014
comparison
equal deleted inserted replaced
4123:82b02f85ac31 4124:4d54e75312af
24 <div class="card-body" > 24 <div class="card-body" >
25 <div id="qr-button-container" class="float-right w-25 border border-info p-3 d-none"> 25 <div id="qr-button-container" class="float-right w-25 border border-info p-3 d-none">
26 <strong>Tip:</strong> You can open this invite 26 <strong>Tip:</strong> You can open this invite
27 on your mobile device by scanning a barcode with 27 on your mobile device by scanning a barcode with
28 your camera. 28 your camera.
29 <a href="#qr-modal" class="mt-2 d-block" id="qr-modal-show"> 29 <button id="qr-modal-show" class="mt-2 d-block btn btn-info" title="Send this invite to your device"
30 <button class="btn btn-info" title="Send this invite to your device" 30 data-toggle="modal" data-target="#qr-modal">
31 data-toggle="modal" data-target="#qr-modal"> 31 <img src="{static}/qr-logo.png" class="align-middle h-50 mt-1" style="display:inline" >
32 <img src="{static}/qr-logo.png" class="align-middle h-50 mt-1" style="display:inline" > 32 Scan with mobile device
33 Scan with mobile device 33 </button>
34 </button>
35 </a>
36 </div> 34 </div>
37 35
38 {inviter?<p>You have been invited to chat on {site_name} using XMPP, 36 {inviter?<p>You have been invited to chat on {site_name} using XMPP,
39 a secure and decentralized messaging network.</p>} 37 a secure and decentralized messaging network.</p>}
40 38
77 </div> 75 </div>
78 76
79 <h6 class="text-center">Already have a compatible app installed?</h6> 77 <h6 class="text-center">Already have a compatible app installed?</h6>
80 78
81 <div class="text-center"> 79 <div class="text-center">
82 <a href="{uri}" id="uri-cta"><button class="btn btn-secondary btn-sm">Open the app</button></a><br/> 80 <a href="{uri}" id="uri-cta class="btn btn-secondary btn-sm">Open the app</a><br/>
83 <small class="text-muted">This button works only if you have a compatible app installed already!</small> 81 <small class="text-muted">This button works only if you have a compatible app installed already!</small>
84 </div> 82 </div>
85 <br/> 83 <br/>
86 <h5>Other software</h5> 84 <h5>Other software</h5>
87 <p>You can connect to {site_name} using any XMPP-compatible software. If the button above does not 85 <p>You can connect to {site_name} using any XMPP-compatible software. If the button above does not