Melies/editor/public/edit/index.html

116 lines
4.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Edit</title>
<link rel="stylesheet" href="/static/css/base.css">
<link rel="stylesheet" href="/static/css/edit.css">
<script src="/static/js/edit.mjs" type="module"></script>
</head>
<body>
<button id="improve-btn" class="template improve">
<img src="/static/images/improve.svg">
<img class="clicked" src="/static/images/improve_clicked.svg">
</button>
<header id="toolbar">
<a href="/">Home</a>
<button id="check-integrity">Check integrity</button>
<button id="improve-all">Improve all names</button>
<button id="save">Save</button>
<button id="reload">Reload</button>
<button id="toggle-notifs">Notifications</button>
</header>
<main id="main">
<h1>Editing <code id="filename"></code><span id="unsaved"> - Unsaved</span></h1>
<div id="series-toolbar">
<button id="prev-episode"></button>
<div id="cur-episode"></div>
<button id="next-episode"></button>
</div>
<div class="sep"></div>
<div class="fields">
<div class="field">
<label for="title">Title</label>
<input type="text" id="title" name="title" size="50">
</div>
</div>
<div class="audio">
<h3>Audio Tracks</h3>
<table id="audio-tracks">
<thead>
<tr></tr>
</thead>
<tbody></tbody>
</table>
</div>
<div class="table">
<h3>Subtitle Tracks</h3>
<table id="subtitle-tracks">
<thead>
<tr></tr>
</thead>
<tbody></tbody>
</table>
</div>
</main>
<div class="popup" id="integrity-popup">
<form class="container">
<h2 class="title">Integrity Error</h2>
<p class="description">
There seem to be a mismatch between the name of <span id="int-track-type"></span> track <span id="int-track-idx"></span> and its '<span id="int-field-name"></span>' field
</p>
<div class="original">
<h3>Current values</h3>
<div class="values">
<div class="name">
<label for="int-og-name">name</label>
<input type="text" readonly id="int-og-name">
</div>
<div class="field">
<label for="int-og-field" id="int-og-field-name"></label>
<input type="text" readonly id="int-og-field">
</div>
</div>
</div>
<div class="correction">
<h3>Correction</h3>
<div class="options">
<div class="option">
<input type="radio" value="nothing" name="int-corr-type" id="int-corr-nothing" checked>
<label for="int-corr-nothing">Do nothing</label>
</div>
<div class="option">
<input type="radio" value="name" name="int-corr-type" id="int-corr-name">
<label for="int-corr-name">Adapt name to field</label>
<div class="value">
<label for="int-corr-new-name">name</label>
<div class="arrow"></div>
<input type="text" readonly id="int-corr-new-name">
</div>
</div>
<div class="option">
<input type="radio" value="field" name="int-corr-type" id="int-corr-field">
<label for="int-corr-field">Adapt field to name</label>
<div class="value">
<label for="int-corr-new-field" id="int-corr-new-field-name"></label>
<div class="arrow"></div>
<input type="text" readonly id="int-corr-new-field">
</div>
</div>
</div>
</div>
<div class="buttons">
<button type="button" id="int-apply">Apply</button>
</div>
</form>
</div>
<aside id="notifs-hist">
<button id="close-notifs">Close</button>
<h2>Notifications</h2>
<div class="list"></div>
</aside>
<div id="notifs"></div>
</body>
</html>