Gwug 47
This commit is contained in:
parent
08747ecb3d
commit
e28f376af0
22
index.js
22
index.js
|
|
@ -14,29 +14,11 @@ const contexts = {
|
|||
timeout: 30000,
|
||||
cid: 'Emergency Live Page'
|
||||
},
|
||||
"A2": {
|
||||
"E2": { // Weather
|
||||
context: 'custom-emergency.9003.1',
|
||||
timeout: 30000,
|
||||
cid: 'Announcement 2',
|
||||
number: '2000' // Direct to page group, no phone needed
|
||||
},
|
||||
"E2": {
|
||||
context: 'custom-emergency.9004.1',
|
||||
timeout: 30000,
|
||||
cid: 'Emergency 2',
|
||||
number: '2000' // Direct to page group, no phone needed
|
||||
},
|
||||
"A3": {
|
||||
context: 'custom-emergency.9005.1',
|
||||
timeout: 30000,
|
||||
cid: 'Announcement 3',
|
||||
number: '2000' // Direct to page group, no phone needed
|
||||
},
|
||||
"E3": {
|
||||
context: 'custom-emergency.9006.1',
|
||||
timeout: 30000,
|
||||
cid: 'Emergency 3',
|
||||
number: '2000' // Direct to page group, no phone needed
|
||||
number: process.env.PAGING_ADAPTER_EXT // Direct to page group, no phone needed
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,8 +9,10 @@
|
|||
<body>
|
||||
<div class="position-absolute top-0 start-0 m-3">
|
||||
<select class="form-select" id="phoneSelect">
|
||||
<option value="1001">Front Desk</option>
|
||||
<option value="1000">Office</option>
|
||||
<option value="2120">Front Desk</option>
|
||||
<option value="2113">Cam</option>
|
||||
<option value="2112">Cam 2</option>
|
||||
<option value="2100">Ryan</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="container-fluid d-flex justify-content-center align-items-center min-vh-100">
|
||||
|
|
@ -36,7 +38,7 @@
|
|||
<button class="btn btn-success mb-1" name="A2" onclick="triggerAnnouncement(this)">Announcement 2</button>
|
||||
</td>
|
||||
<td class="text-left">
|
||||
<button class="btn btn-warning mb-1" name="E2" onclick="triggerAnnouncement(this)">Emergency 2</button>
|
||||
<button class="btn btn-warning mb-1" name="E2" onclick="triggerAnnouncement(this)">⛈️ Weather</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Reference in a new issue