Skip to content

Commit

Permalink
Recent Activity -> Attendance in tab name
Browse files Browse the repository at this point in the history
Also hide Clock tab because people can click on the clock directly and
we don't have three lunches due to covid-19
  • Loading branch information
psvenk committed Nov 11, 2020
1 parent a4da9af commit ebce56a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ <h4 id="title">Aspine</h4>

<div class="tab">
<button class="tablinks" onclick="openTab(event, 'grades')" id="default_open">Grades</button>
<button class="tablinks" onclick="openTab(event, 'recent'), load_recent()">Recent Activity</button>
<button class="tablinks" onclick="openTab(event, 'schedule')">Schedule</button>
<button class="tablinks" onclick="openTab(event, 'clock')">Clock</button>
<button class="tablinks" onclick="openTab(event, 'recent'), load_recent()">Attendance</button>
<!--<button class="tablinks" onclick="openTab(event, 'clock')">Clock</button>-->
<!-- TODO: post-covid, setting lunch should be migrated to settings -->
<!--<button class="tablinks" onclick="openTab(event, 'calendar-tab')">Calendar</button>-->
<button class="tablinks" onclick="openTab(event, 'reports')" id="reports_open">Reports</button>
<!--#ifndef lite-->
Expand Down Expand Up @@ -302,7 +303,6 @@ <h3>Add Calendar</h3>
</div>
-->
<div id="recent" class="tabcontent">
<h3>Recent Attendance</h3>
<!-- <label class="switch">
<input type="checkbox" id="recent_toggle" onclick="recent_toggle();">
<span class="slider round"></span>
Expand Down

0 comments on commit ebce56a

Please sign in to comment.