123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name='viewport' content='width=device-width,initial-scale=1'/>
- <meta content='true' name='HandheldFriendly'/>
- <meta content='width' name='MobileOptimized'/>
- <meta content='yes' name='apple-mobile-web-app-capable'/>
- <title>openwemb</title>
- <link rel="stylesheet" href="/static/css/style.css" />
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.3/css/bulma.min.css" integrity="sha512-IgmDkwzs96t4SrChW29No3NXBIBv8baW490zk5aXvhCD8vuZM3yUSkbyTBcXohkySecyzIrUwiF/qV0cuPcL3Q==" crossorigin="anonymous" referrerpolicy="no-referrer" />
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/plyr/3.6.12/plyr.min.css" integrity="sha512-cDe2OuLwzNwBFIlDDHUbnu6XoAUmOIGY2fctiLCxgNPw4OdkWfPcbO+rJmJ4Ck71ZxVo0gB30hzKUqfQG0mvNg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
- <script src="/static/js/popup.js"></script>
- <script src="/static/js/debug.js"></script>
- <script src="/static/js/tools.js"></script>
- <script src="/static/js/api.js"></script>
- <script src="/static/js/suggest.js"></script>
- <script src="/static/js/navbar.js"></script>
- <script src="https://js.hcaptcha.com/1/api.js" async defer></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/plyr/3.6.12/plyr.min.js" integrity="sha512-KD7SjO7VUcKW975+6TGB/h/E//W8Pei+W9806myhzEwekQ9W82Ne5jUMa2JMVn+pqSICZDVnvckAhTUwfON+pA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js" integrity="sha512-qTXRIMyZIFb8iQcfjXWCO8+M5Tbc38Qi5WzdPOYZHIlZpzBHG3L3by84BBBOiRGiEb7KKtAOAs5qYdUiZiQNNQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
- <script>
- window.my_user_id = ${session.get('authorized', -1)};
- </script>
- </head>
- <body>
- <nav id="navbar" class="navbar is-light is-fixed-top" role="navigation" aria-label="main navigation">
- <div class="navbar-brand">
- <a class="navbar-item" href="/">
- <h1 class="title">openwemb</h1>
- </a>
- <a role="button" id="nav-toggle" class="navbar-burger nav-toggle" aria-label="menu" aria-expanded="false" data-target="nav-menu">
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- </a>
- </div>
- <div id="nav-menu" class="navbar-menu">
- <div class="navbar-start wider">
- <div class="navbar-item wider">
- <div class="dropdown wider">
- <div class="dropdown-trigger wider">
- <div class="field has-addons wider" style="padding-right: 1rem;">
- <div class="control wider">
- <input id="search_field" class="input" type="text" placeholder="Ex: cucumber nsfw">
- </div>
- <div class="control">
- <a id="search_button" class="button is-info"><i class="fas fa-search"></i></a>
- </div>
- </div>
- </div>
- <div id="suggestions" class="dropdown-menu" role="menu">
- <div id="suggestions_content" class="dropdown-content"></div>
- </div>
- </div>
- </div>
- </div>
- <div class="navbar-end">
- % if 'authorized' not in session:
- <div class="navbar-item">
- <div class="buttons">
- <a class="button is-primary" href="/signup">
- <strong>Sign up</strong>
- </a>
- <a class="button is-light" href="/login">
- Log in
- </a>
- </div>
- </div>
- % else:
- <div class="navbar-item">
- <div class="buttons">
- <a id="navbar_user_link" class="button is-light"><strong id="navbar_username">the void</strong></a>
-
- <button id="logout_button" class="button is-danger is-small">Log out</button>
- <a class="button is-success is-small" href="/upload" alt="Upload a video"><i class="fa-solid fa-upload"></i></a>
- </div>
- </div>
- % endif
- </div>
- </div>
- </nav>
- <section class="section" id="main">
|