-
Notifications
You must be signed in to change notification settings - Fork 65
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 #284 from cloudscribe/dev
merge changes from dev
- Loading branch information
Showing
13 changed files
with
76 additions
and
53 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
18 changes: 18 additions & 0 deletions
18
src/cloudscribe.SimpleContent.Web.Views.Bootstrap3/Views/Blog/EditPubDate.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,18 @@ | ||
@model cloudscribe.SimpleContent.Web.ViewModels.PostEditViewModel | ||
@using System.Globalization | ||
@using Microsoft.Extensions.Localization | ||
@using cloudscribe.SimpleContent.Web | ||
@inject IStringLocalizer<SimpleContent> sr | ||
|
||
<div class="form-group"> | ||
<label asp-for="PubDate" class="col-md-2 control-label">@sr["Publication Date"]</label> | ||
<div class="col-md-10"> | ||
<input asp-for="PubDate" class="form-control" | ||
data-bs-datepicker="true" | ||
data-bs-datepicker-debug="false" | ||
data-bs-datepicker-keepOpen="false" | ||
data-bs-datepicker-allowInputToggle="true" | ||
data-bs-datepicker-locale="@CultureInfo.CurrentCulture.Name" /> | ||
<span asp-validation-for="PubDate" class="text-danger"></span> | ||
</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
17 changes: 17 additions & 0 deletions
17
src/cloudscribe.SimpleContent.Web.Views.Bootstrap3/Views/Page/EditPubDate.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,17 @@ | ||
@model cloudscribe.SimpleContent.Web.ViewModels.PageEditViewModel | ||
@using System.Globalization | ||
@using Microsoft.Extensions.Localization | ||
@using cloudscribe.SimpleContent.Web | ||
@inject IStringLocalizer<SimpleContent> sr | ||
<div class="form-group"> | ||
<label asp-for="PubDate" class="col-md-2 control-label">@sr["Publication Date"]</label> | ||
<div class="col-md-10"> | ||
<input asp-for="PubDate" class="form-control" | ||
data-bs-datepicker="true" | ||
data-bs-datepicker-debug="false" | ||
data-bs-datepicker-keepOpen="false" | ||
data-bs-datepicker-allowInputToggle="true" | ||
data-bs-datepicker-locale="@CultureInfo.CurrentCulture.Name" /> | ||
<span asp-validation-for="PubDate" class="text-danger"></span> | ||
</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
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
12 changes: 12 additions & 0 deletions
12
src/cloudscribe.SimpleContent.Web.Views.Bootstrap4/Views/Blog/EditPubDate.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,12 @@ | ||
@model cloudscribe.SimpleContent.Web.ViewModels.PostEditViewModel | ||
@inject IStringLocalizer<SimpleContent> sr | ||
<div class="form-group"> | ||
<label asp-for="PubDate">@sr["Publication Date"]</label> | ||
<input asp-for="PubDate" class="form-control" | ||
data-bs-datepicker="true" | ||
data-bs-datepicker-debug="false" | ||
data-bs-datepicker-keepOpen="false" | ||
data-bs-datepicker-allowInputToggle="true" | ||
data-bs-datepicker-locale="@CultureInfo.CurrentCulture.Name" /> | ||
<span asp-validation-for="PubDate" class="invalid-feedback"></span> | ||
</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
12 changes: 12 additions & 0 deletions
12
src/cloudscribe.SimpleContent.Web.Views.Bootstrap4/Views/Page/EditPubDate.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,12 @@ | ||
@model cloudscribe.SimpleContent.Web.ViewModels.PageEditViewModel | ||
@inject IStringLocalizer<SimpleContent> sr | ||
<div class="form-group"> | ||
<label asp-for="PubDate">@sr["Publication Date"]</label> | ||
<input asp-for="PubDate" class="form-control" | ||
data-bs-datepicker="true" | ||
data-bs-datepicker-debug="false" | ||
data-bs-datepicker-keepOpen="false" | ||
data-bs-datepicker-allowInputToggle="true" | ||
data-bs-datepicker-locale="@CultureInfo.CurrentCulture.Name" /> | ||
<span asp-validation-for="PubDate" class="text-danger"></span> | ||
</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
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