This commit is contained in:
Paul Schneider 2018-06-08 09:57:53 +02:00
commit 328895001b
10 changed files with 2781 additions and 27 deletions

View file

@ -14,7 +14,7 @@
<div class="form-group">
<label asp-for="Body" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="Body" class="form-control" />
<textarea asp-for="Body" class="form-control" />
<span asp-validation-for="Body" class="text-danger" />
</div>
</div>
@ -32,10 +32,10 @@
</div>
</div>
<div class="form-group">
<label asp-for="ShortName" class="col-md-2 control-label"></label>
<label asp-for="Topic" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="ShortName" class="form-control" />
<span asp-validation-for="ShortName" class="text-danger" />
<input asp-for="Topic" class="form-control" />
<span asp-validation-for="Topic" class="text-danger" />
</div>
</div>
<div class="form-group">

View file

@ -36,7 +36,7 @@
@Html.DisplayFor(model => model.ReplyToAddress)
</dd>
<dt>
@Html.DisplayNameFor(model => model.ShortName)
@Html.DisplayNameFor(model => model.Topic)
</dt>
<dd>
@Html.DisplayFor(model => model.ShortName)

View file

@ -3,6 +3,9 @@
@{
ViewData["Title"] = "Details";
}
@section scripts {
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
}
<h2>Details</h2>
@ -14,7 +17,7 @@
@Html.DisplayNameFor(model => model.Body)
</dt>
<dd>
@Html.DisplayFor(model => model.Body)
<code><pre class="prettyprint">@Model.Body</pre></code>
</dd>
<dt>
@Html.DisplayNameFor(model => model.DateCreated)
@ -35,10 +38,10 @@
@Html.DisplayFor(model => model.ReplyToAddress)
</dd>
<dt>
@Html.DisplayNameFor(model => model.ShortName)
@Html.DisplayNameFor(model => model.Topic)
</dt>
<dd>
@Html.DisplayFor(model => model.ShortName)
@Html.DisplayFor(model => model.Topic)
</dd>
<dt>
@Html.DisplayNameFor(model => model.ToSend)

View file

@ -15,7 +15,7 @@
<div class="form-group">
<label asp-for="Body" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="Body" class="form-control" />
<textarea asp-for="Body" class="form-control" />
<span asp-validation-for="Body" class="text-danger" ></span>
</div>
</div>
@ -35,10 +35,10 @@
</div>
</div>
<div class="form-group">
<label asp-for="ShortName" class="col-md-2 control-label"></label>
<label asp-for="Topic" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="ShortName" class="form-control" />
<span asp-validation-for="ShortName" class="text-danger" ></span>
<input asp-for="Topic" class="form-control" />
<span asp-validation-for="Topic" class="text-danger" ></span>
</div>
</div>
<div class="form-group">