123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width" />
- <title>Sapphire</title>
- <link rel="manifest" href="manifest.json"></link>
- <link rel="stylesheet" href="style/palette.css"></link>
- <link rel="stylesheet" href="style/style.css"></link>
- </head>
- <body>
- <div id="app" class="show-left">
- <div id="left-pane" class="pane">
- <div class="buttons">
- <button id="add-buddy">Add a Buddy!</button>
- </div>
- <div id="buddy-list">
- </div>
- <div id="chat-list">
- </div>
- </div>
- <div id="right-pane" class="pane">
- <div id="room-info">
- <a id="room-back" href="#"><img src="icons/menu.svg"></img></a>
- <div>
- <span id="room-name"></span>
- <br>
- <span id="room-topic"></span>
- </div>
- </div>
- <div id="message-list-container" tabindex="0">
- <div id="message-list">
- </div>
- </div>
- <div id="chat-input-area">
- <form id="chat-form">
- <!-- Don't set an id/name, such that autocompletion doesn't try to do history but you still get generic complete on phones -->
- <input data-id="input" type="text" placeholder="Message">
- <input type="submit" value="Send!">
- </form>
- <div id="typing-indicator">
- <b id="typing-indicator-name"></b>
- <span id="typing-indicator-status"></span>
- </div>
- </div>
- </div>
- </div>
- <div id="modal-screen">
- <div id="modal-content">
- </div>
- </div>
- <div id="login-screen">
- <div id="login-content">
- <h1>Sapphire</h1>
- <p id="login-status"></p>
- <form id="login-form">
- <label><span>Port:</span> <input id="port" type="number" value="7070" required></label>
- <label><span>Password:</span> <input id="password" type="password" required></label>
- <input type="submit" value="Login">
- </form>
- </div>
- </div>
- <script>window.BASE_HOST = window.location.protocol === "file:" ? "localhost" : window.location.hostname;</script>
- <script src="vendor/hogan-3.0.1.js"></script>
- <script src="vendor/emoji.js"></script>
- <script src="vendor/countries-rev.js"></script>
- <script src="src/emoji-emoticon-to-unicode.js"></script>
- <script src="src/emojify.js"></script>
- <script src="src/templates.js"></script>
- <script src="src/password.js"></script>
- <script src="src/backend.js"></script>
- <script src="src/avatar.js"></script>
- <script src="src/main.js"></script>
- </body>
- </html>
|