| 34 | == Concept == |
| 35 | The main document is either the home- or workspace template. |
| 36 | Both these templates have a container object with the id "moduleslot" where the Blocks are appended on creation. |
| 37 | All div.block objects in this "moduleslot" can be dragged and dropped for manual arrangement. |
| 38 | The Blocks consist of a titlebar (used for minimizing, closing and drag&drop) which should contain information about the content of the block, a menu bar and a content area. |
| 39 | There are separate kinds of blocks for Tables, Views, Maps, searches etc., and they all should have an icon in the left corner of the title bar that identifies their content type. |
| 40 | Blocks are added to the moduleslot with the JS function "addBlock(url,id)" (blocks.js). |
| 41 | |