Commit Graph

8 Commits (2a817c1b1e1d2a368fba25cd01562c9d4f07a27c)

Author SHA1 Message Date
Joey Hines f8ae09fd56 Added public farm location type
+Added PublicFarm and Resource models
+Farms have resources that they can harvest
+Added commands to add farms and add/remove resources from them
+Added find_farm to find farms
2019-03-02 11:48:28 -06:00
Joey Hines b88bfbda43 Added a way to get the child object from a location object
+ get_loc_child returns the Town, Base, Shop... object
+ link gets the url for the location
+ the info command now returns the child object instead of the Location
object
+ Added Town navbar
2019-02-06 14:54:50 -06:00
Joey Hines 095e00cb72 Fixed some issues on the templates for locations with multiple owners 2019-02-02 09:11:26 -06:00
Joey Hines 118b578b06 Template clean up and added views for individual locations and players
+Moved each type of table into its own template so its less repeated
+Players, Bases and Shops now have their own views
+Added a loc_type property to location to get the object type
+Added dynmap_url to location to get the dynmap url
+
2019-01-13 19:27:48 -06:00
Joey Hines c57a570e97 Holy datatables batman
+ Converted all the lists to nice datatables
+ Added location property to Location for displaying the position
+ Added a location count property to Players
2019-01-12 15:06:06 -06:00
Joey Hines 6cdfe76505 yes am pro web dev yes
+ tweaked a few commands
+ added exception raised from the commands in the docs
+ added models to the documentation
+ Now using Bootstrap with the Superhero theme
+ Replaced side navbar with a top navbar
+ Added global search that works like the find command
+ Added a templatetag for generating the navbar
+ Layout likely to change again, but at least it has a nice theme now...
2019-01-11 16:40:12 -06:00
Joey Hines a4d71858bf Few more tweaks to UI 2018-12-15 15:12:17 -06:00
Joey Hines efe12b5b21 Incredibly basic first pass of a website for Geoffrey
+ Added an index page with a dynamic count
+ Added a List page for each model
+ Selling command improvements
2018-12-13 19:58:59 -06:00