Skip to content

Commit

Permalink
fix nav bar for other html files
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanVelez-code committed Jul 25, 2023
1 parent 04a3ac9 commit 4a68df6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
3 changes: 3 additions & 0 deletions ROUSProj/ROUSApp/templates/ScheduleHelper.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
<span>TESSERACT</span>
</div>
<nav class="nav-links">
<a href="/">Home</a>
<a onclick="passgeoloc('calendar.html')">Calendar</a>
<a onclick="passgeoloc('fileupload.html')">Import</a>
<a onclick="passgeoloc('ScheduleHelper.html')" class="current">Scheduler</a>
</nav>
</header>

Expand Down
22 changes: 12 additions & 10 deletions ROUSProj/ROUSApp/templates/fileupload.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@
<span>TESSERACT</span>
</div>
<nav class="nav-links">
<a href="/">Home</a>
<a onclick="passgeoloc('calendar.html')">Calendar</a>
<a onclick="passgeoloc('fileupload.html')" class="current">Import</a>
<a onclick="passgeoloc('ScheduleHelper.html')">Scheduler</a>
</nav>
</header>

Expand All @@ -39,17 +41,17 @@
<div class="content">


<div class="message-container">
<p class="message-text">Please only insert Excel documents</p>
<div class="input-container">
<label for="excel_file" class="custom-file-upload">
Choose an Excel file
<input type="file" id="excel_file" name="excel_file" accept=".xlsx, .xls">
</label>
<span id="file_label">No File Selected</span>
<input class="inputbut" id="import_button" type="submit" value="Import" onclick="postExcel()">
</div>
<div class="message-container">
<p class="message-text">Please only insert Excel documents</p>
<div class="input-container">
<label for="excel_file" class="custom-file-upload">
Choose an Excel file
<input type="file" id="excel_file" name="excel_file" accept=".xlsx, .xls">
</label>
<span id="file_label">No File Selected</span>
<input class="inputbut" id="import_button" type="submit" value="Import" onclick="postExcel()">
</div>
</div>

</div>

Expand Down

0 comments on commit 4a68df6

Please sign in to comment.