-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
241 lines (224 loc) · 10.3 KB
/
index.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
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<html>
<head>
<link rel="icon" type="image/png" href="https://www.appitek.com/img/logos/automation-manager-logo.png"/>
<link rel="stylesheet" type="text/css" href="https://appitek.com/ui/css/style.css"/>
<script type="text/javascript" src="https://appitek.com/ui/fa.js"></script>
<script type="text/javascript" src="js/libs/vue.js"></script>
<script type="text/javascript" src="js/libs/forcetek.js"></script>
<script type="text/javascript" src="js/modules/force.js"></script>
<script type="text/javascript" src="js/modules/parser.js"></script>
<script type="text/javascript" src="js/modules/metadata.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<title>Appitek | Automation Manager</title>
<meta property="og:image" content="https://www.appitek.com/img/logos/automation-manager-ogg.png"/>
<meta property="og:title" content="Appitek | Automation Manager"/>
<meta property="og:description" content="Manage and export all of your Salesforce
automations for keywords, including Validation Rules, Workflows, Process
Builders, Triggers, and Apex Classes."/>
<meta property="og:url" content="https://www.appitek.com/pages/tools/automation-manager.html"/>
<meta property="og:site_name" content="Appitek | Automation Manager"/>
<meta property="og:type" content="website"/>
</head>
<body class="aptk">
<div id="manager">
<a id="link" style="display: none"></a>
<nav class="aptk-nav">
<ul class="aptk-float--l">
<li v-on:click="logoutUser()">Logout</li>
<li>
<a style="color: rgba(224, 229, 235, 0.9); text-decoration: none" href="https://www.appitek.com/pages/feedback.html" target="_blank">
Give Feedback
</a>
</li>
</ul>
</nav>
<header class="aptk-header">
<div class="aptk-header--info">
<img height="50px" src="https://www.appitek.com/img/logos/automation-manager-logo.png"/>
<h1>Automation Manager</h1>
<h2>{{ email }}</h2>
</div>
<div class="aptk-header--actions">
<div class="aptk-group">
<div class="aptk-input aptk-input--nolabel aptk-input--iconleft">
<input v-model="search" placeholder="Search.."/>
<i class="fas fa-search"></i>
</div>
<div style="margin-top: 0px !important;" class="aptk-input aptk-input--nolabel">
<select v-model="filter">
<option value="">-- All --</option>
<option v-for="type in sortedTypes">{{ type }}</option>
</select>
<span><i class="fas fa-caret-down"></i></span>
</div>
<button v-bind:disabled="totalSelected == 0" v-on:click="exportSelected()" class="aptk-button aptk-button--blue">
{{ totalSelected == automation.length ? 'Export All' : totalSelected > 0 ? 'Export Selected': 'Nothing Selected'}}
</button>
</div>
</div>
</header>
<main class="aptk-canvas aptk-canvas--nosidebar" style="padding: 40px">
<div class="aptk-table">
<table>
<thead>
<tr>
<th>
<div class="aptk-input aptk-input--nolabel">
<input v-model="all" type="checkbox"/>
<span class="on"><i class="fas fa-check"></i></span>
<span class="off"><i class="fas fa-times"></i></span>
</div>
</th>
<th>Name</th>
<th>Type</th>
<th v-if="options.rules == true || options.apex == true">Object</th>
<th v-if="options.packages == true">Package</th>
<th>Status</th>
<th>Created Date</th>
<th>Last Modified Date</th>
<th>Last Modified By</th>
<th></th>
</tr>
</thead>
<tbody>
<tr v-for="a in filteredAutomation">
<td>
<div class="aptk-input aptk-input--nolabel">
<input v-model="a.Selected" type="checkbox"/>
<span class="on"><i class="fas fa-check"></i></span>
<span class="off"><i class="fas fa-times"></i></span>
</div>
</td>
<td class="aptk-am--name">
<a v-bind:href="url + '/' + a.Id" target="_blank">
<div class="aptk-am--name">{{ a.Name }}</div>
</a>
</td>
<td>{{ a.Type }}</td>
<td v-if="options.rules == true || options.apex == true">{{ a.Object }}</td>
<td v-if="options.packages == true">{{ a.Package }}</td>
<td>{{ a.Status }}</td>
<td>{{ a.CreatedDate }}</td>
<td>{{ a.LastModifiedDate }}</td>
<td>{{ a.LastModifiedBy }}</td>
<td>
<button v-on:click="exportAutomation(a)" class="aptk-button aptk-button--blue">
Export
</button>
</td>
</tr>
</tbody>
</table>
</div>
</main>
<div class="aptk-loading" v-if="loading != ''">
<table>
<tr>
<td>
<i class="fas fa-cog fa-spin"></i>
<p>{{ loading }}</p>
</td>
</tr>
</table>
</div>
<div class="aptk-popup aptk-popup--splash" v-bind:class="{'aptk-hide': authenticated }">
<table>
<tr>
<td>
<div class="aptk-popup--overlay"></div>
<div class="aptk-popup--wrapper" style="max-width: 360px">
<div class="aptk-popup--wrapper_header">
<img class="aptk-popup--splash_logo" src="https://www.appitek.com/img/logo.png"/>
</div>
<div class="aptk-popup--wrapper_content">
<img class="aptk-popup--splash_icon" src="https://www.appitek.com/img/logos/automation-manager-logo.png"/>
<h1>Automation Manager</h1>
<p>
Please select the items you want to search across, and
log into your Salesforce Environment to begin.
</p>
<br/>
<div class="aptk-grid">
<div class="aptk-grid--50">
<div class="aptk-input">
<input v-model="options.flows" type="checkbox"/>
<label>Include Flows & Processes</label>
<span class="on"><i class="fas fa-check"></i></span>
<span class="off"><i class="fas fa-times"></i></span>
</div>
</div>
<div class="aptk-grid--50">
<div class="aptk-input">
<input v-model="options.workflows" type="checkbox"/>
<label>Include Workflow Rules</label>
<span class="on"><i class="fas fa-check"></i></span>
<span class="off"><i class="fas fa-times"></i></span>
</div>
</div>
</div>
<div class="aptk-grid">
<div class="aptk-grid--50">
<div class="aptk-input">
<input v-model="options.rules" type="checkbox"/>
<label>Include Validation Rules</label>
<span class="on"><i class="fas fa-check"></i></span>
<span class="off"><i class="fas fa-times"></i></span>
</div>
</div>
<div class="aptk-grid--50">
<div class="aptk-input">
<input v-model="options.apex" type="checkbox"/>
<label>Include Classes & Triggers</label>
<span class="on"><i class="fas fa-check"></i></span>
<span class="off"><i class="fas fa-times"></i></span>
</div>
</div>
</div>
<div class="aptk-grid">
<div class="aptk-grid--50">
<div class="aptk-input">
<input v-model="options.packages" type="checkbox"/>
<label>Include Packaged Components</label>
<span class="on"><i class="fas fa-check"></i></span>
<span class="off"><i class="fas fa-times"></i></span>
</div>
</div>
</div>
<div class="aptk-input">
<select v-model="options.environment">
<option>Sandbox</option>
<option>Production</option>
</select>
<label>Environment</label>
<span><i class="fas fa-caret-down"></i></span>
</div>
<div v-on:click="loginUser()" class="aptk-button aptk-button--blue aptk-x1">Login</div>
</div>
</div>
</td>
</tr>
</table>
<a href="https://github.com/appitekltd/aptk-automation-manager" target="_blank">
<div class="aptk-am--footer">
<p>Fork on GitHub</p>
<img src="https://www.appitek.com/img/footer-github-dark.png"/>
</div>
</a>
<a href="https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000G0sC9UAJ" target="_blank">
<div style="margin-bottom: 40px" class="aptk-am--footer">
<p>Install in Salesforce</p>
<img src="https://www.appitek.com/img/footer-salesforce.png"/>
</div>
</a>
</div>
</div>
<script type="text/javascript" src="js/app.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-141145289-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-141145289-1');
</script>
</body>
</html>