├── .gitignore ├── LICENSE ├── README.md ├── simple-blog-engine-for-asp-net-core-developers.sln └── simple-blog-engine-for-asp-net-core-developers ├── .bowerrc ├── Controllers ├── AboutController.cs ├── BaseController.cs ├── BlogController.cs ├── CategoryController.cs ├── ContactController.cs └── HomeController.cs ├── Extensions └── StringExtensions.cs ├── Models ├── BlogPost.cs ├── ErrorViewModel.cs └── Settings │ ├── AddThisSettings.cs │ ├── BlogPostsSettings.cs │ ├── DisqusSettings.cs │ ├── EmailSettings.cs │ ├── GoogleAnalyticsSettings.cs │ ├── GoogleRecaptchaSettings.cs │ └── SiteSettings.cs ├── Program.cs ├── Settings └── System │ ├── addThisSettings.json │ ├── blogPosts.json │ ├── disqusSettings.json │ ├── emailSettings.json │ ├── googleAnalyticsSettings.json │ ├── googleRecaptchaSettings.json │ ├── hosting.json │ └── siteSettings.json ├── Startup.cs ├── Utility ├── CustomViewLocationExpander.cs ├── Email.cs └── GoogleRecaptcha.cs ├── ViewModels ├── BlogPostsBaseViewModel.cs └── BlogPostsViewModel.cs ├── Views ├── About │ └── Index.cshtml ├── Blog │ ├── All.cshtml │ ├── ViewBlogPost.cshtml │ └── _allBlogPostsHeader.cshtml ├── Category │ └── Index.cshtml ├── Contact │ ├── Index.cshtml │ └── _contactHeader.cshtml ├── Home │ └── Index.cshtml ├── Shared │ ├── EmptyCustomViews │ │ ├── _hook_blogPostAfter.cshtml │ │ ├── _hook_blogPostAfterBlogContent.cshtml │ │ ├── _hook_blogPostAfterComments.cshtml │ │ ├── _hook_blogPostBefore.cshtml │ │ ├── _hook_blogPostBeforeBlogContent.cshtml │ │ ├── _hook_blogPostBeforeComments.cshtml │ │ ├── _hook_blogPostBeforeShareButtons.cshtml │ │ ├── _hook_blogPostMetaBottom.cshtml │ │ ├── _hook_blogPostMetaTop.cshtml │ │ ├── _hook_bodyBottom.cshtml │ │ ├── _hook_bodyTop.cshtml │ │ ├── _hook_footerBottom.cshtml │ │ ├── _hook_footerMiddle.cshtml │ │ ├── _hook_footerTop.cshtml │ │ ├── _hook_headBottom.cshtml │ │ ├── _hook_headTop.cshtml │ │ ├── _hook_headerBottom.cshtml │ │ ├── _hook_headerTop.cshtml │ │ ├── _hook_navBarBottom.cshtml │ │ ├── _hook_navBarTop.cshtml │ │ ├── _hook_pagingControlAfter.cshtml │ │ ├── _hook_pagingControlBefore.cshtml │ │ ├── _hook_scriptsCustom.cshtml │ │ ├── _hook_sideBarBottom.cshtml │ │ ├── _hook_sideBarTop.cshtml │ │ └── readme.txt │ ├── Error.cshtml │ ├── _Layout.cshtml │ ├── _ValidationScriptsPartial.cshtml │ ├── _allTagsList.cshtml │ ├── _comments.cshtml │ ├── _css.cshtml │ ├── _debugShowViewHook.cshtml │ ├── _debugShowViewHookInline.cshtml │ ├── _footer.cshtml │ ├── _googleAnalytics.cshtml │ ├── _navBar.cshtml │ ├── _openGraphMetaTags.cshtml │ ├── _pagingControl.cshtml │ ├── _recentPosts.cshtml │ ├── _scriptsMain.cshtml │ ├── _shareButtons.cshtml │ └── _syntaxHighlighting.cshtml ├── _ViewImports.cshtml ├── _ViewStart.cshtml └── _blogSource │ ├── _template-copy-me.cshtml │ ├── firstBlogPost.cshtml │ ├── secondBlogPost.cshtml │ └── thirdBlogPost.cshtml ├── appsettings.Development.json ├── appsettings.json ├── bower.json ├── bundleconfig.json ├── internal-nlog.txt ├── nlog.config ├── simple-blog-engine-for-asp-net-core-developers.csproj └── wwwroot ├── css ├── bootstrap.css ├── bootstrap.min.css ├── font-awesome.css ├── font-awesome.min.css ├── layout.css ├── layout.min.css └── syntax.css ├── favicon.ico ├── fonts ├── FontAwesome.otf ├── fontawesome-webfont.eot ├── fontawesome-webfont.svg ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff └── fontawesome-webfont.woff2 ├── img ├── image-1.jpg ├── image-2.jpg ├── image-3.jpg └── quote.png ├── js └── highlight.pack.js ├── lib ├── bootstrap │ ├── .bower.json │ ├── CHANGELOG.md │ ├── Gemfile │ ├── Gemfile.lock │ ├── Gruntfile.js │ ├── ISSUE_TEMPLATE.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── dist │ │ ├── css │ │ │ ├── bootstrap-theme.css │ │ │ ├── bootstrap-theme.css.map │ │ │ ├── bootstrap-theme.min.css │ │ │ ├── bootstrap-theme.min.css.map │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.css.map │ │ │ ├── bootstrap.min.css │ │ │ └── bootstrap.min.css.map │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── js │ │ │ ├── bootstrap.js │ │ │ ├── bootstrap.min.js │ │ │ └── npm.js │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── grunt │ │ ├── .jshintrc │ │ ├── bs-commonjs-generator.js │ │ ├── bs-glyphicons-data-generator.js │ │ ├── bs-lessdoc-parser.js │ │ ├── bs-raw-files-generator.js │ │ ├── change-version.js │ │ ├── configBridge.json │ │ ├── npm-shrinkwrap.json │ │ └── sauce_browsers.yml │ ├── js │ │ ├── .jscsrc │ │ ├── .jshintrc │ │ ├── affix.js │ │ ├── alert.js │ │ ├── button.js │ │ ├── carousel.js │ │ ├── collapse.js │ │ ├── dropdown.js │ │ ├── modal.js │ │ ├── popover.js │ │ ├── scrollspy.js │ │ ├── tab.js │ │ ├── tooltip.js │ │ └── transition.js │ ├── less │ │ ├── .csscomb.json │ │ ├── .csslintrc │ │ ├── alerts.less │ │ ├── badges.less │ │ ├── bootstrap.less │ │ ├── breadcrumbs.less │ │ ├── button-groups.less │ │ ├── buttons.less │ │ ├── carousel.less │ │ ├── close.less │ │ ├── code.less │ │ ├── component-animations.less │ │ ├── dropdowns.less │ │ ├── forms.less │ │ ├── glyphicons.less │ │ ├── grid.less │ │ ├── input-groups.less │ │ ├── jumbotron.less │ │ ├── labels.less │ │ ├── list-group.less │ │ ├── media.less │ │ ├── mixins.less │ │ ├── mixins │ │ │ ├── alerts.less │ │ │ ├── background-variant.less │ │ │ ├── border-radius.less │ │ │ ├── buttons.less │ │ │ ├── center-block.less │ │ │ ├── clearfix.less │ │ │ ├── forms.less │ │ │ ├── gradients.less │ │ │ ├── grid-framework.less │ │ │ ├── grid.less │ │ │ ├── hide-text.less │ │ │ ├── image.less │ │ │ ├── labels.less │ │ │ ├── list-group.less │ │ │ ├── nav-divider.less │ │ │ ├── nav-vertical-align.less │ │ │ ├── opacity.less │ │ │ ├── pagination.less │ │ │ ├── panels.less │ │ │ ├── progress-bar.less │ │ │ ├── reset-filter.less │ │ │ ├── reset-text.less │ │ │ ├── resize.less │ │ │ ├── responsive-visibility.less │ │ │ ├── size.less │ │ │ ├── tab-focus.less │ │ │ ├── table-row.less │ │ │ ├── text-emphasis.less │ │ │ ├── text-overflow.less │ │ │ └── vendor-prefixes.less │ │ ├── modals.less │ │ ├── navbar.less │ │ ├── navs.less │ │ ├── normalize.less │ │ ├── pager.less │ │ ├── pagination.less │ │ ├── panels.less │ │ ├── popovers.less │ │ ├── print.less │ │ ├── progress-bars.less │ │ ├── responsive-embed.less │ │ ├── responsive-utilities.less │ │ ├── scaffolding.less │ │ ├── tables.less │ │ ├── theme.less │ │ ├── thumbnails.less │ │ ├── tooltip.less │ │ ├── type.less │ │ ├── utilities.less │ │ ├── variables.less │ │ └── wells.less │ ├── nuget │ │ ├── MyGet.ps1 │ │ ├── bootstrap.less.nuspec │ │ └── bootstrap.nuspec │ ├── package.js │ └── package.json ├── jquery-validation-unobtrusive │ ├── .bower.json │ ├── LICENSE.txt │ ├── bower.json │ ├── jquery.validate.unobtrusive.js │ └── jquery.validate.unobtrusive.min.js ├── jquery-validation │ ├── .bower.json │ ├── CONTRIBUTING.md │ ├── Gruntfile.js │ ├── LICENSE.md │ ├── README.md │ ├── bower.json │ ├── build │ │ └── release.js │ ├── changelog.md │ ├── dist │ │ ├── additional-methods.js │ │ ├── additional-methods.min.js │ │ ├── jquery.validate.js │ │ └── jquery.validate.min.js │ ├── package.json │ ├── src │ │ ├── additional │ │ │ ├── accept.js │ │ │ ├── additional.js │ │ │ ├── alphanumeric.js │ │ │ ├── bankaccountNL.js │ │ │ ├── bankorgiroaccountNL.js │ │ │ ├── bic.js │ │ │ ├── cifES.js │ │ │ ├── cpfBR.js │ │ │ ├── creditcardtypes.js │ │ │ ├── currency.js │ │ │ ├── dateFA.js │ │ │ ├── dateITA.js │ │ │ ├── dateNL.js │ │ │ ├── extension.js │ │ │ ├── giroaccountNL.js │ │ │ ├── iban.js │ │ │ ├── integer.js │ │ │ ├── ipv4.js │ │ │ ├── ipv6.js │ │ │ ├── lettersonly.js │ │ │ ├── letterswithbasicpunc.js │ │ │ ├── mobileNL.js │ │ │ ├── mobileUK.js │ │ │ ├── nieES.js │ │ │ ├── nifES.js │ │ │ ├── notEqualTo.js │ │ │ ├── nowhitespace.js │ │ │ ├── pattern.js │ │ │ ├── phoneNL.js │ │ │ ├── phoneUK.js │ │ │ ├── phoneUS.js │ │ │ ├── phonesUK.js │ │ │ ├── postalCodeCA.js │ │ │ ├── postalcodeBR.js │ │ │ ├── postalcodeIT.js │ │ │ ├── postalcodeNL.js │ │ │ ├── postcodeUK.js │ │ │ ├── require_from_group.js │ │ │ ├── skip_or_fill_minimum.js │ │ │ ├── statesUS.js │ │ │ ├── strippedminlength.js │ │ │ ├── time.js │ │ │ ├── time12h.js │ │ │ ├── url2.js │ │ │ ├── vinUS.js │ │ │ ├── zipcodeUS.js │ │ │ └── ziprange.js │ │ ├── ajax.js │ │ ├── core.js │ │ └── localization │ │ │ ├── messages_ar.js │ │ │ ├── messages_bg.js │ │ │ ├── messages_bn_BD.js │ │ │ ├── messages_ca.js │ │ │ ├── messages_cs.js │ │ │ ├── messages_da.js │ │ │ ├── messages_de.js │ │ │ ├── messages_el.js │ │ │ ├── messages_es.js │ │ │ ├── messages_es_AR.js │ │ │ ├── messages_es_PE.js │ │ │ ├── messages_et.js │ │ │ ├── messages_eu.js │ │ │ ├── messages_fa.js │ │ │ ├── messages_fi.js │ │ │ ├── messages_fr.js │ │ │ ├── messages_ge.js │ │ │ ├── messages_gl.js │ │ │ ├── messages_he.js │ │ │ ├── messages_hr.js │ │ │ ├── messages_hu.js │ │ │ ├── messages_hy_AM.js │ │ │ ├── messages_id.js │ │ │ ├── messages_is.js │ │ │ ├── messages_it.js │ │ │ ├── messages_ja.js │ │ │ ├── messages_ka.js │ │ │ ├── messages_kk.js │ │ │ ├── messages_ko.js │ │ │ ├── messages_lt.js │ │ │ ├── messages_lv.js │ │ │ ├── messages_my.js │ │ │ ├── messages_nl.js │ │ │ ├── messages_no.js │ │ │ ├── messages_pl.js │ │ │ ├── messages_pt_BR.js │ │ │ ├── messages_pt_PT.js │ │ │ ├── messages_ro.js │ │ │ ├── messages_ru.js │ │ │ ├── messages_si.js │ │ │ ├── messages_sk.js │ │ │ ├── messages_sl.js │ │ │ ├── messages_sr.js │ │ │ ├── messages_sr_lat.js │ │ │ ├── messages_sv.js │ │ │ ├── messages_th.js │ │ │ ├── messages_tj.js │ │ │ ├── messages_tr.js │ │ │ ├── messages_uk.js │ │ │ ├── messages_vi.js │ │ │ ├── messages_zh.js │ │ │ ├── messages_zh_TW.js │ │ │ ├── methods_de.js │ │ │ ├── methods_es_CL.js │ │ │ ├── methods_fi.js │ │ │ ├── methods_nl.js │ │ │ └── methods_pt.js │ └── validation.jquery.json └── jquery │ ├── .bower.json │ ├── AUTHORS.txt │ ├── LICENSE.txt │ ├── README.md │ ├── bower.json │ ├── dist │ ├── jquery.js │ ├── jquery.min.js │ └── jquery.min.map │ └── src │ ├── .jshintrc │ ├── ajax.js │ ├── ajax │ ├── jsonp.js │ ├── load.js │ ├── parseJSON.js │ ├── parseXML.js │ ├── script.js │ ├── var │ │ ├── location.js │ │ ├── nonce.js │ │ └── rquery.js │ └── xhr.js │ ├── attributes.js │ ├── attributes │ ├── attr.js │ ├── classes.js │ ├── prop.js │ ├── support.js │ └── val.js │ ├── callbacks.js │ ├── core.js │ ├── core │ ├── access.js │ ├── init.js │ ├── parseHTML.js │ ├── ready.js │ ├── support.js │ └── var │ │ └── rsingleTag.js │ ├── css.js │ ├── css │ ├── addGetHookIf.js │ ├── adjustCSS.js │ ├── curCSS.js │ ├── defaultDisplay.js │ ├── hiddenVisibleSelectors.js │ ├── showHide.js │ ├── support.js │ └── var │ │ ├── cssExpand.js │ │ ├── getStyles.js │ │ ├── isHidden.js │ │ ├── rmargin.js │ │ ├── rnumnonpx.js │ │ └── swap.js │ ├── data.js │ ├── data │ ├── Data.js │ ├── accepts.js │ ├── support.js │ └── var │ │ ├── acceptData.js │ │ ├── dataPriv.js │ │ └── dataUser.js │ ├── deferred.js │ ├── deprecated.js │ ├── dimensions.js │ ├── effects.js │ ├── effects │ ├── Tween.js │ ├── animatedSelector.js │ └── support.js │ ├── event.js │ ├── event │ ├── ajax.js │ ├── alias.js │ ├── focusin.js │ ├── support.js │ └── trigger.js │ ├── exports │ ├── amd.js │ └── global.js │ ├── intro.js │ ├── jquery.js │ ├── manipulation.js │ ├── manipulation │ ├── _evalUrl.js │ ├── buildFragment.js │ ├── createSafeFragment.js │ ├── getAll.js │ ├── setGlobalEval.js │ ├── support.js │ ├── var │ │ ├── nodeNames.js │ │ ├── rcheckableType.js │ │ ├── rleadingWhitespace.js │ │ ├── rscriptType.js │ │ └── rtagName.js │ └── wrapMap.js │ ├── offset.js │ ├── outro.js │ ├── queue.js │ ├── queue │ └── delay.js │ ├── selector-native.js │ ├── selector-sizzle.js │ ├── selector.js │ ├── serialize.js │ ├── support.js │ ├── traversing.js │ ├── traversing │ ├── findFilter.js │ └── var │ │ ├── dir.js │ │ ├── rneedsContext.js │ │ └── siblings.js │ ├── var │ ├── arr.js │ ├── class2type.js │ ├── concat.js │ ├── deletedIds.js │ ├── document.js │ ├── documentElement.js │ ├── hasOwn.js │ ├── indexOf.js │ ├── pnum.js │ ├── push.js │ ├── rcssNum.js │ ├── rnotwhite.js │ ├── slice.js │ ├── support.js │ └── toString.js │ └── wrap.js └── themes └── default ├── css ├── colour.css └── colour.min.css └── img ├── share-image.jpg └── site-header.jpg /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Gareth Elms 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.15 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "simple-blog-engine-for-asp-net-core-developers", "simple-blog-engine-for-asp-net-core-developers\simple-blog-engine-for-asp-net-core-developers.csproj", "{D610FEA7-9F80-4110-A727-8FF27589400F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {D610FEA7-9F80-4110-A727-8FF27589400F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {D610FEA7-9F80-4110-A727-8FF27589400F}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {D610FEA7-9F80-4110-A727-8FF27589400F}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {D610FEA7-9F80-4110-A727-8FF27589400F}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {127FCF14-350C-4E59-85F3-214A1AAADA6C} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "wwwroot/lib" 3 | } 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Controllers/AboutController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | using Microsoft.AspNetCore.Mvc; 7 | using SimpleBlogEngine.Models; 8 | using Microsoft.AspNetCore.Hosting; 9 | using Microsoft.Extensions.Options; 10 | 11 | namespace SimpleBlogEngine.Controllers 12 | { 13 | public class AboutController:BaseController 14 | { 15 | private BlogPostsSettings _blogPostsConfig; 16 | 17 | public AboutController( 18 | IHostingEnvironment hostingEnvironment, 19 | IOptionsMonitor blogPostsConfig) : base(hostingEnvironment) 20 | { 21 | _blogPostsConfig = blogPostsConfig.CurrentValue; 22 | } 23 | 24 | public IActionResult Index() 25 | { 26 | return View(_blogPostsConfig); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Controllers/BaseController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Microsoft.AspNetCore.Mvc; 3 | using SimpleBlogEngine.Models; 4 | using System; 5 | using Microsoft.AspNetCore.Hosting; 6 | using Microsoft.AspNetCore.Mvc.Filters; 7 | 8 | namespace SimpleBlogEngine.Controllers 9 | { 10 | public class BaseController:Controller 11 | { 12 | private readonly IHostingEnvironment _hostingEnvironment; 13 | 14 | public BaseController(IHostingEnvironment hostingEnvironment) 15 | { 16 | _hostingEnvironment = hostingEnvironment; 17 | } 18 | 19 | public override void OnActionExecuted(ActionExecutedContext context) 20 | { 21 | base.OnActionExecuted(context); 22 | 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Controllers/CategoryController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | using Microsoft.AspNetCore.Mvc; 7 | using SimpleBlogEngine.Models; 8 | using Microsoft.AspNetCore.Hosting; 9 | using Microsoft.Extensions.Options; 10 | 11 | namespace SimpleBlogEngine.Controllers 12 | { 13 | public class CategoryController:BaseController 14 | { 15 | private BlogPostsSettings _blogPostsConfig; 16 | public CategoryController( 17 | IHostingEnvironment hostingEnvironment, 18 | IOptionsMonitor blogPostsConfig) : base(hostingEnvironment) 19 | { 20 | _blogPostsConfig = blogPostsConfig.CurrentValue; 21 | } 22 | 23 | public IActionResult Index(string category) 24 | { 25 | var model = new BlogPostsViewModel(_blogPostsConfig) { 26 | PageOfBlogPosts = _blogPostsConfig.GetBlogPostsWithTag(category), 27 | Category = category 28 | }; 29 | return View(model); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | using Microsoft.AspNetCore.Mvc; 7 | using SimpleBlogEngine.Models; 8 | using Microsoft.AspNetCore.Hosting; 9 | using Microsoft.Extensions.Options; 10 | 11 | namespace SimpleBlogEngine.Controllers 12 | { 13 | public class HomeController:BaseController 14 | { 15 | private BlogPostsSettings _blogPostsConfig; 16 | 17 | public HomeController( 18 | IHostingEnvironment hostingEnvironment, 19 | IOptionsMonitor blogPostsConfig) : base(hostingEnvironment) 20 | { 21 | _blogPostsConfig = blogPostsConfig.CurrentValue; 22 | } 23 | 24 | public IActionResult Index(int pageNumber = 1) 25 | { 26 | var model = new BlogPostsViewModel(_blogPostsConfig) { 27 | PageOfBlogPosts = _blogPostsConfig.GetPage(pageNumber), 28 | CurrentPageNumber = pageNumber}; 29 | return View(model); 30 | } 31 | 32 | public IActionResult Error() 33 | { 34 | return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier }); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Extensions/StringExtensions.cs: -------------------------------------------------------------------------------- 1 | namespace SimpleBlogEngine.Extensions 2 | { 3 | public static class StringExtensions 4 | { 5 | public static string MakeURLFriendly(this string value) 6 | { 7 | return value.Replace(" ", "-").Replace(".", "-").ToLower(); 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Models/BlogPost.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace SimpleBlogEngine.Models 4 | { 5 | public class BlogPost 6 | { 7 | public string Title {get;set;} 8 | public string Description {get;set;} 9 | public bool Published {get;set;} 10 | public BlogPostDate Date {get;set;} 11 | public List Tags {get;set;} 12 | public string Author {get;set;} 13 | public string Slug {get;set;} 14 | public string View {get;set;} 15 | } 16 | 17 | public class BlogPostDate 18 | { 19 | public int Year {get;set;} 20 | public int Month {get;set;} 21 | public int Day {get;set;} 22 | public string Display {get;set;} 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Models/ErrorViewModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace SimpleBlogEngine.Models 4 | { 5 | public class ErrorViewModel 6 | { 7 | public string RequestId { get; set; } 8 | 9 | public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); 10 | } 11 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Models/Settings/AddThisSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace SimpleBlogEngine.Models 7 | { 8 | public class AddThisSettings 9 | { 10 | public String AddThisID {get;set;} 11 | public bool IsEnabled {get;set;} 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Models/Settings/DisqusSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace SimpleBlogEngine.Models 7 | { 8 | public class DisqusSettings 9 | { 10 | public bool IsEnabled {get;set;} 11 | public string ShortName {get;set;} 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Models/Settings/EmailSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace SimpleBlogEngine.Models 7 | { 8 | public class EmailSettings 9 | { 10 | public String PrimaryDomain {get;set;} 11 | public int PrimaryPort {get;set;} 12 | public String SecondayDomain {get;set;} 13 | public int SecondaryPort {get;set;} 14 | public String UsernameEmail {get;set;} 15 | public String UsernamePassword {get;set;} 16 | public String FromEmail {get;set;} 17 | public String ToEmail {get;set;} 18 | public String CcEmail {get;set;} 19 | public String Subject {get;set;} 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Models/Settings/GoogleAnalyticsSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace SimpleBlogEngine.Models 7 | { 8 | public class GoogleAnalyticsSettings 9 | { 10 | public String TrackingID {get;set;} 11 | public bool IsEnabled {get;set;} 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Models/Settings/GoogleRecaptchaSettings.cs: -------------------------------------------------------------------------------- 1 | using SimpleBlogEngine.Extensions; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | 6 | namespace SimpleBlogEngine.Models 7 | { 8 | public class GoogleRecaptchaSettings 9 | { 10 | public bool IsEnabled {get;set;} 11 | public string SiteKey {get;set;} 12 | public string SecretKey {get;set;} 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Models/Settings/SiteSettings.cs: -------------------------------------------------------------------------------- 1 | using SimpleBlogEngine.Extensions; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | 6 | namespace SimpleBlogEngine.Models 7 | { 8 | public class SiteSettings 9 | { 10 | public string Owner {get;set;} 11 | public string SiteName {get;set;} 12 | public string SiteURL {get;set;} 13 | public string Description {get;set;} 14 | public bool ShowViewHooks {get;set;} 15 | public Theme Theme {get;set;} 16 | public SiteSettings_Meta MetaData {get;set;} 17 | public DebugMode DebugMode {get;set;} 18 | } 19 | 20 | public class Theme 21 | { 22 | public string ThemeName {get;set;} 23 | public string HeaderImage {get;set;} 24 | public string ShareImage {get;set;} 25 | } 26 | 27 | public class SiteSettings_Meta 28 | { 29 | public string Locale {get;set;} 30 | public string TwitterUserName {get;set;} 31 | public string PageTitlePrefix {get;set;} 32 | public string PageTitleSuffix {get;set;} 33 | } 34 | 35 | public class DebugMode 36 | { 37 | public bool ShowViewHooks {get;set;} 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | using Microsoft.AspNetCore; 7 | using Microsoft.AspNetCore.Hosting; 8 | using Microsoft.Extensions.Configuration; 9 | using Microsoft.Extensions.Logging; 10 | using System.Reflection; 11 | 12 | namespace SimpleBlogEngine 13 | { 14 | public class Program 15 | { 16 | public static void Main(string[] args) 17 | { 18 | BuildWebHost(args).Run(); 19 | } 20 | 21 | public static IWebHost BuildWebHost(string[] args) 22 | { 23 | var myConfig = new ConfigurationBuilder() 24 | .SetBasePath(Directory.GetCurrentDirectory()) 25 | .AddJsonFile("Settings" + Path.DirectorySeparatorChar + "System" + Path.DirectorySeparatorChar + "hosting.json",optional: false) 26 | .Build(); 27 | 28 | return WebHost.CreateDefaultBuilder(args) 29 | .ConfigureLogging((hostingContext, logging) => 30 | { 31 | logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging")); 32 | logging.AddConsole(); 33 | logging.AddDebug(); 34 | }) 35 | .UseConfiguration(myConfig) 36 | .UseStartup() 37 | .Build(); 38 | } 39 | } 40 | } 41 | 42 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Settings/System/addThisSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "AddThisSettings": { 3 | "IsEnabled": "false", 4 | "AddThisID": "ra-????" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Settings/System/blogPosts.json: -------------------------------------------------------------------------------- 1 | { 2 | "blogsPerPage":3, 3 | "NumberOfRecentBlogPostsToShowInSidebar": 5, 4 | "blogs":[{ 5 | "published":true, 6 | "title":"First Blog Post", 7 | "description": "This is my first blog post.", 8 | "date":{ 9 | "year":"2017", 10 | "month":"11", 11 | "day":"01", 12 | "display":"Nov 1st, 2017" 13 | }, 14 | "author":"Author", 15 | "slug":"first-blog-post", 16 | "view":"firstBlogPost.cshtml", 17 | "tags":["blog", "first"] 18 | }, { 19 | "published":true, 20 | "title":"Second Blog Post", 21 | "description": "This is my second blog post.", 22 | "date":{ 23 | "year":"2017", 24 | "month":"11", 25 | "day":"02", 26 | "display":"Nov 2nd, 2017" 27 | }, 28 | "author":"Author", 29 | "slug":"second-blog-post", 30 | "view":"secondBlogPost.cshtml", 31 | "tags":["blog", "second"] 32 | }, { 33 | "published":true, 34 | "title":"Third Blog Post", 35 | "description": "This is my third blog post.", 36 | "date":{ 37 | "year":"2017", 38 | "month":"11", 39 | "day":"03", 40 | "display":"Nov 3rd, 2017" 41 | }, 42 | "author":"Author", 43 | "slug":"third-blog-post", 44 | "view":"thirdBlogPost.cshtml", 45 | "tags":["blog", "third"] 46 | }] 47 | } 48 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Settings/System/disqusSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "DisqusSettings": { 3 | "IsEnabled": "false", 4 | "ShortName": "" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Settings/System/emailSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "EmailSettings": { 3 | "PrimaryDomain": "", 4 | "PrimaryPort": "0", 5 | "SecondayDomain": "", 6 | "SecondaryPort": "0", 7 | "UsernameEmail": "", 8 | "UsernamePassword": "", 9 | "FromEmail": "", 10 | "ToEmail": "", 11 | "CcEmail": "", 12 | "Subject": "Contact From Site" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Settings/System/googleAnalyticsSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "GoogleAnalyticsSettings": { 3 | "IsEnabled": "false", 4 | "TrackingID": "UA-???" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Settings/System/googleRecaptchaSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "GoogleRecaptchaSettings": { 3 | "IsEnabled": false, 4 | "SiteKey": "", 5 | "SecretKey": "" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Settings/System/hosting.json: -------------------------------------------------------------------------------- 1 | { 2 | "urls": "http://*:5021" 3 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Settings/System/siteSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "SiteSettings": { 3 | "owner": "Your Name", 4 | "description": "I am a developer with a blog.", 5 | "siteName": "yoursite.com", 6 | "siteURL": "www.yoursite.com", 7 | "theme": { 8 | "themeName": "default", 9 | "headerImage": "", 10 | "shareImage": "{theme}/img/share-image.jpg" 11 | }, 12 | "debugMode": { 13 | "showViewHooks": "false" 14 | }, 15 | "metaData": { 16 | "locale": "en_GB", 17 | "twitterUserName": "twitter_handle", 18 | "pageTitlePrefix": "", 19 | "pageTitleSuffix": " - www.yoursite.org" 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Utility/CustomViewLocationExpander.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Mvc.Razor; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | 7 | namespace SimpleBlogEngine 8 | { 9 | public class CustomViewLocationExpander : IViewLocationExpander 10 | { 11 | public void PopulateValues(ViewLocationExpanderContext context) 12 | { 13 | } 14 | 15 | public IEnumerable ExpandViewLocations(ViewLocationExpanderContext context, IEnumerable viewLocations) 16 | { 17 | // {1} is the controller and {0} is the name of the View 18 | var newViewLocations = new List(viewLocations); 19 | newViewLocations.Insert(0, "/Views/Shared/EmptyCustomViews/{0}.cshtml"); // First. for a moment. 20 | newViewLocations.Insert(0, "/Views/Custom/{0}.cshtml"); // Not any more, this is first now. 21 | return newViewLocations; 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/ViewModels/BlogPostsBaseViewModel.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.Options; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | 7 | namespace SimpleBlogEngine.Models 8 | { 9 | public class BlogPostsBaseViewModel 10 | { 11 | public BlogPostsBaseViewModel(BlogPostsSettings blogPostConfigMonitor) 12 | { 13 | BlogPostsConfig = blogPostConfigMonitor; 14 | } 15 | 16 | public BlogPostsSettings BlogPostsConfig {get;set;} 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/ViewModels/BlogPostsViewModel.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.Options; 2 | using System.Collections.Generic; 3 | 4 | namespace SimpleBlogEngine.Models 5 | { 6 | public class BlogPostsViewModel : BlogPostsBaseViewModel 7 | { 8 | public BlogPostsViewModel(BlogPostsSettings blogPostConfig) : base(blogPostConfig) 9 | { 10 | } 11 | public List PageOfBlogPosts {get;set;} 12 | public string Category {get;set;} 13 | public int CurrentPageNumber {get;set;} 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/About/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPostsSettings 2 | @inject Microsoft.Extensions.Options.IOptionsMonitor siteSettings 3 | @{ 4 | ViewData["Title"] = "About " + siteSettings.CurrentValue.Owner; 5 | ViewData["Description"] = "About " + siteSettings.CurrentValue.Owner; 6 | ViewBag.PageId = "about"; 7 | } 8 |

About Me

9 |
10 |

Ut sit amet ornare nunc, quis aliquet nunc. Sed pretium vitae nibh in venenatis. Aenean vitae fermentum diam, ut placerat est. Integer finibus mollis erat, a pulvinar nulla commodo non. Fusce luctus laoreet aliquam. Proin ex metus, tristique sit amet aliquet condimentum, tempor at nisi. Proin eget diam libero. Cras ut dui neque. Nullam rutrum neque eu eleifend fringilla. Nullam ullamcorper massa leo, non euismod libero accumsan interdum. Curabitur ut hendrerit augue.

11 |
-------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Blog/All.cshtml: -------------------------------------------------------------------------------- 1 | @inject Microsoft.Extensions.Options.IOptionsMonitor blogPostConfigMonitor 2 | @{ 3 | ViewData["Title"] = "All blog posts"; 4 | } 5 | 6 | @Html.Partial("_allBlogPostsHeader") 7 | 8 | @foreach(var blogPost in blogPostConfigMonitor.CurrentValue.Blogs) { 9 | if(blogPost.Published) { 10 | var postURL = "//" + Context.Request.Host + Url.Action("ViewBlogPost","Blog",new { year = blogPost.Date.Year,Month = blogPost.Date.Month.ToString("00"),Slug = blogPost.Slug }); 11 |
12 |

@blogPost.Title

13 |

@blogPost.Description

14 | 15 |
16 | } 17 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Blog/_allBlogPostsHeader.cshtml: -------------------------------------------------------------------------------- 1 | 

2 | All Blog Posts 3 |

4 |
-------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Category/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPostsViewModel 2 | @inject Microsoft.Extensions.Options.IOptionsMonitor siteSettings 3 | @{ 4 | ViewData["Title"] = "Blogs posts in category " + Model.Category + " - Page " + Model.CurrentPageNumber; 5 | ViewData["Description"] = "Blogs posts in category " + Model.Category + " - Page " + Model.CurrentPageNumber; 6 | ViewBag.DontShowComments = true; 7 | ViewBag.DontShowAddThis = true; 8 | ViewBag.PageId = "category"; 9 | } 10 | 11 | @{if(Model.PageOfBlogPosts != null && Model.PageOfBlogPosts.Count > 0) { 12 | foreach(var blogPost in Model.PageOfBlogPosts) { 13 |
14 | @Html.Partial("~/Views/Blog/ViewBlogPost.cshtml", blogPost) 15 |
16 |
17 | } 18 | } else { 19 |

20 | }} 21 | 22 | @section Scripts { 23 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Contact/_contactHeader.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_contactHeader.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ 2 |

Contact Me

3 |
4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPostsViewModel 2 | @inject Microsoft.Extensions.Options.IOptionsMonitor siteSettings 3 | @inject Microsoft.Extensions.Options.IOptionsMonitor disqusSettings 4 | @{ 5 | ViewData["Title"] = "Home Page"; 6 | ViewData["Description"] = siteSettings.CurrentValue.Description; 7 | ViewBag.DontShowComments = true; 8 | ViewBag.DontShowAddThis = true; 9 | ViewBag.PageId = "home"; 10 | } 11 | 12 | @{if(Model.PageOfBlogPosts != null && Model.PageOfBlogPosts.Count > 0) { 13 | foreach(var blogPost in Model.PageOfBlogPosts) { 14 |
15 | @Html.Partial("~/Views/Blog/ViewBlogPost.cshtml", blogPost) 16 |
17 |
18 | } 19 | } else { 20 |

21 | }} 22 | 23 | @Html.Partial("_hook_pagingControlBefore") 24 | @Html.Partial("~/Views/Shared/_pagingControl.cshtml", Model) 25 | @Html.Partial("_hook_pagingControlAfter") 26 | 27 | @section Scripts { 28 | @if(disqusSettings.CurrentValue.IsEnabled) { 29 | 30 | }} -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_blogPostAfter.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPost 2 | @Html.Partial("_debugShowViewHook","_hook_blogPostBottom.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_blogPostAfterBlogContent.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPost 2 | @Html.Partial("_debugShowViewHook", "_hook_blogPostAfterBlogContent.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_blogPostAfterComments.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPost 2 | @Html.Partial("_debugShowViewHook","_hook_blogPostAfterComments.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_blogPostBefore.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPost 2 | @Html.Partial("_debugShowViewHook","_hook_blogPostTop.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_blogPostBeforeBlogContent.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPost 2 | @Html.Partial("_debugShowViewHook","_hook_blogPostBeforeBlogContent.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_blogPostBeforeComments.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPost 2 | @Html.Partial("_debugShowViewHook","_hook_blogPostBeforeComments.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_blogPostBeforeShareButtons.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPost 2 | @Html.Partial("_debugShowViewHook","_hook_blogPostBeforeShareButtons.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_blogPostMetaBottom.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPost 2 | @Html.Partial("_debugShowViewHook","_hook_blogPostMetaBottom.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_blogPostMetaTop.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPost 2 | @Html.Partial("_debugShowViewHook","_hook_blogPostMetaTop.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_bodyBottom.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_bodyBottom.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_bodyTop.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_bodyTop.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_footerBottom.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_footerBottom.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_footerMiddle.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_footerMiddle.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_footerTop.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_footerTop.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_headBottom.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_headBottom.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_headTop.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_headTop.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_headerBottom.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_headerBottom.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_headerTop.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_headerTop.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_navBarBottom.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHookInline","_hook_navBarBottom.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_navBarTop.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHookInline","_hook_navBarTop.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_pagingControlAfter.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_pagingControlAfter.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_pagingControlBefore.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_pagingControlBefore.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_scriptsCustom.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_scriptsCustom.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_sideBarBottom.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_sideBarBottom.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/_hook_sideBarTop.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_debugShowViewHook","_hook_sideBarTop.cshtml") @* Remove this line if you copy paste this view into \Views\Custom *@ -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/EmptyCustomViews/readme.txt: -------------------------------------------------------------------------------- 1 | To create your own custom views, for example to add your own css in the section, choose which custom view you want to 2 | override and copy and paste it into the Views/Custom folder. 3 | 4 | These empty custom views are required so that the views in the hook points are found by asp.net core. 5 | 6 | Views/Custom/*.cshtml files override the empty views in Views/Shared/EmptyCustomViews. Have a Utility/CustomViewLocationExpander.cs to see how this works. 7 | 8 | There are various hook points for your own views. To see how the hook points are called have a look in : 9 | 10 | - Views/Shared/_Layout.cshtml 11 | - Views/Blog/ViewBlogPost.cshtml 12 | - Views/Blog/All.cshtml 13 | 14 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @model ErrorViewModel 2 | @{ 3 | ViewData["Title"] = "Error"; 4 | } 5 | 6 |

Error.

7 |

An error occurred while processing your request.

8 | 9 | @if (Model.ShowRequestId) 10 | { 11 |

12 | Request ID: @Model.RequestId 13 |

14 | } 15 | 16 |

Development Mode

17 |

18 | Swapping to Development environment will display more detailed information about the error that occurred. 19 |

20 |

21 | Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. 22 |

23 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_ValidationScriptsPartial.cshtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12 | 18 | 19 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_allTagsList.cshtml: -------------------------------------------------------------------------------- 1 | @model List 2 |
3 |

Tags

4 | @foreach(var tag in Model) { 5 |

@tag.Tag (@tag.Count)

6 | } 7 |
-------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_comments.cshtml: -------------------------------------------------------------------------------- 1 | @model DisqusSettings 2 | @{if(Model.IsEnabled) { 3 |
4 | 22 | 23 | 24 | 25 | }} -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_css.cshtml: -------------------------------------------------------------------------------- 1 | @inject Microsoft.Extensions.Options.IOptionsMonitor siteSettings 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_debugShowViewHook.cshtml: -------------------------------------------------------------------------------- 1 | @model string 2 | 3 | @{ 4 | @inject Microsoft.Extensions.Options.IOptionsMonitor siteSettings 5 | } 6 | 7 | @if(siteSettings.CurrentValue.DebugMode.ShowViewHooks) { 8 |
@Model
9 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_debugShowViewHookInline.cshtml: -------------------------------------------------------------------------------- 1 | @model string 2 | 3 | @{ 4 | @inject Microsoft.Extensions.Options.IOptionsMonitor siteSettings 5 | } 6 | 7 | @if(siteSettings.CurrentValue.DebugMode.ShowViewHooks) { 8 | @Model 9 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_footer.cshtml: -------------------------------------------------------------------------------- 1 | @inject Microsoft.Extensions.Options.IOptionsMonitor siteSettings 2 | 3 | @{if(!string.IsNullOrEmpty(siteSettings.CurrentValue.MetaData.TwitterUserName)) { 4 |

5 | @@@siteSettings.CurrentValue.MetaData.TwitterUserName 6 |

7 | }} 8 | @Html.Partial("_hook_footerMiddle") 9 |

10 | Copyright © @siteSettings.CurrentValue.Owner @DateTime.Now.Year 11 |

12 | 13 |

14 | Powered by Simple Blog Engine for ASP.NET Core 15 |

-------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_googleAnalytics.cshtml: -------------------------------------------------------------------------------- 1 | @model GoogleAnalyticsSettings 2 | 3 | @{if(Model.IsEnabled) { 4 | 5 | 11 | }} -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_navBar.cshtml: -------------------------------------------------------------------------------- 1 | @Html.Partial("_hook_navBarTop") 2 | About 3 | Contact 4 | @Html.Partial("_hook_navBarBottom") -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_openGraphMetaTags.cshtml: -------------------------------------------------------------------------------- 1 | @inject Microsoft.Extensions.Options.IOptionsMonitor siteSettings 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_pagingControl.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPostsViewModel 2 | 3 | 4 | @{if(Model.BlogPostsConfig.Meta.TotalPages > 1) { 5 |
    6 | @for(int pageNumber=1, pageCount= Model.BlogPostsConfig.Meta.TotalPages; pageNumber<=pageCount; pageNumber++) { 7 | 8 | @if(pageNumber == Model.CurrentPageNumber){ 9 |
  • 10 | @pageNumber 11 |
  • 12 | } else { 13 |
  • 14 | @pageNumber 15 |
  • 16 | } 17 | } 18 |
19 | }} -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_recentPosts.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPostsSettings 2 | @inject Microsoft.Extensions.Options.IOptionsMonitor blogPostConfigMonitor 3 | @{if(blogPostConfigMonitor.CurrentValue.NumberOfRecentBlogPostsToShowInSidebar > 0) { 4 |
5 |

Recent Posts

6 | @for(int i=0, count=Math.Min(blogPostConfigMonitor.CurrentValue.NumberOfRecentBlogPostsToShowInSidebar, Model.Blogs.Count); i@blogPost.Title
10 | } 11 |
All blog posts...
12 | 13 | }} -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_scriptsMain.cshtml: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_shareButtons.cshtml: -------------------------------------------------------------------------------- 1 | @model AddThisSettings 2 | @{if(Model.IsEnabled) { 3 | 4 | }} -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/Shared/_syntaxHighlighting.cshtml: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using SimpleBlogEngine 2 | @using SimpleBlogEngine.Models 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/Views/_blogSource/_template-copy-me.cshtml: -------------------------------------------------------------------------------- 1 | @model BlogPost 2 | 3 | @* 4 | For images use bootstrap's img-fluid class eg; 5 | 6 | 7 | For code syntax highlighting use : 8 | 9 |
10 |
{
11 | 			var message = "";
12 | }
13 |
14 | 15 | See https://highlightjs.org/static/demo for different code clases eg; 16 | 17 | *@ 18 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "IncludeScopes": false, 4 | "LogLevel": { 5 | "Default": "Debug", 6 | "System": "Information", 7 | "Microsoft": "Information" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "IncludeScopes": false, 4 | "LogLevel": { 5 | "Default": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "asp.net", 3 | "private": true, 4 | "dependencies": { 5 | "bootstrap": "3.3.7", 6 | "jquery": "2.2.0", 7 | "jquery-validation": "1.14.0", 8 | "jquery-validation-unobtrusive": "3.2.6" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/bundleconfig.json: -------------------------------------------------------------------------------- 1 | // Configure bundling and minification for the project. 2 | // More info at https://go.microsoft.com/fwlink/?LinkId=808241 3 | [ 4 | { 5 | "outputFileName": "wwwroot/css/site.min.css", 6 | // An array of relative input file paths. Globbing patterns supported 7 | "inputFiles": [ 8 | "wwwroot/css/site.css" 9 | ] 10 | }, 11 | { 12 | "outputFileName": "wwwroot/js/site.min.js", 13 | "inputFiles": [ 14 | "wwwroot/js/site.js" 15 | ], 16 | // Optionally specify minification options 17 | "minify": { 18 | "enabled": true, 19 | "renameLocals": true 20 | }, 21 | // Optionally generate .map file 22 | "sourceMap": false 23 | } 24 | ] 25 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/simple-blog-engine-for-asp-net-core-developers.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/css/layout.min.css: -------------------------------------------------------------------------------- 1 | body{padding-top:50px;padding-bottom:20px}.body-content{padding-left:15px;padding-right:15px}.carousel-caption p{font-size:20px;line-height:1.4}.carousel-inner .item img[src$=".svg"]{width:100%}#qrCode{margin:15px}@media screen and (max-width:767px){.carousel-caption{display:none}} -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/css/syntax.css: -------------------------------------------------------------------------------- 1 | 2 | .hljs {display:block; overflow-x:auto; padding:0.5em; background-color:#eeeeee;} 3 | .hljs {color:#00193a;} 4 | .hljs-keyword, .hljs-selector-tag, .hljs-title, .hljs-section, .hljs-doctag, .hljs-name, .hljs-strong {font-weight:bold;} 5 | .hljs-comment {color:#738191;} 6 | .hljs-string, .hljs-title, .hljs-section, .hljs-built_in, .hljs-literal, .hljs-type, .hljs-addition, .hljs-tag, .hljs-quote, .hljs-name, .hljs-selector-id, .hljs-selector-class {color:#0048ab;} 7 | .hljs-meta, .hljs-subst, .hljs-symbol, .hljs-regexp, .hljs-attribute, .hljs-deletion, .hljs-variable, .hljs-template-variable, .hljs-link, .hljs-bullet {color:#4c81c9;} 8 | .hljs-emphasis {font-style:italic;} 9 | code {font-size:85% !important;} -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/favicon.ico -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/img/image-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/img/image-1.jpg -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/img/image-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/img/image-2.jpg -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/img/image-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/img/image-3.jpg -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/img/quote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/img/quote.png -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap", 3 | "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", 4 | "keywords": [ 5 | "css", 6 | "js", 7 | "less", 8 | "mobile-first", 9 | "responsive", 10 | "front-end", 11 | "framework", 12 | "web" 13 | ], 14 | "homepage": "http://getbootstrap.com", 15 | "license": "MIT", 16 | "moduleType": "globals", 17 | "main": [ 18 | "less/bootstrap.less", 19 | "dist/js/bootstrap.js" 20 | ], 21 | "ignore": [ 22 | "/.*", 23 | "_config.yml", 24 | "CNAME", 25 | "composer.json", 26 | "CONTRIBUTING.md", 27 | "docs", 28 | "js/tests", 29 | "test-infra" 30 | ], 31 | "dependencies": { 32 | "jquery": "1.9.1 - 3" 33 | }, 34 | "version": "3.3.7", 35 | "_release": "3.3.7", 36 | "_resolution": { 37 | "type": "version", 38 | "tag": "v3.3.7", 39 | "commit": "0b9c4a4007c44201dce9a6cc1a38407005c26c86" 40 | }, 41 | "_source": "https://github.com/twbs/bootstrap.git", 42 | "_target": "3.3.7", 43 | "_originalSource": "bootstrap" 44 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | Bootstrap uses [GitHub's Releases feature](https://github.com/blog/1547-release-your-software) for its changelogs. 2 | 3 | See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. 4 | 5 | Release announcement posts on [the official Bootstrap blog](http://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release. 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | group :development, :test do 4 | gem 'jekyll', '~> 3.1.2' 5 | gem 'jekyll-sitemap', '~> 0.11.0' 6 | end 7 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | addressable (2.4.0) 5 | colorator (0.1) 6 | ffi (1.9.14-x64-mingw32) 7 | jekyll (3.1.6) 8 | colorator (~> 0.1) 9 | jekyll-sass-converter (~> 1.0) 10 | jekyll-watch (~> 1.1) 11 | kramdown (~> 1.3) 12 | liquid (~> 3.0) 13 | mercenary (~> 0.3.3) 14 | rouge (~> 1.7) 15 | safe_yaml (~> 1.0) 16 | jekyll-sass-converter (1.4.0) 17 | sass (~> 3.4) 18 | jekyll-sitemap (0.11.0) 19 | addressable (~> 2.4.0) 20 | jekyll-watch (1.4.0) 21 | listen (~> 3.0, < 3.1) 22 | kramdown (1.11.1) 23 | liquid (3.0.6) 24 | listen (3.0.8) 25 | rb-fsevent (~> 0.9, >= 0.9.4) 26 | rb-inotify (~> 0.9, >= 0.9.7) 27 | mercenary (0.3.6) 28 | rb-fsevent (0.9.7) 29 | rb-inotify (0.9.7) 30 | ffi (>= 0.5.0) 31 | rouge (1.11.1) 32 | safe_yaml (1.0.4) 33 | sass (3.4.22) 34 | 35 | PLATFORMS 36 | x64-mingw32 37 | 38 | DEPENDENCIES 39 | jekyll (~> 3.1.2) 40 | jekyll-sitemap (~> 0.11.0) 41 | 42 | BUNDLED WITH 43 | 1.12.5 44 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Before opening an issue: 2 | 3 | - [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) 4 | - [Validate](http://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems 5 | - Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs 6 | - Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) 7 | 8 | When asking general "how to" questions: 9 | 10 | - Please do not open an issue here 11 | - Instead, ask for help on [StackOverflow, IRC, or Slack](https://github.com/twbs/bootstrap/blob/master/README.md#community) 12 | 13 | When reporting a bug, include: 14 | 15 | - Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile) 16 | - Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser) 17 | - Reduced test cases and potential fixes using [JS Bin](https://jsbin.com) 18 | 19 | When suggesting a feature, include: 20 | 21 | - As much detail as possible for what we should add and why it's important to Bootstrap 22 | - Relevant links to prior art, screenshots, or live demos whenever possible 23 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2011-2016 Twitter, Inc. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap", 3 | "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", 4 | "keywords": [ 5 | "css", 6 | "js", 7 | "less", 8 | "mobile-first", 9 | "responsive", 10 | "front-end", 11 | "framework", 12 | "web" 13 | ], 14 | "homepage": "http://getbootstrap.com", 15 | "license": "MIT", 16 | "moduleType": "globals", 17 | "main": [ 18 | "less/bootstrap.less", 19 | "dist/js/bootstrap.js" 20 | ], 21 | "ignore": [ 22 | "/.*", 23 | "_config.yml", 24 | "CNAME", 25 | "composer.json", 26 | "CONTRIBUTING.md", 27 | "docs", 28 | "js/tests", 29 | "test-infra" 30 | ], 31 | "dependencies": { 32 | "jquery": "1.9.1 - 3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/dist/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/grunt/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends" : "../js/.jshintrc", 3 | "asi" : false, 4 | "browser" : false, 5 | "es3" : false, 6 | "node" : true 7 | } 8 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/grunt/bs-commonjs-generator.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Grunt task for the CommonJS module generation 3 | * http://getbootstrap.com 4 | * Copyright 2014-2015 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var fs = require('fs'); 11 | var path = require('path'); 12 | 13 | var COMMONJS_BANNER = '// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.\n'; 14 | 15 | module.exports = function generateCommonJSModule(grunt, srcFiles, destFilepath) { 16 | var destDir = path.dirname(destFilepath); 17 | 18 | function srcPathToDestRequire(srcFilepath) { 19 | var requirePath = path.relative(destDir, srcFilepath).replace(/\\/g, '/'); 20 | return 'require(\'' + requirePath + '\')'; 21 | } 22 | 23 | var moduleOutputJs = COMMONJS_BANNER + srcFiles.map(srcPathToDestRequire).join('\n'); 24 | try { 25 | fs.writeFileSync(destFilepath, moduleOutputJs); 26 | } catch (err) { 27 | grunt.fail.warn(err); 28 | } 29 | grunt.log.writeln('File ' + destFilepath.cyan + ' created.'); 30 | }; 31 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/js/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "asi" : true, 3 | "browser" : true, 4 | "eqeqeq" : false, 5 | "eqnull" : true, 6 | "es3" : true, 7 | "expr" : true, 8 | "jquery" : true, 9 | "latedef" : true, 10 | "laxbreak" : true, 11 | "nonbsp" : true, 12 | "strict" : true, 13 | "undef" : true, 14 | "unused" : true 15 | } 16 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/.csslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "adjoining-classes": false, 3 | "box-sizing": false, 4 | "box-model": false, 5 | "compatible-vendor-prefixes": false, 6 | "floats": false, 7 | "font-sizes": false, 8 | "gradients": false, 9 | "important": false, 10 | "known-properties": false, 11 | "outline-none": false, 12 | "qualified-headings": false, 13 | "regex-selectors": false, 14 | "shorthand": false, 15 | "text-indent": false, 16 | "unique-headings": false, 17 | "universal-selector": false, 18 | "unqualified-attributes": false 19 | } 20 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal; 8 | margin-bottom: @line-height-computed; 9 | list-style: none; 10 | background-color: @breadcrumb-bg; 11 | border-radius: @border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: @breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: @breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/close.less: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: (@font-size-base * 1.5); 9 | font-weight: @close-font-weight; 10 | line-height: 1; 11 | color: @close-color; 12 | text-shadow: @close-text-shadow; 13 | .opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: @close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | .opacity(.5); 21 | } 22 | 23 | // Additional properties for button version 24 | // iOS requires the button element instead of an anchor tag. 25 | // If you want the anchor version, it requires `href="#"`. 26 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile 27 | button& { 28 | padding: 0; 29 | cursor: pointer; 30 | background: transparent; 31 | border: 0; 32 | -webkit-appearance: none; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/component-animations.less: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552. 9 | 10 | .fade { 11 | opacity: 0; 12 | .transition(opacity .15s linear); 13 | &.in { 14 | opacity: 1; 15 | } 16 | } 17 | 18 | .collapse { 19 | display: none; 20 | 21 | &.in { display: block; } 22 | tr&.in { display: table-row; } 23 | tbody&.in { display: table-row-group; } 24 | } 25 | 26 | .collapsing { 27 | position: relative; 28 | height: 0; 29 | overflow: hidden; 30 | .transition-property(~"height, visibility"); 31 | .transition-duration(.35s); 32 | .transition-timing-function(ease); 33 | } 34 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/media.less: -------------------------------------------------------------------------------- 1 | .media { 2 | // Proper spacing between instances of .media 3 | margin-top: 15px; 4 | 5 | &:first-child { 6 | margin-top: 0; 7 | } 8 | } 9 | 10 | .media, 11 | .media-body { 12 | zoom: 1; 13 | overflow: hidden; 14 | } 15 | 16 | .media-body { 17 | width: 10000px; 18 | } 19 | 20 | .media-object { 21 | display: block; 22 | 23 | // Fix collapse in webkit from max-width: 100% and display: table-cell. 24 | &.img-thumbnail { 25 | max-width: none; 26 | } 27 | } 28 | 29 | .media-right, 30 | .media > .pull-right { 31 | padding-left: 10px; 32 | } 33 | 34 | .media-left, 35 | .media > .pull-left { 36 | padding-right: 10px; 37 | } 38 | 39 | .media-left, 40 | .media-right, 41 | .media-body { 42 | display: table-cell; 43 | vertical-align: top; 44 | } 45 | 46 | .media-middle { 47 | vertical-align: middle; 48 | } 49 | 50 | .media-bottom { 51 | vertical-align: bottom; 52 | } 53 | 54 | // Reset margins on headings for tighter default spacing 55 | .media-heading { 56 | margin-top: 0; 57 | margin-bottom: 5px; 58 | } 59 | 60 | // Media list variation 61 | // 62 | // Undo default ul/ol styles 63 | .media-list { 64 | padding-left: 0; 65 | list-style: none; 66 | } 67 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------------------------------- 3 | 4 | // Utilities 5 | @import "mixins/hide-text.less"; 6 | @import "mixins/opacity.less"; 7 | @import "mixins/image.less"; 8 | @import "mixins/labels.less"; 9 | @import "mixins/reset-filter.less"; 10 | @import "mixins/resize.less"; 11 | @import "mixins/responsive-visibility.less"; 12 | @import "mixins/size.less"; 13 | @import "mixins/tab-focus.less"; 14 | @import "mixins/reset-text.less"; 15 | @import "mixins/text-emphasis.less"; 16 | @import "mixins/text-overflow.less"; 17 | @import "mixins/vendor-prefixes.less"; 18 | 19 | // Components 20 | @import "mixins/alerts.less"; 21 | @import "mixins/buttons.less"; 22 | @import "mixins/panels.less"; 23 | @import "mixins/pagination.less"; 24 | @import "mixins/list-group.less"; 25 | @import "mixins/nav-divider.less"; 26 | @import "mixins/forms.less"; 27 | @import "mixins/progress-bar.less"; 28 | @import "mixins/table-row.less"; 29 | 30 | // Skins 31 | @import "mixins/background-variant.less"; 32 | @import "mixins/border-radius.less"; 33 | @import "mixins/gradients.less"; 34 | 35 | // Layout 36 | @import "mixins/clearfix.less"; 37 | @import "mixins/center-block.less"; 38 | @import "mixins/nav-vertical-align.less"; 39 | @import "mixins/grid-framework.less"; 40 | @import "mixins/grid.less"; 41 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/alerts.less: -------------------------------------------------------------------------------- 1 | // Alerts 2 | 3 | .alert-variant(@background; @border; @text-color) { 4 | background-color: @background; 5 | border-color: @border; 6 | color: @text-color; 7 | 8 | hr { 9 | border-top-color: darken(@border, 5%); 10 | } 11 | .alert-link { 12 | color: darken(@text-color, 10%); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/background-variant.less: -------------------------------------------------------------------------------- 1 | // Contextual backgrounds 2 | 3 | .bg-variant(@color) { 4 | background-color: @color; 5 | a&:hover, 6 | a&:focus { 7 | background-color: darken(@color, 10%); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/border-radius.less: -------------------------------------------------------------------------------- 1 | // Single side border-radius 2 | 3 | .border-top-radius(@radius) { 4 | border-top-right-radius: @radius; 5 | border-top-left-radius: @radius; 6 | } 7 | .border-right-radius(@radius) { 8 | border-bottom-right-radius: @radius; 9 | border-top-right-radius: @radius; 10 | } 11 | .border-bottom-radius(@radius) { 12 | border-bottom-right-radius: @radius; 13 | border-bottom-left-radius: @radius; 14 | } 15 | .border-left-radius(@radius) { 16 | border-bottom-left-radius: @radius; 17 | border-top-left-radius: @radius; 18 | } 19 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/center-block.less: -------------------------------------------------------------------------------- 1 | // Center-align a block level element 2 | 3 | .center-block() { 4 | display: block; 5 | margin-left: auto; 6 | margin-right: auto; 7 | } 8 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/clearfix.less: -------------------------------------------------------------------------------- 1 | // Clearfix 2 | // 3 | // For modern browsers 4 | // 1. The space content is one way to avoid an Opera bug when the 5 | // contenteditable attribute is included anywhere else in the document. 6 | // Otherwise it causes space to appear at the top and bottom of elements 7 | // that are clearfixed. 8 | // 2. The use of `table` rather than `block` is only necessary if using 9 | // `:before` to contain the top-margins of child elements. 10 | // 11 | // Source: http://nicolasgallagher.com/micro-clearfix-hack/ 12 | 13 | .clearfix() { 14 | &:before, 15 | &:after { 16 | content: " "; // 1 17 | display: table; // 2 18 | } 19 | &:after { 20 | clear: both; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/hide-text.less: -------------------------------------------------------------------------------- 1 | // CSS image replacement 2 | // 3 | // Heads up! v3 launched with only `.hide-text()`, but per our pattern for 4 | // mixins being reused as classes with the same name, this doesn't hold up. As 5 | // of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. 6 | // 7 | // Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757 8 | 9 | // Deprecated as of v3.0.1 (has been removed in v4) 10 | .hide-text() { 11 | font: ~"0/0" a; 12 | color: transparent; 13 | text-shadow: none; 14 | background-color: transparent; 15 | border: 0; 16 | } 17 | 18 | // New mixin to use as of v3.0.1 19 | .text-hide() { 20 | .hide-text(); 21 | } 22 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/image.less: -------------------------------------------------------------------------------- 1 | // Image Mixins 2 | // - Responsive image 3 | // - Retina image 4 | 5 | 6 | // Responsive image 7 | // 8 | // Keep images from scaling beyond the width of their parents. 9 | .img-responsive(@display: block) { 10 | display: @display; 11 | max-width: 100%; // Part 1: Set a maximum relative to the parent 12 | height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching 13 | } 14 | 15 | 16 | // Retina image 17 | // 18 | // Short retina mixin for setting background-image and -size. Note that the 19 | // spelling of `min--moz-device-pixel-ratio` is intentional. 20 | .img-retina(@file-1x; @file-2x; @width-1x; @height-1x) { 21 | background-image: url("@{file-1x}"); 22 | 23 | @media 24 | only screen and (-webkit-min-device-pixel-ratio: 2), 25 | only screen and ( min--moz-device-pixel-ratio: 2), 26 | only screen and ( -o-min-device-pixel-ratio: 2/1), 27 | only screen and ( min-device-pixel-ratio: 2), 28 | only screen and ( min-resolution: 192dpi), 29 | only screen and ( min-resolution: 2dppx) { 30 | background-image: url("@{file-2x}"); 31 | background-size: @width-1x @height-1x; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/labels.less: -------------------------------------------------------------------------------- 1 | // Labels 2 | 3 | .label-variant(@color) { 4 | background-color: @color; 5 | 6 | &[href] { 7 | &:hover, 8 | &:focus { 9 | background-color: darken(@color, 10%); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/list-group.less: -------------------------------------------------------------------------------- 1 | // List Groups 2 | 3 | .list-group-item-variant(@state; @background; @color) { 4 | .list-group-item-@{state} { 5 | color: @color; 6 | background-color: @background; 7 | 8 | a&, 9 | button& { 10 | color: @color; 11 | 12 | .list-group-item-heading { 13 | color: inherit; 14 | } 15 | 16 | &:hover, 17 | &:focus { 18 | color: @color; 19 | background-color: darken(@background, 5%); 20 | } 21 | &.active, 22 | &.active:hover, 23 | &.active:focus { 24 | color: #fff; 25 | background-color: @color; 26 | border-color: @color; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/nav-divider.less: -------------------------------------------------------------------------------- 1 | // Horizontal dividers 2 | // 3 | // Dividers (basically an hr) within dropdowns and nav lists 4 | 5 | .nav-divider(@color: #e5e5e5) { 6 | height: 1px; 7 | margin: ((@line-height-computed / 2) - 1) 0; 8 | overflow: hidden; 9 | background-color: @color; 10 | } 11 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/nav-vertical-align.less: -------------------------------------------------------------------------------- 1 | // Navbar vertical align 2 | // 3 | // Vertically center elements in the navbar. 4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. 5 | 6 | .navbar-vertical-align(@element-height) { 7 | margin-top: ((@navbar-height - @element-height) / 2); 8 | margin-bottom: ((@navbar-height - @element-height) / 2); 9 | } 10 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/opacity.less: -------------------------------------------------------------------------------- 1 | // Opacity 2 | 3 | .opacity(@opacity) { 4 | opacity: @opacity; 5 | // IE8 filter 6 | @opacity-ie: (@opacity * 100); 7 | filter: ~"alpha(opacity=@{opacity-ie})"; 8 | } 9 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/pagination.less: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | .pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) { 4 | > li { 5 | > a, 6 | > span { 7 | padding: @padding-vertical @padding-horizontal; 8 | font-size: @font-size; 9 | line-height: @line-height; 10 | } 11 | &:first-child { 12 | > a, 13 | > span { 14 | .border-left-radius(@border-radius); 15 | } 16 | } 17 | &:last-child { 18 | > a, 19 | > span { 20 | .border-right-radius(@border-radius); 21 | } 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/panels.less: -------------------------------------------------------------------------------- 1 | // Panels 2 | 3 | .panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) { 4 | border-color: @border; 5 | 6 | & > .panel-heading { 7 | color: @heading-text-color; 8 | background-color: @heading-bg-color; 9 | border-color: @heading-border; 10 | 11 | + .panel-collapse > .panel-body { 12 | border-top-color: @border; 13 | } 14 | .badge { 15 | color: @heading-bg-color; 16 | background-color: @heading-text-color; 17 | } 18 | } 19 | & > .panel-footer { 20 | + .panel-collapse > .panel-body { 21 | border-bottom-color: @border; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/progress-bar.less: -------------------------------------------------------------------------------- 1 | // Progress bars 2 | 3 | .progress-bar-variant(@color) { 4 | background-color: @color; 5 | 6 | // Deprecated parent class requirement as of v3.2.0 7 | .progress-striped & { 8 | #gradient > .striped(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/reset-filter.less: -------------------------------------------------------------------------------- 1 | // Reset filters for IE 2 | // 3 | // When you need to remove a gradient background, do not forget to use this to reset 4 | // the IE filter for IE9 and below. 5 | 6 | .reset-filter() { 7 | filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)")); 8 | } 9 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/reset-text.less: -------------------------------------------------------------------------------- 1 | .reset-text() { 2 | font-family: @font-family-base; 3 | // We deliberately do NOT reset font-size. 4 | font-style: normal; 5 | font-weight: normal; 6 | letter-spacing: normal; 7 | line-break: auto; 8 | line-height: @line-height-base; 9 | text-align: left; // Fallback for where `start` is not supported 10 | text-align: start; 11 | text-decoration: none; 12 | text-shadow: none; 13 | text-transform: none; 14 | white-space: normal; 15 | word-break: normal; 16 | word-spacing: normal; 17 | word-wrap: normal; 18 | } 19 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/resize.less: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | .resizable(@direction) { 4 | resize: @direction; // Options: horizontal, vertical, both 5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 6 | } 7 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/responsive-visibility.less: -------------------------------------------------------------------------------- 1 | // Responsive utilities 2 | 3 | // 4 | // More easily include all the states for responsive-utilities.less. 5 | .responsive-visibility() { 6 | display: block !important; 7 | table& { display: table !important; } 8 | tr& { display: table-row !important; } 9 | th&, 10 | td& { display: table-cell !important; } 11 | } 12 | 13 | .responsive-invisibility() { 14 | display: none !important; 15 | } 16 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/size.less: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | .size(@width; @height) { 4 | width: @width; 5 | height: @height; 6 | } 7 | 8 | .square(@size) { 9 | .size(@size; @size); 10 | } 11 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/tab-focus.less: -------------------------------------------------------------------------------- 1 | // WebKit-style focus 2 | 3 | .tab-focus() { 4 | // WebKit-specific. Other browsers will keep their default outline style. 5 | // (Initially tried to also force default via `outline: initial`, 6 | // but that seems to erroneously remove the outline in Firefox altogether.) 7 | outline: 5px auto -webkit-focus-ring-color; 8 | outline-offset: -2px; 9 | } 10 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/table-row.less: -------------------------------------------------------------------------------- 1 | // Tables 2 | 3 | .table-row-variant(@state; @background) { 4 | // Exact selectors below required to override `.table-striped` and prevent 5 | // inheritance to nested tables. 6 | .table > thead > tr, 7 | .table > tbody > tr, 8 | .table > tfoot > tr { 9 | > td.@{state}, 10 | > th.@{state}, 11 | &.@{state} > td, 12 | &.@{state} > th { 13 | background-color: @background; 14 | } 15 | } 16 | 17 | // Hover states for `.table-hover` 18 | // Note: this is not available for cells or rows within `thead` or `tfoot`. 19 | .table-hover > tbody > tr { 20 | > td.@{state}:hover, 21 | > th.@{state}:hover, 22 | &.@{state}:hover > td, 23 | &:hover > .@{state}, 24 | &.@{state}:hover > th { 25 | background-color: darken(@background, 5%); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/text-emphasis.less: -------------------------------------------------------------------------------- 1 | // Typography 2 | 3 | .text-emphasis-variant(@color) { 4 | color: @color; 5 | a&:hover, 6 | a&:focus { 7 | color: darken(@color, 10%); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/mixins/text-overflow.less: -------------------------------------------------------------------------------- 1 | // Text overflow 2 | // Requires inline-block or block for proper styling 3 | 4 | .text-overflow() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/pager.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pager pagination 3 | // -------------------------------------------------- 4 | 5 | 6 | .pager { 7 | padding-left: 0; 8 | margin: @line-height-computed 0; 9 | list-style: none; 10 | text-align: center; 11 | &:extend(.clearfix all); 12 | li { 13 | display: inline; 14 | > a, 15 | > span { 16 | display: inline-block; 17 | padding: 5px 14px; 18 | background-color: @pager-bg; 19 | border: 1px solid @pager-border; 20 | border-radius: @pager-border-radius; 21 | } 22 | 23 | > a:hover, 24 | > a:focus { 25 | text-decoration: none; 26 | background-color: @pager-hover-bg; 27 | } 28 | } 29 | 30 | .next { 31 | > a, 32 | > span { 33 | float: right; 34 | } 35 | } 36 | 37 | .previous { 38 | > a, 39 | > span { 40 | float: left; 41 | } 42 | } 43 | 44 | .disabled { 45 | > a, 46 | > a:hover, 47 | > a:focus, 48 | > span { 49 | color: @pager-disabled-color; 50 | background-color: @pager-bg; 51 | cursor: @cursor-disabled; 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/responsive-embed.less: -------------------------------------------------------------------------------- 1 | // Embeds responsive 2 | // 3 | // Credit: Nicolas Gallagher and SUIT CSS. 4 | 5 | .embed-responsive { 6 | position: relative; 7 | display: block; 8 | height: 0; 9 | padding: 0; 10 | overflow: hidden; 11 | 12 | .embed-responsive-item, 13 | iframe, 14 | embed, 15 | object, 16 | video { 17 | position: absolute; 18 | top: 0; 19 | left: 0; 20 | bottom: 0; 21 | height: 100%; 22 | width: 100%; 23 | border: 0; 24 | } 25 | } 26 | 27 | // Modifier class for 16:9 aspect ratio 28 | .embed-responsive-16by9 { 29 | padding-bottom: 56.25%; 30 | } 31 | 32 | // Modifier class for 4:3 aspect ratio 33 | .embed-responsive-4by3 { 34 | padding-bottom: 75%; 35 | } 36 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/thumbnails.less: -------------------------------------------------------------------------------- 1 | // 2 | // Thumbnails 3 | // -------------------------------------------------- 4 | 5 | 6 | // Mixin and adjust the regular image class 7 | .thumbnail { 8 | display: block; 9 | padding: @thumbnail-padding; 10 | margin-bottom: @line-height-computed; 11 | line-height: @line-height-base; 12 | background-color: @thumbnail-bg; 13 | border: 1px solid @thumbnail-border; 14 | border-radius: @thumbnail-border-radius; 15 | .transition(border .2s ease-in-out); 16 | 17 | > img, 18 | a > img { 19 | &:extend(.img-responsive); 20 | margin-left: auto; 21 | margin-right: auto; 22 | } 23 | 24 | // Add a hover state for linked versions only 25 | a&:hover, 26 | a&:focus, 27 | a&.active { 28 | border-color: @link-color; 29 | } 30 | 31 | // Image captions 32 | .caption { 33 | padding: @thumbnail-caption-padding; 34 | color: @thumbnail-caption-color; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // Floats 7 | // ------------------------- 8 | 9 | .clearfix { 10 | .clearfix(); 11 | } 12 | .center-block { 13 | .center-block(); 14 | } 15 | .pull-right { 16 | float: right !important; 17 | } 18 | .pull-left { 19 | float: left !important; 20 | } 21 | 22 | 23 | // Toggling content 24 | // ------------------------- 25 | 26 | // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1 27 | .hide { 28 | display: none !important; 29 | } 30 | .show { 31 | display: block !important; 32 | } 33 | .invisible { 34 | visibility: hidden; 35 | } 36 | .text-hide { 37 | .text-hide(); 38 | } 39 | 40 | 41 | // Hide from screenreaders and browsers 42 | // 43 | // Credit: HTML5 Boilerplate 44 | 45 | .hidden { 46 | display: none !important; 47 | } 48 | 49 | 50 | // For Affix plugin 51 | // ------------------------- 52 | 53 | .affix { 54 | position: fixed; 55 | } 56 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/less/wells.less: -------------------------------------------------------------------------------- 1 | // 2 | // Wells 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .well { 8 | min-height: 20px; 9 | padding: 19px; 10 | margin-bottom: 20px; 11 | background-color: @well-bg; 12 | border: 1px solid @well-border; 13 | border-radius: @border-radius-base; 14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 15 | blockquote { 16 | border-color: #ddd; 17 | border-color: rgba(0,0,0,.15); 18 | } 19 | } 20 | 21 | // Sizes 22 | .well-lg { 23 | padding: 24px; 24 | border-radius: @border-radius-large; 25 | } 26 | .well-sm { 27 | padding: 9px; 28 | border-radius: @border-radius-small; 29 | } 30 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/nuget/MyGet.ps1: -------------------------------------------------------------------------------- 1 | $nuget = $env:NuGet 2 | 3 | # parse the version number out of package.json 4 | $bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version 5 | 6 | # create packages 7 | & $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion 8 | & $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion 9 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/bootstrap/package.js: -------------------------------------------------------------------------------- 1 | // package metadata file for Meteor.js 2 | 3 | /* jshint strict:false */ 4 | /* global Package:true */ 5 | 6 | Package.describe({ 7 | name: 'twbs:bootstrap', // http://atmospherejs.com/twbs/bootstrap 8 | summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.', 9 | version: '3.3.7', 10 | git: 'https://github.com/twbs/bootstrap.git' 11 | }); 12 | 13 | Package.onUse(function (api) { 14 | api.versionsFrom('METEOR@1.0'); 15 | api.use('jquery', 'client'); 16 | var assets = [ 17 | 'dist/fonts/glyphicons-halflings-regular.eot', 18 | 'dist/fonts/glyphicons-halflings-regular.svg', 19 | 'dist/fonts/glyphicons-halflings-regular.ttf', 20 | 'dist/fonts/glyphicons-halflings-regular.woff', 21 | 'dist/fonts/glyphicons-halflings-regular.woff2' 22 | ]; 23 | if (api.addAssets) { 24 | api.addAssets(assets, 'client'); 25 | } else { 26 | api.addFiles(assets, 'client', { isAsset: true }); 27 | } 28 | api.addFiles([ 29 | 'dist/css/bootstrap.css', 30 | 'dist/js/bootstrap.js' 31 | ], 'client'); 32 | }); 33 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation-unobtrusive/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-validation-unobtrusive", 3 | "version": "3.2.6", 4 | "homepage": "https://github.com/aspnet/jquery-validation-unobtrusive", 5 | "description": "Add-on to jQuery Validation to enable unobtrusive validation options in data-* attributes.", 6 | "main": [ 7 | "jquery.validate.unobtrusive.js" 8 | ], 9 | "ignore": [ 10 | "**/.*", 11 | "*.json", 12 | "*.md", 13 | "*.txt", 14 | "!LICENSE.txt", 15 | "gulpfile.js" 16 | ], 17 | "keywords": [ 18 | "jquery", 19 | "asp.net", 20 | "mvc", 21 | "validation", 22 | "unobtrusive" 23 | ], 24 | "authors": [ 25 | "Microsoft" 26 | ], 27 | "license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm", 28 | "repository": { 29 | "type": "git", 30 | "url": "git://github.com/aspnet/jquery-validation-unobtrusive.git" 31 | }, 32 | "dependencies": { 33 | "jquery-validation": ">=1.8", 34 | "jquery": ">=1.8" 35 | }, 36 | "_release": "3.2.6", 37 | "_resolution": { 38 | "type": "version", 39 | "tag": "v3.2.6", 40 | "commit": "47e82bc6cb86a05247f8c3846192228038572783" 41 | }, 42 | "_source": "https://github.com/aspnet/jquery-validation-unobtrusive.git", 43 | "_target": "3.2.6", 44 | "_originalSource": "jquery-validation-unobtrusive" 45 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation-unobtrusive/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) .NET Foundation. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. 13 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation-unobtrusive/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-validation-unobtrusive", 3 | "version": "3.2.6", 4 | "homepage": "https://github.com/aspnet/jquery-validation-unobtrusive", 5 | "description": "Add-on to jQuery Validation to enable unobtrusive validation options in data-* attributes.", 6 | "main": [ 7 | "jquery.validate.unobtrusive.js" 8 | ], 9 | "ignore": [ 10 | "**/.*", 11 | "*.json", 12 | "*.md", 13 | "*.txt", 14 | "!LICENSE.txt", 15 | "gulpfile.js" 16 | ], 17 | "keywords": [ 18 | "jquery", 19 | "asp.net", 20 | "mvc", 21 | "validation", 22 | "unobtrusive" 23 | ], 24 | "authors": [ 25 | "Microsoft" 26 | ], 27 | "license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm", 28 | "repository": { 29 | "type": "git", 30 | "url": "git://github.com/aspnet/jquery-validation-unobtrusive.git" 31 | }, 32 | "dependencies": { 33 | "jquery-validation": ">=1.8", 34 | "jquery": ">=1.8" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-validation", 3 | "homepage": "http://jqueryvalidation.org/", 4 | "repository": { 5 | "type": "git", 6 | "url": "git://github.com/jzaefferer/jquery-validation.git" 7 | }, 8 | "authors": [ 9 | "Jörn Zaefferer " 10 | ], 11 | "description": "Form validation made easy", 12 | "main": "dist/jquery.validate.js", 13 | "keywords": [ 14 | "forms", 15 | "validation", 16 | "validate" 17 | ], 18 | "license": "MIT", 19 | "ignore": [ 20 | "**/.*", 21 | "node_modules", 22 | "bower_components", 23 | "test", 24 | "demo", 25 | "lib" 26 | ], 27 | "dependencies": { 28 | "jquery": ">= 1.7.2" 29 | }, 30 | "version": "1.14.0", 31 | "_release": "1.14.0", 32 | "_resolution": { 33 | "type": "version", 34 | "tag": "1.14.0", 35 | "commit": "c1343fb9823392aa9acbe1c3ffd337b8c92fed48" 36 | }, 37 | "_source": "https://github.com/jzaefferer/jquery-validation.git", 38 | "_target": "1.14.0", 39 | "_originalSource": "jquery-validation" 40 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | ===================== 3 | 4 | Copyright Jörn Zaefferer 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-validation", 3 | "homepage": "http://jqueryvalidation.org/", 4 | "repository": { 5 | "type": "git", 6 | "url": "git://github.com/jzaefferer/jquery-validation.git" 7 | }, 8 | "authors": [ 9 | "Jörn Zaefferer " 10 | ], 11 | "description": "Form validation made easy", 12 | "main": "dist/jquery.validate.js", 13 | "keywords": [ 14 | "forms", 15 | "validation", 16 | "validate" 17 | ], 18 | "license": "MIT", 19 | "ignore": [ 20 | "**/.*", 21 | "node_modules", 22 | "bower_components", 23 | "test", 24 | "demo", 25 | "lib" 26 | ], 27 | "dependencies": { 28 | "jquery": ">= 1.7.2" 29 | }, 30 | "version": "1.14.0" 31 | } 32 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/build/release.js: -------------------------------------------------------------------------------- 1 | /* Release checklist 2 | - Run `git changelog` and edit to match previous output (this should make use of jquey-release instead) 3 | - pull latest https://github.com/jquery/jquery-release 4 | - run 5 | node release.js --remote=jzaefferer/jquery-validation 6 | - Wait a while, verify and confirm each step 7 | - 8 | */ 9 | 10 | /*jshint node:true */ 11 | module.exports = function( Release ) { 12 | 13 | function today() { 14 | return new Date().toISOString().replace(/T.+/, ""); 15 | } 16 | 17 | // also add version property to this 18 | Release._jsonFiles.push( "validation.jquery.json" ); 19 | 20 | Release.define({ 21 | issueTracker: "github", 22 | changelogShell: function() { 23 | return Release.newVersion + " / " + today() + "\n==================\n\n"; 24 | }, 25 | 26 | generateArtifacts: function( done ) { 27 | Release.exec( "grunt release", "Grunt command failed" ); 28 | done([ 29 | "dist/additional-methods.js", 30 | "dist/additional-methods.min.js", 31 | "dist/jquery.validate.js", 32 | "dist/jquery.validate.min.js" 33 | ]); 34 | }, 35 | 36 | // disable CDN publishing 37 | cdnPublish: false, 38 | 39 | // disable authors check 40 | _checkAuthorsTxt: function() {} 41 | }); 42 | 43 | }; 44 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/accept.js: -------------------------------------------------------------------------------- 1 | // Accept a value from a file input based on a required mimetype 2 | $.validator.addMethod("accept", function(value, element, param) { 3 | // Split mime on commas in case we have multiple types we can accept 4 | var typeParam = typeof param === "string" ? param.replace(/\s/g, "").replace(/,/g, "|") : "image/*", 5 | optionalValue = this.optional(element), 6 | i, file; 7 | 8 | // Element is optional 9 | if (optionalValue) { 10 | return optionalValue; 11 | } 12 | 13 | if ($(element).attr("type") === "file") { 14 | // If we are using a wildcard, make it regex friendly 15 | typeParam = typeParam.replace(/\*/g, ".*"); 16 | 17 | // Check if the element has a FileList before checking each file 18 | if (element.files && element.files.length) { 19 | for (i = 0; i < element.files.length; i++) { 20 | file = element.files[i]; 21 | 22 | // Grab the mimetype from the loaded file, verify it matches 23 | if (!file.type.match(new RegExp( "\\.?(" + typeParam + ")$", "i"))) { 24 | return false; 25 | } 26 | } 27 | } 28 | } 29 | 30 | // Either return true because we've validated each file, or because the 31 | // browser does not support element.files and the FileList feature 32 | return true; 33 | }, $.validator.format("Please enter a value with a valid mimetype.")); 34 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/additional.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | function stripHtml(value) { 4 | // remove html tags and space chars 5 | return value.replace(/<.[^<>]*?>/g, " ").replace(/ | /gi, " ") 6 | // remove punctuation 7 | .replace(/[.(),;:!?%#$'\"_+=\/\-“”’]*/g, ""); 8 | } 9 | 10 | $.validator.addMethod("maxWords", function(value, element, params) { 11 | return this.optional(element) || stripHtml(value).match(/\b\w+\b/g).length <= params; 12 | }, $.validator.format("Please enter {0} words or less.")); 13 | 14 | $.validator.addMethod("minWords", function(value, element, params) { 15 | return this.optional(element) || stripHtml(value).match(/\b\w+\b/g).length >= params; 16 | }, $.validator.format("Please enter at least {0} words.")); 17 | 18 | $.validator.addMethod("rangeWords", function(value, element, params) { 19 | var valueStripped = stripHtml(value), 20 | regex = /\b\w+\b/g; 21 | return this.optional(element) || valueStripped.match(regex).length >= params[0] && valueStripped.match(regex).length <= params[1]; 22 | }, $.validator.format("Please enter between {0} and {1} words.")); 23 | 24 | }()); 25 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/alphanumeric.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("alphanumeric", function(value, element) { 2 | return this.optional(element) || /^\w+$/i.test(value); 3 | }, "Letters, numbers, and underscores only please"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/bankaccountNL.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Dutch bank account numbers (not 'giro' numbers) have 9 digits 3 | * and pass the '11 check'. 4 | * We accept the notation with spaces, as that is common. 5 | * acceptable: 123456789 or 12 34 56 789 6 | */ 7 | $.validator.addMethod("bankaccountNL", function(value, element) { 8 | if (this.optional(element)) { 9 | return true; 10 | } 11 | if (!(/^[0-9]{9}|([0-9]{2} ){3}[0-9]{3}$/.test(value))) { 12 | return false; 13 | } 14 | // now '11 check' 15 | var account = value.replace(/ /g, ""), // remove spaces 16 | sum = 0, 17 | len = account.length, 18 | pos, factor, digit; 19 | for ( pos = 0; pos < len; pos++ ) { 20 | factor = len - pos; 21 | digit = account.substring(pos, pos + 1); 22 | sum = sum + factor * digit; 23 | } 24 | return sum % 11 === 0; 25 | }, "Please specify a valid bank account number"); 26 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/bankorgiroaccountNL.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("bankorgiroaccountNL", function(value, element) { 2 | return this.optional(element) || 3 | ($.validator.methods.bankaccountNL.call(this, value, element)) || 4 | ($.validator.methods.giroaccountNL.call(this, value, element)); 5 | }, "Please specify a valid bank or giro account number"); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/bic.js: -------------------------------------------------------------------------------- 1 | /** 2 | * BIC is the business identifier code (ISO 9362). This BIC check is not a guarantee for authenticity. 3 | * 4 | * BIC pattern: BBBBCCLLbbb (8 or 11 characters long; bbb is optional) 5 | * 6 | * BIC definition in detail: 7 | * - First 4 characters - bank code (only letters) 8 | * - Next 2 characters - ISO 3166-1 alpha-2 country code (only letters) 9 | * - Next 2 characters - location code (letters and digits) 10 | * a. shall not start with '0' or '1' 11 | * b. second character must be a letter ('O' is not allowed) or one of the following digits ('0' for test (therefore not allowed), '1' for passive participant and '2' for active participant) 12 | * - Last 3 characters - branch code, optional (shall not start with 'X' except in case of 'XXX' for primary office) (letters and digits) 13 | */ 14 | $.validator.addMethod("bic", function(value, element) { 15 | return this.optional( element ) || /^([A-Z]{6}[A-Z2-9][A-NP-Z1-2])(X{3}|[A-WY-Z0-9][A-Z0-9]{2})?$/.test( value ); 16 | }, "Please specify a valid BIC code"); 17 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/dateFA.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("dateFA", function(value, element) { 2 | return this.optional(element) || /^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$/.test(value); 3 | }, $.validator.messages.date); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/dateNL.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("dateNL", function(value, element) { 2 | return this.optional(element) || /^(0?[1-9]|[12]\d|3[01])[\.\/\-](0?[1-9]|1[012])[\.\/\-]([12]\d)?(\d\d)$/.test(value); 3 | }, $.validator.messages.date); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/extension.js: -------------------------------------------------------------------------------- 1 | // Older "accept" file extension method. Old docs: http://docs.jquery.com/Plugins/Validation/Methods/accept 2 | $.validator.addMethod("extension", function(value, element, param) { 3 | param = typeof param === "string" ? param.replace(/,/g, "|") : "png|jpe?g|gif"; 4 | return this.optional(element) || value.match(new RegExp("\\.(" + param + ")$", "i")); 5 | }, $.validator.format("Please enter a value with a valid extension.")); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/giroaccountNL.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Dutch giro account numbers (not bank numbers) have max 7 digits 3 | */ 4 | $.validator.addMethod("giroaccountNL", function(value, element) { 5 | return this.optional(element) || /^[0-9]{1,7}$/.test(value); 6 | }, "Please specify a valid giro account number"); 7 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/integer.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("integer", function(value, element) { 2 | return this.optional(element) || /^-?\d+$/.test(value); 3 | }, "A positive or negative non-decimal number please"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/ipv4.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("ipv4", function(value, element) { 2 | return this.optional(element) || /^(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)$/i.test(value); 3 | }, "Please enter a valid IP v4 address."); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/ipv6.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("ipv6", function(value, element) { 2 | return this.optional(element) || /^((([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}:[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(([0-9A-Fa-f]{1,4}:){0,5}:((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})|(::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,7}:))$/i.test(value); 3 | }, "Please enter a valid IP v6 address."); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/lettersonly.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("lettersonly", function(value, element) { 2 | return this.optional(element) || /^[a-z]+$/i.test(value); 3 | }, "Letters only please"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/letterswithbasicpunc.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("letterswithbasicpunc", function(value, element) { 2 | return this.optional(element) || /^[a-z\-.,()'"\s]+$/i.test(value); 3 | }, "Letters or punctuation only please"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/mobileNL.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("mobileNL", function(value, element) { 2 | return this.optional(element) || /^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)6((\s|\s?\-\s?)?[0-9]){8}$/.test(value); 3 | }, "Please specify a valid mobile number"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/mobileUK.js: -------------------------------------------------------------------------------- 1 | /* For UK phone functions, do the following server side processing: 2 | * Compare original input with this RegEx pattern: 3 | * ^\(?(?:(?:00\)?[\s\-]?\(?|\+)(44)\)?[\s\-]?\(?(?:0\)?[\s\-]?\(?)?|0)([1-9]\d{1,4}\)?[\s\d\-]+)$ 4 | * Extract $1 and set $prefix to '+44' if $1 is '44', otherwise set $prefix to '0' 5 | * Extract $2 and remove hyphens, spaces and parentheses. Phone number is combined $prefix and $2. 6 | * A number of very detailed GB telephone number RegEx patterns can also be found at: 7 | * http://www.aa-asterisk.org.uk/index.php/Regular_Expressions_for_Validating_and_Formatting_GB_Telephone_Numbers 8 | */ 9 | $.validator.addMethod("mobileUK", function(phone_number, element) { 10 | phone_number = phone_number.replace(/\(|\)|\s+|-/g, ""); 11 | return this.optional(element) || phone_number.length > 9 && 12 | phone_number.match(/^(?:(?:(?:00\s?|\+)44\s?|0)7(?:[1345789]\d{2}|624)\s?\d{3}\s?\d{3})$/); 13 | }, "Please specify a valid mobile number"); 14 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/nieES.js: -------------------------------------------------------------------------------- 1 | /* 2 | * The número de identidad de extranjero ( NIE )is a code used to identify the non-nationals in Spain 3 | */ 4 | $.validator.addMethod( "nieES", function( value ) { 5 | "use strict"; 6 | 7 | value = value.toUpperCase(); 8 | 9 | // Basic format test 10 | if ( !value.match( "((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)" ) ) { 11 | return false; 12 | } 13 | 14 | // Test NIE 15 | //T 16 | if ( /^[T]{1}/.test( value ) ) { 17 | return ( value[ 8 ] === /^[T]{1}[A-Z0-9]{8}$/.test( value ) ); 18 | } 19 | 20 | //XYZ 21 | if ( /^[XYZ]{1}/.test( value ) ) { 22 | return ( 23 | value[ 8 ] === "TRWAGMYFPDXBNJZSQVHLCKE".charAt( 24 | value.replace( "X", "0" ) 25 | .replace( "Y", "1" ) 26 | .replace( "Z", "2" ) 27 | .substring( 0, 8 ) % 23 28 | ) 29 | ); 30 | } 31 | 32 | return false; 33 | 34 | }, "Please specify a valid NIE number." ); 35 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/nifES.js: -------------------------------------------------------------------------------- 1 | /* 2 | * The Número de Identificación Fiscal ( NIF ) is the way tax identification used in Spain for individuals 3 | */ 4 | $.validator.addMethod( "nifES", function( value ) { 5 | "use strict"; 6 | 7 | value = value.toUpperCase(); 8 | 9 | // Basic format test 10 | if ( !value.match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)") ) { 11 | return false; 12 | } 13 | 14 | // Test NIF 15 | if ( /^[0-9]{8}[A-Z]{1}$/.test( value ) ) { 16 | return ( "TRWAGMYFPDXBNJZSQVHLCKE".charAt( value.substring( 8, 0 ) % 23 ) === value.charAt( 8 ) ); 17 | } 18 | // Test specials NIF (starts with K, L or M) 19 | if ( /^[KLM]{1}/.test( value ) ) { 20 | return ( value[ 8 ] === String.fromCharCode( 64 ) ); 21 | } 22 | 23 | return false; 24 | 25 | }, "Please specify a valid NIF number." ); 26 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/notEqualTo.js: -------------------------------------------------------------------------------- 1 | jQuery.validator.addMethod( "notEqualTo", function( value, element, param ) { 2 | return this.optional(element) || !$.validator.methods.equalTo.call( this, value, element, param ); 3 | }, "Please enter a different value, values must not be the same." ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/nowhitespace.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("nowhitespace", function(value, element) { 2 | return this.optional(element) || /^\S+$/i.test(value); 3 | }, "No white space please"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/pattern.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Return true if the field value matches the given format RegExp 3 | * 4 | * @example $.validator.methods.pattern("AR1004",element,/^AR\d{4}$/) 5 | * @result true 6 | * 7 | * @example $.validator.methods.pattern("BR1004",element,/^AR\d{4}$/) 8 | * @result false 9 | * 10 | * @name $.validator.methods.pattern 11 | * @type Boolean 12 | * @cat Plugins/Validate/Methods 13 | */ 14 | $.validator.addMethod("pattern", function(value, element, param) { 15 | if (this.optional(element)) { 16 | return true; 17 | } 18 | if (typeof param === "string") { 19 | param = new RegExp("^(?:" + param + ")$"); 20 | } 21 | return param.test(value); 22 | }, "Invalid format."); 23 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/phoneNL.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Dutch phone numbers have 10 digits (or 11 and start with +31). 3 | */ 4 | $.validator.addMethod("phoneNL", function(value, element) { 5 | return this.optional(element) || /^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9]){8}$/.test(value); 6 | }, "Please specify a valid phone number."); 7 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/phoneUK.js: -------------------------------------------------------------------------------- 1 | /* For UK phone functions, do the following server side processing: 2 | * Compare original input with this RegEx pattern: 3 | * ^\(?(?:(?:00\)?[\s\-]?\(?|\+)(44)\)?[\s\-]?\(?(?:0\)?[\s\-]?\(?)?|0)([1-9]\d{1,4}\)?[\s\d\-]+)$ 4 | * Extract $1 and set $prefix to '+44' if $1 is '44', otherwise set $prefix to '0' 5 | * Extract $2 and remove hyphens, spaces and parentheses. Phone number is combined $prefix and $2. 6 | * A number of very detailed GB telephone number RegEx patterns can also be found at: 7 | * http://www.aa-asterisk.org.uk/index.php/Regular_Expressions_for_Validating_and_Formatting_GB_Telephone_Numbers 8 | */ 9 | $.validator.addMethod("phoneUK", function(phone_number, element) { 10 | phone_number = phone_number.replace(/\(|\)|\s+|-/g, ""); 11 | return this.optional(element) || phone_number.length > 9 && 12 | phone_number.match(/^(?:(?:(?:00\s?|\+)44\s?)|(?:\(?0))(?:\d{2}\)?\s?\d{4}\s?\d{4}|\d{3}\)?\s?\d{3}\s?\d{3,4}|\d{4}\)?\s?(?:\d{5}|\d{3}\s?\d{3})|\d{5}\)?\s?\d{4,5})$/); 13 | }, "Please specify a valid phone number"); 14 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/phoneUS.js: -------------------------------------------------------------------------------- 1 | /** 2 | * matches US phone number format 3 | * 4 | * where the area code may not start with 1 and the prefix may not start with 1 5 | * allows '-' or ' ' as a separator and allows parens around area code 6 | * some people may want to put a '1' in front of their number 7 | * 8 | * 1(212)-999-2345 or 9 | * 212 999 2344 or 10 | * 212-999-0983 11 | * 12 | * but not 13 | * 111-123-5434 14 | * and not 15 | * 212 123 4567 16 | */ 17 | $.validator.addMethod("phoneUS", function(phone_number, element) { 18 | phone_number = phone_number.replace(/\s+/g, ""); 19 | return this.optional(element) || phone_number.length > 9 && 20 | phone_number.match(/^(\+?1-?)?(\([2-9]([02-9]\d|1[02-9])\)|[2-9]([02-9]\d|1[02-9]))-?[2-9]([02-9]\d|1[02-9])-?\d{4}$/); 21 | }, "Please specify a valid phone number"); 22 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/phonesUK.js: -------------------------------------------------------------------------------- 1 | /* For UK phone functions, do the following server side processing: 2 | * Compare original input with this RegEx pattern: 3 | * ^\(?(?:(?:00\)?[\s\-]?\(?|\+)(44)\)?[\s\-]?\(?(?:0\)?[\s\-]?\(?)?|0)([1-9]\d{1,4}\)?[\s\d\-]+)$ 4 | * Extract $1 and set $prefix to '+44' if $1 is '44', otherwise set $prefix to '0' 5 | * Extract $2 and remove hyphens, spaces and parentheses. Phone number is combined $prefix and $2. 6 | * A number of very detailed GB telephone number RegEx patterns can also be found at: 7 | * http://www.aa-asterisk.org.uk/index.php/Regular_Expressions_for_Validating_and_Formatting_GB_Telephone_Numbers 8 | */ 9 | //Matches UK landline + mobile, accepting only 01-3 for landline or 07 for mobile to exclude many premium numbers 10 | $.validator.addMethod("phonesUK", function(phone_number, element) { 11 | phone_number = phone_number.replace(/\(|\)|\s+|-/g, ""); 12 | return this.optional(element) || phone_number.length > 9 && 13 | phone_number.match(/^(?:(?:(?:00\s?|\+)44\s?|0)(?:1\d{8,9}|[23]\d{9}|7(?:[1345789]\d{8}|624\d{6})))$/); 14 | }, "Please specify a valid uk phone number"); 15 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/postalCodeCA.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Matches a valid Canadian Postal Code 3 | * 4 | * @example jQuery.validator.methods.postalCodeCA( "H0H 0H0", element ) 5 | * @result true 6 | * 7 | * @example jQuery.validator.methods.postalCodeCA( "H0H0H0", element ) 8 | * @result false 9 | * 10 | * @name jQuery.validator.methods.postalCodeCA 11 | * @type Boolean 12 | * @cat Plugins/Validate/Methods 13 | */ 14 | $.validator.addMethod( "postalCodeCA", function( value, element ) { 15 | return this.optional( element ) || /^[ABCEGHJKLMNPRSTVXY]\d[A-Z] \d[A-Z]\d$/.test( value ); 16 | }, "Please specify a valid postal code" ); 17 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/postalcodeBR.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Valida CEPs do brasileiros: 3 | * 4 | * Formatos aceitos: 5 | * 99999-999 6 | * 99.999-999 7 | * 99999999 8 | */ 9 | $.validator.addMethod("postalcodeBR", function(cep_value, element) { 10 | return this.optional(element) || /^\d{2}.\d{3}-\d{3}?$|^\d{5}-?\d{3}?$/.test( cep_value ); 11 | }, "Informe um CEP válido."); 12 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/postalcodeIT.js: -------------------------------------------------------------------------------- 1 | /* Matches Italian postcode (CAP) */ 2 | $.validator.addMethod("postalcodeIT", function(value, element) { 3 | return this.optional(element) || /^\d{5}$/.test(value); 4 | }, "Please specify a valid postal code"); 5 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/postalcodeNL.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("postalcodeNL", function(value, element) { 2 | return this.optional(element) || /^[1-9][0-9]{3}\s?[a-zA-Z]{2}$/.test(value); 3 | }, "Please specify a valid postal code"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/postcodeUK.js: -------------------------------------------------------------------------------- 1 | // Matches UK postcode. Does not match to UK Channel Islands that have their own postcodes (non standard UK) 2 | $.validator.addMethod("postcodeUK", function(value, element) { 3 | return this.optional(element) || /^((([A-PR-UWYZ][0-9])|([A-PR-UWYZ][0-9][0-9])|([A-PR-UWYZ][A-HK-Y][0-9])|([A-PR-UWYZ][A-HK-Y][0-9][0-9])|([A-PR-UWYZ][0-9][A-HJKSTUW])|([A-PR-UWYZ][A-HK-Y][0-9][ABEHMNPRVWXY]))\s?([0-9][ABD-HJLNP-UW-Z]{2})|(GIR)\s?(0AA))$/i.test(value); 4 | }, "Please specify a valid UK postcode"); 5 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/strippedminlength.js: -------------------------------------------------------------------------------- 1 | // TODO check if value starts with <, otherwise don't try stripping anything 2 | $.validator.addMethod("strippedminlength", function(value, element, param) { 3 | return $(value).text().length >= param; 4 | }, $.validator.format("Please enter at least {0} characters")); 5 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/time.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("time", function(value, element) { 2 | return this.optional(element) || /^([01]\d|2[0-3]|[0-9])(:[0-5]\d){1,2}$/.test(value); 3 | }, "Please enter a valid time, between 00:00 and 23:59"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/time12h.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("time12h", function(value, element) { 2 | return this.optional(element) || /^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(value); 3 | }, "Please enter a valid time in 12-hour am/pm format"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/zipcodeUS.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("zipcodeUS", function(value, element) { 2 | return this.optional(element) || /^\d{5}(-\d{4})?$/.test(value); 3 | }, "The specified US ZIP Code is invalid"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/additional/ziprange.js: -------------------------------------------------------------------------------- 1 | $.validator.addMethod("ziprange", function(value, element) { 2 | return this.optional(element) || /^90[2-5]\d\{2\}-\d{4}$/.test(value); 3 | }, "Your ZIP-code must be in the range 902xx-xxxx to 905xx-xxxx"); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/ajax.js: -------------------------------------------------------------------------------- 1 | // ajax mode: abort 2 | // usage: $.ajax({ mode: "abort"[, port: "uniqueport"]}); 3 | // if mode:"abort" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort() 4 | 5 | var pendingRequests = {}, 6 | ajax; 7 | // Use a prefilter if available (1.5+) 8 | if ( $.ajaxPrefilter ) { 9 | $.ajaxPrefilter(function( settings, _, xhr ) { 10 | var port = settings.port; 11 | if ( settings.mode === "abort" ) { 12 | if ( pendingRequests[port] ) { 13 | pendingRequests[port].abort(); 14 | } 15 | pendingRequests[port] = xhr; 16 | } 17 | }); 18 | } else { 19 | // Proxy ajax 20 | ajax = $.ajax; 21 | $.ajax = function( settings ) { 22 | var mode = ( "mode" in settings ? settings : $.ajaxSettings ).mode, 23 | port = ( "port" in settings ? settings : $.ajaxSettings ).port; 24 | if ( mode === "abort" ) { 25 | if ( pendingRequests[port] ) { 26 | pendingRequests[port].abort(); 27 | } 28 | pendingRequests[port] = ajax.apply(this, arguments); 29 | return pendingRequests[port]; 30 | } 31 | return ajax.apply(this, arguments); 32 | }; 33 | } 34 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_ar.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: AR (Arabic; العربية) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "هذا الحقل إلزامي", 7 | remote: "يرجى تصحيح هذا الحقل للمتابعة", 8 | email: "رجاء إدخال عنوان بريد إلكتروني صحيح", 9 | url: "رجاء إدخال عنوان موقع إلكتروني صحيح", 10 | date: "رجاء إدخال تاريخ صحيح", 11 | dateISO: "رجاء إدخال تاريخ صحيح (ISO)", 12 | number: "رجاء إدخال عدد بطريقة صحيحة", 13 | digits: "رجاء إدخال أرقام فقط", 14 | creditcard: "رجاء إدخال رقم بطاقة ائتمان صحيح", 15 | equalTo: "رجاء إدخال نفس القيمة", 16 | extension: "رجاء إدخال ملف بامتداد موافق عليه", 17 | maxlength: $.validator.format("الحد الأقصى لعدد الحروف هو {0}"), 18 | minlength: $.validator.format("الحد الأدنى لعدد الحروف هو {0}"), 19 | rangelength: $.validator.format("عدد الحروف يجب أن يكون بين {0} و {1}"), 20 | range: $.validator.format("رجاء إدخال عدد قيمته بين {0} و {1}"), 21 | max: $.validator.format("رجاء إدخال عدد أقل من أو يساوي (0}"), 22 | min: $.validator.format("رجاء إدخال عدد أكبر من أو يساوي (0}") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_bg.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: BG (Bulgarian; български език) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Полето е задължително.", 7 | remote: "Моля, въведете правилната стойност.", 8 | email: "Моля, въведете валиден email.", 9 | url: "Моля, въведете валидно URL.", 10 | date: "Моля, въведете валидна дата.", 11 | dateISO: "Моля, въведете валидна дата (ISO).", 12 | number: "Моля, въведете валиден номер.", 13 | digits: "Моля, въведете само цифри.", 14 | creditcard: "Моля, въведете валиден номер на кредитна карта.", 15 | equalTo: "Моля, въведете същата стойност отново.", 16 | extension: "Моля, въведете стойност с валидно разширение.", 17 | maxlength: $.validator.format("Моля, въведете повече от {0} символа."), 18 | minlength: $.validator.format("Моля, въведете поне {0} символа."), 19 | rangelength: $.validator.format("Моля, въведете стойност с дължина между {0} и {1} символа."), 20 | range: $.validator.format("Моля, въведете стойност между {0} и {1}."), 21 | max: $.validator.format("Моля, въведете стойност по-малка или равна на {0}."), 22 | min: $.validator.format("Моля, въведете стойност по-голяма или равна на {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_bn_BD.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: bn_BD (Bengali, Bangladesh) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "এই তথ্যটি আবশ্যক।", 7 | remote: "এই তথ্যটি ঠিক করুন।", 8 | email: "অনুগ্রহ করে একটি সঠিক মেইল ঠিকানা লিখুন।", 9 | url: "অনুগ্রহ করে একটি সঠিক লিঙ্ক দিন।", 10 | date: "তারিখ সঠিক নয়।", 11 | dateISO: "অনুগ্রহ করে একটি সঠিক (ISO) তারিখ লিখুন।", 12 | number: "অনুগ্রহ করে একটি সঠিক নম্বর লিখুন।", 13 | digits: "এখানে শুধু সংখ্যা ব্যবহার করা যাবে।", 14 | creditcard: "অনুগ্রহ করে একটি ক্রেডিট কার্ডের সঠিক নম্বর লিখুন।", 15 | equalTo: "একই মান আবার লিখুন।", 16 | extension: "সঠিক ধরনের ফাইল আপলোড করুন।", 17 | maxlength: $.validator.format("{0}টির বেশি অক্ষর লেখা যাবে না।"), 18 | minlength: $.validator.format("{0}টির কম অক্ষর লেখা যাবে না।"), 19 | rangelength: $.validator.format("{0} থেকে {1} টি অক্ষর সম্বলিত মান লিখুন।"), 20 | range: $.validator.format("{0} থেকে {1} এর মধ্যে একটি মান ব্যবহার করুন।"), 21 | max: $.validator.format("অনুগ্রহ করে {0} বা তার চাইতে কম মান ব্যবহার করুন।"), 22 | min: $.validator.format("অনুগ্রহ করে {0} বা তার চাইতে বেশি মান ব্যবহার করুন।") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_ca.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: CA (Catalan; català) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Aquest camp és obligatori.", 7 | remote: "Si us plau, omple aquest camp.", 8 | email: "Si us plau, escriu una adreça de correu-e vàlida", 9 | url: "Si us plau, escriu una URL vàlida.", 10 | date: "Si us plau, escriu una data vàlida.", 11 | dateISO: "Si us plau, escriu una data (ISO) vàlida.", 12 | number: "Si us plau, escriu un número enter vàlid.", 13 | digits: "Si us plau, escriu només dígits.", 14 | creditcard: "Si us plau, escriu un número de tarjeta vàlid.", 15 | equalTo: "Si us plau, escriu el mateix valor de nou.", 16 | extension: "Si us plau, escriu un valor amb una extensió acceptada.", 17 | maxlength: $.validator.format("Si us plau, no escriguis més de {0} caracters."), 18 | minlength: $.validator.format("Si us plau, no escriguis menys de {0} caracters."), 19 | rangelength: $.validator.format("Si us plau, escriu un valor entre {0} i {1} caracters."), 20 | range: $.validator.format("Si us plau, escriu un valor entre {0} i {1}."), 21 | max: $.validator.format("Si us plau, escriu un valor menor o igual a {0}."), 22 | min: $.validator.format("Si us plau, escriu un valor major o igual a {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_cs.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: CS (Czech; čeština, český jazyk) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Tento údaj je povinný.", 7 | remote: "Prosím, opravte tento údaj.", 8 | email: "Prosím, zadejte platný e-mail.", 9 | url: "Prosím, zadejte platné URL.", 10 | date: "Prosím, zadejte platné datum.", 11 | dateISO: "Prosím, zadejte platné datum (ISO).", 12 | number: "Prosím, zadejte číslo.", 13 | digits: "Prosím, zadávejte pouze číslice.", 14 | creditcard: "Prosím, zadejte číslo kreditní karty.", 15 | equalTo: "Prosím, zadejte znovu stejnou hodnotu.", 16 | extension: "Prosím, zadejte soubor se správnou příponou.", 17 | maxlength: $.validator.format("Prosím, zadejte nejvíce {0} znaků."), 18 | minlength: $.validator.format("Prosím, zadejte nejméně {0} znaků."), 19 | rangelength: $.validator.format("Prosím, zadejte od {0} do {1} znaků."), 20 | range: $.validator.format("Prosím, zadejte hodnotu od {0} do {1}."), 21 | max: $.validator.format("Prosím, zadejte hodnotu menší nebo rovnu {0}."), 22 | min: $.validator.format("Prosím, zadejte hodnotu větší nebo rovnu {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_da.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: DA (Danish; dansk) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Dette felt er påkrævet.", 7 | maxlength: $.validator.format("Indtast højst {0} tegn."), 8 | minlength: $.validator.format("Indtast mindst {0} tegn."), 9 | rangelength: $.validator.format("Indtast mindst {0} og højst {1} tegn."), 10 | email: "Indtast en gyldig email-adresse.", 11 | url: "Indtast en gyldig URL.", 12 | date: "Indtast en gyldig dato.", 13 | number: "Indtast et tal.", 14 | digits: "Indtast kun cifre.", 15 | equalTo: "Indtast den samme værdi igen.", 16 | range: $.validator.format("Angiv en værdi mellem {0} og {1}."), 17 | max: $.validator.format("Angiv en værdi der højst er {0}."), 18 | min: $.validator.format("Angiv en værdi der mindst er {0}."), 19 | creditcard: "Indtast et gyldigt kreditkortnummer." 20 | }); 21 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_de.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: DE (German, Deutsch) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Dieses Feld ist ein Pflichtfeld.", 7 | maxlength: $.validator.format("Geben Sie bitte maximal {0} Zeichen ein."), 8 | minlength: $.validator.format("Geben Sie bitte mindestens {0} Zeichen ein."), 9 | rangelength: $.validator.format("Geben Sie bitte mindestens {0} und maximal {1} Zeichen ein."), 10 | email: "Geben Sie bitte eine gültige E-Mail Adresse ein.", 11 | url: "Geben Sie bitte eine gültige URL ein.", 12 | date: "Bitte geben Sie ein gültiges Datum ein.", 13 | number: "Geben Sie bitte eine Nummer ein.", 14 | digits: "Geben Sie bitte nur Ziffern ein.", 15 | equalTo: "Bitte denselben Wert wiederholen.", 16 | range: $.validator.format("Geben Sie bitte einen Wert zwischen {0} und {1} ein."), 17 | max: $.validator.format("Geben Sie bitte einen Wert kleiner oder gleich {0} ein."), 18 | min: $.validator.format("Geben Sie bitte einen Wert größer oder gleich {0} ein."), 19 | creditcard: "Geben Sie bitte eine gültige Kreditkarten-Nummer ein." 20 | }); 21 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_et.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: ET (Estonian; eesti, eesti keel) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "See väli peab olema täidetud.", 7 | maxlength: $.validator.format("Palun sisestage vähem kui {0} tähemärki."), 8 | minlength: $.validator.format("Palun sisestage vähemalt {0} tähemärki."), 9 | rangelength: $.validator.format("Palun sisestage väärtus vahemikus {0} kuni {1} tähemärki."), 10 | email: "Palun sisestage korrektne e-maili aadress.", 11 | url: "Palun sisestage korrektne URL.", 12 | date: "Palun sisestage korrektne kuupäev.", 13 | dateISO: "Palun sisestage korrektne kuupäev (YYYY-MM-DD).", 14 | number: "Palun sisestage korrektne number.", 15 | digits: "Palun sisestage ainult numbreid.", 16 | equalTo: "Palun sisestage sama väärtus uuesti.", 17 | range: $.validator.format("Palun sisestage väärtus vahemikus {0} kuni {1}."), 18 | max: $.validator.format("Palun sisestage väärtus, mis on väiksem või võrdne arvuga {0}."), 19 | min: $.validator.format("Palun sisestage väärtus, mis on suurem või võrdne arvuga {0}."), 20 | creditcard: "Palun sisestage korrektne krediitkaardi number." 21 | }); 22 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_eu.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: EU (Basque; euskara, euskera) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Eremu hau beharrezkoa da.", 7 | remote: "Mesedez, bete eremu hau.", 8 | email: "Mesedez, idatzi baliozko posta helbide bat.", 9 | url: "Mesedez, idatzi baliozko URL bat.", 10 | date: "Mesedez, idatzi baliozko data bat.", 11 | dateISO: "Mesedez, idatzi baliozko (ISO) data bat.", 12 | number: "Mesedez, idatzi baliozko zenbaki oso bat.", 13 | digits: "Mesedez, idatzi digituak soilik.", 14 | creditcard: "Mesedez, idatzi baliozko txartel zenbaki bat.", 15 | equalTo: "Mesedez, idatzi berdina berriro ere.", 16 | extension: "Mesedez, idatzi onartutako luzapena duen balio bat.", 17 | maxlength: $.validator.format("Mesedez, ez idatzi {0} karaktere baino gehiago."), 18 | minlength: $.validator.format("Mesedez, ez idatzi {0} karaktere baino gutxiago."), 19 | rangelength: $.validator.format("Mesedez, idatzi {0} eta {1} karaktere arteko balio bat."), 20 | range: $.validator.format("Mesedez, idatzi {0} eta {1} arteko balio bat."), 21 | max: $.validator.format("Mesedez, idatzi {0} edo txikiagoa den balio bat."), 22 | min: $.validator.format("Mesedez, idatzi {0} edo handiagoa den balio bat.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_fa.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: FA (Persian; فارسی) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "تکمیل این فیلد اجباری است.", 7 | remote: "لطفا این فیلد را تصحیح کنید.", 8 | email: ".لطفا یک ایمیل صحیح وارد کنید", 9 | url: "لطفا آدرس صحیح وارد کنید.", 10 | date: "لطفا یک تاریخ صحیح وارد کنید", 11 | dateFA: "لطفا یک تاریخ صحیح وارد کنید", 12 | dateISO: "لطفا تاریخ صحیح وارد کنید (ISO).", 13 | number: "لطفا عدد صحیح وارد کنید.", 14 | digits: "لطفا تنها رقم وارد کنید", 15 | creditcard: "لطفا کریدیت کارت صحیح وارد کنید.", 16 | equalTo: "لطفا مقدار برابری وارد کنید", 17 | extension: "لطفا مقداری وارد کنید که ", 18 | maxlength: $.validator.format("لطفا بیشتر از {0} حرف وارد نکنید."), 19 | minlength: $.validator.format("لطفا کمتر از {0} حرف وارد نکنید."), 20 | rangelength: $.validator.format("لطفا مقداری بین {0} تا {1} حرف وارد کنید."), 21 | range: $.validator.format("لطفا مقداری بین {0} تا {1} حرف وارد کنید."), 22 | max: $.validator.format("لطفا مقداری کمتر از {0} حرف وارد کنید."), 23 | min: $.validator.format("لطفا مقداری بیشتر از {0} حرف وارد کنید."), 24 | minWords: $.validator.format("لطفا حداقل {0} کلمه وارد کنید."), 25 | maxWords: $.validator.format("لطفا حداکثر {0} کلمه وارد کنید.") 26 | }); 27 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_ge.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author @tatocaster 3 | * Translated default messages for the jQuery validation plugin. 4 | * Locale: GE (Georgian; ქართული) 5 | */ 6 | $.extend($.validator.messages, { 7 | required: "ეს ველი სავალდებულოა", 8 | remote: "გთხოვთ შეასწოროთ.", 9 | email: "გთხოვთ შეიყვანოთ სწორი ფორმატით.", 10 | url: "გთხოვთ შეიყვანოთ სწორი ფორმატით.", 11 | date: "გთხოვთ შეიყვანოთ სწორი თარიღი.", 12 | dateISO: "გთხოვთ შეიყვანოთ სწორი ფორმატით ( ISO ).", 13 | number: "გთხოვთ შეიყვანოთ რიცხვი.", 14 | digits: "დაშვებულია მხოლოდ ციფრები.", 15 | creditcard: "გთხოვთ შეიყვანოთ სწორი ფორმატის ბარათის კოდი.", 16 | equalTo: "გთხოვთ შეიყვანოთ იგივე მნიშვნელობა.", 17 | maxlength: $.validator.format( "გთხოვთ შეიყვანოთ არა უმეტეს {0} სიმბოლოსი." ), 18 | minlength: $.validator.format( "შეიყვანეთ მინიმუმ {0} სიმბოლო." ), 19 | rangelength: $.validator.format( "გთხოვთ შეიყვანოთ {0} -დან {1} -მდე რაოდენობის სიმბოლოები." ), 20 | range: $.validator.format( "შეიყვანეთ {0} -სა {1} -ს შორის." ), 21 | max: $.validator.format( "გთხოვთ შეიყვანოთ მნიშვნელობა ნაკლები ან ტოლი {0} -ს." ), 22 | min: $.validator.format( "გთხოვთ შეიყვანოთ მნიშვნელობა მეტი ან ტოლი {0} -ს." ) 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_he.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: HE (Hebrew; עברית) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "השדה הזה הינו שדה חובה", 7 | remote: "נא לתקן שדה זה", 8 | email: "נא למלא כתובת דוא\"ל חוקית", 9 | url: "נא למלא כתובת אינטרנט חוקית", 10 | date: "נא למלא תאריך חוקי", 11 | dateISO: "נא למלא תאריך חוקי (ISO)", 12 | number: "נא למלא מספר", 13 | digits: "נא למלא רק מספרים", 14 | creditcard: "נא למלא מספר כרטיס אשראי חוקי", 15 | equalTo: "נא למלא את אותו ערך שוב", 16 | extension: "נא למלא ערך עם סיומת חוקית", 17 | maxlength: $.validator.format(".נא לא למלא יותר מ- {0} תווים"), 18 | minlength: $.validator.format("נא למלא לפחות {0} תווים"), 19 | rangelength: $.validator.format("נא למלא ערך בין {0} ל- {1} תווים"), 20 | range: $.validator.format("נא למלא ערך בין {0} ל- {1}"), 21 | max: $.validator.format("נא למלא ערך קטן או שווה ל- {0}"), 22 | min: $.validator.format("נא למלא ערך גדול או שווה ל- {0}") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_hr.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: HR (Croatia; hrvatski jezik) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Ovo polje je obavezno.", 7 | remote: "Ovo polje treba popraviti.", 8 | email: "Unesite ispravnu e-mail adresu.", 9 | url: "Unesite ispravan URL.", 10 | date: "Unesite ispravan datum.", 11 | dateISO: "Unesite ispravan datum (ISO).", 12 | number: "Unesite ispravan broj.", 13 | digits: "Unesite samo brojeve.", 14 | creditcard: "Unesite ispravan broj kreditne kartice.", 15 | equalTo: "Unesite ponovo istu vrijednost.", 16 | extension: "Unesite vrijednost sa ispravnom ekstenzijom.", 17 | maxlength: $.validator.format("Maksimalni broj znakova je {0} ."), 18 | minlength: $.validator.format("Minimalni broj znakova je {0} ."), 19 | rangelength: $.validator.format("Unesite vrijednost između {0} i {1} znakova."), 20 | range: $.validator.format("Unesite vrijednost između {0} i {1}."), 21 | max: $.validator.format("Unesite vrijednost manju ili jednaku {0}."), 22 | min: $.validator.format("Unesite vrijednost veću ili jednaku {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_hu.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: HU (Hungarian; Magyar) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Kötelező megadni.", 7 | maxlength: $.validator.format("Legfeljebb {0} karakter hosszú legyen."), 8 | minlength: $.validator.format("Legalább {0} karakter hosszú legyen."), 9 | rangelength: $.validator.format("Legalább {0} és legfeljebb {1} karakter hosszú legyen."), 10 | email: "Érvényes e-mail címnek kell lennie.", 11 | url: "Érvényes URL-nek kell lennie.", 12 | date: "Dátumnak kell lennie.", 13 | number: "Számnak kell lennie.", 14 | digits: "Csak számjegyek lehetnek.", 15 | equalTo: "Meg kell egyeznie a két értéknek.", 16 | range: $.validator.format("{0} és {1} közé kell esnie."), 17 | max: $.validator.format("Nem lehet nagyobb, mint {0}."), 18 | min: $.validator.format("Nem lehet kisebb, mint {0}."), 19 | creditcard: "Érvényes hitelkártyaszámnak kell lennie.", 20 | remote: "Kérem javítsa ki ezt a mezőt.", 21 | dateISO: "Kérem írjon be egy érvényes dátumot (ISO)." 22 | }); 23 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_hy_AM.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: HY_AM (Armenian; հայերեն լեզու) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Պարտադիր լրացման դաշտ", 7 | remote: "Ներմուծեք ճիշտ արժեքը", 8 | email: "Ներմուծեք վավեր էլեկտրոնային փոստի հասցե", 9 | url: "Ներմուծեք վավեր URL", 10 | date: "Ներմուծեք վավեր ամսաթիվ", 11 | dateISO: "Ներմուծեք ISO ֆորմատով վավեր ամսաթիվ։", 12 | number: "Ներմուծեք թիվ", 13 | digits: "Ներմուծեք միայն թվեր", 14 | creditcard: "Ներմուծեք ճիշտ բանկային քարտի համար", 15 | equalTo: "Ներմուծեք միևնուն արժեքը ևս մեկ անգամ", 16 | extension: "Ընտրեք ճիշտ ընդլանումով ֆայլ", 17 | maxlength: $.validator.format("Ներմուծեք ոչ ավել քան {0} նիշ"), 18 | minlength: $.validator.format("Ներմուծեք ոչ պակաս քան {0} նիշ"), 19 | rangelength: $.validator.format("Ներմուծեք {0}֊ից {1} երկարությամբ արժեք"), 20 | range: $.validator.format("Ներմուծեք թիվ {0}֊ից {1} միջակայքում"), 21 | max: $.validator.format("Ներմուծեք թիվ, որը փոքր կամ հավասար է {0}֊ին"), 22 | min: $.validator.format("Ներմուծեք թիվ, որը մեծ կամ հավասար է {0}֊ին") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_id.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: ID (Indonesia; Indonesian) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Kolom ini diperlukan.", 7 | remote: "Harap benarkan kolom ini.", 8 | email: "Silakan masukkan format email yang benar.", 9 | url: "Silakan masukkan format URL yang benar.", 10 | date: "Silakan masukkan format tanggal yang benar.", 11 | dateISO: "Silakan masukkan format tanggal(ISO) yang benar.", 12 | number: "Silakan masukkan angka yang benar.", 13 | digits: "Harap masukan angka saja.", 14 | creditcard: "Harap masukkan format kartu kredit yang benar.", 15 | equalTo: "Harap masukkan nilai yg sama dengan sebelumnya.", 16 | maxlength: $.validator.format("Input dibatasi hanya {0} karakter."), 17 | minlength: $.validator.format("Input tidak kurang dari {0} karakter."), 18 | rangelength: $.validator.format("Panjang karakter yg diizinkan antara {0} dan {1} karakter."), 19 | range: $.validator.format("Harap masukkan nilai antara {0} dan {1}."), 20 | max: $.validator.format("Harap masukkan nilai lebih kecil atau sama dengan {0}."), 21 | min: $.validator.format("Harap masukkan nilai lebih besar atau sama dengan {0}.") 22 | }); 23 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_is.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: IS (Icelandic; íslenska) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Þessi reitur er nauðsynlegur.", 7 | remote: "Lagaðu þennan reit.", 8 | maxlength: $.validator.format("Sláðu inn mest {0} stafi."), 9 | minlength: $.validator.format("Sláðu inn minnst {0} stafi."), 10 | rangelength: $.validator.format("Sláðu inn minnst {0} og mest {1} stafi."), 11 | email: "Sláðu inn gilt netfang.", 12 | url: "Sláðu inn gilda vefslóð.", 13 | date: "Sláðu inn gilda dagsetningu.", 14 | number: "Sláðu inn tölu.", 15 | digits: "Sláðu inn tölustafi eingöngu.", 16 | equalTo: "Sláðu sama gildi inn aftur.", 17 | range: $.validator.format("Sláðu inn gildi milli {0} og {1}."), 18 | max: $.validator.format("Sláðu inn gildi sem er minna en eða jafnt og {0}."), 19 | min: $.validator.format("Sláðu inn gildi sem er stærra en eða jafnt og {0}."), 20 | creditcard: "Sláðu inn gilt greiðslukortanúmer." 21 | }); 22 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_ja.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: JA (Japanese; 日本語) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "このフィールドは必須です。", 7 | remote: "このフィールドを修正してください。", 8 | email: "有効なEメールアドレスを入力してください。", 9 | url: "有効なURLを入力してください。", 10 | date: "有効な日付を入力してください。", 11 | dateISO: "有効な日付(ISO)を入力してください。", 12 | number: "有効な数字を入力してください。", 13 | digits: "数字のみを入力してください。", 14 | creditcard: "有効なクレジットカード番号を入力してください。", 15 | equalTo: "同じ値をもう一度入力してください。", 16 | extension: "有効な拡張子を含む値を入力してください。", 17 | maxlength: $.validator.format("{0} 文字以内で入力してください。"), 18 | minlength: $.validator.format("{0} 文字以上で入力してください。"), 19 | rangelength: $.validator.format("{0} 文字から {1} 文字までの値を入力してください。"), 20 | range: $.validator.format("{0} から {1} までの値を入力してください。"), 21 | max: $.validator.format("{0} 以下の値を入力してください。"), 22 | min: $.validator.format("{0} 以上の値を入力してください。") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_ka.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: KA (Georgian; ქართული) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "ამ ველის შევსება აუცილებელია.", 7 | remote: "გთხოვთ მიუთითოთ სწორი მნიშვნელობა.", 8 | email: "გთხოვთ მიუთითოთ ელ-ფოსტის კორექტული მისამართი.", 9 | url: "გთხოვთ მიუთითოთ კორექტული URL.", 10 | date: "გთხოვთ მიუთითოთ კორექტული თარიღი.", 11 | dateISO: "გთხოვთ მიუთითოთ კორექტული თარიღი ISO ფორმატში.", 12 | number: "გთხოვთ მიუთითოთ ციფრი.", 13 | digits: "გთხოვთ მიუთითოთ მხოლოდ ციფრები.", 14 | creditcard: "გთხოვთ მიუთითოთ საკრედიტო ბარათის კორექტული ნომერი.", 15 | equalTo: "გთხოვთ მიუთითოთ ასეთივე მნიშვნელობა კიდევ ერთხელ.", 16 | extension: "გთხოვთ აირჩიოთ ფაილი კორექტული გაფართოებით.", 17 | maxlength: $.validator.format("დასაშვებია არაუმეტეს {0} სიმბოლო."), 18 | minlength: $.validator.format("აუცილებელია შეიყვანოთ მინიმუმ {0} სიმბოლო."), 19 | rangelength: $.validator.format("ტექსტში სიმბოლოების რაოდენობა უნდა იყოს {0}-დან {1}-მდე."), 20 | range: $.validator.format("გთხოვთ შეიყვანოთ ციფრი {0}-დან {1}-მდე."), 21 | max: $.validator.format("გთხოვთ შეიყვანოთ ციფრი რომელიც ნაკლებია ან უდრის {0}-ს."), 22 | min: $.validator.format("გთხოვთ შეიყვანოთ ციფრი რომელიც მეტია ან უდრის {0}-ს.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_ko.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: KO (Korean; 한국어) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "필수 항목입니다.", 7 | remote: "항목을 수정하세요.", 8 | email: "유효하지 않은 E-Mail주소입니다.", 9 | url: "유효하지 않은 URL입니다.", 10 | date: "올바른 날짜를 입력하세요.", 11 | dateISO: "올바른 날짜(ISO)를 입력하세요.", 12 | number: "유효한 숫자가 아닙니다.", 13 | digits: "숫자만 입력 가능합니다.", 14 | creditcard: "신용카드 번호가 바르지 않습니다.", 15 | equalTo: "같은 값을 다시 입력하세요.", 16 | extension: "올바른 확장자가 아닙니다.", 17 | maxlength: $.validator.format("{0}자를 넘을 수 없습니다. "), 18 | minlength: $.validator.format("{0}자 이상 입력하세요."), 19 | rangelength: $.validator.format("문자 길이가 {0} 에서 {1} 사이의 값을 입력하세요."), 20 | range: $.validator.format("{0} 에서 {1} 사이의 값을 입력하세요."), 21 | max: $.validator.format("{0} 이하의 값을 입력하세요."), 22 | min: $.validator.format("{0} 이상의 값을 입력하세요.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_lt.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: LT (Lithuanian; lietuvių kalba) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Šis laukas yra privalomas.", 7 | remote: "Prašau pataisyti šį lauką.", 8 | email: "Prašau įvesti teisingą elektroninio pašto adresą.", 9 | url: "Prašau įvesti teisingą URL.", 10 | date: "Prašau įvesti teisingą datą.", 11 | dateISO: "Prašau įvesti teisingą datą (ISO).", 12 | number: "Prašau įvesti teisingą skaičių.", 13 | digits: "Prašau naudoti tik skaitmenis.", 14 | creditcard: "Prašau įvesti teisingą kreditinės kortelės numerį.", 15 | equalTo: "Prašau įvestį tą pačią reikšmę dar kartą.", 16 | extension: "Prašau įvesti reikšmę su teisingu plėtiniu.", 17 | maxlength: $.validator.format("Prašau įvesti ne daugiau kaip {0} simbolių."), 18 | minlength: $.validator.format("Prašau įvesti bent {0} simbolius."), 19 | rangelength: $.validator.format("Prašau įvesti reikšmes, kurių ilgis nuo {0} iki {1} simbolių."), 20 | range: $.validator.format("Prašau įvesti reikšmę intervale nuo {0} iki {1}."), 21 | max: $.validator.format("Prašau įvesti reikšmę mažesnę arba lygią {0}."), 22 | min: $.validator.format("Prašau įvesti reikšmę didesnę arba lygią {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_lv.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: LV (Latvian; latviešu valoda) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Šis lauks ir obligāts.", 7 | remote: "Lūdzu, pārbaudiet šo lauku.", 8 | email: "Lūdzu, ievadiet derīgu e-pasta adresi.", 9 | url: "Lūdzu, ievadiet derīgu URL adresi.", 10 | date: "Lūdzu, ievadiet derīgu datumu.", 11 | dateISO: "Lūdzu, ievadiet derīgu datumu (ISO).", 12 | number: "Lūdzu, ievadiet derīgu numuru.", 13 | digits: "Lūdzu, ievadiet tikai ciparus.", 14 | creditcard: "Lūdzu, ievadiet derīgu kredītkartes numuru.", 15 | equalTo: "Lūdzu, ievadiet to pašu vēlreiz.", 16 | extension: "Lūdzu, ievadiet vērtību ar derīgu paplašinājumu.", 17 | maxlength: $.validator.format("Lūdzu, ievadiet ne vairāk kā {0} rakstzīmes."), 18 | minlength: $.validator.format("Lūdzu, ievadiet vismaz {0} rakstzīmes."), 19 | rangelength: $.validator.format("Lūdzu ievadiet {0} līdz {1} rakstzīmes."), 20 | range: $.validator.format("Lūdzu, ievadiet skaitli no {0} līdz {1}."), 21 | max: $.validator.format("Lūdzu, ievadiet skaitli, kurš ir mazāks vai vienāds ar {0}."), 22 | min: $.validator.format("Lūdzu, ievadiet skaitli, kurš ir lielāks vai vienāds ar {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_my.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: MY (Malay; Melayu) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Medan ini diperlukan.", 7 | remote: "Sila betulkan medan ini.", 8 | email: "Sila masukkan alamat emel yang betul.", 9 | url: "Sila masukkan URL yang betul.", 10 | date: "Sila masukkan tarikh yang betul.", 11 | dateISO: "Sila masukkan tarikh(ISO) yang betul.", 12 | number: "Sila masukkan nombor yang betul.", 13 | digits: "Sila masukkan nilai digit sahaja.", 14 | creditcard: "Sila masukkan nombor kredit kad yang betul.", 15 | equalTo: "Sila masukkan nilai yang sama semula.", 16 | extension: "Sila masukkan nilai yang telah diterima.", 17 | maxlength: $.validator.format("Sila masukkan nilai tidak lebih dari {0} aksara."), 18 | minlength: $.validator.format("Sila masukkan nilai sekurang-kurangnya {0} aksara."), 19 | rangelength: $.validator.format("Sila masukkan panjang nilai antara {0} dan {1} aksara."), 20 | range: $.validator.format("Sila masukkan nilai antara {0} dan {1} aksara."), 21 | max: $.validator.format("Sila masukkan nilai yang kurang atau sama dengan {0}."), 22 | min: $.validator.format("Sila masukkan nilai yang lebih atau sama dengan {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_no.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: NO (Norwegian; Norsk) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Dette feltet er obligatorisk.", 7 | maxlength: $.validator.format("Maksimalt {0} tegn."), 8 | minlength: $.validator.format("Minimum {0} tegn."), 9 | rangelength: $.validator.format("Angi minimum {0} og maksimum {1} tegn."), 10 | email: "Oppgi en gyldig epostadresse.", 11 | url: "Angi en gyldig URL.", 12 | date: "Angi en gyldig dato.", 13 | dateISO: "Angi en gyldig dato (&ARING;&ARING;&ARING;&ARING;-MM-DD).", 14 | dateSE: "Angi en gyldig dato.", 15 | number: "Angi et gyldig nummer.", 16 | numberSE: "Angi et gyldig nummer.", 17 | digits: "Skriv kun tall.", 18 | equalTo: "Skriv samme verdi igjen.", 19 | range: $.validator.format("Angi en verdi mellom {0} og {1}."), 20 | max: $.validator.format("Angi en verdi som er mindre eller lik {0}."), 21 | min: $.validator.format("Angi en verdi som er større eller lik {0}."), 22 | creditcard: "Angi et gyldig kredittkortnummer." 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_pl.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: PL (Polish; język polski, polszczyzna) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "To pole jest wymagane.", 7 | remote: "Proszę o wypełnienie tego pola.", 8 | email: "Proszę o podanie prawidłowego adresu email.", 9 | url: "Proszę o podanie prawidłowego URL.", 10 | date: "Proszę o podanie prawidłowej daty.", 11 | dateISO: "Proszę o podanie prawidłowej daty (ISO).", 12 | number: "Proszę o podanie prawidłowej liczby.", 13 | digits: "Proszę o podanie samych cyfr.", 14 | creditcard: "Proszę o podanie prawidłowej karty kredytowej.", 15 | equalTo: "Proszę o podanie tej samej wartości ponownie.", 16 | extension: "Proszę o podanie wartości z prawidłowym rozszerzeniem.", 17 | maxlength: $.validator.format("Proszę o podanie nie więcej niż {0} znaków."), 18 | minlength: $.validator.format("Proszę o podanie przynajmniej {0} znaków."), 19 | rangelength: $.validator.format("Proszę o podanie wartości o długości od {0} do {1} znaków."), 20 | range: $.validator.format("Proszę o podanie wartości z przedziału od {0} do {1}."), 21 | max: $.validator.format("Proszę o podanie wartości mniejszej bądź równej {0}."), 22 | min: $.validator.format("Proszę o podanie wartości większej bądź równej {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_si.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: SI (Slovenian) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "To polje je obvezno.", 7 | remote: "Vpis v tem polju ni v pravi obliki.", 8 | email: "Prosimo, vnesite pravi email naslov.", 9 | url: "Prosimo, vnesite pravi URL.", 10 | date: "Prosimo, vnesite pravi datum.", 11 | dateISO: "Prosimo, vnesite pravi datum (ISO).", 12 | number: "Prosimo, vnesite pravo številko.", 13 | digits: "Prosimo, vnesite samo številke.", 14 | creditcard: "Prosimo, vnesite pravo številko kreditne kartice.", 15 | equalTo: "Prosimo, ponovno vnesite enako vsebino.", 16 | extension: "Prosimo, vnesite vsebino z pravo končnico.", 17 | maxlength: $.validator.format("Prosimo, da ne vnašate več kot {0} znakov."), 18 | minlength: $.validator.format("Prosimo, vnesite vsaj {0} znakov."), 19 | rangelength: $.validator.format("Prosimo, vnesite od {0} do {1} znakov."), 20 | range: $.validator.format("Prosimo, vnesite vrednost med {0} in {1}."), 21 | max: $.validator.format("Prosimo, vnesite vrednost manjšo ali enako {0}."), 22 | min: $.validator.format("Prosimo, vnesite vrednost večjo ali enako {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_sk.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: SK (Slovak; slovenčina, slovenský jazyk) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Povinné zadať.", 7 | maxlength: $.validator.format("Maximálne {0} znakov."), 8 | minlength: $.validator.format("Minimálne {0} znakov."), 9 | rangelength: $.validator.format("Minimálne {0} a Maximálne {1} znakov."), 10 | email: "E-mailová adresa musí byť platná.", 11 | url: "URL musí byť platný.", 12 | date: "Musí byť dátum.", 13 | number: "Musí byť číslo.", 14 | digits: "Môže obsahovať iba číslice.", 15 | equalTo: "Dva hodnoty sa musia rovnať.", 16 | range: $.validator.format("Musí byť medzi {0} a {1}."), 17 | max: $.validator.format("Nemôže byť viac ako{0}."), 18 | min: $.validator.format("Nemôže byť menej ako{0}."), 19 | creditcard: "Číslo platobnej karty musí byť platné." 20 | }); 21 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_sl.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Language: SL (Slovenian; slovenski jezik) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "To polje je obvezno.", 7 | remote: "Prosimo popravite to polje.", 8 | email: "Prosimo vnesite veljaven email naslov.", 9 | url: "Prosimo vnesite veljaven URL naslov.", 10 | date: "Prosimo vnesite veljaven datum.", 11 | dateISO: "Prosimo vnesite veljaven ISO datum.", 12 | number: "Prosimo vnesite veljavno število.", 13 | digits: "Prosimo vnesite samo števila.", 14 | creditcard: "Prosimo vnesite veljavno številko kreditne kartice.", 15 | equalTo: "Prosimo ponovno vnesite vrednost.", 16 | extension: "Prosimo vnesite vrednost z veljavno končnico.", 17 | maxlength: $.validator.format("Prosimo vnesite največ {0} znakov."), 18 | minlength: $.validator.format("Prosimo vnesite najmanj {0} znakov."), 19 | rangelength: $.validator.format("Prosimo vnesite najmanj {0} in največ {1} znakov."), 20 | range: $.validator.format("Prosimo vnesite vrednost med {0} in {1}."), 21 | max: $.validator.format("Prosimo vnesite vrednost manjše ali enako {0}."), 22 | min: $.validator.format("Prosimo vnesite vrednost večje ali enako {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_sr.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: SR (Serbian; српски језик) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Поље је обавезно.", 7 | remote: "Средите ово поље.", 8 | email: "Унесите исправну и-мејл адресу.", 9 | url: "Унесите исправан URL.", 10 | date: "Унесите исправан датум.", 11 | dateISO: "Унесите исправан датум (ISO).", 12 | number: "Унесите исправан број.", 13 | digits: "Унесите само цифе.", 14 | creditcard: "Унесите исправан број кредитне картице.", 15 | equalTo: "Унесите исту вредност поново.", 16 | extension: "Унесите вредност са одговарајућом екстензијом.", 17 | maxlength: $.validator.format("Унесите мање од {0} карактера."), 18 | minlength: $.validator.format("Унесите барем {0} карактера."), 19 | rangelength: $.validator.format("Унесите вредност дугачку између {0} и {1} карактера."), 20 | range: $.validator.format("Унесите вредност између {0} и {1}."), 21 | max: $.validator.format("Унесите вредност мању или једнаку {0}."), 22 | min: $.validator.format("Унесите вредност већу или једнаку {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_sr_lat.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: SR (Serbian - Latin alphabet; srpski jezik - latinica) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Polje je obavezno.", 7 | remote: "Sredite ovo polje.", 8 | email: "Unesite ispravnu e-mail adresu", 9 | url: "Unesite ispravan URL.", 10 | date: "Unesite ispravan datum.", 11 | dateISO: "Unesite ispravan datum (ISO).", 12 | number: "Unesite ispravan broj.", 13 | digits: "Unesite samo cifre.", 14 | creditcard: "Unesite ispravan broj kreditne kartice.", 15 | equalTo: "Unesite istu vrednost ponovo.", 16 | extension: "Unesite vrednost sa odgovarajućom ekstenzijom.", 17 | maxlength: $.validator.format("Unesite manje od {0} karaktera."), 18 | minlength: $.validator.format("Unesite barem {0} karaktera."), 19 | rangelength: $.validator.format("Unesite vrednost dugačku između {0} i {1} karaktera."), 20 | range: $.validator.format("Unesite vrednost između {0} i {1}."), 21 | max: $.validator.format("Unesite vrednost manju ili jednaku {0}."), 22 | min: $.validator.format("Unesite vrednost veću ili jednaku {0}.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_sv.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: SV (Swedish; Svenska) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Detta fält är obligatoriskt.", 7 | maxlength: $.validator.format("Du får ange högst {0} tecken."), 8 | minlength: $.validator.format("Du måste ange minst {0} tecken."), 9 | rangelength: $.validator.format("Ange minst {0} och max {1} tecken."), 10 | email: "Ange en korrekt e-postadress.", 11 | url: "Ange en korrekt URL.", 12 | date: "Ange ett korrekt datum.", 13 | dateISO: "Ange ett korrekt datum (ÅÅÅÅ-MM-DD).", 14 | number: "Ange ett korrekt nummer.", 15 | digits: "Ange endast siffror.", 16 | equalTo: "Ange samma värde igen.", 17 | range: $.validator.format("Ange ett värde mellan {0} och {1}."), 18 | max: $.validator.format("Ange ett värde som är mindre eller lika med {0}."), 19 | min: $.validator.format("Ange ett värde som är större eller lika med {0}."), 20 | creditcard: "Ange ett korrekt kreditkortsnummer." 21 | }); 22 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_th.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: TH (Thai; ไทย) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "โปรดระบุ", 7 | remote: "โปรดแก้ไขให้ถูกต้อง", 8 | email: "โปรดระบุที่อยู่อีเมล์ที่ถูกต้อง", 9 | url: "โปรดระบุ URL ที่ถูกต้อง", 10 | date: "โปรดระบุวันที่ ที่ถูกต้อง", 11 | dateISO: "โปรดระบุวันที่ ที่ถูกต้อง (ระบบ ISO).", 12 | number: "โปรดระบุทศนิยมที่ถูกต้อง", 13 | digits: "โปรดระบุจำนวนเต็มที่ถูกต้อง", 14 | creditcard: "โปรดระบุรหัสบัตรเครดิตที่ถูกต้อง", 15 | equalTo: "โปรดระบุค่าเดิมอีกครั้ง", 16 | extension: "โปรดระบุค่าที่มีส่วนขยายที่ถูกต้อง", 17 | maxlength: $.validator.format("โปรดอย่าระบุค่าที่ยาวกว่า {0} อักขระ"), 18 | minlength: $.validator.format("โปรดอย่าระบุค่าที่สั้นกว่า {0} อักขระ"), 19 | rangelength: $.validator.format("โปรดอย่าระบุค่าความยาวระหว่าง {0} ถึง {1} อักขระ"), 20 | range: $.validator.format("โปรดระบุค่าระหว่าง {0} และ {1}"), 21 | max: $.validator.format("โปรดระบุค่าน้อยกว่าหรือเท่ากับ {0}"), 22 | min: $.validator.format("โปรดระบุค่ามากกว่าหรือเท่ากับ {0}") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_tj.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: TJ (Tajikistan; Забони тоҷикӣ) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Ворид кардани ин филд маҷбури аст.", 7 | remote: "Илтимос, маълумоти саҳеҳ ворид кунед.", 8 | email: "Илтимос, почтаи электронии саҳеҳ ворид кунед.", 9 | url: "Илтимос, URL адреси саҳеҳ ворид кунед.", 10 | date: "Илтимос, таърихи саҳеҳ ворид кунед.", 11 | dateISO: "Илтимос, таърихи саҳеҳи (ISO)ӣ ворид кунед.", 12 | number: "Илтимос, рақамҳои саҳеҳ ворид кунед.", 13 | digits: "Илтимос, танҳо рақам ворид кунед.", 14 | creditcard: "Илтимос, кредит карди саҳеҳ ворид кунед.", 15 | equalTo: "Илтимос, миқдори баробар ворид кунед.", 16 | extension: "Илтимос, қофияи файлро дуруст интихоб кунед", 17 | maxlength: $.validator.format("Илтимос, бештар аз {0} рамз ворид накунед."), 18 | minlength: $.validator.format("Илтимос, камтар аз {0} рамз ворид накунед."), 19 | rangelength: $.validator.format("Илтимос, камтар аз {0} ва зиёда аз {1} рамз ворид кунед."), 20 | range: $.validator.format("Илтимос, аз {0} то {1} рақам зиёд ворид кунед."), 21 | max: $.validator.format("Илтимос, бештар аз {0} рақам ворид накунед."), 22 | min: $.validator.format("Илтимос, камтар аз {0} рақам ворид накунед.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_vi.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: VI (Vietnamese; Tiếng Việt) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "Hãy nhập.", 7 | remote: "Hãy sửa cho đúng.", 8 | email: "Hãy nhập email.", 9 | url: "Hãy nhập URL.", 10 | date: "Hãy nhập ngày.", 11 | dateISO: "Hãy nhập ngày (ISO).", 12 | number: "Hãy nhập số.", 13 | digits: "Hãy nhập chữ số.", 14 | creditcard: "Hãy nhập số thẻ tín dụng.", 15 | equalTo: "Hãy nhập thêm lần nữa.", 16 | extension: "Phần mở rộng không đúng.", 17 | maxlength: $.validator.format("Hãy nhập từ {0} kí tự trở xuống."), 18 | minlength: $.validator.format("Hãy nhập từ {0} kí tự trở lên."), 19 | rangelength: $.validator.format("Hãy nhập từ {0} đến {1} kí tự."), 20 | range: $.validator.format("Hãy nhập từ {0} đến {1}."), 21 | max: $.validator.format("Hãy nhập từ {0} trở xuống."), 22 | min: $.validator.format("Hãy nhập từ {1} trở lên.") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_zh.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語) 4 | */ 5 | $.extend($.validator.messages, { 6 | required: "这是必填字段", 7 | remote: "请修正此字段", 8 | email: "请输入有效的电子邮件地址", 9 | url: "请输入有效的网址", 10 | date: "请输入有效的日期", 11 | dateISO: "请输入有效的日期 (YYYY-MM-DD)", 12 | number: "请输入有效的数字", 13 | digits: "只能输入数字", 14 | creditcard: "请输入有效的信用卡号码", 15 | equalTo: "你的输入不相同", 16 | extension: "请输入有效的后缀", 17 | maxlength: $.validator.format("最多可以输入 {0} 个字符"), 18 | minlength: $.validator.format("最少要输入 {0} 个字符"), 19 | rangelength: $.validator.format("请输入长度在 {0} 到 {1} 之间的字符串"), 20 | range: $.validator.format("请输入范围在 {0} 到 {1} 之间的数值"), 21 | max: $.validator.format("请输入不大于 {0} 的数值"), 22 | min: $.validator.format("请输入不小于 {0} 的数值") 23 | }); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/messages_zh_TW.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for the jQuery validation plugin. 3 | * Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語) 4 | * Region: TW (Taiwan) 5 | */ 6 | $.extend($.validator.messages, { 7 | required: "必須填寫", 8 | remote: "請修正此欄位", 9 | email: "請輸入有效的電子郵件", 10 | url: "請輸入有效的網址", 11 | date: "請輸入有效的日期", 12 | dateISO: "請輸入有效的日期 (YYYY-MM-DD)", 13 | number: "請輸入正確的數值", 14 | digits: "只可輸入數字", 15 | creditcard: "請輸入有效的信用卡號碼", 16 | equalTo: "請重複輸入一次", 17 | extension: "請輸入有效的後綴", 18 | maxlength: $.validator.format("最多 {0} 個字"), 19 | minlength: $.validator.format("最少 {0} 個字"), 20 | rangelength: $.validator.format("請輸入長度為 {0} 至 {1} 之間的字串"), 21 | range: $.validator.format("請輸入 {0} 至 {1} 之間的數值"), 22 | max: $.validator.format("請輸入不大於 {0} 的數值"), 23 | min: $.validator.format("請輸入不小於 {0} 的數值") 24 | }); 25 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/methods_de.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Localized default methods for the jQuery validation plugin. 3 | * Locale: DE 4 | */ 5 | $.extend($.validator.methods, { 6 | date: function(value, element) { 7 | return this.optional(element) || /^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(value); 8 | }, 9 | number: function(value, element) { 10 | return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value); 11 | } 12 | }); 13 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/methods_es_CL.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Localized default methods for the jQuery validation plugin. 3 | * Locale: ES_CL 4 | */ 5 | $.extend($.validator.methods, { 6 | date: function(value, element) { 7 | return this.optional(element) || /^\d\d?\-\d\d?\-\d\d\d?\d?$/.test(value); 8 | }, 9 | number: function(value, element) { 10 | return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value); 11 | } 12 | }); 13 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/methods_fi.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Localized default methods for the jQuery validation plugin. 3 | * Locale: FI 4 | */ 5 | $.extend($.validator.methods, { 6 | date: function(value, element) { 7 | return this.optional(element) || /^\d{1,2}\.\d{1,2}\.\d{4}$/.test(value); 8 | }, 9 | number: function(value, element) { 10 | return this.optional(element) || /^-?(?:\d+)(?:,\d+)?$/.test(value); 11 | } 12 | }); 13 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/methods_nl.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Localized default methods for the jQuery validation plugin. 3 | * Locale: NL 4 | */ 5 | $.extend($.validator.methods, { 6 | date: function(value, element) { 7 | return this.optional(element) || /^\d\d?[\.\/\-]\d\d?[\.\/\-]\d\d\d?\d?$/.test(value); 8 | } 9 | }); 10 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/src/localization/methods_pt.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Localized default methods for the jQuery validation plugin. 3 | * Locale: PT_BR 4 | */ 5 | $.extend($.validator.methods, { 6 | date: function(value, element) { 7 | return this.optional(element) || /^\d\d?\/\d\d?\/\d\d\d?\d?$/.test(value); 8 | } 9 | }); 10 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery-validation/validation.jquery.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "validation", 3 | "title": "jQuery Validation", 4 | "description": "Form validation made easy. Validate a simple comment form with inline rules, or a complex signup form with powerful remote checks.", 5 | "keywords": [ 6 | "forms", 7 | "validation", 8 | "validate" 9 | ], 10 | "author": { 11 | "name": "Jörn Zaefferer", 12 | "email": "joern.zaefferer@gmail.com", 13 | "url": "http://bassistance.de" 14 | }, 15 | "licenses": [ 16 | { 17 | "type": "MIT", 18 | "url": "http://www.opensource.org/licenses/MIT" 19 | } 20 | ], 21 | "bugs": "https://github.com/jzaefferer/jquery-validation/issues", 22 | "homepage": "https://github.com/jzaefferer/jquery-validation", 23 | "docs": "http://jqueryvalidation.org/documentation/", 24 | "download": "https://github.com/jzaefferer/jquery-validation/releases", 25 | "dependencies": { 26 | "jquery": ">=1.4.4" 27 | }, 28 | "version": "1.14.0" 29 | } 30 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ], 14 | "homepage": "https://github.com/jquery/jquery-dist", 15 | "version": "2.2.0", 16 | "_release": "2.2.0", 17 | "_resolution": { 18 | "type": "version", 19 | "tag": "2.2.0", 20 | "commit": "6fc01e29bdad0964f62ef56d01297039cdcadbe5" 21 | }, 22 | "_source": "https://github.com/jquery/jquery-dist.git", 23 | "_target": "2.2.0", 24 | "_originalSource": "jquery" 25 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/README.md: -------------------------------------------------------------------------------- 1 | # jQuery Dist 2 | 3 | This repo only contains package distribution files for jQuery Core. 4 | 5 | For source files and issues, visit the [jQuery repo](https://github.com/jquery/jquery). 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ] 14 | } -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "eqnull": true, 6 | "expr": true, 7 | "immed": true, 8 | "noarg": true, 9 | "quotmark": "double", 10 | "undef": true, 11 | "unused": true, 12 | 13 | "sub": true, 14 | 15 | // Support: IE < 10, Android < 4.1 16 | // The above browsers are failing a lot of tests in the ES5 17 | // test suite at http://test262.ecmascript.org. 18 | "es3": true, 19 | 20 | "globals": { 21 | "window": true, 22 | "JSON": false, 23 | 24 | "jQuery": true, 25 | "define": true, 26 | "module": true, 27 | "noGlobal": true 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/ajax/parseJSON.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Support: Android 2.3 6 | // Workaround failure to string-cast null input 7 | jQuery.parseJSON = function( data ) { 8 | return JSON.parse( data + "" ); 9 | }; 10 | 11 | return jQuery.parseJSON; 12 | 13 | } ); 14 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/ajax/parseXML.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Cross-browser xml parsing 6 | jQuery.parseXML = function( data ) { 7 | var xml; 8 | if ( !data || typeof data !== "string" ) { 9 | return null; 10 | } 11 | 12 | // Support: IE9 13 | try { 14 | xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); 15 | } catch ( e ) { 16 | xml = undefined; 17 | } 18 | 19 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { 20 | jQuery.error( "Invalid XML: " + data ); 21 | } 22 | return xml; 23 | }; 24 | 25 | return jQuery.parseXML; 26 | 27 | } ); 28 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/ajax/var/location.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return window.location; 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/ajax/var/nonce.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | return jQuery.now(); 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/ajax/var/rquery.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /\?/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/attributes.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "./attributes/attr", 4 | "./attributes/prop", 5 | "./attributes/classes", 6 | "./attributes/val" 7 | ], function( jQuery ) { 8 | 9 | // Return jQuery for attributes-only inclusion 10 | return jQuery; 11 | } ); 12 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/attributes/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | ( function() { 7 | var input = document.createElement( "input" ), 8 | select = document.createElement( "select" ), 9 | opt = select.appendChild( document.createElement( "option" ) ); 10 | 11 | input.type = "checkbox"; 12 | 13 | // Support: iOS<=5.1, Android<=4.2+ 14 | // Default value for a checkbox should be "on" 15 | support.checkOn = input.value !== ""; 16 | 17 | // Support: IE<=11+ 18 | // Must access selectedIndex to make default options select 19 | support.optSelected = opt.selected; 20 | 21 | // Support: Android<=2.3 22 | // Options inside disabled selects are incorrectly marked as disabled 23 | select.disabled = true; 24 | support.optDisabled = !opt.disabled; 25 | 26 | // Support: IE<=11+ 27 | // An input loses its value after becoming a radio 28 | input = document.createElement( "input" ); 29 | input.value = "t"; 30 | input.type = "radio"; 31 | support.radioValue = input.value === "t"; 32 | } )(); 33 | 34 | return support; 35 | 36 | } ); 37 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/core/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | // Support: Safari 8+ 7 | // In Safari 8 documents created via document.implementation.createHTMLDocument 8 | // collapse sibling forms: the second one becomes a child of the first one. 9 | // Because of that, this security measure has to be disabled in Safari 8. 10 | // https://bugs.webkit.org/show_bug.cgi?id=137337 11 | support.createHTMLDocument = ( function() { 12 | var body = document.implementation.createHTMLDocument( "" ).body; 13 | body.innerHTML = "
"; 14 | return body.childNodes.length === 2; 15 | } )(); 16 | 17 | return support; 18 | } ); 19 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/core/var/rsingleTag.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // Match a standalone tag 4 | return ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ ); 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/css/addGetHookIf.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | function addGetHookIf( conditionFn, hookFn ) { 4 | 5 | // Define the hook, we'll check on the first run if it's really needed. 6 | return { 7 | get: function() { 8 | if ( conditionFn() ) { 9 | 10 | // Hook not needed (or it's not possible to use it due 11 | // to missing dependency), remove it. 12 | delete this.get; 13 | return; 14 | } 15 | 16 | // Hook needed; redefine it so that the support test is not executed again. 17 | return ( this.get = hookFn ).apply( this, arguments ); 18 | } 19 | }; 20 | } 21 | 22 | return addGetHookIf; 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/css/hiddenVisibleSelectors.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../selector" 4 | ], function( jQuery ) { 5 | 6 | jQuery.expr.filters.hidden = function( elem ) { 7 | return !jQuery.expr.filters.visible( elem ); 8 | }; 9 | jQuery.expr.filters.visible = function( elem ) { 10 | 11 | // Support: Opera <= 12.12 12 | // Opera reports offsetWidths and offsetHeights less than zero on some elements 13 | // Use OR instead of AND as the element is not visible if either is true 14 | // See tickets #10406 and #13132 15 | return elem.offsetWidth > 0 || elem.offsetHeight > 0 || elem.getClientRects().length > 0; 16 | }; 17 | 18 | } ); 19 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/css/showHide.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../data/var/dataPriv" 3 | ], function( dataPriv ) { 4 | 5 | function showHide( elements, show ) { 6 | var display, elem, 7 | values = [], 8 | index = 0, 9 | length = elements.length; 10 | 11 | // Determine new display value for elements that need to change 12 | for ( ; index < length; index++ ) { 13 | elem = elements[ index ]; 14 | if ( !elem.style ) { 15 | continue; 16 | } 17 | 18 | display = elem.style.display; 19 | if ( show ) { 20 | if ( display === "none" ) { 21 | 22 | // Restore a pre-hide() value if we have one 23 | values[ index ] = dataPriv.get( elem, "display" ) || ""; 24 | } 25 | } else { 26 | if ( display !== "none" ) { 27 | values[ index ] = "none"; 28 | 29 | // Remember the value we're replacing 30 | dataPriv.set( elem, "display", display ); 31 | } 32 | } 33 | } 34 | 35 | // Set the display of the elements in a second loop 36 | // to avoid the constant reflow 37 | for ( index = 0; index < length; index++ ) { 38 | if ( values[ index ] != null ) { 39 | elements[ index ].style.display = values[ index ]; 40 | } 41 | } 42 | 43 | return elements; 44 | } 45 | 46 | return showHide; 47 | 48 | } ); 49 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/css/var/cssExpand.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return [ "Top", "Right", "Bottom", "Left" ]; 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/css/var/getStyles.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return function( elem ) { 3 | 4 | // Support: IE<=11+, Firefox<=30+ (#15098, #14150) 5 | // IE throws on elements created in popups 6 | // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" 7 | var view = elem.ownerDocument.defaultView; 8 | 9 | if ( !view.opener ) { 10 | view = window; 11 | } 12 | 13 | return view.getComputedStyle( elem ); 14 | }; 15 | } ); 16 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/css/var/isHidden.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core", 3 | "../../selector" 4 | 5 | // css is assumed 6 | ], function( jQuery ) { 7 | 8 | return function( elem, el ) { 9 | 10 | // isHidden might be called from jQuery#filter function; 11 | // in that case, element will be second argument 12 | elem = el || elem; 13 | return jQuery.css( elem, "display" ) === "none" || 14 | !jQuery.contains( elem.ownerDocument, elem ); 15 | }; 16 | } ); 17 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/css/var/rmargin.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^margin/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/css/var/rnumnonpx.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../var/pnum" 3 | ], function( pnum ) { 4 | return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/css/var/swap.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // A method for quickly swapping in/out CSS properties to get correct calculations. 4 | return function( elem, options, callback, args ) { 5 | var ret, name, 6 | old = {}; 7 | 8 | // Remember the old values, and insert the new ones 9 | for ( name in options ) { 10 | old[ name ] = elem.style[ name ]; 11 | elem.style[ name ] = options[ name ]; 12 | } 13 | 14 | ret = callback.apply( elem, args || [] ); 15 | 16 | // Revert the old values 17 | for ( name in options ) { 18 | elem.style[ name ] = old[ name ]; 19 | } 20 | 21 | return ret; 22 | }; 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/data/accepts.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | /** 6 | * Determines whether an object can have data 7 | */ 8 | jQuery.acceptData = function( owner ) { 9 | // Accepts only: 10 | // - Node 11 | // - Node.ELEMENT_NODE 12 | // - Node.DOCUMENT_NODE 13 | // - Object 14 | // - Any 15 | /* jshint -W018 */ 16 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 17 | }; 18 | 19 | return jQuery.acceptData; 20 | }); 21 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/data/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | ( function() { 7 | var div = document.createElement( "div" ); 8 | 9 | // Support: IE<9 10 | support.deleteExpando = true; 11 | try { 12 | delete div.test; 13 | } catch ( e ) { 14 | support.deleteExpando = false; 15 | } 16 | 17 | // Null elements to avoid leaks in IE. 18 | div = null; 19 | } )(); 20 | 21 | return support; 22 | 23 | } ); 24 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/data/var/acceptData.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | /** 4 | * Determines whether an object can have data 5 | */ 6 | return function( owner ) { 7 | 8 | // Accepts only: 9 | // - Node 10 | // - Node.ELEMENT_NODE 11 | // - Node.DOCUMENT_NODE 12 | // - Object 13 | // - Any 14 | /* jshint -W018 */ 15 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 16 | }; 17 | 18 | } ); 19 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/data/var/dataPriv.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/data/var/dataUser.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/deprecated.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core" 3 | ], function( jQuery ) { 4 | 5 | jQuery.fn.extend( { 6 | 7 | bind: function( types, data, fn ) { 8 | return this.on( types, null, data, fn ); 9 | }, 10 | unbind: function( types, fn ) { 11 | return this.off( types, null, fn ); 12 | }, 13 | 14 | delegate: function( selector, types, data, fn ) { 15 | return this.on( types, selector, data, fn ); 16 | }, 17 | undelegate: function( selector, types, fn ) { 18 | 19 | // ( namespace ) or ( selector, types [, fn] ) 20 | return arguments.length === 1 ? 21 | this.off( selector, "**" ) : 22 | this.off( types, selector || "**", fn ); 23 | }, 24 | size: function() { 25 | return this.length; 26 | } 27 | } ); 28 | 29 | jQuery.fn.andSelf = jQuery.fn.addBack; 30 | 31 | } ); 32 | 33 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/effects/animatedSelector.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../selector", 4 | "../effects" 5 | ], function( jQuery ) { 6 | 7 | jQuery.expr.filters.animated = function( elem ) { 8 | return jQuery.grep( jQuery.timers, function( fn ) { 9 | return elem === fn.elem; 10 | } ).length; 11 | }; 12 | 13 | } ); 14 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/event/ajax.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../event" 4 | ], function( jQuery ) { 5 | 6 | // Attach a bunch of functions for handling common AJAX events 7 | jQuery.each( [ 8 | "ajaxStart", 9 | "ajaxStop", 10 | "ajaxComplete", 11 | "ajaxError", 12 | "ajaxSuccess", 13 | "ajaxSend" 14 | ], function( i, type ) { 15 | jQuery.fn[ type ] = function( fn ) { 16 | return this.on( type, fn ); 17 | }; 18 | } ); 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/event/alias.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | 4 | "../event", 5 | "./trigger" 6 | ], function( jQuery ) { 7 | 8 | jQuery.each( ( "blur focus focusin focusout load resize scroll unload click dblclick " + 9 | "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + 10 | "change select submit keydown keypress keyup error contextmenu" ).split( " " ), 11 | function( i, name ) { 12 | 13 | // Handle event binding 14 | jQuery.fn[ name ] = function( data, fn ) { 15 | return arguments.length > 0 ? 16 | this.on( name, null, data, fn ) : 17 | this.trigger( name ); 18 | }; 19 | } ); 20 | 21 | jQuery.fn.extend( { 22 | hover: function( fnOver, fnOut ) { 23 | return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); 24 | } 25 | } ); 26 | 27 | } ); 28 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/event/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | support.focusin = "onfocusin" in window; 6 | 7 | return support; 8 | 9 | } ); 10 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/exports/amd.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Register as a named AMD module, since jQuery can be concatenated with other 6 | // files that may use define, but not via a proper concatenation script that 7 | // understands anonymous AMD modules. A named AMD is safest and most robust 8 | // way to register. Lowercase jquery is used because AMD module names are 9 | // derived from file names, and jQuery is normally delivered in a lowercase 10 | // file name. Do this after creating the global so that if an AMD module wants 11 | // to call noConflict to hide this version of jQuery, it will work. 12 | 13 | // Note that for maximum portability, libraries that are not jQuery should 14 | // declare themselves as anonymous modules, and avoid setting a global if an 15 | // AMD loader is present. jQuery is a special case. For more information, see 16 | // https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon 17 | 18 | if ( typeof define === "function" && define.amd ) { 19 | define( "jquery", [], function() { 20 | return jQuery; 21 | } ); 22 | } 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/exports/global.js: -------------------------------------------------------------------------------- 1 | var 2 | 3 | // Map over jQuery in case of overwrite 4 | _jQuery = window.jQuery, 5 | 6 | // Map over the $ in case of overwrite 7 | _$ = window.$; 8 | 9 | jQuery.noConflict = function( deep ) { 10 | if ( window.$ === jQuery ) { 11 | window.$ = _$; 12 | } 13 | 14 | if ( deep && window.jQuery === jQuery ) { 15 | window.jQuery = _jQuery; 16 | } 17 | 18 | return jQuery; 19 | }; 20 | 21 | // Expose jQuery and $ identifiers, even in AMD 22 | // (#7102#comment:10, https://github.com/jquery/jquery/pull/557) 23 | // and CommonJS for browser emulators (#13566) 24 | if ( !noGlobal ) { 25 | window.jQuery = window.$ = jQuery; 26 | } 27 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/jquery.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "./selector", 4 | "./traversing", 5 | "./callbacks", 6 | "./deferred", 7 | "./core/ready", 8 | "./data", 9 | "./queue", 10 | "./queue/delay", 11 | "./attributes", 12 | "./event", 13 | "./event/alias", 14 | "./event/focusin", 15 | "./manipulation", 16 | "./manipulation/_evalUrl", 17 | "./wrap", 18 | "./css", 19 | "./css/hiddenVisibleSelectors", 20 | "./serialize", 21 | "./ajax", 22 | "./ajax/xhr", 23 | "./ajax/script", 24 | "./ajax/jsonp", 25 | "./ajax/load", 26 | "./event/ajax", 27 | "./effects", 28 | "./effects/animatedSelector", 29 | "./offset", 30 | "./dimensions", 31 | "./deprecated", 32 | "./exports/amd" 33 | ], function( jQuery ) { 34 | 35 | return ( window.jQuery = window.$ = jQuery ); 36 | 37 | } ); 38 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/_evalUrl.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../ajax" 3 | ], function( jQuery ) { 4 | 5 | jQuery._evalUrl = function( url ) { 6 | return jQuery.ajax( { 7 | url: url, 8 | 9 | // Make this explicit, since user can override this through ajaxSetup (#11264) 10 | type: "GET", 11 | dataType: "script", 12 | async: false, 13 | global: false, 14 | "throws": true 15 | } ); 16 | }; 17 | 18 | return jQuery._evalUrl; 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/createSafeFragment.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./var/nodeNames" 3 | ], function( nodeNames ) { 4 | 5 | function createSafeFragment( document ) { 6 | var list = nodeNames.split( "|" ), 7 | safeFrag = document.createDocumentFragment(); 8 | 9 | if ( safeFrag.createElement ) { 10 | while ( list.length ) { 11 | safeFrag.createElement( 12 | list.pop() 13 | ); 14 | } 15 | } 16 | return safeFrag; 17 | } 18 | 19 | return createSafeFragment; 20 | } ); 21 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/getAll.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | function getAll( context, tag ) { 6 | 7 | // Support: IE9-11+ 8 | // Use typeof to avoid zero-argument method invocation on host objects (#15151) 9 | var ret = typeof context.getElementsByTagName !== "undefined" ? 10 | context.getElementsByTagName( tag || "*" ) : 11 | typeof context.querySelectorAll !== "undefined" ? 12 | context.querySelectorAll( tag || "*" ) : 13 | []; 14 | 15 | return tag === undefined || tag && jQuery.nodeName( context, tag ) ? 16 | jQuery.merge( [ context ], ret ) : 17 | ret; 18 | } 19 | 20 | return getAll; 21 | } ); 22 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/setGlobalEval.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../data/var/dataPriv" 3 | ], function( dataPriv ) { 4 | 5 | // Mark scripts as having already been evaluated 6 | function setGlobalEval( elems, refElements ) { 7 | var i = 0, 8 | l = elems.length; 9 | 10 | for ( ; i < l; i++ ) { 11 | dataPriv.set( 12 | elems[ i ], 13 | "globalEval", 14 | !refElements || dataPriv.get( refElements[ i ], "globalEval" ) 15 | ); 16 | } 17 | } 18 | 19 | return setGlobalEval; 20 | } ); 21 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | ( function() { 7 | var fragment = document.createDocumentFragment(), 8 | div = fragment.appendChild( document.createElement( "div" ) ), 9 | input = document.createElement( "input" ); 10 | 11 | // Support: Android 4.0-4.3, Safari<=5.1 12 | // Check state lost if the name is set (#11217) 13 | // Support: Windows Web Apps (WWA) 14 | // `name` and `type` must use .setAttribute for WWA (#14901) 15 | input.setAttribute( "type", "radio" ); 16 | input.setAttribute( "checked", "checked" ); 17 | input.setAttribute( "name", "t" ); 18 | 19 | div.appendChild( input ); 20 | 21 | // Support: Safari<=5.1, Android<4.2 22 | // Older WebKit doesn't clone checked state correctly in fragments 23 | support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; 24 | 25 | // Support: IE<=11+ 26 | // Make sure textarea (and checkbox) defaultValue is properly cloned 27 | div.innerHTML = ""; 28 | support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; 29 | } )(); 30 | 31 | return support; 32 | 33 | } ); 34 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/var/nodeNames.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return "abbr|article|aside|audio|bdi|canvas|data|datalist|" + 3 | "details|dialog|figcaption|figure|footer|header|hgroup|main|" + 4 | "mark|meter|nav|output|picture|progress|section|summary|template|time|video"; 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/var/rcheckableType.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^(?:checkbox|radio)$/i ); 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/var/rleadingWhitespace.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^\s+/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/var/rscriptType.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^$|\/(?:java|ecma)script/i ); 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/var/rtagName.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /<([\w:-]+)/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/manipulation/wrapMap.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // We have to close these tags to support XHTML (#13200) 4 | var wrapMap = { 5 | 6 | // Support: IE9 7 | option: [ 1, "" ], 8 | 9 | // XHTML parsers do not magically insert elements in the 10 | // same way that tag soup parsers do. So we cannot shorten 11 | // this by omitting or other required elements. 12 | thead: [ 1, "", "
" ], 13 | col: [ 2, "", "
" ], 14 | tr: [ 2, "", "
" ], 15 | td: [ 3, "", "
" ], 16 | 17 | _default: [ 0, "", "" ] 18 | }; 19 | 20 | // Support: IE9 21 | wrapMap.optgroup = wrapMap.option; 22 | 23 | wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; 24 | wrapMap.th = wrapMap.td; 25 | 26 | return wrapMap; 27 | } ); 28 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | return jQuery; 2 | })); 3 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/queue/delay.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../queue", 4 | "../effects" // Delay is optional because of this dependency 5 | ], function( jQuery ) { 6 | 7 | // Based off of the plugin by Clint Helfers, with permission. 8 | // http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ 9 | jQuery.fn.delay = function( time, type ) { 10 | time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; 11 | type = type || "fx"; 12 | 13 | return this.queue( type, function( next, hooks ) { 14 | var timeout = window.setTimeout( next, time ); 15 | hooks.stop = function() { 16 | window.clearTimeout( timeout ); 17 | }; 18 | } ); 19 | }; 20 | 21 | return jQuery.fn.delay; 22 | } ); 23 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/selector-sizzle.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "sizzle" 4 | ], function( jQuery, Sizzle ) { 5 | 6 | jQuery.find = Sizzle; 7 | jQuery.expr = Sizzle.selectors; 8 | jQuery.expr[ ":" ] = jQuery.expr.pseudos; 9 | jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; 10 | jQuery.text = Sizzle.getText; 11 | jQuery.isXMLDoc = Sizzle.isXML; 12 | jQuery.contains = Sizzle.contains; 13 | 14 | } ); 15 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/selector.js: -------------------------------------------------------------------------------- 1 | define( [ "./selector-sizzle" ], function() {} ); 2 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/traversing/var/dir.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | 5 | return function( elem, dir, until ) { 6 | var matched = [], 7 | truncate = until !== undefined; 8 | 9 | while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { 10 | if ( elem.nodeType === 1 ) { 11 | if ( truncate && jQuery( elem ).is( until ) ) { 12 | break; 13 | } 14 | matched.push( elem ); 15 | } 16 | } 17 | return matched; 18 | }; 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/traversing/var/rneedsContext.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core", 3 | "../../selector" 4 | ], function( jQuery ) { 5 | return jQuery.expr.match.needsContext; 6 | } ); 7 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/traversing/var/siblings.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | return function( n, elem ) { 4 | var matched = []; 5 | 6 | for ( ; n; n = n.nextSibling ) { 7 | if ( n.nodeType === 1 && n !== elem ) { 8 | matched.push( n ); 9 | } 10 | } 11 | 12 | return matched; 13 | }; 14 | 15 | } ); 16 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/arr.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return []; 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/class2type.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // [[Class]] -> type pairs 4 | return {}; 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/concat.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.concat; 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/deletedIds.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return []; 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/document.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return window.document; 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/documentElement.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./document" 3 | ], function( document ) { 4 | return document.documentElement; 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/hasOwn.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.hasOwnProperty; 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/indexOf.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.indexOf; 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/pnum.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/push.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.push; 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/rcssNum.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/pnum" 3 | ], function( pnum ) { 4 | 5 | return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); 6 | 7 | } ); 8 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/rnotwhite.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /\S+/g ); 3 | } ); 4 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/slice.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.slice; 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/support.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // All support tests are defined in their respective modules. 4 | return {}; 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/lib/jquery/src/var/toString.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.toString; 5 | } ); 6 | -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/themes/default/css/colour.css: -------------------------------------------------------------------------------- 1 | div.custom-nav a {color:#ddd;} 2 | div.blogpost-meta {color:#555;} 3 | .blogpost-tags i {color:#444;} 4 | blockquote {background:transparent url(/img/quote.png) no-repeat top left;} 5 | .alternate-background-link {color:#ddd;} 6 | .alternate-background-link:hover {color:#fff;} 7 | .blog-post-list-item {} 8 | .view-hook {border:2px dashed red; background-color:yellow;} 9 | .page-contact #message-success {color:green;} 10 | .page-contact #message-error {color:red;} 11 | footer .container span {color:#888;} 12 | nav.navbar {background-color:#252d40 !important;} 13 | footer {background-color:#252d40 !important;} 14 | body footer a {color:#ddd;} 15 | body footer a:hover {color:#fff;} 16 | body a {color:#252d40;} 17 | .main-body img {display:inline-block; margin:5px 0 15px; -webkit-box-shadow:0 28px 16px -26px rgba(0, 0, 0, 1); -moz-box-shadow:0 28px 16px -26px rgba(0, 0, 0, 1); box-shadow:0 28px 16px -26px rgba(0, 0, 0, 1);} -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/themes/default/css/colour.min.css: -------------------------------------------------------------------------------- 1 | body{padding-top:50px;padding-bottom:20px}.body-content{padding-left:15px;padding-right:15px}.carousel-caption p{font-size:20px;line-height:1.4}.carousel-inner .item img[src$=".svg"]{width:100%}#qrCode{margin:15px}@media screen and (max-width:767px){.carousel-caption{display:none}} -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/themes/default/img/share-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/themes/default/img/share-image.jpg -------------------------------------------------------------------------------- /simple-blog-engine-for-asp-net-core-developers/wwwroot/themes/default/img/site-header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarethElms/simple-blog-engine-for-asp-net-core/6b31096247644970bf21c0f2fc18293662dc5367/simple-blog-engine-for-asp-net-core-developers/wwwroot/themes/default/img/site-header.jpg --------------------------------------------------------------------------------