Commit Graph

45 Commits

Author SHA1 Message Date
pederbs 74f1c4913a Fix bug where routes using templates couldn't redirect 2017-11-20 23:49:13 +01:00
pederbs 6a957330a8 Make the table in the cardlist not wrap 2017-11-19 03:02:07 +01:00
pederbs 0621d20928 Fix iconfont aligment
They all behave differently...
2017-11-19 02:41:51 +01:00
pederbs 43a0e212fc New design on cards
This changes the layout drastically, pooling stats together in a single black bar on the card
This change also adds icons instead of text for certain stats.
There is also some cleanup.
2017-11-19 02:35:27 +01:00
pederbs cdc3dc9801 Add strip_unit helper to velocity templates
This can be used to strip units on stats
2017-11-19 02:27:00 +01:00
pederbs b41a1eff67 Categorize stuff in common.py 2017-11-19 02:25:46 +01:00
pederbs 897fc6b5a2 Simplify withResource, replace withTemplate with mergeTemplate 2017-11-16 23:03:34 +01:00
pederbs 944865be1c Clarify static resource routes code 2017-11-16 22:42:00 +01:00
pederbs 7bae2e34d7 Fix minor import bug 2017-11-16 22:36:50 +01:00
pederbs dc520ae64d Make creator preview update after timeout, instead of each keyup 2017-11-16 22:35:54 +01:00
pederbs c7e6b9b566 Generalize listify_output decorator into wrap_output 2017-11-16 22:10:14 +01:00
pederbs 3ad35df4a9 Cleanup creator save/delete responses 2017-11-16 21:55:40 +01:00
pederbs b771cf5343 Make card template and svg browser get colored SVGs instead of filtering them
This fixes the issue of SVGs being rasterized to 72DPI when printing
2017-11-16 21:54:06 +01:00
pederbs 9532d3ba66 Add option to color svg file itself with GET argument 2017-11-16 21:52:28 +01:00
pederbs d46b006032 Add kwargs support to memoizer decorator 2017-11-16 21:49:31 +01:00
pederbs 605131f123 Clean up vsplit in svg list 2017-11-16 21:12:42 +01:00
pederbs 59f8b74565 Make creator preview update more often 2017-11-12 23:14:20 +01:00
pederbs cd3eebfc1f Cleanup svg list template, hide uneccesary pagination 2017-11-12 23:13:19 +01:00
pederbs d3aaf2702e Minor cleanup in card template 2017-11-12 19:39:57 +01:00
pederbs 7cb8fbd184 Add support for svg collections, add svg browser pagination and filtering
svg collections must be added manually to the svg directory
2017-11-12 19:38:47 +01:00
pederbs 902ae45ab3 Fixed a bug where static files would use the last read filetype as mimetype
We need a prettier way of making namespaces
2017-11-11 13:00:43 +01:00
pederbs b0e857e21b Add pokehum flag handling 2017-11-10 22:16:53 +01:00
pederbs 8c74ef194d Fix font-awesome in creator 2017-11-10 22:16:23 +01:00
pederbs 94d233988e Add ability to include files in velocity 2017-11-10 22:15:52 +01:00
pederbs 290efd3277 Add readme and license 2017-10-19 22:05:32 +02:00
pederbs 680f3f66d0 fix tag filtering 2017-10-19 13:20:44 +02:00
pederbs f3ec15f93f Implement tag filter in cardlist 2017-10-17 18:58:13 +02:00
pederbs b0b39e3964 Display card tags in cardlist 2017-10-17 18:57:47 +02:00
pederbs a19fd919e1 Make cards appear closer, making them easier to cut after print 2017-10-17 18:56:52 +02:00
pederbs 2f456df8a6 Switch from html size tag to css width on card creator page 2017-10-17 18:55:13 +02:00
pederbs f43f7cefcc Add tag to card model and creator and retain stock cross edits 2017-10-17 18:51:38 +02:00
pederbs dcd89b391c Turn colored SVGS into siluettes 2017-10-17 18:48:23 +02:00
pederbs dfb21c3c46 Don't keep files in memory when not using cache 2017-10-17 18:46:05 +02:00
pederbs 89bf2aba03 Add page titles 2017-10-17 18:45:32 +02:00
pederbs 85f9a3e264 Add exit message
Nice to have when using entr
2017-10-15 11:44:41 +02:00
pederbs 676e9dc051 Add better cardlist with sorting 2017-10-15 11:44:12 +02:00
pederbs e45da6436f Expand on the card model 2017-10-15 11:43:18 +02:00
pederbs 1d41e9884a Add 2 decorators and cleanup in common.py 2017-10-15 11:41:13 +02:00
pederbs b900b4d41a minor cleanup 2017-10-15 11:39:38 +02:00
pederbs 9d3a350510 Expand the card creator 2017-10-15 11:36:03 +02:00
pederbs 4a7931077e Add SVG option for icons 2017-10-15 11:31:29 +02:00
pederbs 0332cabb03 Add HTML prettification option 2017-10-15 11:18:51 +02:00
pederbs 994a42766a Add dev.sh
dev.sh uses entr to restart the server every time a change is made to a .py file
2017-10-11 01:43:49 +02:00
pederbs 8790dd83b2 Add effects list to cards and a card creator with preview 2017-09-24 23:09:58 +02:00
pederbs 7d7642ead6 Initial commit 2017-09-24 18:07:50 +02:00