Code source wiki de Maps
Modifié par superadmin le 2019/10/18 23:45
Masquer les derniers auteurs
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | {{velocity}} |
2 | #set ($displayDocExtra = false) | ||
3 | == Maps == | ||
4 | #set($columns = ["doc.title", "doc.creationDate", "_actions"]) | ||
5 | #set($columnsProperties = { | ||
6 | "doc.title" : { "type" : "text", "link" : "view", "html" : "true", "sortable":true }, | ||
7 | "_actions" : {"actions": ["edit","delete"]} | ||
8 | }) | ||
9 | #set($options = { | ||
10 | "className":"Maps.Code.MapClass", | ||
11 | "translationPrefix" : "intmap.livetable.", | ||
12 | "tagCloud" : true, | ||
13 | "rowCount": 10 | ||
14 | }) | ||
15 | #livetable("mapTable" $columns $columnsProperties $options) | ||
16 | ---- | ||
17 | == Points == | ||
18 | #set($columnsPoints = ["doc.title", "doc.creationDate", "_actions"]) | ||
19 | #set($columnsPropertiesPoints = { | ||
20 | "doc.title" : { "type" : "text", "link" : "view", "html" : "true", "sortable":true }, | ||
21 | "_actions" : {"actions": ["edit","delete"]} | ||
22 | }) | ||
23 | #set($optionsPoints = { | ||
24 | "className":"Maps.Code.PointClass", | ||
25 | "translationPrefix" : "intmap.livetable.", | ||
26 | "tagCloud" : true, | ||
27 | "rowCount": 10 | ||
28 | }) | ||
29 | #livetable("mapPointsTable" $columnsPoints $columnsPropertiesPoints $optionsPoints) | ||
30 | ---- | ||
31 | == Paths == | ||
32 | #set($columnsPaths = ["doc.title", "doc.creationDate", "_actions"]) | ||
33 | #set($columnsPropertiesPaths = { | ||
34 | "doc.title" : { "type" : "text", "link" : "view", "html" : "true", "sortable":true }, | ||
35 | "_actions" : {"actions": ["edit","delete"]} | ||
36 | }) | ||
37 | #set($optionsPaths = { | ||
38 | "className":"Maps.Code.PathClass", | ||
39 | "translationPrefix" : "intmap.livetable.", | ||
40 | "tagCloud" : true, | ||
41 | "rowCount": 10 | ||
42 | }) | ||
43 | #livetable("mapPathsTable" $columnsPaths $columnsPropertiesPaths $optionsPaths) | ||
44 | ---- | ||
45 | == Shapes == | ||
46 | #set($columnsShapes = ["doc.title", "doc.creationDate", "_actions"]) | ||
47 | #set($columnsPropertiesShapes = { | ||
48 | "doc.title" : { "type" : "text", "link" : "view", "html" : "true", "sortable":true }, | ||
49 | "_actions" : {"actions": ["edit","delete"]} | ||
50 | }) | ||
51 | #set($optionsShapes = { | ||
52 | "className":"Maps.Code.ShapeClass", | ||
53 | "translationPrefix" : "intmap.livetable.", | ||
54 | "tagCloud" : true, | ||
55 | "rowCount": 10 | ||
56 | }) | ||
57 | #livetable("mapShapesTable" $columnsShapes $columnsPropertiesShapes $optionsShapes) | ||
58 | ---- | ||
59 | == Indoor Structures == | ||
60 | #set($columnsIndoor = ["doc.title", "doc.creationDate", "_actions"]) | ||
61 | #set($columnsPropertiesIndoor = { | ||
62 | "doc.title" : { "type" : "text", "link" : "view", "html" : "true", "sortable":true }, | ||
63 | "_actions" : {"actions": ["edit","delete"]} | ||
64 | }) | ||
65 | #set($optionsIndoor = { | ||
66 | "className":"Maps.Code.IndoorClass", | ||
67 | "translationPrefix" : "intmap.livetable.", | ||
68 | "tagCloud" : true, | ||
69 | "rowCount": 10 | ||
70 | }) | ||
71 | #livetable("mapIndoorStructuresTable" $columnsIndoor $columnsPropertiesIndoor $optionsIndoor) | ||
72 | {{/velocity}} |