diff --git a/.gitignore b/.gitignore index 932c1688..31e9be3c 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ eggs/ *.log config.ini +*.bak diff --git a/cps/static/css/fonts.css b/cps/static/css/fonts.css index 58cb721b..8a4d81b6 100644 --- a/cps/static/css/fonts.css +++ b/cps/static/css/fonts.css @@ -1,4 +1,2 @@ -@import url(http://fonts.googleapis.com/css?family=Lato:100,300,400,700); -@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700); -@import url(http://fonts.googleapis.com/css?family=Lobster:400,700); +@font-face{font-family:Lato;font-style:normal;font-weight:100;src:local('Lato Hairline'),local('Lato-Hairline'),url(../fonts/Lato-Hairline.ttf) format('truetype')}@font-face{font-family:Lato;font-style:normal;font-weight:300;src:local('Lato Light'),local('Lato-Light'),url(../fonts/Lato-Light.ttf) format('truetype')}@font-face{font-family:Lato;font-style:normal;font-weight:400;src:local('Lato Regular'),local('Lato-Regular'),url(../fonts/Lato-Regular.ttf) format('truetype')}@font-face{font-family:Lato;font-style:normal;font-weight:700;src:local('Lato Bold'),local('Lato-Bold'),url(../fonts/Lato-Bold.ttf) format('truetype')}@font-face{font-family:Montserrat;font-style:normal;font-weight:400;src:local('Montserrat-Regular'),url(../fonts/Montserrat-Regular.ttf) format('truetype')}@font-face{font-family:Montserrat;font-style:normal;font-weight:700;src:local('Montserrat-Bold'),url(../fonts/Montserrat-Bold.ttf) format('truetype')}@font-face{font-family:Lobster;font-style:normal;font-weight:400;src:local('Lobster'),local('Lobster-Regular'),url(../fonts/Lobster.ttf) format('truetype')} @font-face{font-family:'Gotham-Light';src:url('../fonts/itc/Gotham-Light.eot');src:url('../fonts/itc/Gotham-Light.woff') format('woff'),url('../fonts/itc/Gotham-Light.svg#Gotham-Light') format('svg')}@font-face{font-family:'Gotham-Medium';src:url('../fonts/itc/Gotham-Medium.eot');src:url('../fonts/itc/Gotham-Medium.woff') format('woff'),url('../fonts/itc/Gotham-Medium.svg#Gotham-Medium') format('svg')}@font-face{font-family:'Gotham-Book';src:url('../fonts/itc/Gotham-Book.eot');src:url('../fonts/itc/Gotham-Book.woff') format('woff'),url('../fonts/itc/Gotham-Book.svg#Gotham-Book') format('svg')} diff --git a/cps/static/fonts/Lato-Bold.ttf b/cps/static/fonts/Lato-Bold.ttf new file mode 100644 index 00000000..e8b9bf6a Binary files /dev/null and b/cps/static/fonts/Lato-Bold.ttf differ diff --git a/cps/static/fonts/Lato-Hairline.ttf b/cps/static/fonts/Lato-Hairline.ttf new file mode 100644 index 00000000..4e7128a4 Binary files /dev/null and b/cps/static/fonts/Lato-Hairline.ttf differ diff --git a/cps/static/fonts/Lato-Light.ttf b/cps/static/fonts/Lato-Light.ttf new file mode 100644 index 00000000..3be3b622 Binary files /dev/null and b/cps/static/fonts/Lato-Light.ttf differ diff --git a/cps/static/fonts/Lato-Regular.ttf b/cps/static/fonts/Lato-Regular.ttf new file mode 100644 index 00000000..7608bc3e Binary files /dev/null and b/cps/static/fonts/Lato-Regular.ttf differ diff --git a/cps/static/fonts/Lobster.ttf b/cps/static/fonts/Lobster.ttf new file mode 100644 index 00000000..8cd8ebf0 Binary files /dev/null and b/cps/static/fonts/Lobster.ttf differ diff --git a/cps/static/fonts/Montserrat-Bold.ttf b/cps/static/fonts/Montserrat-Bold.ttf new file mode 100644 index 00000000..4bca12bd Binary files /dev/null and b/cps/static/fonts/Montserrat-Bold.ttf differ diff --git a/cps/static/fonts/Montserrat-Regular.ttf b/cps/static/fonts/Montserrat-Regular.ttf new file mode 100644 index 00000000..de85bfdb Binary files /dev/null and b/cps/static/fonts/Montserrat-Regular.ttf differ diff --git a/cps/templates/detail.html b/cps/templates/detail.html index 6c74f560..88e55d46 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -85,7 +85,7 @@ {{entry.comments[0].text|safe}} {% endif %} - {% if g.user.is_authenticated() %} + {% if g.user.is_authenticated %}

diff --git a/cps/templates/layout.html b/cps/templates/layout.html index 816e1f71..ed1973d2 100644 --- a/cps/templates/layout.html +++ b/cps/templates/layout.html @@ -63,7 +63,7 @@
  • Advanced Search