summaryrefslogtreecommitdiffstats
path: root/assets/pages-src/messaging.bvr
blob: 80bb80de92c91e5ea898e5d693431da250d6fa6d (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>Messaging &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 rel="manifest" href="/manifest.json">
	<script src="/js/app.js"></script>
	<script src="/js/lib/themes.js"></script>
	<script src="/js/lang/bundle.js"></script>
	<script src="/js/lib/xss.js"></script>
	<script src="/js/lib/sjcl.js"></script>
	<script src="/js/gsec.js"></script>
	<link rel="shortcut icon" type="image/png" href="/favicon.png" />
	<script type="text/javascript" src="/js/messaging.js"></script>

	<!-- 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">
			<b class="app-header-bold">Beži</b><span class="app-header-span">App</span> &raquo; <x-su>messaging</x-su>
			<span class="right white-text">
				<i class="material-icons sidenav-trigger" data-target="side-menu">menu</i>
			</span>
			<span class="right white-text" id="refresh-icon">
				<a href="#"><i class="material-icons">refresh</i></a>
			</span>
		</div>
		<div id="loading-bar" class="progress hidden">
			<div class="indeterminate"></div>
		</div>
	</nav>
	<@?i navigation@>
	<div class="container">
		<div class="row">

			<br>
			<div class="row light-text" id="storage-bar">
				<div class="col s6">
					<x-su>messageStorageUsed</x-su>: <span id="storage-stats">0/120</span> <x-sl>messages</x-sl>
				</div>
				<div class="progress col s6">
					<div class="determinate" id="storage-progressbar" style="width: 0%"></div>
				</div>
			</div>

			<div class="row light-text" style="text-align: center;">
				<x-du>maxMessagesNote</x-du>
			</div>

			<div class="col s12 m12">
				<ul class="tabs">
					<li class="tab col s4"><a href="#beziapp-received" class="active">Received</a></li>
					<li class="tab col s4"><a href="#beziapp-sent">Sent</a></li>
					<li class="tab col s4"><a href="#beziapp-deleted">Deleted</a></li>
				</ul>
			</div>
			<br>
			<div id="beziapp-received" class="col s12"><p class="center-align light-text"><x-su>loadingMessages</x-su></p></div>
			<div id="beziapp-sent" class="col s12"><p class="center-align light-text"><x-su>loadingMessages</x-su></p></div>
			<div id="beziapp-deleted" class="col s12"><p class="center-align light-text"><x-su>loadingMessages</x-su></p></div>
		</div>
	</div>

	<!-- FAB -->
	<div class="fixed-action-btn" id="fab-new">
		<a class="btn-floating btn-large fab-new-message modal-trigger" href="#beziapp-new-message">
		  <i class="large material-icons">mode_edit</i>
		</a>
	</div>
		<@?i msg-compose-modal@>
</body>
</html>