-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcatares.conf
66 lines (66 loc) · 1.69 KB
/
catares.conf
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
# rename this file to catares.yml and put a ':' after 'name' if
# you want to use YAML like in old versions of Catalyst
name catares
<Plugin::Authentication>
default_realm 'members'
<members>
<credential>
class Password
password_field pass
password_type clear
</credential>
<store>
class 'DBIx::Class'
user_model 'DBIC'
role_column 'roles'
</store>
</members>
</Plugin::Authentication>
<View::JSON>
allow_blessed 0
</View::JSON>
<authorization>
<dbic>
role_class 'Roles'
role_field 'name'
</dbic>
</authorization>
<includes>
<wufoo>
styles /static/css/form.css
styles /static/css/structure.css
styles /static/css/theme.css
</wufoo>
<calendar>
styles /static/css/calendar-system.css
scripts /static/js/calendar/calendar.js
scripts /static/js/calendar/calendar-setup.js
scripts /static/js/calendar/calendar-en.js
</calendar>
<lightbox>
styles /static/css/jquery.fancybox.css
scripts /static/js/jquery.fancybox.pack.js
</lightbox>
</includes>
<menu>
<Common>
title "Home"
link "/"
img "/static/images/home.png"
</Common>
<Common>
title "My Billings"
link "/billing/history"
img "/static/images/spreadsheet.png"
</Common>
<Manager>
title "Reports"
link "/reports"
img "/static/images/reports.jpg"
</Manager>
<Manager>
title "Admin"
link "/admin"
img "/static/images/admin.png"
</Manager>
</menu>