miru/app/app.html

227 lines
No EOL
11 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta name="viewport" content="width=device-width">
<link rel="icon" href="logo.png">
<title>Miru</title>
<link href="https://cdn.jsdelivr.net/gh/halfmoonui/halfmoon@1.0.4/css/halfmoon.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="css/misc.css" rel="stylesheet">
<link href="css/player.css" rel="stylesheet">
</head>
<body class="dark-mode with-custom-webkit-scrollbars with-custom-css-scrollbars">
<div class="modal" id="tsearch" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content w-auto">
<button class="close pointer" data-dismiss="modal" type="button" aria-label="Close">
<span>&times;</span>
</button>
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Name</th>
<th scope="col">Size</th>
<th scope="col">Seed</th>
<th scope="col">Leech</th>
<th scope="col">Downloads</th>
<th scope="col">Play</th>
</tr>
</thead>
<tbody class="results">
</tbody>
</table>
</div>
</div>
</div>
<div class="modal modal-full ie-scroll-fix" id="view" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="view modal-content m-0 p-0">
<button class="close bg-dark-light pointer" data-dismiss="modal" type="button" aria-label="Close">
<span>&times;</span>
</button>
<div class="banner">
<img class="cover-img w-full h-full">
</div>
<div class="container">
<div class="row">
<div class="col-md-3 mt-nc pb-20 d-flex flex-column justify-content-between">
<img class="contain-img rounded w-full">
<div class="input-group pt-10">
<div class="input-group-prepend">
<button class="btn bg-primary pr-5 pl-10" type="button" id="play">Play
Episode</button>
</div>
<input type="number" id="ep"
class="form-control flex-reset w-28 bg-primary noarrow px-5 text-center"
placeholder="#" value="1" min="1">
</div>
</div>
<div class="col-9 p-20">
<h4 class="title font-weight-bold">
</h4>
<p class="text-muted desc overflow-y-scroll">
</p>
</div>
</div>
</div>
<div class="bg-very-dark">
<div class="container">
<div class="row py-20">
<div class="col-md-3">
<div class="card m-0 py-5 details">
</div>
</div>
<div class="col-9 p-20">
relations go here
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="page-wrapper with-sidebar" data-sidebar-type="overlayed-sm-and-down">
<!-- Sticky alerts (toasts), empty container -->
<!-- Reference: https://www.gethalfmoon.com/docs/sticky-alerts-toasts -->
<div class="sticky-alerts"></div>
<div class="sidebar-overlay" onclick="halfmoon.toggleSidebar()"></div>
<div class="sidebar d-flex">
<div class="sidebar-menu d-flex flex-column justify-content-end flex-grow-1">
<a href="#" class="sidebar-brand">
<img src="logo.png" alt="logo">
Miru
</a>
<div class="sidebar-divider"></div>
<a href="#releases" class="sidebar-link sidebar-link-with-icon">
<span class="sidebar-icon">
<i class="material-icons" aria-hidden="true">schedule</i>
</span>
Latest Releases
</a>
<a href="#browse" class="sidebar-link sidebar-link-with-icon">
<span class="sidebar-icon">
<i class="material-icons" aria-hidden="true">list</i>
</span>
Browse
</a>
<a href="#settings" class="sidebar-link sidebar-link-with-icon mt-auto">
<span class="sidebar-icon">
<i class="material-icons" aria-hidden="true">settings</i>
</span>
Settings
</a>
</div>
</div>
<div class="overflow-y-hidden content-wrapper">
<section id="player">
<a href="#player" class="w-full h-full"></a>
<video id="video" class="w-full" autoPictureInPicture>
</video>
<div class="player d-none flex-column justify-content-between w-full h-full">
<div class="h-full w-full d-flex flex-column justify-content-between" id="ptoggle">
<div class="stats d-flex justify-content-center">
<div class="d-flex">
<span class="material-icons">
people
</span>
<span class="ts" id="peers">-</span>
</div>
<div class="d-flex">
<span class="material-icons">
arrow_downward
</span>
<span class="ts" id="down">-</span>
</div>
<div class="d-flex">
<span class="material-icons">
arrow_upward
</span>
<span class="ts" id="up">-</span>
</div>
</div>
<div id="buffering" class="align-self-center hidden">
</div>
<div>
</div>
</div>
<div class="controls d-flex">
<span class="material-icons ctrl" title="Play/Pause [Space]" id="bpp">
play_arrow
</span>
<span class="material-icons ctrl" title="Next [N]" id="bnext">
skip_next
</span>
<div class="volume">
<span class="material-icons ctrl" title="Mute [M]" id="bmute">
volume_up
</span>
<input type="range" value="100" id="vol">
</div>
<span class="ts" id="elapsed">--:--</span>
<input type="range" min="0" max="1000" value="0" id="prog">
<span class="ts" id="remaining">--:--</span>
<div class="subtitles dropdown dropup with-arrow">
<span class="material-icons ctrl" title="Subtitles [C]" id="bcap" data-toggle="dropdown"
id="subtitle-popover" aria-haspopup="true" aria-expanded="false">
subtitles
</span>
<div class="dropdown-menu dropdown-menu-center" aria-labelledby="subtitle-popover" id="subMenu">
</div>
</div>
<span class="material-icons ctrl" title="Popout Window [P]" id="bpip">
picture_in_picture
</span>
<span class="material-icons ctrl" title="Theatre Mode [T]" id="btheatre">
crop_16_9
</span>
<span class="material-icons ctrl" title="Fullscreen [F]" id="bfull">
fullscreen
</span>
</div>
</div>
</section>
<section id="browse">
<div class="text-center pt-20">
<div class="container">
<form class="input-group mb-15" action="javascript:search()">
<div class="input-group-prepend">
<button class="btn btn-primary material-icons px-10" type="submit">search</button>
</div>
<input type="text" class="form-control search"
placeholder="Anime Name, Image Link or Direct Magnet Link, Torrent File, Hash"
id="search">
</form>
</div>
</div>
<div class="gallery browse h-full overflow-y-scroll">
</div>
</section>
<section id="releases">
<div class="gallery releases h-full overflow-y-scroll">
</div>
</section>
</div>
</div>
<script src="https://cdn.jsdelivr.net/gh/halfmoonui/halfmoon@1.0.4/js/halfmoon.min.js"></script>
<script src="util.js"></script>
<script src="js/animeHandler.js"></script>
<script src="js/playerHandler.js"></script>
<script src="https://cdn.jsdelivr.net/npm/webtorrent@latest/webtorrent.min.js" defer></script>
<script src="js/torrentHandler.js" defer></script>
<script src="js/rangeParser.js" defer></script>
<script src="js/bundle.js"></script>
<script src="js/subtitleHandler.js"></script>
</body>
</html>