Fixed the action on the quiz template

This commit is contained in:
user86 2020-10-12 14:07:38 +05:30
parent f9dd92a7c3
commit 4e6a6582c3

View File

@ -33,26 +33,27 @@
<span></span> <span></span>
<span></span> <span></span>
</div> </div>
</nav> </nav>
<main role="main"> <main role="main">
<div class="hero"> <div class="hero">
<p class="is-size-3 has-text-black has-text-weight-bold has-text-centered">Upload any Document to get an instant Quiz</p> <p class="is-size-3 has-text-black has-text-weight-bold has-text-centered">Upload any Document to get an instant
<p class="is-size-4 has-text-weight-bold has-text-centered">You Know 📖, You Grow 🚀</p> Quiz</p>
<p class="is-size-5 has-text-black has-text-weight-medium has-text-centered"> Practice More • Learn More </p> <p class="is-size-4 has-text-weight-bold has-text-centered">You Know 📖, You Grow 🚀</p>
</div> <p class="is-size-5 has-text-black has-text-weight-medium has-text-centered"> Practice More • Learn More </p>
<div class="card has-text-centered"> </div>
<img src="https://cdn4.iconfinder.com/data/icons/files-and-folders-thinline-icons-set/144/File_PDF-512.png" <div class="card has-text-centered">
alt="upload"/> <img src="https://cdn4.iconfinder.com/data/icons/files-and-folders-thinline-icons-set/144/File_PDF-512.png"
<form action="http://localhost:5000/quiz" method="POST" enctype="multipart/form-data"> alt="upload" />
<div id="file-js-example" class="file has-name is-fullwidth"> <form action="/quiz" method="POST" enctype="multipart/form-data">
<label class="file-label"> <div id="file-js-example" class="file has-name is-fullwidth">
<input class="file-input" type="file" name="file" accept=".txt, application/pdf" /> <label class="file-label">
<span class="file-cta"> <input class="file-input" type="file" name="file" accept=".txt, application/pdf" />
<span class="file-icon"> <span class="file-cta">
<i class="fas fa-upload"></i> <span class="file-icon">
</span> <i class="fas fa-upload"></i>
<span class="file-label"> Choose a file… </span>
</span> </span>
<span class="file-label"> Choose a file… </span>
</span>
<span class="file-name"> No file uploaded </span> <span class="file-name"> No file uploaded </span>
</label> </label>
</div> </div>