An experimental approach to responsive design.
This repository (which contains Python code) has been abandoned in favor of a new one (containing JavaScript code): easy-rwd. This change has occurred because this tool seems better-suited as a Node package, and a fairly different definition of a layout is being used.
I do not expect to work in this repository again, but I am leaving it for reference.
Pages are composed of widgets, which may be composed of other widgets themselves. Base widgets have no children, and are created normally with HTML. You then create a file specifying your intermediate widgets and pages. The system then generates HTML for your pages automatically and generates CSS to make your UI responsive.
- Create an HTML file for each base widget. These go in the
srcfolder. - Create a
app-name.jsonfile in the base directory specifying how widgets are combined (see examples). - Run the build script from the base directory. HTML and CSS files for each
page are created and placed in the
buildfolder.