big updates for re-org.

This commit is contained in:
Bryce Covert
2017-12-19 22:00:46 -08:00
parent b1414ebe60
commit 2af3752041
12 changed files with 456 additions and 356 deletions

View File

@@ -0,0 +1,9 @@
(ns auto-ap.views.utils)
(defn active-when= [active-page candidate]
(when (= active-page candidate) " active"))
(def login-url
(let [client-id "264081895820-0nndcfo3pbtqf30sro82vgq5r27h8736.apps.googleusercontent.com"
redirect-uri "http%3A%2F%2Flocalhost%3A3449%2Fapi%2Foauth"]
(str "https://accounts.google.com/o/oauth2/auth?access_type=online&client_id=" client-id "&redirect_uri=" redirect-uri "&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile")))