Skip to content

Commit

Permalink
Added Editing Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MAlshaik committed Mar 22, 2023
1 parent 47f330d commit c4d2c4f
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 106 deletions.
11 changes: 6 additions & 5 deletions Frontend/templates/Frontend/video-editing.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
</div>

<div class="transcript-container">
<div class="transcript-controls">
<button id="save-transcript-button", onclick="editMode()">Edit</button>
</div>
<div class="transcript-header">
<p></p>
</div>
Expand All @@ -54,10 +57,7 @@
<!-- Transcript -->
<div id = "transcript">

</div>
<div class="transcript-controls">
<button id="save-transcript-button">Save</button>
</div>
</div>
</div>

<!-- Video -->
Expand Down Expand Up @@ -88,7 +88,8 @@
</div>
</div>
<script src="{% static 'js/upload-video.js' %}"></script>
<script src="{% static 'js/video-editing.js' %}"></script>
<script src="{% static 'js/transcript-generation.js' %}"></script>
<script src="{% static 'js/transcript-editing.js' %}"></script>



Expand Down
36 changes: 31 additions & 5 deletions static/css/video-editing.css
Original file line number Diff line number Diff line change
Expand Up @@ -225,14 +225,40 @@ nav ul li a{
padding: 50px;
border: 2px white;
overflow: scroll;

}

.transcript-container::-webkit-scrollbar{
display: none;
}
.transcript-container-editing {
width: 30%;
height: 70%;
float: left;
font-family: Arial, sans-serif;
padding: 50px;
border: 2px white;
overflow: scroll;
background: #404040;
}
.transcript-container-editing::-webkit-scrollbar{
display: none;
}

#transcript-editing {}

#transcript-editing p{
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
}

.transcript-header {
#transcript-editing span::selection{
background-color:#00d199;
}


#transcript-editing span{}

#transcript-header {
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
Expand All @@ -248,7 +274,7 @@ nav ul li a{
transition: 0.32s;
}

#transcript span:hover{
#transcript span:hover {
color: #00d199;
font-size: 28px;
}
Expand Down Expand Up @@ -308,4 +334,4 @@ nav ul li a{
margin-top: 20px;
background-color: #454c5a;
border-radius: 5px;
}
}
96 changes: 0 additions & 96 deletions static/js/video-editing.js

This file was deleted.

0 comments on commit c4d2c4f

Please sign in to comment.