-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.php
106 lines (81 loc) · 2.75 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?php
return [
'name' => 'driven/listings',
'type' => 'extension',
'main' => 'Driven\\Listings\\Module\\ListingsModule',
'autoload' => [
'Driven\\Listings\\' => 'src'
],
'settings' => '@listings',
'resource' => [
'driven/listings:' => ''
],
'permissions' => [
'listings: manage lists' => [
'title' => 'Manage lists',
'description' => 'Create, edit, delete and publish lists'
]
],
'config' => [
'defaults' => [
'listingTitle' => 'uk-h1',
'listingDescription' => '',
'categoryTitleDescription'=>'uk-margin-large-bottom uk-margin-large-top',
'categoryTitle' => 'uk-h2 uk-text-center uk-text-uppercase uk-margin-remove',
'categoryDescription' => 'uk-text-large uk-text-center',
'itemContainer'=>'',
'itemTitleDescription' => 'uk-width-medium-5-10 uk-flex-item-1',
'itemTitle' => 'uk-h3',
'itemDescription' => '',
'itemPrice' => 'uk-width-medium-1-10 uk-text-right uk-text-large',
'itemImage' => 'uk-width-medium-4-10',
'itemTagsContainer' => 'uk-margin-top uk-text-bold uk-text-primary',
'itemTag' => 'uk-badge'
]
],
'routes' => [
'/listings' => [
'name' => '@listings',
'controller' => 'Driven\\Listings\\Controller\\ListingsController'
],
'/listings/category' => [
'name' => '@listings/category',
'controller' => 'Driven\\Listings\\Controller\\CategoryController'
],
'/listings/category/item' => [
'name' => '@listings/category/item',
'controller' => 'Driven\\Listings\\Controller\\ItemController'
],
'/listings/templates' => [
'name' => '@listings/templates',
'controller' => 'Driven\\Listings\\Controller\\TemplatesController'
],
'/listings/info' => [
'name' => '@listings/info',
'controller' => 'Driven\\Listings\\Controller\\InfoController'
]
],
'menu' => [
'listings' => [
'label' => 'Listings',
'icon' => 'driven/listings:icon.svg',
'url' => '@listings',
'active' => '@listings*'
],
'listings: root' => [
'parent' => 'listings',
'label' => 'Lists',
'url' => '@listings'
],
'listings: templates' => [
'parent' => 'listings',
'label' => 'Templates',
'url' => '@listings/templates'
],
'listings: info' => [
'parent' => 'listings',
'label' => 'Info',
'url' => '@listings/info'
]
]
];