Skip to content

Commit

Permalink
connected frontend to backend
Browse files Browse the repository at this point in the history
  • Loading branch information
anashanishaaban committed Feb 27, 2023
1 parent 8ad7c8b commit a98ac7a
Show file tree
Hide file tree
Showing 24 changed files with 87 additions and 675 deletions.
1 change: 0 additions & 1 deletion Frontend/assets/output.json

This file was deleted.

Binary file removed Frontend/assets/video.mp4
Binary file not shown.
Empty file removed Frontend/background.js
Empty file.
192 changes: 0 additions & 192 deletions Frontend/home.css

This file was deleted.

Binary file removed Frontend/images/Extended-logo.png
Binary file not shown.
Binary file removed Frontend/images/Logo-16.png
Binary file not shown.
Binary file removed Frontend/images/Logo-32.png
Binary file not shown.
Binary file removed Frontend/images/Logo.png
Binary file not shown.
Binary file removed Frontend/images/OldSchoolCamera.png
Binary file not shown.
Binary file removed Frontend/images/camera-light.png
Binary file not shown.
Binary file removed Frontend/images/menu.png
Binary file not shown.
21 changes: 13 additions & 8 deletions Frontend/Home.html → Frontend/templates/Frontend/Home.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{% load static %}

<!DOCTYPE html>
<html>
<head>
<link rel="icon" type="image/png" href="images/Logo-32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="images/Logo-16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="{% static 'images/Logo-32.png' %}" sizes="32x32" />
<link rel="icon" type="image/png" href="{% static 'images/Logo-16.png' %}" sizes="16x16" />

<link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet">
<link rel="stylesheet" href="home.css">
<link href="{% static 'https://cdn.quilljs.com/1.3.6/quill.snow.css' %}" rel="stylesheet">
<link rel="stylesheet" href="{% static 'css/home.css'%}">
<title>Transcript-Home</title>
</head>
<body>
<div id="navbar">
<nav>
<img src="images/Extended-logo.png" class="logo">
<img src="{% static 'images/Extended-logo.png'%}" class="logo">
<ul>
<li><a href="">About</a></li>
<!-- <div class="login">
Expand All @@ -24,9 +26,10 @@
</nav>
</div>


<div class="camera-container">
<img src="images/OldSchoolCamera.png" class="camera">
<img src="images/camera-light.png" class="light">
<img src= "{% static 'images/OldSchoolCamera.png' %}" class="camera">
<img src="{% static 'images/camera-light.png' %}" class="light">
</div>


Expand All @@ -35,12 +38,14 @@
<div class="text-container">
<h1>Revolutionizing <br> Video Editing</h1>
<p>Using the latest AI technology we provide a new and improved way to edit your videos.</p>
<a href="video-editing.html">Upload your video</a>
<a href={% url 'index2' %}>Upload your video</a>
</div>

<!-- <button id="center-button">Click Me</button> -->
<div id="editor"></div>
</div>



<!-- <script src="https://cdn.quilljs.com/1.3.6/quill.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{% load static%}

<html>
<head>
<link rel="icon" type="image/png" href="images/Logo-32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="images/Logo-16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="{% static 'images/Logo-32.png'%}" sizes="32x32" />
<link rel="icon" type="image/png" href="{% static 'images/Logo-16.png'%}" sizes="16x16" />

<link rel="stylesheet" href="video-editing.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"/>
<link rel="stylesheet" href="{% static 'css/video-editing.css'%}">
<link rel="stylesheet" href="{% static 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css'%}"/>

<title>Transcript-Editing</title>
</head>
Expand All @@ -13,8 +15,8 @@
<div id="wrapper">
<header>Upload A Video File</header>
<form method ="POST" enctype = "multipart/form-data">
<!-- {% csrf_token %} -->
<!-- {{ form.as_p }} -->
{% csrf_token %}
{{ new_form.as_p }}
<input class="file-input" type="file" name="file" hidden>
<i class="fas fa-cloud-upload-alt"></i>
<p>Browse File to Upload</p>
Expand Down Expand Up @@ -85,8 +87,8 @@

</div>
</div>
<script src="upload-video.js"></script>
<script src="video-editing.js"></script>
<script src="{% static 'js/upload-video.js' %}"></script>
<script src="{% static 'js/video-editing.js' %}"></script>



Expand Down
88 changes: 0 additions & 88 deletions Frontend/upload-video.js

This file was deleted.

Loading

0 comments on commit a98ac7a

Please sign in to comment.