blob: 5acb6f6b4ea49edecda1f9381e8b82900fcfe0e1 (
plain) (
tree)
|
|
<!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 « 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> » <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>
<!-- @begin=html@ -->
<ul id="side-menu" class="sidenav side-menu">
<li><a class="subheader"><h4 class="sidenav-beziapp-subheader"><b>Beži</b>App</h4></a></li>
<li><a href="/pages/timetable.html" class="waves-effect"><i class="material-icons">view_module</i><x-su>timetable</x-su></a></li>
<li><a href="/pages/gradings.html" class="waves-effect"><i class="material-icons">event</i><x-su>gradings</x-su></a></li>
<li><a href="/pages/grades.html" class="waves-effect"><i class="material-icons">receipt</i><x-su>grades</x-su></a></li>
<li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i><x-su>teachers</x-su></a></li>
<li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i><x-su>absences</x-su></a></li>
<li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i><x-su>messaging</x-su></a></li>
<!-- chats not done yet, expecting merge so removing from navigation panel --sijanec -->
<!-- <li><a href="/pages/chats.html" class="waves-effect"><i class="material-icons">chat</i><x-su>chat</x-su></a></li> -->
<!-- <li><a href="/pages/jitsi.html" class="waves-effect"><i class="material-icons">video_call</i><x-su>videoconferences</x-su></a></li> -->
<!-- jitsi got reverted to jitsi from gimb meet so it's sucky to show this -->
<li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i><x-su>meals</x-su></a></li>
<li><div class="divider"></div></li>
<li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li>
<li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li>
<li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li>
</ul>
<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>
<!-- @begin=html@ -->
<!-- Modal Structure -->
<div id="beziapp-new-message" class="modal modal-fixed-footer">
<div class="modal-content">
<h4 class="general-text"><x-su>sendAMessage</x-su></h4>
<br>
<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 class="row" >
<div class="col s9 m10">
<div class="input-field">
<i class="material-icons prefix">subject</i>
<input id="msg-subject" type="text" class="">
<label for="msg-subject"><x-su>messageSubject</x-su></label>
</div>
</div>
<div class="col s2 m2">
<button class="btn btn-large btn-floating waves-effect waves-light" id="msg-add-photo" type="button">
<i class="material-icons" style="margin: 0 auto">add_a_photo</i>
</button>
</div>
</div>
<div class="row">
<div class="valign-wrapper col s10 m10">
<label>
<input type="checkbox" id="encrypt-checkbox" />
<span><x-su>encryptMessage</x-su></span>
</label>
</div>
</div>
<div class="row">
<div class="col s12 m12">
<div class="input-field" id="encryption-key-input" hidden>
<i class="material-icons prefix">lock</i>
<input id="msg-e2ee-pass-input" type="password" autocomplete="new-password" class="">
<label for="msg-e2ee-pass-input"><x-su>passwordForE2EE</x-su></label>
</div>
</div>
</div>
<div class="input-field">
<i class="material-icons prefix">mode_edit</i>
<textarea id="msg-body" class="materialize-textarea"></textarea>
<label for="msg-body"><x-su>messageBody</x-su></label>
</div>
</div>
<div class="modal-footer">
<div id="modal-footer-right">
<a href="#" class="modal-close waves-effect waves-green btn-flat"><x-su>cancel</x-su> <i class="material-icons right">close</i></a>
<a href="#" id="msg-send" class="modal-close waves-effect waves-green btn-flat" disabled><x-su>send</x-su> <i class="material-icons right">send</i></a>
</div>
</div>
</div>
</body>
</html>
|