Update testTaskGate.ps1
This commit is contained in:
@@ -436,6 +436,10 @@ $style = @'
|
||||
padding:10px 20px; border:none; border-radius:5px; cursor:pointer;
|
||||
}
|
||||
|
||||
#PasswordContainer, #dattoRmmContainer {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
@media (max-width:768px) {
|
||||
.container { flex-direction:column; }
|
||||
.sidebar { width:100%; }
|
||||
@@ -641,14 +645,23 @@ $htmlTemplate = @"
|
||||
|
||||
|
||||
|
||||
<!-- 2) Datto RMM dropdown (populated after fetch) -->
|
||||
<!-- 2) Password and Datto Site dropdown shown conditionally -->
|
||||
<div id="PasswordContainer" style="display:none; margin-bottom:1em;">
|
||||
<label for="Password">Enter Password:</label>
|
||||
<div style="display:flex; gap:5px;">
|
||||
<input type="password" id="Password" placeholder="Enter Password" style="flex:1;" />
|
||||
<button onclick="fetchSites()" style="padding:4px 10px;">🔑</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="dattoRmmContainer" style="display:none; margin-bottom:1em;">
|
||||
<label for="dattoDropdown">Select Datto Site:</label>
|
||||
<select id="dattoDropdown">
|
||||
<option disabled selected hidden>Select a site...</option>
|
||||
<label for="dattoDropdown">Select a Datto RMM site:</label>
|
||||
<select id="dattoDropdown" style="width:100%;">
|
||||
<option disabled selected>Fetching sites...</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="offboardTab" class="tab-content">
|
||||
<h2>Off-Boarding</h2>
|
||||
<div class="columns-container">
|
||||
|
||||
Reference in New Issue
Block a user