scdashboard 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,104 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>SC Record Hygiene</title>
7
+ <link rel="icon" type="image/png" href="/icon.png">
8
+ <link rel="apple-touch-icon" href="/icon.png">
9
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700&display=swap">
10
+ <link rel="stylesheet" href="styles.css">
11
+ </head>
12
+ <body>
13
+ <div class="wrap">
14
+ <header>
15
+ <div>
16
+ <h1 class="brand"><img src="/icon.png" alt="" width="34" height="34">SC Record Hygiene</h1>
17
+ <p class="sub">Solution Consulting records and their Opportunities, checked against SC data standards.</p>
18
+ </div>
19
+ <div class="controls" id="dash-controls">
20
+ <div><label class="lbl" for="scPick">Solution Consultant</label><select id="scPick"></select></div>
21
+ <div><label class="lbl" for="q">Search</label><input id="q" type="search" placeholder="Account, opp, record…"></div>
22
+ <div><button class="btn" id="refresh-btn">Refresh from Salesforce</button></div>
23
+ <div class="asof-wrap"><span class="mono" id="asof"></span></div>
24
+ </div>
25
+ </header>
26
+
27
+ <nav class="tabs" id="tabs" role="tablist"></nav>
28
+ <div id="message" class="message" hidden></div>
29
+ <section id="module"></section>
30
+
31
+ <section id="settings" hidden>
32
+ <form id="settings-form" class="card">
33
+ <div>
34
+ <label class="lbl" for="api-key">Runlayer Personal API Key</label>
35
+ <input id="api-key" type="password" autocomplete="off" placeholder="Paste your Personal API Key">
36
+ <p class="meta" id="key-status"></p>
37
+ </div>
38
+ <details>
39
+ <summary>Advanced</summary>
40
+ <div><label class="lbl" for="host">Runlayer host</label><input id="host" type="url"></div>
41
+ <div><label class="lbl" for="server-id">Salesforce server ID</label><input id="server-id"></div>
42
+ </details>
43
+ <div class="toolbar">
44
+ <button class="btn" type="submit">Save</button>
45
+ <button class="btn secondary" type="button" id="test-btn">Test connection</button>
46
+ <button class="btn ghost" type="button" id="clear-key">Remove key</button>
47
+ </div>
48
+ <p id="settings-msg" class="meta"></p>
49
+ </form>
50
+ <div class="card" style="margin-top:14px">
51
+ <div>
52
+ <label class="lbl">Solution Consultants</label>
53
+ <p class="meta" style="margin:0">These names fill the Solution Consultant dropdown.</p>
54
+ </div>
55
+ <ul id="roster-list" class="roster"></ul>
56
+ <div class="lookup">
57
+ <label class="lbl" for="roster-name">Add a Salesforce user</label>
58
+ <input id="roster-name" type="search" autocomplete="off" placeholder="Type at least 3 letters…" role="combobox" aria-expanded="false" aria-controls="roster-suggest">
59
+ <ul id="roster-suggest" class="suggest" role="listbox" hidden></ul>
60
+ </div>
61
+ <p id="roster-msg" class="meta"></p>
62
+ </div>
63
+ </section>
64
+
65
+ <footer class="site-foot meta" id="site-foot"></footer>
66
+ </div>
67
+ <dialog id="email-dlg" class="email-dlg" aria-labelledby="em-title">
68
+ <h2 class="sec" id="em-title" style="margin-top:0">Review message</h2>
69
+ <div><label class="lbl" for="em-to">To</label><input id="em-to" type="email"></div>
70
+ <div><label class="lbl" for="em-subject">Subject</label><input id="em-subject"></div>
71
+ <div><label class="lbl" for="em-body">Body</label><textarea id="em-body" rows="18"></textarea></div>
72
+ <p id="em-msg" class="meta"></p>
73
+ <div class="toolbar">
74
+ <button class="btn" id="em-open" type="button">Open in email app</button>
75
+ <button class="btn secondary" id="em-copy" type="button">Copy body</button>
76
+ <button class="btn secondary" id="sl-draft" type="button" title="Opens a Slack DM with the SC and saves this text there as an unsent draft">Save as Slack draft</button>
77
+ <button class="btn secondary" id="sl-send" type="button">Send in Slack</button>
78
+ <button class="chip" id="em-close" type="button">Close</button>
79
+ </div>
80
+ </dialog>
81
+ <dialog id="changes-dlg" class="changes-dlg" aria-labelledby="ch-title">
82
+ <div class="peek-head">
83
+ <b id="ch-title">Refresh results</b>
84
+ <button class="chip" id="ch-close" type="button">Close</button>
85
+ </div>
86
+ <div class="changes-body">
87
+ <p class="meta" id="ch-counts"></p>
88
+ <div id="ch-list"></div>
89
+ </div>
90
+ </dialog>
91
+ <dialog id="peek-dlg" class="peek-dlg" aria-label="SC record preview">
92
+ <div class="peek-head">
93
+ <b id="peek-title">SC record</b>
94
+ <span class="toolbar">
95
+ <button class="btn" id="peek-open" type="button">Open in Salesforce window</button>
96
+ <button class="chip" id="peek-close" type="button">Close</button>
97
+ </span>
98
+ </div>
99
+ <p id="peek-note" class="meta peek-note" hidden></p>
100
+ <div class="peek-body" id="peek-body"></div>
101
+ </dialog>
102
+ <script type="module" src="app.js"></script>
103
+ </body>
104
+ </html>