138 lines
7.7 KiB
HTML
138 lines
7.7 KiB
HTML
<!doctype html>
|
|
<html class="no-js" lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Converse.js Mockups</title>
|
|
<link type="text/css" rel="stylesheet" media="screen" href="../../node_modules/font-awesome/css/font-awesome.css" />
|
|
<link type="text/css" rel="stylesheet" media="screen" href="../../css/inverse.css" />
|
|
</head>
|
|
|
|
<body class="reset">
|
|
<div id="conversejs" class="fullscreen">
|
|
<div class="sidebar"></div>
|
|
<div class="row no-gutters">
|
|
<div id="controlbox" class="chatbox col-xl-2 col-md-3">
|
|
<div class="flyout box-flyout">
|
|
<div class="controlbox-panes">
|
|
<div class="controlbox-pane"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="chatbox col-xl-10 col-md-9" id="chatbox-37c0c87392010303765fe36b05c0967d62c6b70f">
|
|
<div class="flyout box-flyout">
|
|
<div class="chat-head chat-head-chatbox row no-gutters">
|
|
<div class="col-9">
|
|
<div class="row no-gutters">
|
|
<div class="col-auto"><canvas height="44" width="44" class="avatar"></canvas></div>
|
|
<div class="col chat-title" title="j@chat.example.org">JC Brand
|
|
<p class="user-custom-message" title="10000ft in the air">10000ft in the air</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-3">
|
|
<div class="chatbox-buttons row no-gutters">
|
|
<a class="chatbox-btn fa fa-close" title="Close this chat box"></a>
|
|
<a class="chatbox-btn fa fa-vcard" title="Contact profile" data-toggle="modal" data-target="#contactProfileModal"></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="chat-body">
|
|
<div class="chat-content">
|
|
<div class="chat-info">
|
|
<span class="badge badge-info">This is an info message</span></div>
|
|
<div class="chat-info">
|
|
<span class="badge badge-danger">This is an error message</span></div>
|
|
<div class="chat-message">
|
|
<span class="chat-msg-author chat-msg-me">09:35
|
|
<canvas height="24" width="24" class="avatar"></canvas>
|
|
<span class="chat-msg-me">me: </span>
|
|
</span>
|
|
<span class="chat-msg-content">Hello world
|
|
<span class="fa fa-smile-o"></span>
|
|
</span>
|
|
</div>
|
|
<div class="chat-message">
|
|
<span class="chat-msg-author chat-msg-them">19:25
|
|
<canvas height="24" width="24" class="avatar"></canvas>
|
|
<span class="chat-msg-them">Benedict-John: </span>
|
|
</span>
|
|
<span class="chat-msg-content">Dagsê</span>
|
|
</div>
|
|
<div class="chat-message">
|
|
<span class="chat-msg-author chat-msg-me">19:39
|
|
<canvas height="24" width="24" class="avatar"></canvas>
|
|
<span class="chat-msg-me">me: </span>
|
|
</span>
|
|
<span class="chat-msg-content">This is a relatively long message to check that wrapping works as expected.</span>
|
|
</div>
|
|
<div class="chat-message">
|
|
<span class="chat-msg-author chat-msg-me">19:42
|
|
<canvas height="24" width="24" class="avatar"></canvas>
|
|
<span class="chat-msg-me">me: </span>
|
|
</span>
|
|
<span class="chat-msg-content">Supercalifragilisticexpialidociousstillnotlongenough</span>
|
|
</div>
|
|
<div class="chat-info chat-event">
|
|
<span class="badge badge-success">JC Brand is busy</span>
|
|
</div>
|
|
<div class="chat-message">
|
|
<span class="chat-msg-author chat-msg-me">19:43
|
|
<canvas height="24" width="24" class="avatar"></canvas>
|
|
<span class="chat-msg-me">me: </span>
|
|
</span>
|
|
<span class="chat-msg-content">Another message to check that scrolling works.</span>
|
|
</div>
|
|
</div>
|
|
|
|
<form class="sendXMPPMessage">
|
|
<ul class="chat-toolbar no-text-select">
|
|
<li class="toggle-toolbar-menu toggle-smiley fa fa-smile-o" title="Insert a smiley">
|
|
<div class="emoji-picker-container toolbar-menu collapsed"></div>
|
|
</li>
|
|
<li class="toggle-clear">
|
|
<a class="fa fa-trash" title="Clear all messages"></a>
|
|
</li>
|
|
<li class="toggle-toolbar-menu toggle-otr unencrypted" title="Your messages are not encrypted. Click here to enable OTR encryption.">
|
|
<span class="chat-toolbar-text">unencrypted</span>
|
|
<span class="fa fa-unlock"></span>
|
|
<ul class="toolbar-menu collapsed">
|
|
<li>
|
|
<a class="start-otr" href="#">Start encrypted conversation</a>
|
|
</li>
|
|
<li>
|
|
<a href="http://www.cypherpunks.ca/otr/help/3.2.0/levels.php" target="_blank" rel="noopener">What's this?</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<textarea class="chat-textarea form-control" placeholder="Personal message"></textarea>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modals"></div>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="../../node_modules/lodash/lodash.js"></script>
|
|
<script type="text/javascript" src="../../node_modules/backbone/backbone.js"></script>
|
|
<script type="text/javascript" src="../../node_modules/backbone.nativeview/backbone.nativeview.js"></script>
|
|
<script type="text/javascript" src="sidebar.js"></script>
|
|
<script type="text/javascript" src="user-panel.js"></script>
|
|
<script type="text/javascript" src="modals.js"></script>
|
|
<script type="text/javascript" src="../../node_modules/bootstrap.native/dist/bootstrap-native-v4.js"></script>
|
|
|
|
<script>
|
|
document.addEventListener("DOMContentLoaded", function(event) {
|
|
new Modals();
|
|
new Sidebar();
|
|
new UserPanel();
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|