189:3b3181b49427
Anton Shestakov <av6@dwimlabs.net>, 2016-05-24
contacts: show a border on the left for active contacts

next change 190:1f05d2339ed1
previous change 185:f4488de2add3

index.html

Permissions: -rw-r--r--

Other formats: Feeds:
0
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<!DOCTYPE html>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<html lang="en">
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<head>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<meta charset="utf-8">
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<meta http-equiv="X-UA-Compatible" content="IE=edge">
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<meta name="viewport" content="width=device-width, initial-scale=1">
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<title>Tram IM</title>
115
115:8f19633b3582 html: update to uikit 2.26.2
Anton Shestakov <av6@dwimlabs.net>
previous changes: 113:2fecc3d7e58e
line | diff
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.2/css/uikit.min.css">
181
181:83aed672e078 index: advanced form styles css for settings modal
Anton Shestakov <av6@dwimlabs.net>
previous changes: 177:7373cfec622e
line | diff
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.2/css/components/form-advanced.min.css">
120
120:b71b4dae9feb index: progress bar on connect
Anton Shestakov <av6@dwimlabs.net>
previous changes: 116:67eba2d671e6
line | diff
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.2/css/components/progress.min.css">
0
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<link rel="stylesheet" href="/css/tram-im.css">
116
116:67eba2d671e6 html: update to jQuery 2.2.3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 115:8f19633b3582
line | diff
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script>
22
22:dba8124befc3 index: wire up login form
Anton Shestakov <av6@dwimlabs.net>
previous changes: 0:52035246db0a
line | diff
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
144
144:ca6556786997 html: upgrade to Backbone 1.3.3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 135:2406e8c6f282
line | diff
<script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.3.3/backbone-min.js"></script>
24
24:04329aa80b7a messages: new ui element and related things
Anton Shestakov <av6@dwimlabs.net>
previous changes: 23:98a9a4b85104
line | diff
<script src="https://cdnjs.cloudflare.com/ajax/libs/rivets/0.8.1/rivets.bundled.min.js"></script>
24:04329aa80b7a messages: new ui element and related things
Anton Shestakov <av6@dwimlabs.net>
previous changes: 23:98a9a4b85104
line | diff
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.6/moment.min.js"></script>
115
115:8f19633b3582 html: update to uikit 2.26.2
Anton Shestakov <av6@dwimlabs.net>
previous changes: 113:2fecc3d7e58e
line | diff
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.2/js/uikit.min.js"></script>
22
22:dba8124befc3 index: wire up login form
Anton Shestakov <av6@dwimlabs.net>
previous changes: 0:52035246db0a
line | diff
<script src="/vendor/strophejs/strophe.min.js"></script>
67
67:61122b60a424 index: support disco requests
Anton Shestakov <av6@dwimlabs.net>
previous changes: 66:4234d57b31a6
line | diff
<script src="/vendor/strophejs-plugins/disco/strophe.disco.js"></script>
68
68:3edc62e80ae2 index: support ping (XEP-0199)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 67:61122b60a424
line | diff
<script src="/vendor/strophejs-plugins/ping/strophe.ping.js"></script>
124
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<script src="/vendor/strophejs-plugins/register/strophe.register.js"></script>
51
51:12199bfb20eb onConnected: get roster after connect
Anton Shestakov <av6@dwimlabs.net>
previous changes: 50:c47569b938dd
line | diff
<script src="/vendor/strophejs-plugins/roster/strophe.roster.js"></script>
28
28:1efbfe153b8f index: send presence on connect, handle incoming presences, show contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 27:f59d389adcc4
line | diff
<script src="/vendor/strophejs-plugins/vcard/strophe.vcard.js"></script>
59
59:f3c2d85d0a35 index: add webrtc-adapter.js, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 58:7326ef07b362
line | diff
<script src="/vendor/webrtc-adapter-1.0.4.js"></script>
0
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</head>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<body>
120
120:b71b4dae9feb index: progress bar on connect
Anton Shestakov <av6@dwimlabs.net>
previous changes: 116:67eba2d671e6
line | diff
<div class="uk-progress uk-progress-mini page-progress" data-app="progress" rv-hide="model:progress | eq undefined">
120:b71b4dae9feb index: progress bar on connect
Anton Shestakov <av6@dwimlabs.net>
previous changes: 116:67eba2d671e6
line | diff
<div class="uk-progress-bar" rv-style="model:progress | fn view.getStyle"></div>
120:b71b4dae9feb index: progress bar on connect
Anton Shestakov <av6@dwimlabs.net>
previous changes: 116:67eba2d671e6
line | diff
</div>
120:b71b4dae9feb index: progress bar on connect
Anton Shestakov <av6@dwimlabs.net>
previous changes: 116:67eba2d671e6
line | diff
0
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div class="smart-container" data-step="noscript">
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div class="uk-alert">
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<p class="uk-text-center">This page needs JavaScript to work.</p>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<hr>
101
101:0c6582e46a5a html: use jQuery also from cdnjs
Anton Shestakov <av6@dwimlabs.net>
previous changes: 100:413a9db50f92
line | diff
<small>It uses resources from cdnjs.cloudflare.com.</small>
0
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div class="smart-container uk-hidden" data-step="login">
22
22:dba8124befc3 index: wire up login form
Anton Shestakov <av6@dwimlabs.net>
previous changes: 0:52035246db0a
line | diff
<div class="uk-form uk-form-horizontal" data-form="connect">
0
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div class="uk-form-row">
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<label for="username" class="uk-form-label">Username</label>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div class="uk-form-controls">
47
47:9caed822ea2c index: redo form validation using rivets
Anton Shestakov <av6@dwimlabs.net>
previous changes: 45:3e09cda9a660
line | diff
<input id="username" type="text" class="uk-width-1-1" required autofocus
170
170:584e37c0b89c forms: rename rivets.bind() parameter
Anton Shestakov <av6@dwimlabs.net>
previous changes: 169:4cebef28d40b
line | diff
rv-value="form:username" rv-class-uk-form-danger="form:username-errors">
170:584e37c0b89c forms: rename rivets.bind() parameter
Anton Shestakov <av6@dwimlabs.net>
previous changes: 169:4cebef28d40b
line | diff
<div class="uk-text-danger" rv-each-error="form:username-errors">{ error }</div>
0
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div class="uk-form-row">
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<label for="password" class="uk-form-label">Password</label>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div class="uk-form-controls">
47
47:9caed822ea2c index: redo form validation using rivets
Anton Shestakov <av6@dwimlabs.net>
previous changes: 45:3e09cda9a660
line | diff
<input id="password" type="password" class="uk-width-1-1" required
170
170:584e37c0b89c forms: rename rivets.bind() parameter
Anton Shestakov <av6@dwimlabs.net>
previous changes: 169:4cebef28d40b
line | diff
rv-value="form:password" rv-class-uk-form-danger="form:password-errors">
170:584e37c0b89c forms: rename rivets.bind() parameter
Anton Shestakov <av6@dwimlabs.net>
previous changes: 169:4cebef28d40b
line | diff
<div class="uk-text-danger" rv-each-error="form:password-errors">{ error }</div>
0
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div class="uk-form-row">
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div class="uk-form-controls">
170
170:584e37c0b89c forms: rename rivets.bind() parameter
Anton Shestakov <av6@dwimlabs.net>
previous changes: 169:4cebef28d40b
line | diff
<div class="uk-alert uk-alert-danger" rv-each-error="form:auth-errors">{ error }</div>
47
47:9caed822ea2c index: redo form validation using rivets
Anton Shestakov <av6@dwimlabs.net>
previous changes: 45:3e09cda9a660
line | diff
<button type="button" class="uk-button uk-button-primary" rv-on-click="connect">
47:9caed822ea2c index: redo form validation using rivets
Anton Shestakov <av6@dwimlabs.net>
previous changes: 45:3e09cda9a660
line | diff
<i class="uk-icon-sign-in"></i>&nbsp;Log in
47:9caed822ea2c index: redo form validation using rivets
Anton Shestakov <av6@dwimlabs.net>
previous changes: 45:3e09cda9a660
line | diff
</button>
0
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<a class="uk-float-right uk-button uk-button-link" href="/register.html">Register</a>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<script>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
$('[data-step="noscript"]').addClass('uk-hidden');
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</script>
23
23:98a9a4b85104 index: disconnect button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 22:dba8124befc3
line | diff
76
76:625459f68893 index: add a sidebar for controls (so far it's just the disconnect button)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 73:55c7c1f07e82
line | diff
<div class="has-sidebar uk-hidden" data-step="main">
87
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<div class="sidebar" data-app="sidebar" rv-class-mini="model:sidebar/minified">
76
76:625459f68893 index: add a sidebar for controls (so far it's just the disconnect button)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 73:55c7c1f07e82
line | diff
<ul class="uk-nav uk-nav-side uk-nav-offcanvas uk-text-nowrap">
87
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<li class="uk-text-center">
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<a rv-on-click="view.minify">
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<i class="uk-icon-chevron-right" rv-if="model:sidebar/minified"></i>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<i class="uk-icon-chevron-left" rv-unless="model:sidebar/minified"></i>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
</a>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
</li>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<li class="uk-nav-divider"></li>
83
83:02495e40ccde tram: new possible pip color (chat), add another pip to the sidebar
Anton Shestakov <av6@dwimlabs.net>
previous changes: 80:addc62773413
line | diff
<li rv-class-uk-active="model:show | eq 'chat'">
83:02495e40ccde tram: new possible pip color (chat), add another pip to the sidebar
Anton Shestakov <av6@dwimlabs.net>
previous changes: 80:addc62773413
line | diff
<a data-show="chat" rv-on-click="view.show">
87
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<div class="status-pip" rv-style="'chat' | fn view.getPipColor"></div>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<span class="label">Ready to chat</span>
83
83:02495e40ccde tram: new possible pip color (chat), add another pip to the sidebar
Anton Shestakov <av6@dwimlabs.net>
previous changes: 80:addc62773413
line | diff
</a>
83:02495e40ccde tram: new possible pip color (chat), add another pip to the sidebar
Anton Shestakov <av6@dwimlabs.net>
previous changes: 80:addc62773413
line | diff
</li>
80
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
<li rv-class-uk-active="model:show | eq 'online'">
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
<a data-show="online" rv-on-click="view.show">
87
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<div class="status-pip" rv-style="'online' | fn view.getPipColor"></div>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<span class="label">Online</span>
80
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
</a>
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
</li>
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
<li rv-class-uk-active="model:show | eq 'away'">
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
<a data-show="away" rv-on-click="view.show">
87
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<div class="status-pip" rv-style="'away' | fn view.getPipColor"></div>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<span class="label">Away</span>
80
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
</a>
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
</li>
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
<li rv-class-uk-active="model:show | eq 'xa'">
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
<a data-show="xa" rv-on-click="view.show">
87
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<div class="status-pip" rv-style="'xa' | fn view.getPipColor"></div>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<span class="label">Gone</span>
80
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
</a>
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
</li>
80:addc62773413 sidebar: add status controls (online, away, xa)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 79:e0fd1f0f59bf
line | diff
<li class="uk-nav-divider"></li>
87
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<li>
163
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<a data-uk-modal="{target:'#settings-modal'}">
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<i class="uk-icon-cog"></i>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<span class="label">Settings</span>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
</a>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
</li>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<li>
124
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<a data-uk-modal="{target:'#profile-modal'}">
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<i class="uk-icon-info-circle"></i>
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<span class="label">Profile</span>
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
</a>
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
</li>
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<li class="uk-nav-divider"></li>
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<li>
113
113:2fecc3d7e58e index: don't reload the page via href="" on log out
Anton Shestakov <av6@dwimlabs.net>
previous changes: 104:f5614e27bbf1
line | diff
<a rv-on-click="view.disconnect">
87
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<i class="uk-icon-sign-out"></i>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
<span class="label">Log out</span>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
</a>
87:8fcb4b1f8611 index: "minimize sidebar" button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:75fb50e4e10c
line | diff
</li>
76
76:625459f68893 index: add a sidebar for controls (so far it's just the disconnect button)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 73:55c7c1f07e82
line | diff
</ul>
76:625459f68893 index: add a sidebar for controls (so far it's just the disconnect button)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 73:55c7c1f07e82
line | diff
</div>
25
25:bab5df239765 index: get version info from server on connect, show it in a message log
Anton Shestakov <av6@dwimlabs.net>
previous changes: 24:04329aa80b7a
line | diff
27
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
<div data-app="calls"></div>
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
76
76:625459f68893 index: add a sidebar for controls (so far it's just the disconnect button)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 73:55c7c1f07e82
line | diff
<div class="uk-grid main-grid">
66
66:4234d57b31a6 index: adjust responsive column width (contact list and message log)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 65:231ff0fb1e77
line | diff
<div class="uk-width-xlarge-1-4 uk-width-large-1-3 uk-width-medium-1-2 contact-list-block">
50
50:c47569b938dd css: improve contact list borders (between contacts and on the right)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 47:9caed822ea2c
line | diff
<ul class="uk-list contact-list" data-app="contacts"></ul>
52
52:f77c8325d168 contacts: input+button for adding contacts to roster
Anton Shestakov <av6@dwimlabs.net>
previous changes: 51:12199bfb20eb
line | diff
<div class="uk-form input-group">
145
145:438d2b9ad2f0 index: slightly restyle the two input fields
Anton Shestakov <av6@dwimlabs.net>
previous changes: 144:ca6556786997
line | diff
<input id="new-contact" type="text" value="" placeholder="add a contact" required>
52
52:f77c8325d168 contacts: input+button for adding contacts to roster
Anton Shestakov <av6@dwimlabs.net>
previous changes: 51:12199bfb20eb
line | diff
<span class="input-group-button">
52:f77c8325d168 contacts: input+button for adding contacts to roster
Anton Shestakov <av6@dwimlabs.net>
previous changes: 51:12199bfb20eb
line | diff
<button type="button" class="uk-button uk-button-success" data-add-button>
145
145:438d2b9ad2f0 index: slightly restyle the two input fields
Anton Shestakov <av6@dwimlabs.net>
previous changes: 144:ca6556786997
line | diff
<i class="uk-icon-user-plus"></i>
52
52:f77c8325d168 contacts: input+button for adding contacts to roster
Anton Shestakov <av6@dwimlabs.net>
previous changes: 51:12199bfb20eb
line | diff
</button>
52:f77c8325d168 contacts: input+button for adding contacts to roster
Anton Shestakov <av6@dwimlabs.net>
previous changes: 51:12199bfb20eb
line | diff
</span>
52:f77c8325d168 contacts: input+button for adding contacts to roster
Anton Shestakov <av6@dwimlabs.net>
previous changes: 51:12199bfb20eb
line | diff
</div>
27
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
</div>
76
76:625459f68893 index: add a sidebar for controls (so far it's just the disconnect button)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 73:55c7c1f07e82
line | diff
66
66:4234d57b31a6 index: adjust responsive column width (contact list and message log)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 65:231ff0fb1e77
line | diff
<div class="uk-width-xlarge-3-4 uk-width-large-2-3 uk-width-medium-1-2">
102
102:180123942ff9 contacts: chat button for each contact
Anton Shestakov <av6@dwimlabs.net>
previous changes: 101:0c6582e46a5a
line | diff
<div data-app="logs"></div>
104
104:f5614e27bbf1 index: sending chat messages to other contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 102:180123942ff9
line | diff
<div class="uk-form input-group uk-hidden" data-form="send">
145
145:438d2b9ad2f0 index: slightly restyle the two input fields
Anton Shestakov <av6@dwimlabs.net>
previous changes: 144:ca6556786997
line | diff
<input id="msg" type="text" value="" placeholder="send a message" required>
104
104:f5614e27bbf1 index: sending chat messages to other contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 102:180123942ff9
line | diff
<span class="input-group-button">
145
145:438d2b9ad2f0 index: slightly restyle the two input fields
Anton Shestakov <av6@dwimlabs.net>
previous changes: 144:ca6556786997
line | diff
<button class="uk-button uk-button-primary" data-send-button>
145:438d2b9ad2f0 index: slightly restyle the two input fields
Anton Shestakov <av6@dwimlabs.net>
previous changes: 144:ca6556786997
line | diff
<i class="uk-icon-paper-plane"></i>
145:438d2b9ad2f0 index: slightly restyle the two input fields
Anton Shestakov <av6@dwimlabs.net>
previous changes: 144:ca6556786997
line | diff
</button>
104
104:f5614e27bbf1 index: sending chat messages to other contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 102:180123942ff9
line | diff
</span>
104:f5614e27bbf1 index: sending chat messages to other contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 102:180123942ff9
line | diff
</div>
27
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
</div>
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
</div>
23
23:98a9a4b85104 index: disconnect button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 22:dba8124befc3
line | diff
</div>
24
24:04329aa80b7a messages: new ui element and related things
Anton Shestakov <av6@dwimlabs.net>
previous changes: 23:98a9a4b85104
line | diff
163
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<div id="settings-modal" class="uk-modal">
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<div class="uk-modal-dialog">
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<button type="button" class="uk-modal-close uk-close"></button>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<div class="uk-modal-header"><h2>Settings</h2></div>
166
166:2a8165b71e95 index: add another model, ClientSettings, to hold configurable parameters
Anton Shestakov <av6@dwimlabs.net>
previous changes: 163:299396e0bf67
line | diff
<div class="uk-form" data-app="settings">
166:2a8165b71e95 index: add another model, ClientSettings, to hold configurable parameters
Anton Shestakov <av6@dwimlabs.net>
previous changes: 163:299396e0bf67
line | diff
<div class="uk-form-row">
166:2a8165b71e95 index: add another model, ClientSettings, to hold configurable parameters
Anton Shestakov <av6@dwimlabs.net>
previous changes: 163:299396e0bf67
line | diff
<label>
166:2a8165b71e95 index: add another model, ClientSettings, to hold configurable parameters
Anton Shestakov <av6@dwimlabs.net>
previous changes: 163:299396e0bf67
line | diff
<input type="checkbox" rv-checked="settings:chatstates">
166:2a8165b71e95 index: add another model, ClientSettings, to hold configurable parameters
Anton Shestakov <av6@dwimlabs.net>
previous changes: 163:299396e0bf67
line | diff
Send chat state notifications (XEP-0085)
166:2a8165b71e95 index: add another model, ClientSettings, to hold configurable parameters
Anton Shestakov <av6@dwimlabs.net>
previous changes: 163:299396e0bf67
line | diff
</label>
166:2a8165b71e95 index: add another model, ClientSettings, to hold configurable parameters
Anton Shestakov <av6@dwimlabs.net>
previous changes: 163:299396e0bf67
line | diff
</div>
166:2a8165b71e95 index: add another model, ClientSettings, to hold configurable parameters
Anton Shestakov <av6@dwimlabs.net>
previous changes: 163:299396e0bf67
line | diff
</div>
163
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<div class="uk-modal-footer" data-app="server-info">
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<p rv-if="server:name">
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
Server: { server:name } { server:version } on { server:os }
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
</p>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<p rv-if="server:name">
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
Message carbons (XEP-0280):
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<span class="uk-text-success" rv-if="server:carbons">enabled</span>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
<span class="uk-text-danger" rv-unless="server:carbons">not supported</span>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
</p>
173
173:f9e21f14c2f2 index: support client state indication (XEP-0352)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 170:584e37c0b89c
line | diff
<p rv-if="server:name">
173:f9e21f14c2f2 index: support client state indication (XEP-0352)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 170:584e37c0b89c
line | diff
Client state indication (XEP-0352):
173:f9e21f14c2f2 index: support client state indication (XEP-0352)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 170:584e37c0b89c
line | diff
<span class="uk-text-success" rv-if="server:csi">enabled</span>
173:f9e21f14c2f2 index: support client state indication (XEP-0352)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 170:584e37c0b89c
line | diff
<span class="uk-text-danger" rv-unless="server:csi">not supported</span>
173:f9e21f14c2f2 index: support client state indication (XEP-0352)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 170:584e37c0b89c
line | diff
</p>
163
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
</div>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
</div>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
</div>
163:299396e0bf67 index: add settings modal with server info panel
Anton Shestakov <av6@dwimlabs.net>
previous changes: 161:f4d47c72e93b
line | diff
124
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<div id="profile-modal" class="uk-modal">
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<div class="uk-modal-dialog">
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<button type="button" class="uk-modal-close uk-close"></button>
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<div class="uk-modal-header"><h2>Profile</h2></div>
147
147:acd87ac0182d index: show current user profile in profile modal
Anton Shestakov <av6@dwimlabs.net>
previous changes: 145:438d2b9ad2f0
line | diff
<dl data-app="profile">
147:acd87ac0182d index: show current user profile in profile modal
Anton Shestakov <av6@dwimlabs.net>
previous changes: 145:438d2b9ad2f0
line | diff
<dt>Full Name</dt>
147:acd87ac0182d index: show current user profile in profile modal
Anton Shestakov <av6@dwimlabs.net>
previous changes: 145:438d2b9ad2f0
line | diff
<dd>{ contact:fullname }</dd>
147:acd87ac0182d index: show current user profile in profile modal
Anton Shestakov <av6@dwimlabs.net>
previous changes: 145:438d2b9ad2f0
line | diff
<dt>Nickname</dt>
147:acd87ac0182d index: show current user profile in profile modal
Anton Shestakov <av6@dwimlabs.net>
previous changes: 145:438d2b9ad2f0
line | diff
<dd>{ contact:nickname }</dd>
147:acd87ac0182d index: show current user profile in profile modal
Anton Shestakov <av6@dwimlabs.net>
previous changes: 145:438d2b9ad2f0
line | diff
<dt>Avatar</dt>
147:acd87ac0182d index: show current user profile in profile modal
Anton Shestakov <av6@dwimlabs.net>
previous changes: 145:438d2b9ad2f0
line | diff
<dd><img rv-if="contact:avatar/url" rv-src="contact:avatar/url"></dd>
147:acd87ac0182d index: show current user profile in profile modal
Anton Shestakov <av6@dwimlabs.net>
previous changes: 145:438d2b9ad2f0
line | diff
</dl>
124
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<div class="uk-text-right">
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
<button class="uk-button uk-button-danger uk-modal-close" data-unregister-button>Remove account</button>
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
</div>
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
</div>
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
</div>
124:f30bf599e609 index: profile window, unregister button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 120:b71b4dae9feb
line | diff
58
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<script type="text/template" id="video-block-template">
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<video class="remote" rv-src="model:remote/stream/url" autoplay></video>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<video class="local" rv-src="model:local/stream/url" autoplay muted></video>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<div class="buttons uk-text-center">
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<button type="button" class="uk-button uk-button-success autofade" data-mute-cam
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
rv-if="model:local/stream" rv-hide="model:local/video/muted">
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<i class="uk-icon-eye"></i>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
</button>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<button type="button" class="uk-button uk-button-danger" data-unmute-cam
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
rv-if="model:local/stream" rv-show="model:local/video/muted">
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<i class="uk-icon-eye-slash"></i>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
</button>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<button type="button" class="uk-button uk-button-success autofade" data-mute-mic
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
rv-if="model:local/stream" rv-hide="model:local/audio/muted">
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<i class="uk-icon-microphone"></i>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
</button>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<button type="button" class="uk-button uk-button-danger" data-unmute-mic
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
rv-if="model:local/stream" rv-show="model:local/audio/muted">
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<i class="uk-icon-microphone-slash"></i>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
</button>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<button type="button" class="uk-button uk-button-success autofade" data-mute-audio
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
rv-if="model:remote/stream" rv-hide="model:remote/audio/muted">
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<i class="uk-icon-volume-up"></i>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
</button>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<button type="button" class="uk-button uk-button-danger" data-unmute-audio
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
rv-if="model:remote/stream" rv-show="model:remote/audio/muted">
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<i class="uk-icon-volume-off"></i>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
</button>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
</div>
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
</script>
31
31:d0248d45562f contacts: add avatars and fallback option (background color from hashed jid)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 28:1efbfe153b8f
line | diff
<script type="text/template" id="avatar-template">
85
85:75fb50e4e10c contacts: rename d/avatar attribute to avatar/url
Anton Shestakov <av6@dwimlabs.net>
previous changes: 83:02495e40ccde
line | diff
<img class="avatar" rv-if="model:avatar/url" rv-src="model:avatar/url">
85:75fb50e4e10c contacts: rename d/avatar attribute to avatar/url
Anton Shestakov <av6@dwimlabs.net>
previous changes: 83:02495e40ccde
line | diff
<div class="avatar" rv-unless="model:avatar/url" rv-style="model:bjid | dumb-hash | fn view.getColors">
65
65:231ff0fb1e77 index: use interpolation instead of rv-text, split long lines
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:fbdf2a0985d1
line | diff
{ model:d/handle | first-letter }
65:231ff0fb1e77 index: use interpolation instead of rv-text, split long lines
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:fbdf2a0985d1
line | diff
</div>
31
31:d0248d45562f contacts: add avatars and fallback option (background color from hashed jid)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 28:1efbfe153b8f
line | diff
</script>
24
24:04329aa80b7a messages: new ui element and related things
Anton Shestakov <av6@dwimlabs.net>
previous changes: 23:98a9a4b85104
line | diff
<script type="text/template" id="message-template">
24:04329aa80b7a messages: new ui element and related things
Anton Shestakov <av6@dwimlabs.net>
previous changes: 23:98a9a4b85104
line | diff
<div class="splitter" rv-if="model:d/split"></div>
31
31:d0248d45562f contacts: add avatars and fallback option (background color from hashed jid)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 28:1efbfe153b8f
line | diff
<div class="column avatar-column" rv-class-uk-invisible="model:d/fold"></div>
73
73:55c7c1f07e82 messages: stamp every message with its own time
Anton Shestakov <av6@dwimlabs.net>
previous changes: 68:3edc62e80ae2
line | diff
<div class="column text-column">
73:55c7c1f07e82 messages: stamp every message with its own time
Anton Shestakov <av6@dwimlabs.net>
previous changes: 68:3edc62e80ae2
line | diff
<div rv-hide="model:d/fold">
65
65:231ff0fb1e77 index: use interpolation instead of rv-text, split long lines
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:fbdf2a0985d1
line | diff
<strong>{ view.getHandle < model:contact:d/handle model:from }</strong>
73
73:55c7c1f07e82 messages: stamp every message with its own time
Anton Shestakov <av6@dwimlabs.net>
previous changes: 68:3edc62e80ae2
line | diff
</div>
73:55c7c1f07e82 messages: stamp every message with its own time
Anton Shestakov <av6@dwimlabs.net>
previous changes: 68:3edc62e80ae2
line | diff
<div rv-class="model:cls">
185
185:f4488de2add3 index: set uk-text-muted to the whole right-floated message info <span>
Anton Shestakov <av6@dwimlabs.net>
previous changes: 181:83aed672e078
line | diff
<span class="uk-float-right uk-text-muted">
177
177:7373cfec622e index: receive corrections for messages (XEP-0308)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 176:de57155c3b07
line | diff
<i class="uk-icon-pencil" rv-if="model:corrected" title="Edited (XEP-0308)"></i>
176
176:de57155c3b07 index: show an icon if message was a carbon
Anton Shestakov <av6@dwimlabs.net>
previous changes: 173:f9e21f14c2f2
line | diff
<i class="uk-icon-files-o" rv-if="model:carbon" title="Carbon (XEP-0280)"></i>
185
185:f4488de2add3 index: set uk-text-muted to the whole right-floated message info <span>
Anton Shestakov <av6@dwimlabs.net>
previous changes: 181:83aed672e078
line | diff
<time class="stamp"
176
176:de57155c3b07 index: show an icon if message was a carbon
Anton Shestakov <av6@dwimlabs.net>
previous changes: 173:f9e21f14c2f2
line | diff
rv-datetime="model:d/mstamp | iso-date"
176:de57155c3b07 index: show an icon if message was a carbon
Anton Shestakov <av6@dwimlabs.net>
previous changes: 173:f9e21f14c2f2
line | diff
rv-title="model:d/mstamp | format-date 'HH:mm:ss'">
176:de57155c3b07 index: show an icon if message was a carbon
Anton Shestakov <av6@dwimlabs.net>
previous changes: 173:f9e21f14c2f2
line | diff
{ model:d/mstamp | from-now }
176:de57155c3b07 index: show an icon if message was a carbon
Anton Shestakov <av6@dwimlabs.net>
previous changes: 173:f9e21f14c2f2
line | diff
</time>
176:de57155c3b07 index: show an icon if message was a carbon
Anton Shestakov <av6@dwimlabs.net>
previous changes: 173:f9e21f14c2f2
line | diff
</span>
133
133:639fc9d55404 index: allow xhtml messages (XEP-0071) from contacts in roster
Anton Shestakov <av6@dwimlabs.net>
previous changes: 124:f30bf599e609
line | diff
<div rv-unless="model:html">{ model:text }</div>
135
135:2406e8c6f282 css: remove some styles for xhtml messages that come from uikit (<p> and <em>)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 133:639fc9d55404
line | diff
<div class="xhtml-body" rv-if="model:html" rv-html="model:html"></div>
24
24:04329aa80b7a messages: new ui element and related things
Anton Shestakov <av6@dwimlabs.net>
previous changes: 23:98a9a4b85104
line | diff
</div>
24:04329aa80b7a messages: new ui element and related things
Anton Shestakov <av6@dwimlabs.net>
previous changes: 23:98a9a4b85104
line | diff
</div>
24:04329aa80b7a messages: new ui element and related things
Anton Shestakov <av6@dwimlabs.net>
previous changes: 23:98a9a4b85104
line | diff
</script>
27
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
<script type="text/template" id="contact-template">
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
<div class="column avatar-column">
45
45:3e09cda9a660 contacts: use rivets more, don't spread model attributes
Anton Shestakov <av6@dwimlabs.net>
previous changes: 44:3f0465a92b8f
line | diff
<div class="status-pip" rv-title="model:show" rv-style="model:show | fn view.getPipColor"></div>
27
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
</div>
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
<div class="column uk-width-1-1">
65
65:231ff0fb1e77 index: use interpolation instead of rv-text, split long lines
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:fbdf2a0985d1
line | diff
<div class="uk-text-bold">{ model:d/handle }</div>
27
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
<div class="uk-text-nowrap">
65
65:231ff0fb1e77 index: use interpolation instead of rv-text, split long lines
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:fbdf2a0985d1
line | diff
<span>{ model:status }</span>
65:231ff0fb1e77 index: use interpolation instead of rv-text, split long lines
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:fbdf2a0985d1
line | diff
<span rv-hide="model:type | eq 'self'">{ model:chatstate | only 'composing' }</span>
27
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
</div>
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
</div>
55
55:8959cd40c75d contacts: dropdown with a remove button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 54:bb83c44ae4ac
line | diff
<div class="column uk-text-nowrap">
61
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<i class="uk-icon-phone calling-icon" data-wait rv-if="model:d/actions | has 'wait'"></i>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<button type="button" class="uk-button" data-call="av" rv-if="model:d/actions | has 'call'">
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<i class="uk-icon-video-camera"></i>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
</button>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<button type="button" class="uk-button" data-call="a" rv-if="model:d/actions | has 'call'">
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<i class="uk-icon-phone"></i>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
</button>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<button type="button" class="uk-button uk-button-success" data-accept="av" rv-if="model:d/actions | has 'accept'">
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<i class="uk-icon-video-camera"></i>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
</button>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<button type="button" class="uk-button uk-button-success" data-accept="a" rv-if="model:d/actions | has 'accept'">
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<i class="uk-icon-phone"></i>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
</button>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<button type="button" class="uk-button uk-button-danger" data-decline rv-if="model:d/actions | has 'decline'">
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<i class="uk-icon-times"></i>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
</button>
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<button type="button" class="uk-button uk-button-danger" data-hang-up rv-if="model:d/actions | has 'hang-up'">
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
<i class="uk-icon-phone"></i> Hang up
61:fbdf2a0985d1 webrtc: add glue code, contact controls, styles
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:bbab4c40a2ba
line | diff
</button>
102
102:180123942ff9 contacts: chat button for each contact
Anton Shestakov <av6@dwimlabs.net>
previous changes: 101:0c6582e46a5a
line | diff
<button type="button" class="uk-button" data-chat>
102:180123942ff9 contacts: chat button for each contact
Anton Shestakov <av6@dwimlabs.net>
previous changes: 101:0c6582e46a5a
line | diff
<i class="uk-icon-comments-o"></i>
102:180123942ff9 contacts: chat button for each contact
Anton Shestakov <av6@dwimlabs.net>
previous changes: 101:0c6582e46a5a
line | diff
</button>
55
55:8959cd40c75d contacts: dropdown with a remove button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 54:bb83c44ae4ac
line | diff
<div class="uk-button-dropdown" data-uk-dropdown="{mode:'click',pos:'bottom-right'}" rv-if="model:d/actions | has 'remove'">
55:8959cd40c75d contacts: dropdown with a remove button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 54:bb83c44ae4ac
line | diff
<button class="uk-button"><i class="uk-icon-caret-down"></i></button>
55:8959cd40c75d contacts: dropdown with a remove button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 54:bb83c44ae4ac
line | diff
<div class="uk-dropdown uk-dropdown-small">
55:8959cd40c75d contacts: dropdown with a remove button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 54:bb83c44ae4ac
line | diff
<ul class="uk-nav uk-nav-dropdown">
55:8959cd40c75d contacts: dropdown with a remove button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 54:bb83c44ae4ac
line | diff
<li><a data-remove rv-if="model:d/actions | has 'remove'">Remove</a></li>
55:8959cd40c75d contacts: dropdown with a remove button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 54:bb83c44ae4ac
line | diff
</ul>
55:8959cd40c75d contacts: dropdown with a remove button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 54:bb83c44ae4ac
line | diff
</div>
55:8959cd40c75d contacts: dropdown with a remove button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 54:bb83c44ae4ac
line | diff
</div>
55:8959cd40c75d contacts: dropdown with a remove button
Anton Shestakov <av6@dwimlabs.net>
previous changes: 54:bb83c44ae4ac
line | diff
</div>
54
54:bb83c44ae4ac contacts: show authorize/unauthorize buttons for new contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 53:efe3afb026a6
line | diff
<div class="uk-text-center">
54:bb83c44ae4ac contacts: show authorize/unauthorize buttons for new contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 53:efe3afb026a6
line | diff
<button type="button" class="uk-button uk-button-success" data-authorize rv-if="model:d/actions | has 'authorize'">
54:bb83c44ae4ac contacts: show authorize/unauthorize buttons for new contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 53:efe3afb026a6
line | diff
<i class="uk-icon-plus"></i> Authorize
54:bb83c44ae4ac contacts: show authorize/unauthorize buttons for new contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 53:efe3afb026a6
line | diff
</button>
54:bb83c44ae4ac contacts: show authorize/unauthorize buttons for new contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 53:efe3afb026a6
line | diff
<button type="button" class="uk-button uk-button-danger" data-unauthorize rv-if="model:d/actions | has 'unauthorize'">
54:bb83c44ae4ac contacts: show authorize/unauthorize buttons for new contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 53:efe3afb026a6
line | diff
<i class="uk-icon-times"></i> Decline
54:bb83c44ae4ac contacts: show authorize/unauthorize buttons for new contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 53:efe3afb026a6
line | diff
</button>
54:bb83c44ae4ac contacts: show authorize/unauthorize buttons for new contacts
Anton Shestakov <av6@dwimlabs.net>
previous changes: 53:efe3afb026a6
line | diff
</div>
27
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
</script>
22
22:dba8124befc3 index: wire up login form
Anton Shestakov <av6@dwimlabs.net>
previous changes: 0:52035246db0a
line | diff
<script src='/js/tram.js'></script>
24
24:04329aa80b7a messages: new ui element and related things
Anton Shestakov <av6@dwimlabs.net>
previous changes: 23:98a9a4b85104
line | diff
<script src='/js/rivets.js'></script>
22
22:dba8124befc3 index: wire up login form
Anton Shestakov <av6@dwimlabs.net>
previous changes: 0:52035246db0a
line | diff
<script src='/js/xmpp.js'></script>
60
60:bbab4c40a2ba webrtc: add Tram.WebRTCInterface, it will be glued to the rest of code later
Anton Shestakov <av6@dwimlabs.net>
previous changes: 59:f3c2d85d0a35
line | diff
<script src='/js/webrtc.js'></script>
27
27:f59d389adcc4 contacts: new ui element, contact list
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:bab5df239765
line | diff
<script src='/js/contacts.js'></script>
24
24:04329aa80b7a messages: new ui element and related things
Anton Shestakov <av6@dwimlabs.net>
previous changes: 23:98a9a4b85104
line | diff
<script src='/js/messages.js'></script>
58
58:7326ef07b362 calls: new ui element, yet unused
Anton Shestakov <av6@dwimlabs.net>
previous changes: 55:8959cd40c75d
line | diff
<script src='/js/calls.js'></script>
43
43:95e2cabea44b favicon: new ui element to display status (and incoming events in the future)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 42:76ef29f4711c
line | diff
<script src='/js/favicon.js'></script>
79
79:e0fd1f0f59bf sidebar: new ui element
Anton Shestakov <av6@dwimlabs.net>
previous changes: 76:625459f68893
line | diff
<script src='/js/sidebar.js'></script>
120
120:b71b4dae9feb index: progress bar on connect
Anton Shestakov <av6@dwimlabs.net>
previous changes: 116:67eba2d671e6
line | diff
<script src='/js/progress.js'></script>
169
169:4cebef28d40b forms: move forms to a separate file
Anton Shestakov <av6@dwimlabs.net>
previous changes: 166:2a8165b71e95
line | diff
<script src='/js/forms.js'></script>
22
22:dba8124befc3 index: wire up login form
Anton Shestakov <av6@dwimlabs.net>
previous changes: 0:52035246db0a
line | diff
<script src='/config.js'></script>
22:dba8124befc3 index: wire up login form
Anton Shestakov <av6@dwimlabs.net>
previous changes: 0:52035246db0a
line | diff
<script src='/js/index.js'></script>
53
53:efe3afb026a6 index: only show login form after rivets init
Anton Shestakov <av6@dwimlabs.net>
previous changes: 52:f77c8325d168
line | diff
<script>
53:efe3afb026a6 index: only show login form after rivets init
Anton Shestakov <av6@dwimlabs.net>
previous changes: 52:f77c8325d168
line | diff
$('[data-step="login"]').removeClass('uk-hidden');
53:efe3afb026a6 index: only show login form after rivets init
Anton Shestakov <av6@dwimlabs.net>
previous changes: 52:f77c8325d168
line | diff
</script>
0
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</body>
0:52035246db0a html: add index and register with basic styles
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</html>