-
Notifications
You must be signed in to change notification settings - Fork 2
/
web-ui-bundle.html
95 lines (83 loc) · 2.91 KB
/
web-ui-bundle.html
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
<!-- ADMIN -->
<mostly-slot-content name="adminAuditMenuItem" slot="ADMINISTRATION_MENU" order="40">
<template>
<mostly-filter user="[[user]]" expression="user.isAdministrator">
<template>
<mostly-menu-item name="audit" label="audit.heading" route="administration:audit"></mostly-menu-item>
</template>
</mostly-filter>
</template>
</mostly-slot-content>
<mostly-slot-content name="adminAuditPage" slot="ADMINISTRATION_PAGES">
<template>
<mostly-filter user="[[user]]" expression="user.isAdministrator">
<template>
<mostly-audit name="audit" id="audit"></mostly-audit>
</template>
</mostly-filter>
</template>
</mostly-slot-content>
<mostly-slot-content name="adminCloudServicesMenuItem" slot="ADMINISTRATION_MENU" order="50">
<template>
<mostly-filter user="[[user]]" expression="user.isAdministrator">
<template>
<mostly-menu-item name="cloudServices" label="cloudServices.heading" route="administration:cloud-services"></mostly-menu-item>
</template>
</mostly-filter>
</template>
</mostly-slot-content>
<mostly-slot-content name="adminCloudServicesPage" slot="ADMINISTRATION_PAGES">
<template>
<mostly-filter user="[[user]]" expression="user.isAdministrator">
<template>
<mostly-cloud-services name="cloud-services" id="cloud-services"></mostly-cloud-services>
</template>
</mostly-filter>
</template>
</mostly-slot-content>
<!-- DRAWER -->
<mostly-slot-content name="homePage" slot="PAGES" order="0">
<template>
<mostly-home name="home" processes="[[processes]]"></mostly-home>
</template>
</mostly-slot-content>
<mostly-slot-content name="errorPage" slot="PAGES">
<template>
<mostly-page name="error">
<div class="header"></div>
<div class="content">
<paper-card>
<mostly-error id="error" code="[[error.code]]" url="[[error.url]]" message="[[error.message]]">
</mostly-error>
</paper-card>
</div>
</mostly-page>
</template>
</mostly-slot-content>
<!-- THEMES -->
<mostly-slot-content name="defaultTheme" slot="THEMES" order="10">
<template>
<mostly-theme name="default"></mostly-theme>
</template>
</mostly-slot-content>
<mostly-slot-content name="darkTheme" slot="THEMES" order="20">
<template>
<mostly-theme name="dark"></mostly-theme>
</template>
</mostly-slot-content>
<mostly-slot-content name="kawaiiTheme" slot="THEMES" order="30">
<template>
<mostly-theme name="kawaii"></mostly-theme>
</template>
</mostly-slot-content>
<mostly-slot-content name="lightTheme" slot="THEMES" order="40">
<template>
<mostly-theme name="light"></mostly-theme>
</template>
</mostly-slot-content>
<!-- USER MENU -->
<mostly-slot-content name="themesUserMenuItem" slot="USER_MENU" order="20">
<template>
<mostly-menu-item name="themes" label="app.user.themes" route="page:themes"></mostly-menu-item>
</template>
</mostly-slot-content>