blog acl
This commit is contained in:
parent
32ca008d20
commit
23dc3c3f19
11 changed files with 1770 additions and 91 deletions
|
|
@ -98,6 +98,9 @@ editorcontenu.on('text-change',function(delta,source){
|
|||
|
||||
<h2 > @SR["Blog post edition"] </h2>
|
||||
|
||||
@Html.ValidationSummary()
|
||||
|
||||
|
||||
<div id="Titletoolbar" class="hidden ql-snow ql-toolbar">
|
||||
<button class="ql-format-button ql-bold"></button>
|
||||
<button class="ql-format-button ql-italic"></button>
|
||||
|
|
@ -171,6 +174,13 @@ editorcontenu.on('text-change',function(delta,source){
|
|||
<input asp-for="Visible" class="form-control"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ACL" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="ACL" asp-items=@ViewBag.ACL multiple>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
|
|
@ -178,7 +188,6 @@ editorcontenu.on('text-change',function(delta,source){
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@Html.HiddenFor(m=>m.DateCreated)
|
||||
</form>
|
||||
<div>
|
||||
|
||||
|
|
|
|||
17
Yavsc/Views/Shared/DisplayTemplates/Blog.cshtml
Normal file
17
Yavsc/Views/Shared/DisplayTemplates/Blog.cshtml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@model Blog
|
||||
|
||||
|
||||
<dl class="blog dl-horizontal">
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Title)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Title)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Author)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Author)
|
||||
</dd>
|
||||
</dl>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
@model CircleAuthorizationToBlogPost
|
||||
|
||||
|
||||
<dl class="dl-horizontal">
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Post)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Allowed)
|
||||
</dd>
|
||||
</dl>
|
||||
Loading…
Add table
Add a link
Reference in a new issue