56 Commits

Author SHA1 Message Date
robertem 49f833c965 Figure parameters default to match original design 2018-01-01 18:03:00 +01:00
robertem 02efc0febf Place bottom of info box based on grid instead of absolute
Specify line-height for bottom big elements to avoid ugly overlapping
2018-01-01 15:53:28 +01:00
robertem e91902b0b4 Correct typo preventing material-icons figures from working 2018-01-01 15:03:18 +01:00
robertem d6d4241ab3 Allow colour for non-svg figures. 2018-01-01 15:01:22 +01:00
robertem 2d3b9e7c05 Allow positioning for figures with non-svg sources 2018-01-01 13:22:01 +01:00
robertem 458652bcae Support any amount of figures, with arbitrary positioning/size/colours/sources 2018-01-01 13:15:15 +01:00
robertem c61f845741 Readme typos 2018-01-01 11:58:25 +01:00
pederbs 20c51df49a Start on the colorscheme system 2017-12-26 19:03:31 +01:00
pederbs 3c85e84272 Fix a bug in the model class
The bug would hide any attribute with a underscore in the middle, not just those with starting or trailing underscore(private variables)
2017-12-26 19:01:48 +01:00
pederbs 1aa3c569a8 Cleanup, add unique IDs tpo card.vm articles, add support for stacking figures, add more flags qhich trigger item layout, add feature to show current stock, fix SVG upload bug 2017-12-26 18:58:17 +01:00
pederbs 76b66ff555 Add tweaked design for items, draw cards and titles 2017-11-20 23:53:09 +01:00
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