Skip to content

Commit

Permalink
Fixed bugs pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-becerra committed Sep 5, 2017
1 parent cd3ddca commit 8cfc78a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
# launchcode-attendance
A web application for an attendance management system

Dependencies needed:
* conda install flask
* conda install -c conda-forge flask-sqlalchemy
* conda install pymysql
* pip install pandas
* pip install xlsxwriter
* pip install xlrd
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def require_login():
@app.route('/')
def index():
#session['email'] = "[email protected]" >>> Test for session without using teacher account
return render_template('index.html')
return render_template('index.html', title = 'LaunchCode Attendance', bg_image = bg_image())

# Logout
@app.route('/logout')
Expand Down
2 changes: 1 addition & 1 deletion templates/students.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div class="row">
<div class="col s10 offset-s1">
<div class="row">
<form action="/add_student" method="POST">
<form action="/students" method="POST">
<div class="col s12">
<div class="input-field col s4 offset-s1">
<label for="first_name">First Name</label>
Expand Down
2 changes: 1 addition & 1 deletion templates/view_att.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<tr>
<th>Date</th>
<th>First Name</th>
<th>First Name</th>
<th>Last Name</th>
<th>Present</th>
</tr>
</thead>
Expand Down

0 comments on commit 8cfc78a

Please sign in to comment.