Small changes

This commit is contained in:
Verena Schulz
2026-01-17 00:11:57 +01:00
parent 8076fe92f5
commit 0427056f65
+172 -169
View File
@@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -7,225 +8,227 @@
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lc-select@1.3.0/themes/light.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lc-select@1.3.0/themes/light.css">
</head> </head>
<body> <body>
<div id="h1-wrapper"> <div id="h1-wrapper">
<section class="p-menu1"> <section class="p-menu1">
<nav id="navbar" class="navigation" role="navigation"> <nav id="navbar" class="navigation" role="navigation">
<input id="toggle1" type="checkbox" /> <input id="toggle1" type="checkbox" />
<label class="hamburger1" for="toggle1"> <label class="hamburger1" for="toggle1">
<div class="top"></div> <div class="top"></div>
<div class="meat"></div> <div class="meat"></div>
<div class="bottom"></div> <div class="bottom"></div>
</label> </label>
<nav class="menu1"> <nav class="menu1">
<button id="customDocBtn" onclick="showCD()">Manage document types</button> <button id="customDocBtn" onclick="showCD()">Manage document types</button>
<a href="help_page.html" class="li1">Help</a> <a href="help_page.html" class="li1">Help</a>
</nav>
</nav> </nav>
</nav> </section>
</section>
<h1 id="h1">Video to document</h1> <h1 id="h1">Video to document</h1>
<div class="gui-language"> <div class="gui-language">
<select name="language_option" id="language_option"></select> <select name="language_option" id="language_option"></select>
</div> </div>
</div> </div>
<div class="step-nav"> <div class="step-nav">
<div class="step-item active" data-step="1" id="step_nav1">1. Step</div> <div class="step-item active" data-step="1" id="step_nav1">1. Step</div>
<div class="step-item" data-step="2" id="step_nav2">2. Step</div> <div class="step-item" data-step="2" id="step_nav2">2. Step</div>
<div class="step-item" data-step="3" id="step_nav3">3. Step</div> <div class="step-item" data-step="3" id="step_nav3">3. Step</div>
<div class="step-item" data-step="4" id="step_nav4">4. Step</div> <div class="step-item" data-step="4" id="step_nav4">4. Step</div>
<div class="step-item" data-step="5" id="step_nav5">5. Step</div> <div class="step-item" data-step="5" id="step_nav5">5. Step</div>
<div class="step-item" data-step="6" id="step_nav6">6. Step</div> <div class="step-item" data-step="6" id="step_nav6">6. Step</div>
</div> </div>
<div id="middleContainerWrapper" class="middle-container-wrapper"> <div id="middleContainerWrapper" class="middle-container-wrapper">
<button id="prevBtn" class="navBtn" disabled>&larr;</button> <button id="prevBtn" class="navBtn" disabled>&larr;</button>
<!-- Visible middle part--> <!-- Visible middle part-->
<div class="mitte" id="mitte"> <div class="mitte" id="mitte">
<!--Costum document section--> <!--Costum document section-->
<div class="container" id="cdContainer" style="display:none;"> <div class="container" id="cdContainer" style="display:none;">
<h1 id="cd_h1">Manage document types</h1> <h1 id="cd_h1">Manage document types</h1>
<label for="existingDocs" id="cd_existingDocs">Select existing documents (optional):</label> <label for="existingDocs" id="cd_existingDocs">Select existing documents (optional):</label>
<!--Drop Down--> <!--Drop Down-->
<select name="existingDocs" id="existingDocs"> <select name="existingDocs" id="existingDocs">
<option value="newDoc" id="newDoc">-- Create new document --</option> <option value="newDoc" id="newDoc">-- Create new document --</option>
</select> </select>
<div id="docNameWrapper"> <div id="docNameWrapper">
<label for="docName" id="cd_docName">Document name:</label> <label for="docName" id="cd_docName">Document name:</label>
<input type="text" id="docName" placeholder="Enter the document name here"> <input type="text" id="docName" placeholder="Enter the document name here">
</div> </div>
<label for="prompt" id="cd_promt">Your prompt:</label> <label for="prompt" id="cd_promt">Your prompt:</label>
<textarea id="prompt" placeholder="Type the prompt for your document here..."></textarea> <textarea id="prompt" placeholder="Type the prompt for your document here..."></textarea>
<div class="buttons"> <div class="buttons">
<button id="goBackBtn">Return</button> <button id="goBackBtn">Return</button>
<button id="deleteBtn">Delete document</button> <button id="deleteBtn">Delete document</button>
<button id="generateBtn">Save document</button> <button id="generateBtn">Save document</button>
</div> </div>
<div id="result"></div> <div id="result"></div>
</div>
<!-- Here starts code from step 1-->
<div class="step" id="step1">
<h2 class="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>
<!-- Here starts code from step 2-->
<div class="step" id="step2" style="display:none;">
<h2 class="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>
<div class="transcript-wrap"> <!-- Here starts code from step 1-->
<label id="labelTranscription">Select transcription:</label> <div class="step" id="step1">
<select name="transkript_type" id="transkript_type"></select> <h2 class="h2">Upload your video here:</h2>
</div> <div class="upload-container" id="uploadContainer">
<p id="p1">Drag and drop video file</p>
<div class="type-wrapper"> <video id="previewThumbnail" autoplay="false">
<label id="labelType">Select type:</label> </video>
<select name="output_type" id="output_type"> <div class="file-name" id="fileName">No video chosen</div>
<option value="pdf">.pdf</option> <div id="thumbnailContainer">
<option value="word">.docx</option> <img id="thumbnailImage" style="display:none;">
<option value="txt">.txt</option>
</select>
</div>
<div class="language-wrapper">
<label id="labelLanguage">Select language:</label>
<select name="document_language_option" id="document_language_option">
</select>
</div>
</div>
<!-- Here starts code from step 3-->
<!-- Hover Effekt für Dokumentenvorschau, Fragezeichen hinter Text, drüber hoven zeigt Beispieldokument -->
<div class="step" id="step3" style="display:none;">
<div class="checkbox-group">
<h2 class="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 class="figure1">
<img class="img-icon" src="icons/question-mark-button-icon--free-clip-art-30.png">
<img class="img-hover1" src="flags/germany-flag-png-large.jpg">
</div> </div>
<button class="custom-btn" id="manualUploadBtn">Search video</button>
<input type="file" id="videoUpload" accept="video/*">
</div> </div>
<div class="checkbox-container"> </div>
<input type="checkbox" name="docFormat" id="docFormatSummary1" value="agenda">
<label id="label_summary" for="docFormatSummary">Agenda</label> <!-- Here starts code from step 2-->
<div class="figure2"> <div class="step" id="step2" style="display:none;">
<img class="img-icon" src="icons/question-mark-button-icon--free-clip-art-30.png"> <h2 class="h2">Choose your preferences:</h2>
<img class="img-hover2" src="flags/india-flag-png-large.png"> <div class="KI-wrapper">
</div> <label id="labelKI">Select ki:</label>
<select name="ai_type" id="ai_type"></select>
</div> </div>
<div class="checkbox-container">
<input type="checkbox" name="docFormat" id="docFormatSummary2" value="result-protocol"> <div class="transcript-wrap">
<label id="label_summary" for="docFormatSummary">Resultprotocol</label> <label id="labelTranscription">Select transcription:</label>
<div class="figure3"> <select name="transkript_type" id="transkript_type"></select>
<img class="img-icon" src="icons/question-mark-button-icon--free-clip-art-30.png">
<img class="img-hover3" src="flags/united-kingdom-flag-png-large.jpg">
</div>
</div> </div>
<div class="checkbox-container">
<input type="checkbox" name="docFormat" id="docFormatSummary3" value="sprint-planning"> <div class="type-wrapper">
<label id="label_summary" for="docFormatSummary">Sprint Planning Note</label> <label id="labelType">Select type:</label>
<div class="figure4"> <select name="output_type" id="output_type">
<img class="img-icon" src="icons/question-mark-button-icon--free-clip-art-30.png"> <option value="pdf">.pdf</option>
<img class="img-hover4" src="flags/germany-flag-png-large.jpg"> <option value="word">.docx</option>
</div> <option value="txt">.txt</option>
</select>
</div> </div>
<div class="checkbox-container">
<input type="checkbox" name="docFormat" id="docFormatCustom" value="custom"> <div class="language-wrapper">
<select name="customDocumentTypes" id="customDocumentTypes"> <label id="labelLanguage">Select language:</label>
<select name="document_language_option" id="document_language_option">
</select> </select>
</div> </div>
</div> </div>
</div>
<!-- Here starts code from step 4--> <!-- Here starts code from step 3-->
<div class="step" id="step4" style="display:none;">
<h2 class="h2">Click to submit:</h2>
<button class="submit-btn" id="submitButton" onclick="checkBoxes()" disabled>Submit</button>
<div class="testy" id="testy"> <!-- Hover Effekt für Dokumentenvorschau, Fragezeichen hinter Text, drüber hoven zeigt Beispieldokument -->
<div class="box2" id="box1"> <div class="step" id="step3" style="display:none;">
</div> <div class="checkbox-group">
<p id="box1_p1">---Starting---</p> <h2 class="h2">Choose prefered document style:</h2>
<div class="box2" id="box2"> <div class="checkbox-container">
</div> <input type="checkbox" name="docFormat" id="docFormat" value="followup-report">
<p id="box2_p2">---Transkribing---</p> <label id="label_format" for="docFormat">Follow-up Report</label>
<div class="box2" id="box3"> <div class="figure1">
</div> <img class="img-icon" src="icons/question-mark-button-icon--free-clip-art-30.png">
<p id="box3_p3">---Document creation---</p> <img class="img-hover1" src="flags/germany-flag-png-large.jpg">
<div class="box2" id="box4"> </div>
</div>
<div class="checkbox-container">
<input type="checkbox" name="docFormat" id="docFormatSummary1" value="agenda">
<label id="label_summary" for="docFormatSummary">Agenda</label>
<div class="figure2">
<img class="img-icon" src="icons/question-mark-button-icon--free-clip-art-30.png">
<img class="img-hover2" src="flags/india-flag-png-large.png">
</div>
</div>
<div class="checkbox-container">
<input type="checkbox" name="docFormat" id="docFormatSummary2" value="result-protocol">
<label id="label_summary" for="docFormatSummary">Resultprotocol</label>
<div class="figure3">
<img class="img-icon" src="icons/question-mark-button-icon--free-clip-art-30.png">
<img class="img-hover3" src="flags/united-kingdom-flag-png-large.jpg">
</div>
</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 class="figure4">
<img class="img-icon" src="icons/question-mark-button-icon--free-clip-art-30.png">
<img class="img-hover4" src="flags/germany-flag-png-large.jpg">
</div>
</div>
<div class="checkbox-container">
<input type="checkbox" name="docFormat" id="docFormatCustom" value="custom">
<select name="customDocumentTypes" id="customDocumentTypes">
</select>
</div>
</div> </div>
</div> </div>
</div>
<!-- Here starts code from step 5--> <!-- Here starts code from step 4-->
<div class="step" id="step5" style="display:none;"> <div class="step" id="step4" style="display:none;">
<h2 class="h2">Change names of the speakers:</h2> <h2 class="h2">Click to submit:</h2>
<div class="speakerView" id="speakerView"> <button class="submit-btn" id="submitButton" onclick="checkBoxes()" disabled>Submit</button>
<label id="labelSpeaker">Select Speaker:</label>
<select name="cur_speaker" id="cur_speaker"> <div class="testy" id="testy">
</select> <div class="box2" id="box1">
</div> </div>
<div class="speakerAudio" id="speakerAutio"> <p id="box1_p1">---Starting---</p>
<label id="labelSpeakerAudio">Selected Speaker:</label> <div class="box2" id="box2">
<audio controls id="speakerAudioViewer"> </div>
Currently there is no audio file here. <p id="box2_p2">---Transkribing---</p>
</audio> <div class="box2" id="box3">
</div> </div>
<div class="speakerWrite" id="speakerWrite"> <p id="box3_p3">---Document creation---</p>
<label id="labelSpeakerWriter">Write name:</label> <div class="box2" id="box4">
<input type="text" id="newSpeaker"> </div>
</div>
</div> </div>
<!-- Here starts code from step 5-->
<div class="step" id="step5" style="display:none;">
<h2 class="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"> <div class="speakerButton-group">
<button id="speakerLocker" onclick="rewriteSpeakerName()">Rename Speaker</button> <button id="speakerLocker" onclick="rewriteSpeakerName()">Rename Speaker</button>
<button id="speakerResender" onclick="sendSpeakerPackages()">Rewrite document</button> <button id="speakerResender" onclick="sendSpeakerPackages()">Rewrite document</button>
</div> </div>
</div>
<!-- Here starts code from step 6-->
<div class="step" id="step6" style="display:none;">
<h2 class="h2">Klick to download your document:</h2>
<button class="download-btn" id="downloadButton" onclick="fileDownload()">Download</button>
</div>
</div> </div>
<!-- Here starts code from step 6--> <button id="nextBtn" class="navBtn">&rarr;</button>
<div class="step" id="step6" style="display:none;">
<h2 class="h2">Klick to download your document:</h2>
<button class="download-btn" id="downloadButton" onclick="fileDownload()">Download</button>
</div>
</div> </div>
<script src="https://cdn.jsdelivr.net/npm/lc-select@1.3.0/lc_select.min.js"></script>
<button id ="nextBtn" class="navBtn">&rarr;</button> <script src="languages.js"></script>
<script src="script.js"></script>
</div> <script src="./renderer.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lc-select@1.3.0/lc_select.min.js"></script>
<script src="languages.js"></script>
<script src="script.js"></script>
<script src="./renderer.js"></script>
</body> </body>
</html> </html>