-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #614 from cloudscribe/feature/487-v3
Feature/487 v3
- Loading branch information
Showing
25 changed files
with
372 additions
and
693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 84 additions & 0 deletions
84
...dscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/EditorialShowHidePartial.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
@model cloudscribe.SimpleContent.Web.ViewModels.PageEditViewModel | ||
@inject IStringLocalizer<SimpleContent> sr | ||
|
||
<div class="mb-3"> | ||
<p>@sr["Show / hide the following information below the main content of the page."]</p> | ||
</div> | ||
<div class="mb-3"> | ||
<div class="row"> | ||
<div class="col col-lg-2"> </div> | ||
<div class="col col-lg-1 text-center"> | ||
@sr["Use Site Default"] | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
@sr["Show on this Page"] | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
@sr["Hide on this Page"] | ||
</div> | ||
</div> | ||
<div class="row" data-bs-toggle="tooltip" data-placement="left" title='@sr["Show Created By"]'> | ||
<div class="col col-lg-2"> | ||
<label asp-for="ShowCreatedBy" class="form-check-label"> | ||
@sr["Show Created By"] | ||
</label> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input id="ShowCreatedBy" name="ShowCreatedBy" type="radio" value="" @(Model.ShowCreatedBy.HasValue || Model.ShowCreatedBy != null ? "" : "checked")> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowCreatedBy" type="radio" value="true"> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowCreatedBy" type="radio" value="false"> | ||
</div> | ||
</div> | ||
<div class="row" data-bs-toggle="tooltip" data-placement="left" title='@sr["Show Created Date"]'> | ||
<div class="col col-lg-2"> | ||
<label asp-for="ShowCreatedDate" class="form-check-label"> | ||
@sr["Show Created Date"] | ||
</label> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input id="ShowCreatedDate" name="ShowCreatedDate" type="radio" value="" @(Model.ShowCreatedDate.HasValue || Model.ShowCreatedDate != null ? "" : "checked")> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowCreatedDate" type="radio" value="true"> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowCreatedDate" type="radio" value="false"> | ||
</div> | ||
</div> | ||
<div class="row" data-bs-toggle="tooltip" data-placement="left" title='@sr["Show Last Modified By"]'> | ||
<div class="col col-lg-2"> | ||
<label asp-for="ShowLastModifiedBy" class="form-check-label"> | ||
@sr["Show Last Modified By"] | ||
</label> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input id="ShowLastModifiedBy" name="ShowLastModifiedBy" type="radio" value="" @(Model.ShowLastModifiedBy.HasValue || Model.ShowLastModifiedBy != null ? "" : "checked")> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowLastModifiedBy" type="radio" value="true"> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowLastModifiedBy" type="radio" value="false"> | ||
</div> | ||
</div> | ||
<div class="row" data-bs-toggle="tooltip" data-placement="left" title='@sr["Show Last Modified Date"]'> | ||
<div class="col col-lg-2"> | ||
<label asp-for="ShowLastModifiedDate" class="form-check-label"> | ||
@sr["Show Last Modified Date"] | ||
</label> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input id="ShowLastModifiedDate" name="ShowLastModifiedDate" type="radio" value="" @(Model.ShowLastModifiedDate.HasValue || Model.ShowLastModifiedDate != null ? "" : "checked")> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowLastModifiedDate" type="radio" value="true"> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowLastModifiedDate" type="radio" value="false"> | ||
</div> | ||
</div> | ||
</div> |
84 changes: 84 additions & 0 deletions
84
...impleContent.CompiledViews.Bootstrap5/Views/Page/EditorialShowHidePartialTemplates.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
@model cloudscribe.SimpleContent.Web.ViewModels.PageEditWithTemplateViewModel | ||
@inject IStringLocalizer<SimpleContent> sr | ||
|
||
<div class="mb-3"> | ||
<p>@sr["Show / hide the following information below the main content of the page."]</p> | ||
</div> | ||
<div class="mb-3"> | ||
<div class="row"> | ||
<div class="col col-lg-2"> </div> | ||
<div class="col col-lg-1 text-center"> | ||
@sr["Use Site Default"] | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
@sr["Show on this Page"] | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
@sr["Hide on this Page"] | ||
</div> | ||
</div> | ||
<div class="row" data-bs-toggle="tooltip" data-placement="left" title='@sr["Show Created By"]'> | ||
<div class="col col-lg-2"> | ||
<label asp-for="ShowCreatedBy" class="form-check-label"> | ||
@sr["Show Created By"] | ||
</label> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input id="ShowCreatedBy" name="ShowCreatedBy" type="radio" value="" @(Model.ShowCreatedBy.HasValue || Model.ShowCreatedBy != null ? "" : "checked")> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowCreatedBy" type="radio" value="true"> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowCreatedBy" type="radio" value="false"> | ||
</div> | ||
</div> | ||
<div class="row" data-bs-toggle="tooltip" data-placement="left" title='@sr["Show Created Date"]'> | ||
<div class="col col-lg-2"> | ||
<label asp-for="ShowCreatedDate" class="form-check-label"> | ||
@sr["Show Created Date"] | ||
</label> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input id="ShowCreatedDate" name="ShowCreatedDate" type="radio" value="" @(Model.ShowCreatedDate.HasValue || Model.ShowCreatedDate != null ? "" : "checked")> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowCreatedDate" type="radio" value="true"> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowCreatedDate" type="radio" value="false"> | ||
</div> | ||
</div> | ||
<div class="row" data-bs-toggle="tooltip" data-placement="left" title='@sr["Show Last Modified By"]'> | ||
<div class="col col-lg-2"> | ||
<label asp-for="ShowLastModifiedBy" class="form-check-label"> | ||
@sr["Show Last Modified By"] | ||
</label> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input id="ShowLastModifiedBy" name="ShowLastModifiedBy" type="radio" value="" @(Model.ShowLastModifiedBy.HasValue || Model.ShowLastModifiedBy != null ? "" : "checked")> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowLastModifiedBy" type="radio" value="true"> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowLastModifiedBy" type="radio" value="false"> | ||
</div> | ||
</div> | ||
<div class="row" data-bs-toggle="tooltip" data-placement="left" title='@sr["Show Last Modified Date"]'> | ||
<div class="col col-lg-2"> | ||
<label asp-for="ShowLastModifiedDate" class="form-check-label"> | ||
@sr["Show Last Modified Date"] | ||
</label> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input id="ShowLastModifiedDate" name="ShowLastModifiedDate" type="radio" value="" @(Model.ShowLastModifiedDate.HasValue || Model.ShowLastModifiedDate != null ? "" : "checked")> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowLastModifiedDate" type="radio" value="true"> | ||
</div> | ||
<div class="col col-lg-1 text-center"> | ||
<input asp-for="ShowLastModifiedDate" type="radio" value="false"> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.