1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00
galene/static/galene.html

253 lines
11 KiB
HTML
Raw Normal View History

2020-04-24 19:38:21 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
2020-12-06 19:43:17 +01:00
<title>Galène</title>
2020-09-11 10:39:32 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="ScreenOrientation" content="autoRotate:disabled">
2020-04-24 19:38:21 +02:00
<link rel="stylesheet" type="text/css" href="/common.css"/>
2020-12-06 19:43:17 +01:00
<link rel="stylesheet" type="text/css" href="/galene.css"/>
2020-04-24 19:38:21 +02:00
<link rel="author" href="https://www.irif.fr/~jch/"/>
2020-08-27 21:17:46 +02:00
<!-- Font Awesome File -->
2020-11-09 15:57:30 +01:00
<link href="/css/fontawesome.min.css" rel="stylesheet" type="text/css">
<link href="/css/solid.css" rel="stylesheet" type="text/css">
<link href="/css/regular.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="/css/toastify.min.css">
2020-04-24 19:38:21 +02:00
</head>
<body>
2020-08-27 21:17:46 +02:00
<div id="main" class="app">
<div class="row full-height">
<nav id="left-sidebar">
<div class="users-header">
2020-12-06 19:43:17 +01:00
<div class="galene-header">Galène</div>
2020-08-27 21:17:46 +02:00
</div>
<div class="header-sep"></div>
<div id="users"></div>
</nav>
<div class="container">
<header>
<nav class="topnav navbar navbar-expand navbar-light fixed-top">
<div id="header">
<div class="collapse" title="Collapse left panel" id="sidebarCollapse">
<svg class="svg-inline--fa" aria-hidden="true" data-icon="align-left" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
2020-08-27 21:17:46 +02:00
<path fill="currentColor" d="M288 44v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16zM0 172v40c0 8.837 7.163 16 16 16h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16zm16 312h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm256-200H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"></path>
</svg>
</div>
<h1 id="title" class="header-title"></h1>
</div>
2020-08-27 21:17:46 +02:00
<ul class="nav-menu">
2020-09-02 15:35:55 +02:00
<li>
<button id="presentbutton" class="invisible btn btn-success">
2020-12-02 19:05:02 +01:00
<i class="fas fa-play" aria-hidden="true"></i><span class="nav-text"> Ready</span>
2020-09-02 15:35:55 +02:00
</button>
</li>
<li>
<button id="unpresentbutton" class="invisible btn btn-cancel">
2020-12-02 19:05:02 +01:00
<i class="fas fa-stop" aria-hidden="true"></i><span class="nav-text"> Panic</span>
2020-09-02 15:35:55 +02:00
</button>
</li>
<li>
<div id="mutebutton" class="nav-link nav-button">
2020-11-09 15:57:30 +01:00
<span><i class="fas fa-microphone-slash" aria-hidden="true"></i></span>
2020-09-02 15:35:55 +02:00
<label>Mute</label>
</div>
</li>
<li>
<div id="sharebutton" class="invisible nav-link nav-button">
2020-11-09 15:57:30 +01:00
<span><i class="fas fa-share-square" aria-hidden="true"></i></span>
2020-09-02 15:35:55 +02:00
<label>Share Screen</label>
</div>
</li>
<li>
<div id="unsharebutton" class="invisible nav-link nav-button nav-cancel">
2020-11-09 15:57:30 +01:00
<span><i class="fas fa-window-close" aria-hidden="true"></i></span>
<label>Unshare Screen</label>
2020-09-02 15:35:55 +02:00
</div>
</li>
2020-11-24 22:41:43 +01:00
<li>
<div id="stopvideobutton" class="invisible nav-link nav-button nav-cancel">
<span><i class="fas fa-window-close" aria-hidden="true"></i></span>
<label>Stop Video</label>
</div>
</li>
2020-09-02 15:35:55 +02:00
<li>
2020-11-27 11:21:48 +01:00
<div class="nav-button nav-link nav-more" id="openside">
<span><i class="fas fa-ellipsis-v" aria-hidden="true"></i></span>
2020-08-27 21:17:46 +02:00
</div>
</li>
</ul>
</nav>
</header>
<div class="row full-width" id="mainrow">
<div class="coln-left" id="left">
2020-08-27 21:17:46 +02:00
<div id="chat">
<div id="chatbox">
2020-11-09 15:57:30 +01:00
<div class="close-chat" id="close-chat" title="Hide chat">
<span class="close-icon"></span>
</div>
2020-08-27 21:17:46 +02:00
<div id="box"></div>
<div class="reply">
<form id="inputform">
<textarea id="input" class="form-reply"></textarea>
<input id="inputbutton" type="submit" value="&#10148;" class="btn btn-default"/>
</form>
</div>
</div>
</div>
</div>
2020-09-02 15:35:55 +02:00
<div id="resizer"></div>
<div class="coln-right" id="right">
2020-11-09 15:57:30 +01:00
<span class="show-video blink" id="switch-video"><i class="fas fa-exchange" aria-hidden="true"></i></span>
2020-09-09 20:26:19 +02:00
<div class="collapse-video" id="collapse-video">
2020-11-09 15:57:30 +01:00
<i class="far fa-comment-alt open-chat" title="Open chat"></i>
2020-09-09 20:26:19 +02:00
</div>
<div class="video-container no-video" id="video-container">
<div id="expand-video" class="expand-video">
<div id="peers"></div>
</div>
2020-08-27 21:17:46 +02:00
</div>
2020-09-02 15:35:55 +02:00
<div class="login-container invisible" id="login-container">
<div class="login-box">
<form id="userform" class="userform">
<label for="username">Username</label>
2020-09-02 15:35:55 +02:00
<input id="username" type="text" name="username"
autocomplete="username" class="form-control"/>
<label for="password">Password</label>
2020-09-02 15:35:55 +02:00
<input id="password" type="password" name="password"
autocomplete="current-password" class="form-control"/>
<label>Auto ready</label>
<div class="present-switch">
<p class="switch-radio">
<input id="presentoff" type="radio" name="presentradio" value="" checked/>
<label for="presentoff">Disabled</label>
</p>
<p class="switch-radio">
<input id="presentmike" type="radio" name="presentradio" value="mike"/>
<label for="presentmike">Enable microphone</label>
</p>
<p class="switch-radio">
<input id="presentboth" type="radio" name="presentradio" value="both"/>
<label for="presentboth">Enable camera and microphone</label>
</p>
</div>
2020-09-02 15:35:55 +02:00
<div class="clear"></div>
<div class="connect">
<input id="connectbutton" type="submit" class="btn btn-blue" value="Connect"/>
</div>
2020-09-02 15:35:55 +02:00
</form>
<div class="clear"></div>
</div>
</div>
2020-08-27 21:17:46 +02:00
</div>
</div>
</div>
2020-04-24 19:38:21 +02:00
</div>
2020-08-27 21:17:46 +02:00
</div>
2020-04-24 19:38:21 +02:00
2020-08-27 21:17:46 +02:00
<div id="sidebarnav" class="sidenav">
<div class="sidenav-header">
2020-09-09 20:26:19 +02:00
<h2>Settings</h2>
2020-11-09 15:57:30 +01:00
<a class="closebtn" id="clodeside"><i class="fas fa-times" aria-hidden="true"></i></a>
2020-08-27 21:17:46 +02:00
</div>
<div class="sidenav-content" id="optionsdiv">
2020-11-24 17:36:52 +01:00
<div id="profile" class="profile invisible">
<div class="profile-user">
<div class="profile-logo">
<span><i class="fas fa-user" aria-hidden="true"></i></span>
</div>
<div class="profile-info">
<span id="userspan"></span>
<span id="permspan"></span>
</div>
<div class="user-logout">
<a id="disconnectbutton">
<span class="logout-icon"><i class="fas fa-sign-out-alt"></i></span>
<span class="logout-text">Logout</span>
</a>
</div>
</div>
</div>
<div id="mediaoptions" class="invisible">
<fieldset>
<legend>Media Options</legend>
<label for="videoselect" class="sidenav-label-first">Camera:</label>
<select id="videoselect" class="select select-inline">
<option value="">off</option>
</select>
<label for="audioselect" class="sidenav-label">Microphone:</label>
<select id="audioselect" class="select select-inline">
<option value="">off</option>
</select>
<form>
<input id="blackboardbox" type="checkbox"/>
<label for="blackboardbox">Blackboard mode</label>
</form>
</fieldset>
</div>
<fieldset>
2020-11-09 00:13:13 +01:00
<legend>Other Settings</legend>
<form id="sendform">
<label for="sendselect" class="sidenav-label-first">Send:</label>
<select id="sendselect" class="select select-inline">
<option value="lowest">lowest</option>
<option value="low">low</option>
<option value="normal" selected>normal</option>
<option value="unlimited">unlimited</option>
</select>
</form>
<form id="requestform">
<label for="requestselect" class="sidenav-label">Receive:</label>
<select id="requestselect" class="select select-inline">
<option value="">nothing</option>
<option value="audio">audio only</option>
<option value="screenshare">screen share</option>
<option value="everything" selected>everything</option>
</select>
</form>
2020-09-18 19:14:10 +02:00
<form>
<input id="activitybox" type="checkbox"/>
<label for="activitybox">Activity detection</label>
2020-09-18 19:14:10 +02:00
</form>
2020-11-24 19:22:38 +01:00
</fieldset>
<form id="fileform">
<label for="fileinput" class=".sidenav-label-first">Play local file:</label>
<input type="file" id="fileinput" accept="audio/*,video/*" multiple/>
</form>
2020-04-24 19:38:21 +02:00
</div>
</div>
<div id="videocontrols-template" class="invisible">
<div class="video-controls vc-overlay">
<div class="controls-button controls-left">
<span class="volume" title="Volume">
<i class="fas fa-volume-up volume-mute" aria-hidden="true"></i>
<input class="volume-slider" type="range" max="100" value="100" min="0" step="5" >
</span>
</div>
<div class="controls-button controls-right">
<span class="pip" title="Picture In Picture">
<i class="far fa-clone" aria-hidden="true"></i>
</span>
<span class="fullscreen" title="Fullscreen">
<i class="fas fa-expand" aria-hidden="true"></i>
</span>
</div>
</div>
</div>
<script src="/protocol.js" defer></script>
2020-09-03 20:54:27 +02:00
<script src="/scripts/toastify.js" defer></script>
2020-12-06 19:43:17 +01:00
<script src="/galene.js" defer></script>
2020-04-24 19:38:21 +02:00
</body>
</html>