mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
173 lines
6.1 KiB
HTML
173 lines
6.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title id="title">Video to document</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div id="h1-wrapper">
|
|
<section class="p-menu1">
|
|
<nav id="navbar" class="navigation" role="navigation">
|
|
<input id="toggle1" type="checkbox" />
|
|
<label class="hamburger1" for="toggle1">
|
|
<div class="top"></div>
|
|
<div class="meat"></div>
|
|
<div class="bottom"></div>
|
|
</label>
|
|
|
|
<nav class="menu1">
|
|
<a href="custom_document.html" class="li1">Custom document</a>
|
|
<a href="" class="li1">Help</a>
|
|
</nav>
|
|
</nav>
|
|
</section>
|
|
|
|
<h1 id="h1">Video to document</h1>
|
|
</div>
|
|
|
|
<div class="step-nav">
|
|
<div class="step-item active" data-step="1">1. Step</div>
|
|
<div class="step-item" data-step="2">2. Step</div>
|
|
<div class="step-item" data-step="3">3. Step</div>
|
|
<div class="step-item" data-step="4">4. Step</div>
|
|
<div class="step-item" data-step="5">5. Step</div>
|
|
<div class="step-item" data-step="6">6. Step</div>
|
|
</div>
|
|
|
|
<div id="middleContainerWrapper" class="middle-container-wrapper">
|
|
<button id="prevBtn" class="navBtn" disabled>←</button>
|
|
|
|
<div class="mitte" id="mitte">
|
|
|
|
<div class="step" id="step1">
|
|
<h2 id="h2">Upload your Video here:</h2>
|
|
<div class="upload-container" id="uploadContainer">
|
|
<p id="p1">Drag and drop video file</p>
|
|
<video id="previewThumbnail" autoplay="false">
|
|
</video>
|
|
<div class="file-name" id="fileName">No video chosen</div>
|
|
<div id="thumbnailContainer">
|
|
<img id="thumbnailImage" style="display:none;">
|
|
</div>
|
|
<button class="custom-btn" id="manualUploadBtn">Search video</button>
|
|
<input type="file" id="videoUpload" accept="video/*">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="step" id="step2" style="display:none;">
|
|
<h2 id="h2">Choose your preferences:</h2>
|
|
<div class="KI-wrapper">
|
|
<label id="labelKI">Select ki:</label>
|
|
<select name="ai_type" id="ai_type"></select>
|
|
</div>
|
|
|
|
<div class="transcript-wrap">
|
|
<label id="labelTranscription">Select transcription:</label>
|
|
<select name="transkript_type" id="transkript_type"></select>
|
|
</div>
|
|
|
|
<div class="type-wrapper">
|
|
<label id="labelType">Select type:</label>
|
|
<select name="output_type" id="output_type">
|
|
<option value="pdf">.pdf</option>
|
|
<option value="word">.word</option>
|
|
<option value="txt">.txt</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="language-wrapper">
|
|
<label id="labelLanguage">Select language:</label>
|
|
<img id="labelLanguageFlag" src="flags/united-kingdom-flag-png-large.jpg" width="20" height="10" >
|
|
<select name="language_option" id="language_option">
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="step" id="step3" style="display:none;">
|
|
<div class="checkbox-group">
|
|
<h2 id="h2">Choose prefered document style:</h2>
|
|
<div class="checkbox-container">
|
|
<input type="checkbox" name ="docFormat" id="docFormat" value="followup-report">
|
|
<label id="label_format" for="docFormat">Follow-up Report</label>
|
|
</div>
|
|
<div class="checkbox-container">
|
|
<input type="checkbox" name="docFormat" id="docFormatSummary1" value="agenda">
|
|
<label id="label_summary" for="docFormatSummary">Agenda</label>
|
|
</div>
|
|
<div class="checkbox-container">
|
|
<input type="checkbox" name="docFormat" id="docFormatSummary2" value="result-protocol">
|
|
<label id="label_summary" for="docFormatSummary">Resultprotocol</label>
|
|
</div>
|
|
<div class="checkbox-container">
|
|
<input type="checkbox" name="docFormat" id="docFormatSummary3" value="sprint-planning">
|
|
<label id="label_summary" for="docFormatSummary">Sprint Planning Note</label>
|
|
</div>
|
|
<div class="checkbox-container">
|
|
<input type="checkbox" name="docFormat" id="docFormatCustom" value="custom">
|
|
<select name="ai_type" id="ai_type">
|
|
<option>nichts</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="step" id="step4" style="display:none;">
|
|
<h2 id="h2">Klick to submit:</h2>
|
|
<button class="submit-btn" id="submitButton" onclick="checkBoxes()" disabled>Submit</button>
|
|
|
|
<div class="testy" id="testy">
|
|
<div class="box2" id="box1">
|
|
</div>
|
|
<p>---Starting---</p>
|
|
<div class="box2" id="box2">
|
|
</div>
|
|
<p>---Transkribing---</p>
|
|
<div class="box2" id="box3">
|
|
</div>
|
|
<p>---Document creation---</p>
|
|
<div class="box2" id="box4">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="step" id="step5" style="display:none;">
|
|
<h2 id="h2">Change names of the speakers:</h2>
|
|
<div class="speakerView" id="speakerView">
|
|
<label id="labelSpeaker">Select Speaker:</label>
|
|
<select name="cur_speaker" id="cur_speaker">
|
|
</select>
|
|
</div>
|
|
<div class="speakerAudio" id="speakerAutio">
|
|
<label id="labelSpeakerAudio">Selected Speaker</label>
|
|
<audio controls id="speakerAudioViewer">
|
|
Currently there is no audio file here.
|
|
</audio>
|
|
</div>
|
|
<div class="speakerWrite" id="speakerWrite">
|
|
<label id="labelSpeakerWriter">Write name:</label>
|
|
<input type="text" id="newSpeaker">
|
|
</div>
|
|
<div class="speakerButton-group">
|
|
<button id="speakerLocker" onclick="rewriteSpeakerName()">Rename Speaker</button>
|
|
<button id="speakerResender" onclick="sendSpeakerPackages()">Rewrite document</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="step" id="step6" style="display:none;">
|
|
<h2 id="h2">Klick to download your document:</h2>
|
|
<button class="download-btn" id="downloadButton" onclick="fileDownload()">Download</button>
|
|
</div>
|
|
</div>
|
|
|
|
<button id ="nextBtn" class="navBtn">→</button>
|
|
|
|
</div>
|
|
|
|
<script src="languages.js"></script>
|
|
<script src="script.js"></script>
|
|
<script src="./renderer.js"></script>
|
|
</body>
|
|
</html> |