Cosmetics

This commit is contained in:
Dan Seripap 2016-01-08 20:04:43 -05:00
parent b743c72618
commit b40f50d445
2 changed files with 8 additions and 4 deletions

View File

@ -71,7 +71,6 @@ app.get('/:roomId', (req, res) => {
} }
return res.redirect('/'); return res.redirect('/');
}); });
// Events // Events

View File

@ -28,15 +28,20 @@
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title">Key</h4> <h4 class="modal-title">Chat Encryption Key</h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<p>This is your chat encryption key. Anyone who is in this chat room must use the same key to decrypt chat messages. This key is <strong>NOT</strong> stored nor transmitted to the server. If the key does not match, other clients will see encrypted messages. You may change the key as many times as you want.</p> <p>This is your chat encryption key. Anyone who is in this chat room must use the same key to decrypt chat messages. This key is <strong>NOT</strong> stored nor transmitted to the server. If the key does not match, other clients will see encrypted messages. You may change the key as many times as you want.</p>
<input id="key" placeholder="Enter key here"> <div class="form-group">
<textarea id="key" class="form-control" rows="2" placeholder="Enter key here"></textarea>
</div>
<div class="form-group">
<button class="form-control btn btn-default btn-xs copyable" data-clipboard-target="#key">Copy key</button>
</div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
{{!-- <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> --}} {{!-- <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> --}}
<button type="button" class="btn btn-primary" data-dismiss="modal">Done</button> <button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div> </div>
</div><!-- /.modal-content --> </div><!-- /.modal-content -->
</div><!-- /.modal-dialog --> </div><!-- /.modal-dialog -->