guac.ejs 4.56 KB
Newer Older
1
<html>
2 3 4 5 6 7 8 9
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="Taisun VDI">
    <meta name="author" content="Ryan Kuba">
    <title>Taisun VDI</title>
    <link href="/public/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
10
    <link href="/public/vendor/font-awesome/css/fontawesome.min.css" rel="stylesheet" type="text/css">
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
    <link href="/public/css/vdi.css" rel="stylesheet" type="text/css">
    <link rel="apple-touch-icon" sizes="57x57" href="/public/favicon/apple-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="60x60" href="/public/favicon/apple-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="72x72" href="/public/favicon/apple-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="76x76" href="/public/favicon/apple-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/public/favicon/apple-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="120x120" href="/public/favicon/apple-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="144x144" href="/public/favicon/apple-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="152x152" href="/public/favicon/apple-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="/public/favicon/apple-icon-180x180.png">
    <link rel="icon" type="image/png" sizes="192x192"  href="/public/favicon/android-icon-192x192.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/public/favicon/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="96x96" href="/public/favicon/favicon-96x96.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/public/favicon/favicon-16x16.png">
    <link rel="manifest" href="/public/favicon/manifest.json">
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="msapplication-TileImage" content="/public/favicon/ms-icon-144x144.png">
    <meta name="theme-color" content="#ffffff">
  </head>
30
  <body>
31
    <!-- SideBar -->
32 33 34
    <div class="sidebar" style="cursor:initial;">
      <!-- On Screen Keyboard Launcher -->
      <center><button type="button" style="cursor:pointer;" class="btn btn-secondary" data-toggle="modal" data-target="#Keyboard" onclick="poposk()">Touch <i class="fa fa-keyboard-o"></i></button></center>
35
      <!-- Clipboard -->
36 37
      ClipBoard:<br>
      <textarea id="clipboard" class="stopcapture form-control" rows="7"></textarea>
38
      <!-- Resolution Management -->
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
      Browser Size:<br>
      <input id="currentsize" readonly="readonly" class="form-control stopcapture">
      Resize Desktop:<br>
      <input  list="resolutions" name="resolutions" class="form-control stopcapture" id="resform" placeholder="enter new resolution">
      <datalist id="resolutions"></datalist>
    </div>
    <!--On Screen Keyboard Modal-->
    <div id="Keyboard" data-backdrop="false" class="modal fade taisunosk" tabindex="-1" style="cursor:initial;">
      <div class="modal-dialog" style="opacity:0.5;max-width:100%!important;">
        <div class="modal-content">
          <div class="modal-body">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <div id="osk"></div>
          </div>
        </div>
      </div>
55
    </div>
56
    <!-- Fake checkbox to show/hide the sidebar -->
57
    <input type="checkbox" id="nav-trigger" class="nav-trigger" />
58
    <label id="sidebaricon" for="nav-trigger"><i class="fa fa-arrow-right"></i></label>
59
    <!-- Display -->
60
    <div class="site-wrap" onmouseover="this.focus();" tabindex="0" style="outline:none;">
61 62
      <div id="display" style="width:100%;height:100vh;overflow:hidden;position:absolute;left:0;top:0;"></div>
    </div>
63 64 65 66 67 68 69 70 71 72 73 74
    <!-- Storage for encoded connection string -->
    <input type="hidden" id="connectionstring" value="<%- token -%>" />
    <!-- Guacamole -->
    <script type="text/javascript" src="/public/vendor/guac/js/guac.min.js"></script>
    <!-- Helpers -->
    <script type="text/javascript" src="/public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="/socket.io/socket.io.js"></script>
    <script type="text/javascript" src="/public/vendor/popper/popper.min.js"></script>
    <script type="text/javascript" src="/public/vendor/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/public/vendor/shortcut/js/shortcut.js"></script>
    <!-- Client side -->
    <script type="text/javascript" src="/public/js/desktop.js"></script>
75 76
  </body>
</html>