Ben Kurtovic
56a79cc8d1
More cleanup; cookie fixes, Flask integration.
pirms 10 gadiem
Ben Kurtovic
1344594c33
Internal cleanup for Flask.
pirms 10 gadiem
Ben Kurtovic
648a399a5f
Try to fix relative paths.
pirms 10 gadiem
Ben Kurtovic
f48a566841
Begin conversion to Flask; updates.
pirms 10 gadiem
Ben Kurtovic
e31d730331
Clean up some CSS rules.
pirms 11 gadiem
Ben Kurtovic
56ab814a1a
Make header more compact.
pirms 11 gadiem
Ben Kurtovic
41c0df6cb9
Set the POTD as the default background.
pirms 11 gadiem
Ben Kurtovic
de87631cf5
HTML5
pirms 11 gadiem
Ben Kurtovic
7a1b095b3e
Fix some links.
pirms 11 gadiem
Ben Kurtovic
de46767d63
.fcgi -> .py
pirms 11 gadiem
Ben Kurtovic
5e6e95f264
Remove more old stuff.
pirms 11 gadiem
Ben Kurtovic
80b7013964
Rename some cookies, streamline HTML, etc.
pirms 11 gadiem
Ben Kurtovic
cc1a3318df
Try <= 3 instead of == 1 for joined adjacent lines; tweaks.
pirms 12 gadiem
Ben Kurtovic
4ce5cf7a22
Improve image stuff.
pirms 12 gadiem
Ben Kurtovic
3de23628b7
Switching a bit of code from client-side to server-side.
- All POTD logic is now in Python instead of JS.
- Removed EarwigBackgroundCache cookie (now stored in a new `background` table in the database).
- Added EarwigScreenCache cookie
- Increase cookie life from a year to three.
pirms 12 gadiem
Ben Kurtovic
8dd5687ab1
Testing a potential bugfix.
pirms 12 gadiem
Ben Kurtovic
f3ddd8f700
Some adjustments to reduce HTML output size.
pirms 12 gadiem
Ben Kurtovic
37cb1f568c
Fix default behavior.
pirms 12 gadiem
Ben Kurtovic
21d8666589
Syntax!
pirms 12 gadiem
Ben Kurtovic
1523c2401f
Implement 'background' option plus background images.
pirms 12 gadiem
Ben Kurtovic
833bdc6415
Support other backgrounds.
pirms 12 gadiem
Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
pirms 12 gadiem
Ben Kurtovic
309cb30358
Beginning work on a settings page.
pirms 12 gadiem
Ben Kurtovic
ecc5a13cf5
Dynamically load sites from the API and cache this information.
- Also removing some unused imports and cleaning up code.
pirms 12 gadiem
Ben Kurtovic
c49119ea97
Protocol-relative URLs in some places for full HTTPS support
pirms 12 gadiem
Ben Kurtovic
910a24a89f
Minor updates.
pirms 12 gadiem
Ben Kurtovic
2ee3a79d20
Some pretty awesome stuff.
pirms 12 gadiem
Ben Kurtovic
4e9b7c1b1c
updates; new layout idea
pirms 13 gadiem
Ben Kurtovic
5e63ae849e
bash, improvements, etc etc
pirms 13 gadiem
Ben Kurtovic
cbc00a4ad6
Updates, nicer footer, etc
pirms 13 gadiem
Ben Kurtovic
4a1829c0c5
dynamic links to stylesheets
pirms 13 gadiem
Ben Kurtovic
ddaa5cb9a1
let's show our environ
pirms 13 gadiem
Ben Kurtovic
54e95b549e
More stuff
pirms 13 gadiem
Ben Kurtovic
a6adbc3b03
Spacing fix/test
pirms 13 gadiem
Ben Kurtovic
f56c158d31
Basic index page that works correctly
pirms 13 gadiem