Skip to content

Commit

Permalink
Fix connections string screen for edge
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand committed Jun 22, 2023
1 parent cda2957 commit aabcb3f
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,24 +65,24 @@
</MudAlert>
<br />
<MudButton Variant="Variant.Outlined" Color="Color.Primary" Style="margin:0.5em;display: block; margin-left: auto; margin-right: auto" OnClick="GetEnrollmentScriptCommand">Get the magic command</MudButton>
}
else
{
<br />
<MudText Style="text-decoration:underline"><b>Operating system</b></MudText>
<MudSelect T="string" @bind-Value="@templateName" Text="Operating system" SelectedValuesChanged="GetEnrollmentScriptCommand">
<MudSelectItem Value="@("debian_11_bullseye")">Debian 11 (Bulleseye)</MudSelectItem>
</MudSelect>
<br />
<MudAlert Severity="Severity.Info">
Copy this command line above and paste it into the device prompt.<br />
<b>Note that you should have administrative rights on the device to execute the command.</b>
</MudAlert>
<br />
<MudTextField @bind-Value="@EnrollementScriptCommand" Style="text-overflow: ellipsis" Class="mt-0" Variant="Variant.Text" Margin="Margin.Dense" ReadOnly="true" Adornment="Adornment.End" AdornmentIcon="@Icons.Material.Filled.ContentCopy" OnAdornmentClick="@(() => ClipboardService.WriteTextAsync(EnrollementScriptCommand))" />

</MudItem>
}
else
{
<br />
<MudText Style="text-decoration:underline"><b>Operating system</b></MudText>
<MudSelect T="string" @bind-Value="@templateName" Text="Operating system" SelectedValuesChanged="GetEnrollmentScriptCommand">
<MudSelectItem Value="@("debian_11_bullseye")">Debian 11 (Bulleseye)</MudSelectItem>
</MudSelect>
<br />
<MudAlert Severity="Severity.Info">
Copy this command line above and paste it into the device prompt.<br />
<b>Note that you should have administrative rights on the device to execute the command.</b>
</MudAlert>
<br />
<MudTextField @bind-Value="@EnrollementScriptCommand" Style="text-overflow: ellipsis" Class="mt-0" Variant="Variant.Text" Margin="Margin.Dense" ReadOnly="true" Adornment="Adornment.End" AdornmentIcon="@Icons.Material.Filled.ContentCopy" OnAdornmentClick="@(() => ClipboardService.WriteTextAsync(EnrollementScriptCommand))" />
}
}
</MudGrid>
</MudCardContent>
Expand Down

0 comments on commit aabcb3f

Please sign in to comment.