summaryrefslogtreecommitdiffstats
path: root/assets/pages-src/chats.bvr
blob: 9e3e619f4b73c702a753d02ded53b84b265badec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<@?i global@>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<meta name="google" content="notranslate">
		<title>Chats &laquo; BežiApp</title>
		<!-- Materialize -->
		<link type="text/css" href="/css/materialize.min.css" rel="stylesheet">
		<link href="/css/materialicons.css" rel="stylesheet">
		<script type="text/javascript" src="/js/lib/materialize.min.js"></script>
		<script src="/js/lib/jquery.min.js"></script>
		<script type="text/javascript" src="/js/lib/localforage.min.js"></script>
		<link type="text/css" href="/css/styles.css" rel="stylesheet">
		<link type="text/css" href="/css/bubbles.css" rel="stylesheet">
		<script type="text/javascript" src="/js/lib/he.js" ></script>
		<script type="text/javascript" src="/js/gsec.js" ></script>
		<script type="text/javascript" src="/js/chats.js"></script>
		<link rel="manifest" href="/manifest.json">
		<script src="/js/app.js"></script>
		<script src="/js/lang/bundle.js"></script>
		<script src="/js/lib/xss.js"></script>
		<script src="/js/lib/sjcl.js"></script>
		<link rel="shortcut icon" type="image/png" href="/favicon.png" />
		<!-- iOS support -->
		<link rel="apple-touch-icon" href="/img/icons/icon_96.png">
		<link rel="apple-touch-icon" href="/img/icons/icon_512.png">
		<meta name="apple-mobile-web-app-status-bar" content="#004d32">
	</head>
	<body>
		<nav class="z-depth-0" id="navigation-main">
			<div class="nav-wrapper container">
				<span class="left white-text directory-opener">
					<i class="material-icons sidenav-trigger" data-target="directory-side-menu">contacts</i>
				</span>
				<!-- | <x-su>chattingWith</x-su> --> <!-- too much for smaller devices -->
					<span class="msg-chattingWith"><b>Beži</b><span>App</span> &raquo; <x-su>chat</x-su></span> &nbsp;
				<span class="right white-text">
					<i class="material-icons sidenav-trigger" data-target="side-menu">menu</i>
				</span>
			</div>
			<div id="loading-bar" class="progress hidden">
				<div class="indeterminate"></div>
			</div>
		</nav>
		<@?i navigation@>
		<ul id="directory-side-menu" class="sidenav side-modal">
			<br>
			<li><a class="header"><h5><x-su>directory</x-su></h5></a></li>
			<li>
				<div class="container">
					<div class="row">
						<div class="input-field">
							<i class="material-icons prefix">account_circle</i>
							<input id="full-name" type="text" class="autocomplete-fullname validate">
							<label for="full-name"><x-su>recipient</x-su></label>
						</div>
					</div>
					<div class="row">
						<button id="chat-recipient-select-btn" class="btn waves-effect">
							<x-su>select</x-su>
						</button>
					</div>
				</div>
			</li>
		</ul>
		<div class="container">
			<h6 id="chat-mustSelectRecipient"><x-du>mustSelectRecipient</x-du></h6>
			<div style="text-align:center" class="msg-messagesPlaceholder">
				<br />
				<x-du class="msg-messagesPlaceholderText"></x-du> <!-- stillLoading / noMessages -->
			</div>
			<div class="chat"></div> <!-- <div data-remark="a child, so chatarea.children does not scare of losing all of her kids"></div> -->
			<div class="chat-sticky-input">
				<div class="row">
					<div class="input-field col s10">
						<i class="material-icons prefix">mode_edit</i>
						<textarea maxlength="180" disabled="disabled" id="msg-body" class="materialize-textarea"></textarea>
						<label for="msg-body"><x-su>messageBody</x-su></label>
					</div>
					<div class="input-field col s2">
						<button class="btn waves-effect waves-light" id="msg-send" type="button" disabled="disabled" name="action">
							<i class="material-icons">send</i>
						</button>
					</div>
			</div>
			</div>
		</div>
	</body>
</html>