Merge pull request #435 from thabaum/patch-1

Log details displayed from disabled to readonly
This commit is contained in:
Shaun Walker 2020-05-05 09:15:48 -04:00 committed by GitHub
commit 00bf917f6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@
<Label For="dateTime" HelpText="The date and time of this log">Date/Time: </Label>
</td>
<td>
<input id="dateTime" class="form-control" @bind="@_logDate" disabled />
<input id="dateTime" class="form-control" @bind="@_logDate" readonly />
</td>
</tr>
<tr>
@ -21,7 +21,7 @@
<Label For="level" HelpText="The level of this log">Level: </Label>
</td>
<td>
<input id="level" class="form-control" @bind="@_level" disabled />
<input id="level" class="form-control" @bind="@_level" readonly />
</td>
</tr>
<tr>
@ -29,7 +29,7 @@
<Label For="feature" HelpText="The feature that was affected">Feature: </Label>
</td>
<td>
<input id="feature" class="form-control" @bind="@_feature" disabled />
<input id="feature" class="form-control" @bind="@_feature" readonly />
</td>
</tr>
<tr>
@ -37,7 +37,7 @@
<Label For="function" HelpText="The function that was performed">Function: </Label>
</td>
<td>
<input id="function" class="form-control" @bind="@_function" disabled />
<input id="function" class="form-control" @bind="@_function" readonly />
</td>
</tr>
<tr>
@ -45,7 +45,7 @@
<Label For="category" HelpText="The categories that were affected">Category: </Label>
</td>
<td>
<input id="category" class="form-control" @bind="@_category" disabled />
<input id="category" class="form-control" @bind="@_category" readonly />
</td>
</tr>
@if (_pageName != string.Empty)
@ -55,7 +55,7 @@
<Label For="page" HelpText="The page that was affected">Page: </Label>
</td>
<td>
<input id="page" class="form-control" @bind="@_pageName" disabled />
<input id="page" class="form-control" @bind="@_pageName" readonly />
</td>
</tr>
}
@ -66,7 +66,7 @@
<Label For="module" HelpText="The module that was affected">Module: </Label>
</td>
<td>
<input id="module" class="form-control" @bind="@_moduleTitle" disabled />
<input id="module" class="form-control" @bind="@_moduleTitle" readonly />
</td>
</tr>
}
@ -77,7 +77,7 @@
<Label For="user" HelpText="The user that caused this log">User: </Label>
</td>
<td>
<input id="user" class="form-control" @bind="@_username" disabled />
<input id="user" class="form-control" @bind="@_username" readonly />
</td>
</tr>
}
@ -86,7 +86,7 @@
<Label For="url" HelpText="The url the log comes from">Url: </Label>
</td>
<td>
<input id="url" class="form-control" @bind="@_url" disabled />
<input id="url" class="form-control" @bind="@_url" readonly />
</td>
</tr>
<tr>
@ -94,7 +94,7 @@
<Label For="template" HelpText="What the log is about">Template: </Label>
</td>
<td>
<input id="template" class="form-control" @bind="@_template" disabled />
<input id="template" class="form-control" @bind="@_template" readonly />
</td>
</tr>
<tr>
@ -102,7 +102,7 @@
<Label For="message" HelpText="The message that the system generated"class="control-label">Message: </Label>
</td>
<td>
<textarea id="message" class="form-control" @bind="@_message" rows="5" disabled></textarea>
<textarea id="message" class="form-control" @bind="@_message" rows="5" readonly></textarea>
</td>
</tr>
@if (!string.IsNullOrEmpty(_exception))
@ -112,7 +112,7 @@
<Label For="exception" HelpText="The exceptions generated by the system">Exception: </Label>
</td>
<td>
<textarea id="exception" class="form-control" @bind="@_exception" rows="5" disabled></textarea>
<textarea id="exception" class="form-control" @bind="@_exception" rows="5" readonly></textarea>
</td>
</tr>
}
@ -121,7 +121,7 @@
<Label For="properties" HelpText="The properties that were affected">Properties: </Label>
</td>
<td>
<textarea id="properties" class="form-control" @bind="@_properties" rows="5" disabled></textarea>
<textarea id="properties" class="form-control" @bind="@_properties" rows="5" readonly></textarea>
</td>
</tr>
<tr>
@ -129,7 +129,7 @@
<Label For="server" HelpText="The server that was affected">Server: </Label>
</td>
<td>
<input id="server" class="form-control" @bind="@_server" disabled />
<input id="server" class="form-control" @bind="@_server" readonly />
</td>
</tr>
</table>