Advertisement
Guest User

RDM 4 - Hard / index.html

a guest
Feb 14th, 2022
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.73 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     <link href="css/style.css" rel="stylesheet" media="all" />
  8.     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  9.     <script src="https://unpkg.com/papaparse@latest/papaparse.min.js"></script>
  10.     <script src='script/script.js'></script>
  11.     <title>Sample Page - Hard</title>
  12. </head>
  13. <body>
  14.     <div class="container">
  15.         <div>
  16.             <label for="ticketFile">Select the Ticket CSV file:</label>
  17.             <input type="file" id="ticketFile" name="ticketFile" accept=".csv">
  18.         </div>
  19.         <br>
  20.     <div>
  21.         <label for="challengeType">Select Challenge Type to read Points File</label>
  22.         <select id="challengeType" name="challengeType" onchange="getFileName()">
  23.             <option value="">Select Challenge Type</option>
  24.             <option value="Scoringsheet-1.csv">Type 1</option>
  25.             <option value="Scoringsheet-2.csv">Type 2</option>
  26.         </select>
  27.             <label for="pointsFile">Select the Points CSV file:</label>
  28.             <input type="text" id="pointsFile" value="" readonly="true"/>
  29.         </div>
  30.         <br>
  31.         <div>
  32.             <input type="button" id="btnRead" onClick="readFiles()" value="Read Files & Display Result">
  33.         </div>
  34.         <br>
  35.         <div align="center">
  36.                 <h2>Result</h2>
  37.                 <table id="resultsTable"></table>
  38.         </div>
  39.         <br>
  40.         <br>
  41.         <div align="center">
  42.             <input type="button" id="btnSave" onClick="saveResult()" value="Save Result as CSV File">
  43.         </div>
  44.     </div>
  45. </body>
  46. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement