Fixed some display issues for mobile rendering

This commit is contained in:
Shaun Walker
2020-03-25 10:54:34 -04:00
parent 20e481af3d
commit 1e688dcf5e
12 changed files with 25 additions and 37 deletions

View File

@ -32,10 +32,8 @@
</td>
</tr>
<tr>
<td>
<label class="control-label">Permissions: </label>
</td>
<td>
<td colspan="2" align="center">
<label class="control-label">Permissions: </label>
<PermissionGrid EntityName="@EntityNames.Folder" PermissionNames="Browse,View,Edit" Permissions="@_permissions" @ref="_permissionGrid" />
</td>
</tr>

View File

@ -13,10 +13,8 @@
</td>
</tr>
<tr>
<td>
<label class="control-label">Permissions: </label>
</td>
<td>
<td colspan="2" align="center">
<label class="control-label">Permissions: </label>
<PermissionGrid EntityName="@EntityNames.ModuleDefinition" PermissionNames=PermissionNames.Utilize Permissions="@_permissions" @ref="_permissionGrid" />
</td>
</tr>

View File

@ -54,10 +54,8 @@
</td>
</tr>
<tr>
<td>
<td colspan="2" align="center">
<label for="Name" class="control-label">Permissions: </label>
</td>
<td>
<PermissionGrid EntityName="@EntityNames.Module" PermissionNames="@_permissionNames" Permissions="@_permissions" @ref="_permissionGrid" />
</td>
</tr>

View File

@ -133,10 +133,8 @@
</td>
</tr>
<tr>
<td>
<td colspan="2" align="center">
<label for="Name" class="control-label">Permissions: </label>
</td>
<td>
<PermissionGrid EntityName="@EntityNames.Page" Permissions="@_permissions" @ref="_permissionGrid" />
</td>
</tr>

View File

@ -151,11 +151,9 @@
</td>
</tr>
<tr>
<td>
<td colspan="2" align="center">
<label for="Name" class="control-label">Permissions: </label>
</td>
<td>
<PermissionGrid EntityName="@EntityNames.Page" Permissions="@_permissions" @ref="_permissionGrid" />
<PermissionGrid EntityName="@EntityNames.Page" Permissions="@_permissions" @ref="_permissionGrid" />
</td>
</tr>
</table>

View File

@ -6,26 +6,26 @@
<table class="table table-borderless">
<tr>
<td>
<Label For="_name" Class="control-label" HelpText="Name Of The Role">Name: </Label>
<Label For="name" HelpText="Name Of The Role">Name:</Label>
</td>
<td>
<input id="_name" class="form-control" @bind="@_name" />
<input id="name" class="form-control" @bind="@_name" />
</td>
</tr>
<tr>
<td>
<Label For="_description" Class="control-label" HelpText="A Short Description Of The Role Which Describes Its Purpose">Description: </Label>
<Label For="description" HelpText="A Short Description Of The Role Which Describes Its Purpose">Description:</Label>
</td>
<td>
<textarea id="_description" class="form-control" @bind="@_description" rows="5"></textarea>
<textarea id="description" class="form-control" @bind="@_description" rows="5"></textarea>
</td>
</tr>
<tr>
<td>
<Label For="_isautoassigned" Class="control-label" HelpText="Indicates Whether Or Not New Users Are Automatically Assigned To This Role">Auto Assigned? </Label>
<Label For="isautoassigned" HelpText="Indicates Whether Or Not New Users Are Automatically Assigned To This Role">Auto Assigned?</Label>
</td>
<td>
<select id="_isautoassigned" class="form-control" @bind="@_isautoassigned">
<select id="isautoassigned" class="form-control" @bind="@_isautoassigned">
<option value="True">Yes</option>
<option value="False">No</option>
</select>

View File

@ -6,26 +6,26 @@
<table class="table table-borderless">
<tr>
<td>
<Label For="_name" Class="control-label" HelpText="Name Of The Role">Name: </Label>
<Label For="name" HelpText="Name Of The Role">Name:</Label>
</td>
<td>
<input id="_name" class="form-control" @bind="@_name" />
<input id="name" class="form-control" @bind="@_name" />
</td>
</tr>
<tr>
<td>
<Label For="_description" Class="control-label" HelpText="A Short Description Of The Role Which Describes Its Purpose">Description: </Label>
<Label For="description" HelpText="A Short Description Of The Role Which Describes Its Purpose">Description:</Label>
</td>
<td>
<textarea id="_description" class="form-control" @bind="@_description" rows="5"></textarea>
<textarea id="description" class="form-control" @bind="@_description" rows="5"></textarea>
</td>
</tr>
<tr>
<td>
<Label For="_isautoassigned" Class="control-label" HelpText="Indicates Whether Or Not New Users Are Automatically Assigned To This Role">Auto Assigned? </Label>
<Label For="isautoassigned" HelpText="Indicates Whether Or Not New Users Are Automatically Assigned To This Role">Auto Assigned?</Label>
</td>
<td>
<select id="_isautoassigned" class="form-control" @bind="@_isautoassigned">
<select id="isautoassigned" class="form-control" @bind="@_isautoassigned">
<option value="True">Yes</option>
<option value="False">No</option>
</select>

View File

@ -6,7 +6,7 @@
@if (_permissions != null)
{
<br />
<table class="table">
<table class="table" style="width: 50%; min-width: 250px;">
<tbody>
<tr>
<th>Role</th>
@ -32,7 +32,7 @@
</table>
@if (_users.Count != 0)
{
<table class="table">
<table class="table" style="width: 50%; min-width: 250px;">
<thead>
<tr>
<th>User</th>
@ -60,7 +60,7 @@
</tbody>
</table>
}
<table class="table">
<table class="table" style="width: 50%; min-width: 250px;">
<tbody>
<tr>
<td style="text-align: right;"><label for="Username" class="control-label">User: </label></td>

View File

@ -408,7 +408,7 @@
private void ShowControlPanel()
{
_message = "";
_display = "width: 25%; minwidth:300px";
_display = "width: 25%; min-width: 375px;";
StateHasChanged();
}

View File

@ -59,7 +59,6 @@ app {
.app-admin-modal .modal-content {
margin: 5% auto; /* 5% from the top and centered */
padding: 20px;
width: 80%; /* Could be more or less, depending on screen size */
}