Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Navbar #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add Navbar #5

wants to merge 1 commit into from

Conversation

ttle28c
Copy link
Collaborator

@ttle28c ttle28c commented May 9, 2019

Add /login route. Reuses auth code from del.

Move the header to a seperate template and use nested templates.

Add HTML and CSS for navbar.

Adjust the to padding of body to account for the space the navbar uses.

Add /login route. Reuses auth code from del.

Move the header to a seperate template and use nested templates.

Add HTML and CSS for navbar.

Adjust the to padding of body to account for the space the navbar uses.
@ttle28c ttle28c requested a review from felixphew May 9, 2019 05:30
Copy link
Owner

@felixphew felixphew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good. I'm waiting on a discussion with Kathleen about how we want the bot to look; I know this is probably unnecessary but if there's a second emote with different colours I might use that for the history page.

Also, this is probably a good opportunity to move the logo image into its own file 😛

"html/template"
"log"
"net/http"
"strconv"

_ "github.com/mattn/go-sqlite3"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

D'oh! I didn't even notice this was out of order.

@@ -115,6 +116,15 @@ func history(w http.ResponseWriter, r *http.Request) {
}
}

func login(w http.ResponseWriter, r *http.Request) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is literally exactly what I wrote to implement the login button!

@felixphew
Copy link
Owner

I think I'll break this up into two commits, so I can merge the minor changes now before tonight's show.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants