source: Dev/branches/Cartis/Tiles preview/js/classes/DataSelector.js @ 259

Last change on this file since 259 was 259, checked in by tjcschipper, 13 years ago

Metro interface, selector werkt bijna! (Alleen move to dashboard nog niet, rest is prima (en de icons zijn lelijk).

File size: 874 bytes
Line 
1function DataSelector() {
2        var dummyData = {
3            1: {
4                title: "Teamup session 1",
5                creator: "Cartis Jansen",
6                description: "To be held on 25-5-2012",
7                date: "25-5-2012"
8            },
9            2: {
10                title: "Teamup session 2",
11                creator: "Cartis Jansen",
12                description: "To be held on 5-6-2012",
13                date: "5-6-2012"
14            },
15            3: {
16                title: "Simport test",
17                creator: "Bas van Nuland",
18                description: "Testversie van de simport sessie. Nog doorsturen!",
19                date: "7-8-2012"
20            }
21        }
22       
23        this.getData = function(index) {
24            return this.dummyData.eval(index);
25        }
26    }
27   
28    mockup.dataSelection.Dataselector = DataSelector;
Note: See TracBrowser for help on using the repository browser.