@Model.Post.Title
- @DateTime.Parse(Model.Post.Published).ToShortDateString() | @Model.Post.Author.DisplayName
+ @DateTime.Parse(Model.Post.Published).ToShortDateString() | @Model.Post.Author.DisplayName
diff --git a/MyWebsite/MyWebsite/Areas/Admin/Views/Contacts/Create.cshtml b/MyWebsite/MyWebsite/Areas/Admin/Views/Contacts/Create.cshtml
index eafc61b..6f05e8b 100644
--- a/MyWebsite/MyWebsite/Areas/Admin/Views/Contacts/Create.cshtml
+++ b/MyWebsite/MyWebsite/Areas/Admin/Views/Contacts/Create.cshtml
@@ -1,52 +1,52 @@
-@model MyWebsite.Models.LinkModel
-@{
- ViewData["Title"] = "Create link";
-}
-
-
- @Html.DisplayNameFor(model => model.Name): @Model.Name
+ @Html.DisplayNameFor(model => model.Name): @Model.Name
-
+
- @Html.DisplayNameFor(model => model.Id): @Model.Id
- @Html.DisplayNameFor(model => model.EnglishTitle): @Model.EnglishTitle
- @Html.DisplayNameFor(model => model.EnglishLinkCaption): @Model.EnglishLinkCaption
- @Html.DisplayNameFor(model => model.Link): @Model.Link
- @Html.DisplayNameFor(model => model.Badges): @Model.BadgesCreate link
-Create link
+Delete link
- Are you sure you want to delete this?
-
- @Html.DisplayNameFor(model => model.Order): @Model.Order
- @Html.DisplayNameFor(model => model.EnglishTitle): @Model.EnglishTitle
- @Html.DisplayNameFor(model => model.RussianTitle): @Model.RussianTitle
- @Html.DisplayNameFor(model => model.Username): @Model.Username
- @Html.DisplayNameFor(model => model.Url): @Model.Url
- @Html.DisplayNameFor(model => model.CanContactMe): @Html.DisplayFor(model => model.CanContactMe)
- @Html.DisplayNameFor(model => model.DisplayInFooter): @Html.DisplayFor(model => model.DisplayInFooter)
- Delete link
+ Are you sure you want to delete this?
+
+ @Html.DisplayNameFor(model => model.Order): @Model.Order
+ @Html.DisplayNameFor(model => model.EnglishTitle): @Model.EnglishTitle
+ @Html.DisplayNameFor(model => model.RussianTitle): @Model.RussianTitle
+ @Html.DisplayNameFor(model => model.Username): @Model.Username
+ @Html.DisplayNameFor(model => model.Url): @Model.Url
+ @Html.DisplayNameFor(model => model.CanContactMe): @Html.DisplayFor(model => model.CanContactMe)
+ @Html.DisplayNameFor(model => model.DisplayInFooter): @Html.DisplayFor(model => model.DisplayInFooter)
+ Links list
- // + Create New
-
-
-
-
-
-
-
-
-
- @foreach (var item in Model.OrderBy(i => i.Order))
- {
-
-
- @Html.DisplayNameFor(model => model.Name)
-
-
-
-
-
-
- Actions
-
-
- }
-
-
-
-
-
-
- @item.Name
-
-
-
-
-
-
- Edit |
- Delete
-
- Links list
+ // + Create New
+
+
+
+
+
+
+
+
+
+ @foreach (var item in Model.OrderBy(i => i.Order))
+ {
+
+
+ @Html.DisplayNameFor(model => model.Name)
+
+
+
+
+
+
+ Actions
+
+
+ }
+
+
+
+
+
+
+ @item.Name
+
+
+
+
+
+
+ Edit |
+ Delete
+
+ Edit artwork
- // Open artwork file
-
-
-
-
Edit artwork
+ // Open artwork file
+
+
+
+
Gallery
- // Upload new
- // Cache gallery
-
- @foreach (ImageModel item in Model.Images)
- {
-
-
-
- }
-
-
-
-
-
-
-
- @item.Title
- File name: @item.FileName
- Creation date: @item.CreationDate.ToShortDateString()
-
- Edit |
- Delete |
- View
-
-
- Gallery
+ // Upload new
+ // Cache gallery
+
+ @foreach (ImageModel item in Model.Images)
+ {
+
+
+
+ }
+
+
+
+
+
+
+
+ @item.Title
+ File name: @item.FileName
+ Creation date: @item.CreationDate.ToShortDateString()
+
+ Edit |
+ Delete |
+ View
+
+
+ Delete project entry
- Are you sure you want to delete this?
-
-
- @Html.DisplayNameFor(model => model.RussianTitle): @Model.RussianTitle
-
- @Html.DisplayNameFor(model => model.RussianLinkCaption): @Model.RussianLinkCaption
-
-
-
+ @Html.DisplayNameFor(model => model.Id): @Model.Id
+
+ @Html.DisplayNameFor(model => model.EnglishTitle): @Model.EnglishTitle
+ @Html.DisplayNameFor(model => model.RussianTitle): @Model.RussianTitle
+
+ @Html.DisplayNameFor(model => model.EnglishLinkCaption): @Model.EnglishLinkCaption
+ @Html.DisplayNameFor(model => model.RussianLinkCaption): @Model.RussianLinkCaption
+
+ @Html.DisplayNameFor(model => model.Link): @Model.Link
+
+ @Html.DisplayNameFor(model => model.Badges): @Model.Badges
+
| | - -- @Html.DisplayNameFor(model => model.projects.First().Title) - | - - - -Actions | -
|---|---|---|
|
- - - - |
-
-
- @item.EnglishTitle (en) - @(item.RussianTitle ?? " |
-
-
-
- - Edit | - Delete - | -
| | + ++ @Html.DisplayNameFor(model => model.projects.First().Title) + | + + + +Actions | +
|---|---|---|
|
+ + + + |
+
+
+ @item.EnglishTitle (en) + @(item.RussianTitle ?? " |
+
+
+
+ + Edit | + Delete + | +
| Langauge | -Last update | -Actions | -
|---|---|---|
| @item.Language | -@item.LastUpdate | -- Edit | - Delete - | -
| Langauge | +Last update | +Actions | +
|---|---|---|
| @item.Language | +@item.LastUpdate | ++ Edit | + Delete + | +
-
-
-
- Microsoft Store и логотип Майкрософт являются товарными знаками корпорации Майкрософт.
- Google Play и логотип Google Play являются товарными знаками корпорации Google LLC.
-
+
+
+
+ Microsoft Store и логотип Майкрософт являются товарными знаками корпорации Майкрософт.
+ Google Play и логотип Google Play являются товарными знаками корпорации Google LLC.
+
diff --git a/MyWebsite/MyWebsite/Areas/Projects/Views/FoxTube/_Layout.cshtml b/MyWebsite/MyWebsite/Areas/Projects/Views/FoxTube/_Layout.cshtml index 149f508..beff3c3 100644 --- a/MyWebsite/MyWebsite/Areas/Projects/Views/FoxTube/_Layout.cshtml +++ b/MyWebsite/MyWebsite/Areas/Projects/Views/FoxTube/_Layout.cshtml @@ -81,7 +81,7 @@
- @DateTime.Parse(post.Published).ToShortDateString() | @post.Author.DisplayName
+ @DateTime.Parse(post.Published).ToShortDateString() | @post.Author.DisplayName
@if (post.Labels != null && post.Labels.Count > 0)
{
// @(Html.Raw(string.Join(", ", (post.Labels ?? new string[0]).Select(i => $"{i}"))))
@@ -72,10 +86,10 @@
- @DateTime.Parse(Model.Post.Published).ToShortDateString() | @Model.Post.Author.DisplayName
+ @DateTime.Parse(Model.Post.Published).ToShortDateString() | @Model.Post.Author.DisplayName
Comments: @Model.Post.Replies.TotalItems
- // Add comment on Blogpost + // Add comment on Blogpost
@Localizer["My resume"]
-@Localizer["Last update"]: @Model.Resume.LastUpdate
- - // @Localizer["Download CV"] (.pdf) - // @Localizer["Print CV"] -
@Localizer["My resume"]
+@Localizer["Last update"]: @Model.Resume.LastUpdate
+ + // @Localizer["Download resume"] (.pdf) + // @Localizer["Print resume"] +
1>------ Build started: Project: xfox111.net, Configuration: Any CPU ------
-1> xfox111.net -> @request.Scheme://@request.Host/MyWebsite.dll
-2>------ Deploy started: Project: xfox111.net, Configuration: Any CPU ------
-Updating the layout...
-Copying files: Total <1 mb to layout...
-Checking whether required frameworks are installed...
-Registering the website to run from layout...
-- -
========== Deployment failed ==========
-Error message:
-========== Site is under construction ==========
-- -
- /‾\
-- / \
- / _ \
- / / \ \
- / / \ \
- / / \ \
- / / ╭-╮\ \
- / / ----╰-╯ \ \
- / / /// | \ \
- / / /// /|| \ \
- / / > / || ___\ \
- / / / ^ \՟||_/ \\ \
- / / / / | \ -/ \\ \
- / / / / | | / \\ \
- / / /_/ |_|/_________\\ \
- / /_________________________\ \
- | |
- ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ -
- -
It will be done soon
-For now you can check my other links:
-- - @foreach (LinkModel item in Model.Links.Where(i => i.Name.Belongs("outlook", "linkedin", "vkontakte", "twitter", "github"))) - { -
@item.Title: @((item.Url.ToString().StartsWith("mailto:") ? "" : "https:") + item.Url)
- } -- -
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
-========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
-1>------ Build started: Project: xfox111.net, Configuration: Any CPU ------
+1> xfox111.net -> @request.Scheme://@request.Host/MyWebsite.dll
+2>------ Deploy started: Project: xfox111.net, Configuration: Any CPU ------
+Updating the layout...
+Copying files: Total <1 mb to layout...
+Checking whether required frameworks are installed...
+Registering the website to run from layout...
++ +
========== Deployment failed ==========
+Error message:
+========== Site is under construction ==========
++ +
+ /‾\
++ / \
+ / _ \
+ / / \ \
+ / / \ \
+ / / \ \
+ / / ╭-╮\ \
+ / / ----╰-╯ \ \
+ / / /// | \ \
+ / / /// /|| \ \
+ / / > / || ___\ \
+ / / / ^ \՟||_/ \\ \
+ / / / / | \ -/ \\ \
+ / / / / | | / \\ \
+ / / /_/ |_|/_________\\ \
+ / /_________________________\ \
+ | |
+ ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ +
+ +
It will be done soon
+For now you can check my other links:
++ + @foreach (LinkModel item in Model.Links.Where(i => i.Name.Belongs("outlook", "linkedin", "vkontakte", "twitter", "github"))) + { +
@item.Title: @((item.Url.ToString().StartsWith("mailto:") ? "" : "https:") + item.Url)
+ } ++ +
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
+========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
+@SharedLocalizer["Contact information"]
-- @foreach (LinkModel link in Model.Links.Where(i => i.CanContactMe)) - { - @(link.Title) @(link.Username)
-- } -
- @foreach (LinkModel link in Model.Links.Where(i => !i.CanContactMe)) - { - @(link.Title) @(link.Username)
+@model ViewModelBase +@{ + ViewData["Title"] = SharedLocalizer["Contact information"]; +} + +- } -
@SharedLocalizer["Contact information"]
++ @foreach (LinkModel link in Model.Links.Where(i => i.CanContactMe)) + { + @(link.Title) @(link.Username)
++ } +
+ @foreach (LinkModel link in Model.Links.Where(i => !i.CanContactMe)) + { + @(link.Title) @(link.Username)
+ } +
@SharedLocalizer["My projects"]
-@SharedLocalizer["Here is presented the most of projects I worked on"]
-@project.Title
-- @Html.Raw(project.Description?.Replace("\n", "
- @project.LinkCaption -")) -
// @SharedLocalizer["No content available"]
- } -@SharedLocalizer["My projects"]
+@SharedLocalizer["Here is presented the most of projects I worked on"]
+@project.Title
++ @Html.Raw(project.Description?.Replace("\n", "
+ @project.LinkCaption +")) +
// @SharedLocalizer["No content available"]
+ } +