Skip to content

Latest commit

 

History

History
87 lines (71 loc) · 2.43 KB

README.md

File metadata and controls

87 lines (71 loc) · 2.43 KB

nw-trainings

This is a simple node-webkit application to collect training data, headers and simple textblocks. The json export can be used to generate training catalogs etc.

Due to the nature of node-webkit apps, this runs on mac os x , windows and linux.

It uses

Features

  • create headers sections
  • create multiline textblock sections
  • create training sections
  • move sections up/down
  • delete sections
  • export sections as json

Missing features (for the sake of simplicity):

  • no specific input-types (all fields are text)
  • no validation
  • no drag and drop

Installation

  • download node-webkit runtime for your platform (all from the node-webkit project)
  • mac os x: node-webkit.app
  • windows: nw.exe, nw.pak, icudt.dll, libEGL.dll, libGLESv2.dll
  • install nedb node module npm install nedb --save

Run

Simply double-click on the nw.exe for windows or the node-webkit app on the mac.

Screenshots

With an empty database you can create one of the three predefined section types (header/textblock/training)

image1

Before and behind any section you can create new sections. Moving them up or down is done by the little arrows. Delete the section with the trash icon.

image1

Here is a mixture of all sections.

image1

Export

Here is a sample json export of all three section types with empty fields. Each section has got a unique id, that is generated by nedb:

[
    {
        "type": "header",
        "id": "igv61FUB6BsKKDtZ",
        "text": ""
    },
    {
        "type": "textblock",
        "id": "hYdfYzO67l1Y6Yph",
        "text": ""
    },
    {
        "type": "training",
        "id": "yBKo46hiJuxzfJQ8",
        "trainingNumber": "",
        "trainingTitle1": "",
        "trainingTitle2": "",
        "trainingTotalCost": "",
        "trainingContent": "",
        "trainingTutorFirstname": "",
        "trainingTutorLastname": "",
        "trainingCity": "",
        "trainingLocation": "",
        "trainingNumAppointments": "",
        "trainingNumLessons": "",
        "trainingStartDate": "",
        "trainingEndDate": "",
        "trainingMaxParticipants": "",
        "trainingTime": ""
    }
]