-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathregistrationConfig.html
More file actions
159 lines (159 loc) · 10.9 KB
/
Copy pathregistrationConfig.html
File metadata and controls
159 lines (159 loc) · 10.9 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Export Registration Config - Geotab</title>
<link rel="stylesheet" href="addin.css">
</head>
<body>
<div id="addinContainer">
<header class="geotabPageHeader geo-page-header">
<div class="geo-page-header__main-line">
<h1 class="geotabPageName geo-page-header__page-name">Export Registration Config</h1>
</div>
</header>
<nav class="geo-page-toolbar" role="toolbar">
<button id="exportButton" class="geo-button geo-button--action geo-page-toolbar__item" disabled aria-label="Export configuration">
<svg class="geo-button__icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14 11V14H2V11H0V14C0 15.1 0.9 16 2 16H14C15.1 16 16 15.1 16 14V11H14Z" fill="currentColor"/>
<path d="M13 7L11.59 5.59L9 8.17V0H7V8.17L4.41 5.59L3 7L8 12L13 7Z" fill="currentColor"/>
</svg>
<span class="geo-button__text">Export</span>
</button>
<button id="saveButton" class="geo-button geo-page-toolbar__item" aria-label="Refresh data">
<svg class="geo-button__icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M13.65 2.35C12.2 0.9 10.21 0 8 0C3.58 0 0.01 3.58 0.01 8C0.01 12.42 3.58 16 8 16C11.73 16 14.84 13.45 15.73 10H13.65C12.83 12.33 10.61 14 8 14C4.69 14 2 11.31 2 8C2 4.69 4.69 2 8 2C9.66 2 11.14 2.69 12.22 3.78L9 7H16V0L13.65 2.35Z" fill="currentColor"/>
</svg>
<span class="geo-button__text">Refresh</span>
</button>
</nav>
<section class="help-notification alert alert--success" role="alert" aria-live="polite">
<p class="infoText"><b>Export:</b> Executes the export and generates the <b>export.json</b> file.</p>
<p class="infoText"><b>Refresh:</b> Updates the export data to include any changes since the previous update.</p>
</section>
<main class="erc-list" role="main">
<ul id="exporedData" class="erc-list__list">
<li id="exportedGroups" class="erc-list__row-item">
<h2 class="erc-list__header">Groups</h2>
<div class="erc-list__record">
<p class="description">You have <span class="bold">not configured any groups</span>.</p>
</div>
</li>
<li id="exportedSecurityClearances" class="erc-list__row-item">
<h2 class="erc-list__header">Security Clearances</h2>
<div class="erc-list__record">
<p class="description">You have <span class="bold">not configured any security clearances</span>.</p>
</div>
</li>
<li id="exportedRules" class="erc-list__row-item">
<h2 class="erc-list__header">Rules</h2>
<div class="erc-list__record">
<p class="description">You have <span class="bold">not configured any rules</span>.</p>
</div>
</li>
<li id="exportedReports" class="erc-list__row-item">
<h2 class="erc-list__header">Customized Reports</h2>
<div class="erc-list__record">
<p class="description">You have <span class="bold">not configured any customized reports</span>.</p>
</div>
</li>
<li id="exportedDashboards" class="erc-list__row-item">
<h2 class="erc-list__header">Dashboards</h2>
<div class="erc-list__record">
<p class="description">You have <span class="bold">not configured any dashboards</span>.</p>
</div>
</li>
<li id="exportedMap" class="erc-list__row-item">
<h2 class="erc-list__header">Map</h2>
<div class="erc-list__record">
<p class="description">You have <span class="bold">not configured any map providers</span>.</p>
</div>
</li>
<li id="exportedAddins" class="erc-list__row-item">
<h2 class="erc-list__header">Add-Ins</h2>
<div class="erc-list__record">
<p class="description">You have <span class="bold">not configured any add-ins</span>.</p>
<label id="exportAllAddins" class="geo-checkbox__label">
<input id="export_all_addins_checkbox" value="export_all_addins" type="checkbox" class="geo-checkbox__box checkboxStyle" checked>
<span class="geo-checkbox__label-text">Export all add-ins</span>
</label>
<div class="alert"><b>Note:</b> Uncheck this box if you do not want to export all add-ins. If unchecked, no add-ins will be exported.</div>
</div>
</li>
<!--
<div id="exportedUsers">
<h2>Users</h2>
<div class="description">You have <span class="bold">not exported any users</span>.</div>
</div>
-->
<li id="exportedZones" class="erc-list__row-item">
<h2 class="erc-list__header">Zones</h2>
<div class="erc-list__record">
<p class="description">You have <span class="bold">not exported any zones</span>.</p>
<label id="exportAllZones" class="geo-checkbox__label">
<input id="export_all_zones_checkbox" value="export_all_zones" type="checkbox" class="geo-checkbox__box checkboxStyle" checked>
<span class="geo-checkbox__label-text infoText">Export all zones <span class="infoText-description">(disabled because there are more than 5,000 zones in the database)</span></span>
</label>
<div class="alert"><b>Note:</b> Uncheck this box if you do not want to export all zones. If unchecked, only zones with dependencies will be exported.</div>
</div>
</li>
<li id="exportSystemSettings" class="erc-list__row-item">
<h2 class="erc-list__header">System Settings</h2>
<div class="erc-list__record">
<p class="description">You have <span class="bold">not exported any system settings</span>.</p>
<label id="exportSystemSettingsLabel" class="geo-checkbox__label">
<input id="export_system_settings_checkbox" value="export_system_settings" type="checkbox" class="geo-checkbox__box checkboxStyle" checked>
<span class="geo-checkbox__label-text">Export System Settings</span>
</label>
<div class="alert">
<b>Note:</b> Uncheck this box if you do not want to export these system settings:
<ul class="alert-list">
<li class="alert-list__item">
<svg class="alert-list__icon" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.6667 3.5L5.25 9.91667L2.33333 7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Purge
</li>
<li class="alert-list__item">
<svg class="alert-list__icon" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.6667 3.5L5.25 9.91667L2.33333 7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Email sender name
</li>
<li class="alert-list__item">
<svg class="alert-list__icon" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.6667 3.5L5.25 9.91667L2.33333 7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Are you a government organization?
</li>
<li class="alert-list__item">
<svg class="alert-list__icon" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.6667 3.5L5.25 9.91667L2.33333 7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Allow reseller access
</li>
<li class="alert-list__item">
<svg class="alert-list__icon" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.6667 3.5L5.25 9.91667L2.33333 7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Display third-party apps
</li>
<li class="alert-list__item">
<svg class="alert-list__icon" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.6667 3.5L5.25 9.91667L2.33333 7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Allow purchasing on marketplace
</li>
</ul>
</div>
</div>
</li>
</ul>
</main>
</div>
<template id="hasItemsMessageTemplate">You are exporting <span class="bold">{quantity}</span> {entity}.</template>
<template id="mapMessageTemplate">The default map is <span class="bold">{mapProvider}</span>.</template>
<script src="./addin.js"></script>
</body>
</html>