Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#68 closed task (released)

Add "export army list" function

Reported by: ibboard Owned by: ibboard
Priority: critical Milestone: WarFoundry 0.1
Component: WarFoundry-API Version:
Keywords: Cc:
Blocked By: Blocking: #69, #70

Description

For the WarFoundry army list to be much use we need a way to export it to some kind of document. HTML documents with basic table structures would probably be the easiest.

Attachments (2)

test.html (573 bytes) - added by ibboard 10 years ago.
Initial HTML output
armyexport.html (1.0 KB) - added by ibboard 10 years ago.
Basic styled army with equipment and points

Download all attachments as: .zip

Change History (14)

comment:1 Changed 11 years ago by ibboard

Blocking: 69 added

comment:2 Changed 11 years ago by ibboard

Blocking: 70 added

comment:3 Changed 11 years ago by ibboard

Owner: ibboard deleted

Remove owner so that the team can more easily see bugs. Using default owners seems good at first but is bad practice when a team can be working on any part of the project.

comment:4 Changed 10 years ago by ibboard

(In r226) Re #68: Add "export army list" function

  • Add initial interface for exporting
  • Add stub implementation for exporting HTML (does nothing so far)

comment:5 Changed 10 years ago by ibboard

Owner: set to ibboard
Status: newaccepted

comment:6 Changed 10 years ago by ibboard

(In r227) Re #68: Add "export army list" function

  • Add initial body of an export method (doesn't list costs, total or equipment)

Changed 10 years ago by ibboard

Attachment: test.html added

Initial HTML output

comment:7 Changed 10 years ago by ibboard

(In r228) Re #68: Add "export" of army

  • Add total to title and points value to units

comment:8 Changed 10 years ago by ibboard

(In r230) Re #68: Export army to another format

  • Add styling to table
  • Add in text for equipment
  • Add method to Unit to get equipment amount strings
  • Refactor unit equipment handling to reduce duplication

Changed 10 years ago by ibboard

Attachment: armyexport.html added

Basic styled army with equipment and points

comment:9 Changed 10 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

Basic "functional" export complete - units, stats, points values, and equipment are listed, which will do for a start. Users can modify the HTML themselves if they want better styling.

comment:10 Changed 10 years ago by ibboard

released: 1

Mark released changes as released

comment:11 Changed 10 years ago by ibboard

released: 1yes

Mark released fixes as released using radio values

comment:12 Changed 10 years ago by ibboard

Resolution: fixedreleased

Mark fix as released under a previous version

Note: See TracTickets for help on using tickets.