commit
eaa7d6836e
File diff suppressed because one or more lines are too long
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
注意: 向配置设置的 App.config 文件添加
|
||||
只适用于 Test 项目的条目。
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
|
||||
</appSettings>
|
||||
|
||||
<connectionStrings>
|
||||
|
||||
</connectionStrings>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web.Mvc;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using XingTu;
|
||||
using XingTu.Controllers;
|
||||
|
||||
namespace XingTu.Tests.Controllers
|
||||
{
|
||||
[TestClass]
|
||||
public class HomeControllerTest
|
||||
{
|
||||
[TestMethod]
|
@ -0,0 +1,15 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的常规信息是通过以下项进行控制的
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("XingTu.Tests")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Microsoft")]
|
||||
[assembly: AssemblyProduct("XingTu.Tests")]
|
||||
[assembly: AssemblyCopyright("版权所有(C) Microsoft 2016")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>
|
||||
</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{E9ED0611-179D-4585-8F4F-077D98A646A9}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>XingTu.Tests</RootNamespace>
|
||||
<AssemblyName>XingTu.Tests</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>EntityFramework</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Data.Entity.Core.Metadata.Edm.CsdlSerializer">
|
||||
<summary>
|
||||
Serializes an <see cref="T:System.Data.Entity.Core.Metadata.Edm.EdmModel"/> that conforms to the restrictions of a single
|
||||
CSDL schema file to an XML writer. The model to be serialized must contain a single
|
||||
<see cref="T:System.Data.Entity.Core.Metadata.Edm.EntityContainer"/> .
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:System.Data.Entity.Core.Metadata.Edm.CsdlSerializer.Serialize(System.Data.Entity.Core.Metadata.Edm.EdmModel,System.Xml.XmlWriter,System.String)">
|
||||
<summary>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.AspNet.Identity.Core</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.AspNet.Identity.IdentityConfig">
|
||||
<summary>Static class to hold configuration settings for the Identity system</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.AspNet.Identity.IdentityConfig.Settings">
|
||||
<summary>Settings class which holds the various options for the system</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.AspNet.Identity.IdentityManager">
|
||||
<summary>Helper class which contains methods that encapsulate common unit of work functionality on an IdentityStoreContext, i.e. ChangePasswordAsync or CreateLocalUserAsync and takes care of calling SaveChangesAsync</summary>
|
||||
</member>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.AspNet.Identity.EntityFramework</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.DefaultIdentityDbContext">
|
||||
<summary>Concrete instance of the IdentityDbContext which uses the default framework entities</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.DefaultIdentityDbContext.#ctor">
|
||||
<summary>Default constructor which uses the "DefaultConnection" connectionString</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.DefaultIdentityDbContext.#ctor(System.String)">
|
||||
<summary>Constructor which takes the connection string to use</summary>
|
||||
<param name="nameOrConnectionString">The connection string to use.</param>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.AspNet.Identity.Owin</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.AspNet.Identity.IdentityExtensions">
|
||||
<summary>Extensions making it easier to get the user name/user id claims off of an identity.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.AspNet.Identity.IdentityExtensions.FindFirstValue(System.Security.Claims.ClaimsIdentity,System.String)">
|
||||
<summary>Return the claim value for the first claim with the specified type if it exists, null otherwise.</summary>
|
||||
<returns>Returns <see cref="T:System.String" />.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.AspNet.Identity.IdentityExtensions.GetUserId(System.Security.Principal.IIdentity)">
|
||||
<summary>Return the user id using the UserIdClaimType.</summary>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Owin.Host.SystemWeb</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Owin.Loader.DefaultLoader">
|
||||
<summary>
|
||||
Locates the startup class based on the following convention:
|
||||
AssemblyName.Startup, with a method named Configuration
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Owin.Loader.DefaultLoader.#ctor">
|
||||
<summary>
|
||||
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Owin.Security.Cookies</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Owin.Security.Cookies.CookieAuthenticationDefaults">
|
||||
<summary>
|
||||
Default values related to cookie-based authentication middleware
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Owin.Security.Cookies.CookieAuthenticationDefaults.AuthenticationType">
|
||||
<summary>
|
||||
The default value used for CookieAuthenticationOptions.AuthenticationType
|
||||
</summary>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Owin.Security.OAuth</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Owin.Security.OAuth.Messages.TokenEndpointRequestCustomExtension">
|
||||
<summary>
|
||||
Data object used by TokenEndpointRequest which contains parameter information when the "grant_type" is unrecognized.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Owin.Security.OAuth.Messages.TokenEndpointRequestCustomExtension.Parameters">
|
||||
<summary>
|
||||
The parameter information when the "grant_type" is unrecognized.
|
||||
</summary>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Owin.Security</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Owin.Security.AppBuilderSecurityExtensions">
|
||||
<summary>
|
||||
Provides extensions methods for app.Property values that are only needed by implementations of authentication middleware.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Owin.Security.AppBuilderSecurityExtensions.GetDefaultSignInAsAuthenticationType(Owin.IAppBuilder)">
|
||||
<summary>
|
||||
Returns the previously set AuthenticationType that external sign in middleware should use when the
|
||||
browser navigates back to their return url.
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Owin</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Owin.IOwinContext">
|
||||
<summary>
|
||||
This wraps OWIN environment dictionary and provides strongly typed accessors.
|
||||
</summary>
|
||||
<summary>
|
||||
This wraps OWIN environment dictionary and provides strongly typed accessors.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Owin.IOwinContext.Get``1(System.String)">
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Newtonsoft.Json</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Newtonsoft.Json.Bson.BsonObjectId">
|
||||
<summary>
|
||||
Represents a BSON Oid (object id).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Newtonsoft.Json.Bson.BsonObjectId.#ctor(System.Byte[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Bson.BsonObjectId"/> class.
|
||||
</summary>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.Helpers</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.Helpers.Chart">
|
||||
<summary>Displays data in the form of a graphical chart.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.#ctor(System.Int32,System.Int32,System.String,System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.Chart" /> class.</summary>
|
||||
<param name="width">The width, in pixels, of the complete chart image.</param>
|
||||
<param name="height">The height, in pixels, of the complete chart image.</param>
|
||||
<param name="theme">(Optional) The template (theme) to apply to the chart.</param>
|
||||
<param name="themePath">(Optional) The template (theme) path and file name to apply to the chart.</param>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.Mvc</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.Mvc.AcceptVerbsAttribute">
|
||||
<summary>Represents an attribute that specifies which HTTP verbs an action method will respond to.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Mvc.AcceptVerbsAttribute.#ctor(System.String[])">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Mvc.AcceptVerbsAttribute" /> class by using a list of HTTP verbs that the action method will respond to.</summary>
|
||||
<param name="verbs">The HTTP verbs that the action method will respond to.</param>
|
||||
<exception cref="T:System.ArgumentException">The <paramref name="verbs" /> parameter is null or zero length.</exception>
|
||||
</member>
|
||||
<member name="M:System.Web.Mvc.AcceptVerbsAttribute.#ctor(System.Web.Mvc.HttpVerbs)">
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.Optimization</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.Optimization.Bundle">
|
||||
<summary>Represents a list of file references to be bundled together as a single resource.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Optimization.Bundle.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Optimization.Bundle" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Optimization.Bundle.#ctor(System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Optimization.Bundle" /> class.</summary>
|
||||
<param name="virtualPath">The virtual path used to reference the <see cref="T:System.Web.Optimization.Bundle" /> from within a view or Web page.</param>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.Razor</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.Razor.CSharpRazorCodeLanguage">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Represents a Razor code language that is based on C# syntax.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Razor.CSharpRazorCodeLanguage.#ctor">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the <see cref="T:System.Web.Razor.CSharpRazorCodeLanguage" /> class.</summary>
|
||||
</member>
|
||||
<member name="P:System.Web.Razor.CSharpRazorCodeLanguage.CodeDomProviderType">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the type of the code provider.</summary>
|
||||
<returns>The type of the code provider.</returns>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.WebPages.Deployment</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.WebPages.Deployment.PreApplicationStartCode">
|
||||
<summary>Provides a registration point for pre-application start code for Web Pages deployment.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.PreApplicationStartCode.Start">
|
||||
<summary>Registers pre-application start code for Web Pages deployment.</summary>
|
||||
</member>
|
||||
<member name="T:System.Web.WebPages.Deployment.WebPagesDeployment">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Provides methods that are used to get deployment information about the Web application.</summary>
|
||||
</member>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.WebPages.Razor</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.WebPages.Razor.CompilingPathEventArgs">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the base class for the compiling path that contains event data.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.CompilingPathEventArgs.#ctor(System.String,System.Web.WebPages.Razor.WebPageRazorHost)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.CompilingPathEventArgs" /> class.</summary>
|
||||
<param name="virtualPath">The string of virtual path.</param>
|
||||
<param name="host">The host for the webpage razor.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.CompilingPathEventArgs.Host">
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.WebPages</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.Helpers.AntiForgery">
|
||||
<summary>Helps prevent malicious scripts from submitting forged page requests.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.AntiForgery.GetHtml">
|
||||
<summary>Adds an authenticating token to a form to help protect against request forgery.</summary>
|
||||
<returns>Returns a string that contains the encrypted token value in a hidden HTML field.</returns>
|
||||
<exception cref="T:System.ArgumentException">The current <see cref="T:System.Web.HttpContext" /> object is null.</exception>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.AntiForgery.GetHtml(System.Web.HttpContextBase,System.String,System.String,System.String)">
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
注意: 向配置设置的 App.config 文件添加
|
||||
只适用于 Test 项目的条目。
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
|
||||
</appSettings>
|
||||
|
||||
<connectionStrings>
|
||||
|
||||
</connectionStrings>
|
||||
</configuration>
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
@ -0,0 +1,15 @@
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\XingTu.Tests.dll.config
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\XingTu.Tests.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\XingTu.Tests.pdb
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\Microsoft.Web.Infrastructure.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\Newtonsoft.Json.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\System.Web.Helpers.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\System.Web.Mvc.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\System.Web.Razor.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\System.Web.WebPages.Deployment.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\System.Web.WebPages.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\System.Web.WebPages.Razor.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\XingTu.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\Microsoft.AspNet.Identity.EntityFramework.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\System.Web.Optimization.dll
|
||||
E:\项目\行途\XingTu\XingTu.Tests\bin\Debug\Owin.dll
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Microsoft.AspNet.Mvc" version="5.0.0" targetFramework="net45" />
|
||||
<package id="Microsoft.AspNet.Mvc.zh-Hans" version="5.0.0" targetFramework="net45" />
|
||||
<package id="Microsoft.AspNet.Razor" version="3.0.0" targetFramework="net45" />
|
||||
<package id="Microsoft.AspNet.Razor.zh-Hans" version="3.0.0" targetFramework="net45" />
|
||||
<package id="Microsoft.AspNet.WebPages" version="3.0.0" targetFramework="net45" />
|
||||
<package id="Microsoft.AspNet.WebPages.zh-Hans" version="3.0.0" targetFramework="net45" />
|
||||
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
|
||||
<package id="Newtonsoft.Json" version="5.0.6" targetFramework="net45" />
|
||||
</packages>
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
using System.Web;
|
||||
using System.Web.Optimization;
|
||||
|
||||
namespace XingTu
|
||||
{
|
||||
public class BundleConfig
|
||||
{
|
||||
// 有关绑定的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=301862
|
||||
public static void RegisterBundles(BundleCollection bundles)
|
||||
{
|
||||
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
|
||||
"~/Scripts/jquery-{version}.js"));
|
||||
|
||||
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
|
||||
"~/Scripts/jquery.validate*"));
|
@ -0,0 +1,13 @@
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace XingTu
|
||||
{
|
||||
public class FilterConfig
|
||||
{
|
||||
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
|
||||
{
|
||||
filters.Add(new HandleErrorAttribute());
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
|
||||
namespace XingTu
|
||||
{
|
||||
public class RouteConfig
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
||||
|
@ -0,0 +1,15 @@
|
||||
using Microsoft.AspNet.Identity;
|
||||
using Microsoft.Owin;
|
||||
using Microsoft.Owin.Security.Cookies;
|
||||
using Owin;
|
||||
|
||||
namespace XingTu
|
||||
{
|
||||
public partial class Startup
|
||||
{
|
||||
// 有关配置身份验证的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=301864
|
||||
public void ConfigureAuth(IAppBuilder app)
|
||||
{
|
||||
// 使应用程序可以使用 Cookie 来存储已登录用户的信息
|
||||
app.UseCookieAuthentication(new CookieAuthenticationOptions
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
body {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Set padding to keep content from hitting the edges */
|
||||
.body-content {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Set width on the form input elements since they're 100% wide by default */
|
||||
input,
|
||||
select,
|
||||
textarea {
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. The notices and licenses below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
/*!
|
||||
* Bootstrap v3.0.0
|
||||
*
|
||||
* Copyright 2013 Twitter, Inc
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. The notices and licenses below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
/*!
|
||||
* Bootstrap v3.0.0
|
||||
*
|
||||
* Copyright 2013 Twitter, Inc
|
@ -0,0 +1,15 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0}
|
||||
body,button,input,select,textarea{font-size:12px;font-family:'microsoft yahei',Verdana,Arial,Helvetica,sans-serif;}
|
||||
h1,h2,h3,h4,h5,h6{font-size:100%}
|
||||
address,cite,dfn,em,var{font-style:normal}
|
||||
code,kbd,pre,samp{font-family:courier new,courier,monospace}
|
||||
small{font-size:12px}
|
||||
ul,ol{list-style:none}
|
||||
sup{vertical-align:text-top}
|
||||
sub{vertical-align:text-bottom}
|
||||
fieldset,img{border:0}
|
||||
img{display:block;}
|
||||
button,input,select,textarea{font-size:100%;outline:medium;}
|
||||
table{border-collapse:collapse;border-spacing:0}
|
@ -0,0 +1,15 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
/* header top module begin */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
/*#newnavi a{
|
||||
color:#445250;
|
||||
}*/
|
||||
/* simple header styles */
|
||||
.topnavdrop .lm {
|
||||
float: left;
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
.topnavdrop .mline {
|
@ -0,0 +1,15 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
|
||||
.topnavul li a{color:#666;}
|
||||
.down_app{width:136px;height:44px;background:url(../img/down_phone.png) no-repeat left center;float:right;padding:4px 0 0 62px;margin-top: 14px;}
|
||||
.down_app span{color:#666;font-size:14px;display:block;margin-bottom:6px;}
|
||||
.down_app a{font-size:12px;color:#ccc;}
|
||||
.down_app a:hover{color:#ff7800;}
|
||||
.down_app a.ar{margin-left:16px;}
|
||||
|
||||
nav{height:40px;background:#44AAFF;}
|
||||
.mainnav {min-width: 1200px;}
|
||||
.mainnav ul {font-size: 16px;font-family: "microsoft yahei";width: 1210px;margin: 0 auto;}
|
||||
.mainnav ul li {float: left;line-height:40px;_display: inline;position: relative;text-align:center;width: 130px;}
|
||||
.mainnav ul li.li1{width:130px;background:#3390DD;}
|
@ -0,0 +1,15 @@
|
||||
using System.Threading.Tasks;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using Microsoft.AspNet.Identity;
|
||||
using Microsoft.AspNet.Identity.EntityFramework;
|
||||
using Microsoft.Owin.Security;
|
||||
using XingTu.Models;
|
||||
|
||||
namespace XingTu.Controllers
|
||||
{
|
||||
[Authorize]
|
||||
public class AccountController : Controller
|
||||
{
|
||||
public AccountController()
|
||||
: this(new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(new ApplicationDbContext())))
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace XingTu.Controllers
|
||||
{
|
||||
public class ActivityController : Controller
|
||||
{
|
||||
//
|
||||
// GET: /Activity/
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace XingTu.Controllers
|
||||
{
|
||||
public class ConnectionController : Controller
|
||||
{
|
||||
//
|
||||
// GET: /Connection/
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace XingTu.Controllers
|
||||
{
|
||||
public class HomeController : Controller
|
||||
{
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace XingTu.Controllers
|
||||
{
|
||||
public class IntegralMallController : Controller
|
||||
{
|
||||
//
|
||||
// GET: /IntegralMall/
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace XingTu.Controllers
|
||||
{
|
||||
public class IntroductionController : Controller
|
||||
{
|
||||
//
|
||||
// GET: /Introduction/
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace XingTu.Controllers
|
||||
{
|
||||
public class PreferenceController : Controller
|
||||
{
|
||||
//
|
||||
// GET: /Preference/
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace XingTu.Controllers
|
||||
{
|
||||
public class ShareController : Controller
|
||||
{
|
||||
//
|
||||
// GET: /Share/
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace XingTu.Controllers
|
||||
{
|
||||
public class VIPController : Controller
|
||||
{
|
||||
//
|
||||
// GET: /VIP/
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace XingTu.Controllers
|
||||
{
|
||||
public class ZoneController : Controller
|
||||
{
|
||||
//
|
||||
// GET: /Zone/
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
@ -0,0 +1 @@
|
||||
<%@ Application Codebehind="Global.asax.cs" Inherits="XingTu.MvcApplication" Language="C#" %>
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Optimization;
|
||||
using System.Web.Routing;
|
||||
|
||||
namespace XingTu
|
||||
{
|
||||
public class MvcApplication : System.Web.HttpApplication
|
||||
{
|
||||
protected void Application_Start()
|
||||
{
|
||||
AreaRegistration.RegisterAllAreas();
|
@ -0,0 +1,15 @@
|
||||
// <auto-generated />
|
||||
namespace XingTu.Migrations
|
||||
{
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Data.Entity.Migrations;
|
||||
using System.Data.Entity.Migrations.Infrastructure;
|
||||
using System.Resources;
|
||||
|
||||
[GeneratedCode("EntityFramework.Migrations", "6.0.0-20911")]
|
||||
public sealed partial class InitialCreate : IMigrationMetadata
|
||||
{
|
||||
private readonly ResourceManager Resources = new ResourceManager(typeof(InitialCreate));
|
||||
|
||||
string IMigrationMetadata.Id
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
namespace XingTu.Migrations
|
||||
{
|
||||
using System;
|
||||
using System.Data.Entity.Migrations;
|
||||
|
||||
public partial class InitialCreate : DbMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
CreateTable(
|
||||
"dbo.AspNetRoles",
|
||||
c => new
|
||||
{
|
||||
Id = c.String(nullable: false, maxLength: 128),
|
||||
Name = c.String(nullable: false),
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
@ -0,0 +1,15 @@
|
||||
// <auto-generated />
|
||||
namespace XingTu.Migrations
|
||||
{
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Data.Entity.Migrations;
|
||||
using System.Data.Entity.Migrations.Infrastructure;
|
||||
using System.Resources;
|
||||
|
||||
[GeneratedCode("EntityFramework.Migrations", "6.0.0-20911")]
|
||||
public sealed partial class Initial : IMigrationMetadata
|
||||
{
|
||||
private readonly ResourceManager Resources = new ResourceManager(typeof(Initial));
|
||||
|
||||
string IMigrationMetadata.Id
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
namespace XingTu.Migrations
|
||||
{
|
||||
using System;
|
||||
using System.Data.Entity.Migrations;
|
||||
|
||||
public partial class Initial : DbMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
AddColumn("dbo.AspNetUsers", "Introductor", c => c.String());
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
DropColumn("dbo.AspNetUsers", "Introductor");
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
@ -0,0 +1,15 @@
|
||||
namespace XingTu.Migrations
|
||||
{
|
||||
using System;
|
||||
using System.Data.Entity;
|
||||
using System.Data.Entity.Migrations;
|
||||
using System.Linq;
|
||||
|
||||
internal sealed class Configuration : DbMigrationsConfiguration<XingTu.Models.ApplicationDbContext>
|
||||
{
|
||||
public Configuration()
|
||||
{
|
||||
AutomaticMigrationsEnabled = false;
|
||||
ContextKey = "XingTu.Models.ApplicationDbContext";
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace XingTu.Models
|
||||
{
|
||||
public class ExternalLoginConfirmationViewModel
|
||||
{
|
||||
[Required]
|
||||
[Display(Name = "用户名")]
|
||||
public string UserName { get; set; }
|
||||
}
|
||||
|
||||
public class ManageUserViewModel
|
||||
{
|
||||
[Required]
|
@ -0,0 +1,15 @@
|
||||
using Microsoft.AspNet.Identity.EntityFramework;
|
||||
|
||||
namespace XingTu.Models
|
||||
{
|
||||
// You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more.
|
||||
public class ApplicationUser : IdentityUser
|
||||
{
|
||||
public string Introductor { get; set; }
|
||||
}
|
||||
|
||||
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
|
||||
{
|
||||
public ApplicationDbContext()
|
||||
: base("DefaultConnection")
|
||||
{
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta charset="utf-8" />
|
||||
<title>你的 ASP.NET 应用程序</title>
|
||||
<style>
|
||||
body {
|
||||
background: #fff;
|
||||
color: #505050;
|
||||
font: 14px 'Segoe UI', tahoma, arial, helvetica, sans-serif;
|
||||
margin: 20px;
|
||||
padding: 0;
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的常规信息是通过以下项进行控制的
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("XingTu")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Microsoft")]
|
||||
[assembly: AssemblyProduct("XingTu")]
|
||||
[assembly: AssemblyCopyright("版权所有(C) Microsoft 2016")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
@ -0,0 +1,15 @@
|
||||
/// <autosync enabled="true" />
|
||||
/// <reference path="modernizr-2.6.2.js" />
|
||||
/// <reference path="jquery-1.10.2.js" />
|
||||
/// <reference path="bootstrap.js" />
|
||||
/// <reference path="respond.js" />
|
||||
/// <reference path="jquery.validate.js" />
|
||||
/// <reference path="jquery.validate.unobtrusive.js" />
|
||||
/// <reference path="js/slider.js" />
|
||||
/// <reference path="js/hm.js" />
|
||||
/// <reference path="js/home.js" />
|
||||
/// <reference path="js/kalendar.js" />
|
||||
/// <reference path="js/page.js" />
|
||||
/// <reference path="js/activity.js" />
|
||||
/// <reference path="js/activity_02.js" />
|
||||
/// <reference path="js/bdslide.js" />
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
intellisense.annotate(jQuery, {
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
/*!
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* JQUERY CORE 1.10.2; Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors; http://jquery.org/license
|
||||
* Includes Sizzle.js; Copyright 2013 jQuery Foundation, Inc. and other contributors; http://opensource.org/licenses/MIT
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
/*
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
/*!
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
/*! jQuery Validation Plugin - v1.11.1 - 3/22/2013\n* https://github.com/jzaefferer/jquery-validation
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
/*!
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
/*
|
@ -0,0 +1,15 @@
|
||||
$(function() {
|
||||
$('.flexslider').flexslider({
|
||||
animation : "slide",
|
||||
start : function(slider) {
|
||||
$('body').removeClass('loading');
|
||||
}
|
||||
});
|
||||
|
||||
// 导航下拉菜单
|
||||
$('#newnavi li').hover(function() {
|
||||
$(this).addClass('lihover');
|
||||
$(this).find('.navdropBox').show();
|
||||
}, function() {
|
||||
$(this).removeClass('lihover');
|
||||
$(this).find('.navdropBox').hide();
|
@ -0,0 +1,15 @@
|
||||
$(function() {
|
||||
$('.flexslider').flexslider({
|
||||
animation : "slide",
|
||||
start : function(slider) {
|
||||
$('body').removeClass('loading');
|
||||
}
|
||||
});
|
||||
|
||||
// 导航下拉菜单
|
||||
$('#newnavi li').hover(function() {
|
||||
$(this).addClass('lihover');
|
||||
$(this).find('.navdropBox').show();
|
||||
}, function() {
|
||||
$(this).removeClass('lihover');
|
||||
$(this).find('.navdropBox').hide();
|
@ -0,0 +1,15 @@
|
||||
function getCookie (name) {
|
||||
var arg = name + "=";
|
||||
var alen = arg.length;
|
||||
var clen = document.cookie.length;
|
||||
var i = 0;
|
||||
while (i < clen) {
|
||||
var j = i + alen;
|
||||
if (document.cookie.substring(i, j) == arg) return getCookieVal (j);
|
||||
i = document.cookie.indexOf(" ", i) + 1;
|
||||
if (i == 0) break;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function setCookie(name, value, expires, path, domain, secure){
|
@ -0,0 +1,15 @@
|
||||
(function($) {
|
||||
$.fn.tabs = function(options){
|
||||
var opt = $.extend({},{
|
||||
active:"on"
|
||||
},options);
|
||||
|
||||
return this.each(function(){
|
||||
var tab = $(this);
|
||||
var tabCtrs = tab.find($("[data-panel]"));
|
||||
var tabPanel = tab.find(".tab-panel")
|
||||
tabCtrs.eq(0).addClass(opt.active);
|
||||
tabPanel.hide().eq(0).show();
|
||||
tabCtrs.click(function(event) {
|
||||
var tabCtr = $(this);
|
||||
var name = tabCtr.data("panel");
|
@ -0,0 +1,15 @@
|
||||
(function(){var h={},mt={},c={id:"a2b7ef33f37d317f6fc93d9263d197e5",dm:["lvye.com","bbs.lvye.cn"],js:"tongji.baidu.com/hm-web/js/",etrk:[],icon:'',ctrk:true,align:1,nv:1,vdur:1800000,age:31536000000,rec:0,rp:[],trust:0,vcard:0,qiao:0,lxb:0,conv:0,med:0,cvcc:'',cvcf:[],apps:'siteId=4654291&feedbackId=9223'};var r=void 0,s=!0,t=null,w=!1;mt.h={};mt.h.T=/msie (\d+\.\d+)/i.test(navigator.userAgent);mt.h.Da=/msie (\d+\.\d+)/i.test(navigator.userAgent)?document.documentMode||+RegExp.$1:r;mt.h.cookieEnabled=navigator.cookieEnabled;mt.h.javaEnabled=navigator.javaEnabled();mt.h.language=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLanguage||"";mt.h.Ga=(window.screen.width||0)+"x"+(window.screen.height||0);mt.h.colorDepth=window.screen.colorDepth||0;mt.cookie={};
|
||||
mt.cookie.set=function(a,b,e){var d;e.H&&(d=new Date,d.setTime(d.getTime()+e.H));document.cookie=a+"="+b+(e.domain?"; domain="+e.domain:"")+(e.path?"; path="+e.path:"")+(d?"; expires="+d.toGMTString():"")+(e.Ta?"; secure":"")};mt.cookie.get=function(a){return(a=RegExp("(^| )"+a+"=([^;]*)(;|$)").exec(document.cookie))?a[2]:t};mt.o={};mt.o.pa=function(a){return document.getElementById(a)};mt.o.qa=function(a){var b;for(b="A";(a=a.parentNode)&&1==a.nodeType;)if(a.tagName==b)return a;return t};
|
||||
(mt.o.W=function(){function a(){if(!a.B){a.B=s;for(var b=0,g=d.length;b<g;b++)d[b]()}}function b(){try{document.documentElement.doScroll("left")}catch(d){setTimeout(b,1);return}a()}var e=w,d=[],g;document.addEventListener?g=function(){document.removeEventListener("DOMContentLoaded",g,w);a()}:document.attachEvent&&(g=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",g),a())});(function(){if(!e)if(e=s,"complete"===document.readyState)a.B=s;else if(document.addEventListener)document.addEventListener("DOMContentLoaded",
|
||||
g,w),window.addEventListener("load",a,w);else if(document.attachEvent){document.attachEvent("onreadystatechange",g);window.attachEvent("onload",a);var d=w;try{d=window.frameElement==t}catch(n){}document.documentElement.doScroll&&d&&b()}})();return function(b){a.B?b():d.push(b)}}()).B=w;mt.event={};mt.event.c=function(a,b,e){a.attachEvent?a.attachEvent("on"+b,function(b){e.call(a,b)}):a.addEventListener&&a.addEventListener(b,e,w)};
|
||||
mt.event.preventDefault=function(a){a.preventDefault?a.preventDefault():a.returnValue=w};mt.j={};mt.j.parse=function(){return(new Function('return (" + source + ")'))()};
|
||||
mt.j.stringify=function(){function a(a){/["\\\x00-\x1f]/.test(a)&&(a=a.replace(/["\\\x00-\x1f]/g,function(a){var b=e[a];if(b)return b;b=a.charCodeAt();return"\\u00"+Math.floor(b/16).toString(16)+(b%16).toString(16)}));return'"'+a+'"'}function b(a){return 10>a?"0"+a:a}var e={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return function(d){switch(typeof d){case "undefined":return"undefined";case "number":return isFinite(d)?String(d):"null";case "string":return a(d);case "boolean":return String(d);
|
||||
default:if(d===t)return"null";if(d instanceof Array){var g=["["],e=d.length,n,f,k;for(f=0;f<e;f++)switch(k=d[f],typeof k){case "undefined":case "function":case "unknown":break;default:n&&g.push(","),g.push(mt.j.stringify(k)),n=1}g.push("]");return g.join("")}if(d instanceof Date)return'"'+d.getFullYear()+"-"+b(d.getMonth()+1)+"-"+b(d.getDate())+"T"+b(d.getHours())+":"+b(d.getMinutes())+":"+b(d.getSeconds())+'"';n=["{"];f=mt.j.stringify;for(e in d)if(Object.prototype.hasOwnProperty.call(d,e))switch(k=
|
||||
d[e],typeof k){case "undefined":case "unknown":case "function":break;default:g&&n.push(","),g=1,n.push(f(e)+":"+f(k))}n.push("}");return n.join("")}}}();mt.lang={};mt.lang.d=function(a,b){return"[object "+b+"]"==={}.toString.call(a)};mt.lang.Qa=function(a){return mt.lang.d(a,"Number")&&isFinite(a)};mt.lang.Sa=function(a){return mt.lang.d(a,"String")};mt.localStorage={};
|
||||
mt.localStorage.F=function(){if(!mt.localStorage.f)try{mt.localStorage.f=document.createElement("input"),mt.localStorage.f.type="hidden",mt.localStorage.f.style.display="none",mt.localStorage.f.addBehavior("#default#userData"),document.getElementsByTagName("head")[0].appendChild(mt.localStorage.f)}catch(a){return w}return s};
|
||||
mt.localStorage.set=function(a,b,e){var d=new Date;d.setTime(d.getTime()+e||31536E6);try{window.localStorage?(b=d.getTime()+"|"+b,window.localStorage.setItem(a,b)):mt.localStorage.F()&&(mt.localStorage.f.expires=d.toUTCString(),mt.localStorage.f.load(document.location.hostname),mt.localStorage.f.setAttribute(a,b),mt.localStorage.f.save(document.location.hostname))}catch(g){}};
|
||||
mt.localStorage.get=function(a){if(window.localStorage){if(a=window.localStorage.getItem(a)){var b=a.indexOf("|"),e=a.substring(0,b)-0;if(e&&e>(new Date).getTime())return a.substring(b+1)}}else if(mt.localStorage.F())try{return mt.localStorage.f.load(document.location.hostname),mt.localStorage.f.getAttribute(a)}catch(d){}return t};
|
||||
mt.localStorage.remove=function(a){if(window.localStorage)window.localStorage.removeItem(a);else if(mt.localStorage.F())try{mt.localStorage.f.load(document.location.hostname),mt.localStorage.f.removeAttribute(a),mt.localStorage.f.save(document.location.hostname)}catch(b){}};mt.sessionStorage={};mt.sessionStorage.set=function(a,b){if(window.sessionStorage)try{window.sessionStorage.setItem(a,b)}catch(e){}};
|
||||
mt.sessionStorage.get=function(a){return window.sessionStorage?window.sessionStorage.getItem(a):t};mt.sessionStorage.remove=function(a){window.sessionStorage&&window.sessionStorage.removeItem(a)};mt.Y={};mt.Y.log=function(a,b){var e=new Image,d="mini_tangram_log_"+Math.floor(2147483648*Math.random()).toString(36);window[d]=e;e.onload=e.onerror=e.onabort=function(){e.onload=e.onerror=e.onabort=t;e=window[d]=t;b&&b(a)};e.src=a};mt.O={};
|
||||
mt.O.wa=function(){var a="";if(navigator.plugins&&navigator.mimeTypes.length){var b=navigator.plugins["Shockwave Flash"];b&&b.description&&(a=b.description.replace(/^.*\s+(\S+)\s+\S+$/,"$1"))}else if(window.ActiveXObject)try{if(b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))(a=b.GetVariable("$version"))&&(a=a.replace(/^.*\s+(\d+),(\d+).*$/,"$1.$2"))}catch(e){}return a};
|
||||
mt.O.Ma=function(a,b,e,d,g){return'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="'+a+'" width="'+e+'" height="'+d+'"><param name="movie" value="'+b+'" /><param name="flashvars" value="'+(g||"")+'" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" name="'+a+'" width="'+e+'" height="'+d+'" src="'+b+'" flashvars="'+(g||"")+'" allowscriptaccess="always" /></object>'};mt.url={};
|
@ -0,0 +1,15 @@
|
||||
|
||||
$(function(){
|
||||
|
||||
//header drop down menu
|
||||
/*
|
||||
$(".topnavul li").hover(function(){
|
||||
$(this).addClass("topnavhover");
|
||||
$(this).find("dl").show();
|
||||
},function(){
|
||||
$(this).removeClass("topnavhover");
|
||||
$(this).find("dl").hide();
|
||||
})
|
||||
*/
|
||||
|
||||
//search drop down menu
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
// JavaScript Document
|
||||
$(function(){
|
||||
/************* 方法 **************/
|
||||
//判断是否是闰年,计算每个月的天数
|
||||
function leapYear(year){
|
||||
var isLeap = year%100==0 ? (year%400==0 ? 1 : 0) : (year%4==0 ? 1 : 0);
|
||||
return new Array(31,28+isLeap,31,30,31,30,31,31,30,31,30,31);
|
||||
}
|
||||
|
||||
//获得某月第一天是周几
|
||||
function firstDay(day){
|
||||
return day.getDay();
|
||||
}
|
||||
|
||||
//获得当天的相关日期变量
|
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* The new version of zyjb'details page
|
||||
* author: zhangxuemei
|
||||
* 2014-6-23
|
||||
* last-modify: 2014-7-2
|
||||
*/
|
||||
(function($) {
|
||||
|
||||
//消息弹出框
|
||||
$.fn.alertMsg = function (message, winObj) {
|
||||
var winCover = true;
|
||||
var cover = {
|
||||
width: $(window).width(),
|
||||
height: $(window).height(),
|
||||
cont: "<div class='cover'></div>"
|
@ -0,0 +1,8 @@
|
||||
/*! http://responsiveslides.com v1.54 by @viljamis */
|
||||
(function(c,I,B){c.fn.responsiveSlides=function(l){var a=c.extend({auto:!0,speed:500,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:c.noop,after:c.noop},l);return this.each(function(){B++;var f=c(this),s,r,t,m,p,q,n=0,e=f.children(),C=e.size(),h=parseFloat(a.speed),D=parseFloat(a.timeout),u=parseFloat(a.maxwidth),g=a.namespace,d=g+B,E=g+"_nav "+d+"_nav",v=g+"_here",j=d+"_on",
|
||||
w=d+"_s",k=c("<ul class='"+g+"_tabs "+d+"_tabs' />"),x={"float":"left",position:"relative",opacity:1,zIndex:2},y={"float":"none",position:"absolute",opacity:0,zIndex:1},F=function(){var b=(document.body||document.documentElement).style,a="transition";if("string"===typeof b[a])return!0;s=["Moz","Webkit","Khtml","O","ms"];var a=a.charAt(0).toUpperCase()+a.substr(1),c;for(c=0;c<s.length;c++)if("string"===typeof b[s[c]+a])return!0;return!1}(),z=function(b){a.before(b);F?(e.removeClass(j).css(y).eq(b).addClass(j).css(x),
|
||||
n=b,setTimeout(function(){a.after(b)},h)):e.stop().fadeOut(h,function(){c(this).removeClass(j).css(y).css("opacity",1)}).eq(b).fadeIn(h,function(){c(this).addClass(j).css(x);a.after(b);n=b})};a.random&&(e.sort(function(){return Math.round(Math.random())-0.5}),f.empty().append(e));e.each(function(a){this.id=w+a});f.addClass(g+" "+d);l&&l.maxwidth&&f.css("max-width",u);e.hide().css(y).eq(0).addClass(j).css(x).show();F&&e.show().css({"-webkit-transition":"opacity "+h+"ms ease-in-out","-moz-transition":"opacity "+
|
||||
h+"ms ease-in-out","-o-transition":"opacity "+h+"ms ease-in-out",transition:"opacity "+h+"ms ease-in-out"});if(1<e.size()){if(D<h+100)return;if(a.pager&&!a.manualControls){var A=[];e.each(function(a){a+=1;A+="<li><a href='#' class='"+w+a+"'>"+a+"</a></li>"});k.append(A);l.navContainer?c(a.navContainer).append(k):f.after(k)}a.manualControls&&(k=c(a.manualControls),k.addClass(g+"_tabs "+d+"_tabs"));(a.pager||a.manualControls)&&k.find("li").each(function(a){c(this).addClass(w+(a+1))});if(a.pager||a.manualControls)q=
|
||||
k.find("a"),r=function(a){q.closest("li").removeClass(v).eq(a).addClass(v)};a.auto&&(t=function(){p=setInterval(function(){e.stop(!0,!0);var b=n+1<C?n+1:0;(a.pager||a.manualControls)&&r(b);z(b)},D)},t());m=function(){a.auto&&(clearInterval(p),t())};a.pause&&f.hover(function(){clearInterval(p)},function(){m()});if(a.pager||a.manualControls)q.bind("click",function(b){b.preventDefault();a.pauseControls||m();b=q.index(this);n===b||c("."+j).queue("fx").length||(r(b),z(b))}).eq(0).closest("li").addClass(v),
|
||||
a.pauseControls&&q.hover(function(){clearInterval(p)},function(){m()});if(a.nav){g="<a href='#' class='"+E+" prev'>"+a.prevText+"</a><a href='#' class='"+E+" next'>"+a.nextText+"</a>";l.navContainer?c(a.navContainer).append(g):f.after(g);var d=c("."+d+"_nav"),G=d.filter(".prev");d.bind("click",function(b){b.preventDefault();b=c("."+j);if(!b.queue("fx").length){var d=e.index(b);b=d-1;d=d+1<C?n+1:0;z(c(this)[0]===G[0]?b:d);if(a.pager||a.manualControls)r(c(this)[0]===G[0]?b:d);a.pauseControls||m()}});
|
||||
a.pauseControls&&d.hover(function(){clearInterval(p)},function(){m()})}}if("undefined"===typeof document.body.style.maxWidth&&l.maxwidth){var H=function(){f.css("width","100%");f.width()>u&&f.css("width",u)};H();c(I).bind("resize",function(){H()})}})}})(jQuery,this,0);
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* Copyright (c) Faruk Ates, Paul Irish, Alex Sexton; http://www.modernizr.com/license/
|
||||
*
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
|
@ -0,0 +1,15 @@
|
||||
/* NUGET: BEGIN LICENSE TEXT
|
||||
*
|
||||
* Microsoft grants you the right to use these script files for the sole
|
||||
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||
* website or online service, subject to the applicable licensing or use
|
||||
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||
* to that product's license terms. Microsoft reserves all other rights to the
|
||||
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||
* under the terms set out in this paragraph. All notices and licenses
|
||||
* below are for informational purposes only.
|
||||
*
|
||||
* NUGET: END LICENSE TEXT */
|
||||
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
|
@ -0,0 +1,14 @@
|
||||
using Microsoft.Owin;
|
||||
using Owin;
|
||||
|
||||
[assembly: OwinStartupAttribute(typeof(XingTu.Startup))]
|
||||
namespace XingTu
|
||||
{
|
||||
public partial class Startup
|
||||
{
|
||||
public void Configuration(IAppBuilder app)
|
||||
{
|
||||
ConfigureAuth(app);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
@model XingTu.Models.ExternalLoginConfirmationViewModel
|
||||
@{
|
||||
ViewBag.Title = "注册";
|
||||
}
|
||||
<h2>@ViewBag.Title。</h2>
|
||||
<h3>关联你的 @ViewBag.LoginProvider 帐户。</h3>
|
||||
|
||||
@using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
|
||||
<h4>关联表单</h4>
|
||||
<hr />
|
||||
@Html.ValidationSummary(true)
|
||||
<p class="text-info">
|
@ -0,0 +1,6 @@
|
||||
@{
|
||||
ViewBag.Title = "登录失败";
|
||||
}
|
||||
|
||||
<h2>@ViewBag.Title。</h2>
|
||||
<h3 class="text-error">使用服务登录失败。</h3>
|
@ -0,0 +1,15 @@
|
||||
@model XingTu.Models.LoginViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = "登录";
|
||||
}
|
||||
|
||||
<h2>@ViewBag.Title。</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<section id="loginForm">
|
||||
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
<h4>使用本地帐户登录。</h4>
|
||||
<hr />
|
@ -0,0 +1,15 @@
|
||||
@using XingTu.Models;
|
||||
@using Microsoft.AspNet.Identity;
|
||||
@{
|
||||
ViewBag.Title = "管理帐户";
|
||||
}
|
||||
|
||||
<h2>@ViewBag.Title。</h2>
|
||||
|
||||
<p class="text-success">@ViewBag.StatusMessage</p>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@if (ViewBag.HasLocalPassword)
|
||||
{
|
||||
@Html.Partial("_ChangePasswordPartial")
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue