Skip to content

Commit

Permalink
added vid
Browse files Browse the repository at this point in the history
  • Loading branch information
PhuruShekar committed Sep 8, 2019
1 parent c9c4462 commit 897a401
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 23 deletions.
3 changes: 0 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ def upload_file():
file.save(os.path.join(app.config['UPLOAD_FOLDER'], filename))
flash('File successfully uploaded')
return redirect('/')
else:
flash('Allowed file types are txt, pdf, png, jpg, jpeg, gif')
return redirect(request.url)


if __name__ == "__main__":
Expand Down
2 changes: 0 additions & 2 deletions static/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,3 @@ body {
color: $text;
}



Binary file added static/phuru_vid.mp4
Binary file not shown.
File renamed without changes.
51 changes: 33 additions & 18 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,41 @@ <h4>Upload your video to get started!</h4>

</div>

<div class="row">
<div class="col-4">
<div class="list-group" id="list-tab" role="tablist">
<a class="list-group-item list-group-item-action active" id="list-home-list" data-toggle="list" href="#list-home" role="tab" aria-controls="home">Home</a>
<a class="list-group-item list-group-item-action" id="list-profile-list" data-toggle="list" href="#list-profile" role="tab" aria-controls="profile">Profile</a>
<a class="list-group-item list-group-item-action" id="list-messages-list" data-toggle="list" href="#list-messages" role="tab" aria-controls="messages">Messages</a>
<a class="list-group-item list-group-item-action" id="list-settings-list" data-toggle="list" href="#list-settings" role="tab" aria-controls="settings">Settings</a>
</div>
</div>
<div class="col-8">
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="list-home" role="tabpanel" aria-labelledby="list-home-list">...</div>
<div class="tab-pane fade" id="list-profile" role="tabpanel" aria-labelledby="list-profile-list">...</div>
<div class="tab-pane fade" id="list-messages" role="tabpanel" aria-labelledby="list-messages-list">...</div>
<div class="tab-pane fade" id="list-settings" role="tabpanel" aria-labelledby="list-settings-list">...</div>
</div>
</div>
<div class="video">
<!-- 16:9 aspect ratio -->
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="../static/test.mp4"></iframe>
</div>
</div>
<!--Pill Tabs-->
<div>
<ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="pills-one-tab" data-toggle="pill" href="#pills-one" role="tab" aria-controls="pills-one" aria-selected="true">One</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pills-two-tab" data-toggle="pill" href="#pills-two" role="tab" aria-controls="pills-two" aria-selected="false">Two</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pills-three-tab" data-toggle="pill" href="#pills-three" role="tab" aria-controls="pills-three" aria-selected="false">Three</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pills-four-tab" data-toggle="pill" href="#pills-four" role="tab" aria-controls="pills-four" aria-selected="false">Four</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pills-five-tab" data-toggle="pill" href="#pills-five" role="tab" aria-controls="pills-give" aria-selected="false">Five</a>
</li>
</ul>
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-one" role="tabpanel" aria-labelledby="pills-one-tab">M</div>
<div class="tab-pane fade" id="pills-two" role="tabpanel" aria-labelledby="pills-two-tab">E</div>
<div class="tab-pane fade" id="pills-three" role="tabpanel" aria-labelledby="pills-three-tab">R</div>
<div class="tab-pane fade" id="pills-four" role="tabpanel" aria-labelledby="pills-four-tab">N</div>
<div class="tab-pane fade" id="pills-five" role="tabpanel" aria-labelledby="pills-five-tab">Stack?</div>
</div>

</div>


</div>


Expand Down

0 comments on commit 897a401

Please sign in to comment.