Assignment 6 complete.
This commit is contained in:
parent
445d67b4f2
commit
de95f591fd
0
Assignment4/Assignment4.sln
Normal file → Executable file
0
Assignment4/Assignment4.sln
Normal file → Executable file
0
Assignment4/Assignment4/Assignment4.csproj
Normal file → Executable file
0
Assignment4/Assignment4/Assignment4.csproj
Normal file → Executable file
0
Assignment4/Assignment4/Properties/AssemblyInfo.cs
Normal file → Executable file
0
Assignment4/Assignment4/Properties/AssemblyInfo.cs
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/DetailsView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/DetailsView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/Focus.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/Focus.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/GridView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/GridView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjax.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjax.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxApplicationServices.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxApplicationServices.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxComponentModel.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxComponentModel.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxCore.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxCore.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxGlobalization.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxGlobalization.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxHistory.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxHistory.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxNetwork.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxNetwork.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxSerialization.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxSerialization.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxTimer.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxTimer.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxWebForms.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxWebForms.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxWebServices.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxWebServices.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/Menu.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/Menu.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MenuStandards.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MenuStandards.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/SmartNav.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/SmartNav.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/TreeView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/TreeView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebForms.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebForms.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebParts.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebParts.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebUIValidation.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebUIValidation.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.bundle.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.bundle.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.bundle.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.bundle.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.esm.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.esm.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.esm.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.esm.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.intellisense.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.intellisense.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.slim.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.slim.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.slim.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.slim.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/modernizr-2.8.3.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/modernizr-2.8.3.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Web.Debug.config
Normal file → Executable file
0
Assignment4/Assignment4/Web.Debug.config
Normal file → Executable file
0
Assignment4/Assignment4/Web.Release.config
Normal file → Executable file
0
Assignment4/Assignment4/Web.Release.config
Normal file → Executable file
0
Assignment4/Assignment4/Web.config
Normal file → Executable file
0
Assignment4/Assignment4/Web.config
Normal file → Executable file
0
Assignment4/Assignment4/packages.config
Normal file → Executable file
0
Assignment4/Assignment4/packages.config
Normal file → Executable file
0
Assignment4/Assignment4/styles/calc.css
Normal file → Executable file
0
Assignment4/Assignment4/styles/calc.css
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/DetailsView.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/DetailsView.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/Focus.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/Focus.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/GridView.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/GridView.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjax.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjax.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxApplicationServices.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxApplicationServices.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxComponentModel.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxComponentModel.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxCore.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxCore.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxGlobalization.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxGlobalization.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxHistory.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxHistory.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxNetwork.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxNetwork.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxSerialization.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxSerialization.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxTimer.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxTimer.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxWebForms.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxWebForms.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxWebServices.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxWebServices.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/Menu.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/Menu.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MenuStandards.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/MenuStandards.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/SmartNav.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/SmartNav.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/TreeView.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/TreeView.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/WebForms.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/WebForms.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/WebParts.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/WebParts.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/WebUIValidation.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/WebForms/WebUIValidation.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/bootstrap.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/bootstrap.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/bootstrap.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/bootstrap.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.intellisense.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.intellisense.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.slim.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.slim.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.slim.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.slim.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/modernizr-2.8.3.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/modernizr-2.8.3.js
vendored
Normal file → Executable file
25
Assignment6/Assignment6.sln
Normal file
25
Assignment6/Assignment6.sln
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.34114.132
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assignment6", "Assignment6\Assignment6.csproj", "{F2C8F66E-D25A-450A-8DD2-1177A46355B5}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F2C8F66E-D25A-450A-8DD2-1177A46355B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F2C8F66E-D25A-450A-8DD2-1177A46355B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F2C8F66E-D25A-450A-8DD2-1177A46355B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2C8F66E-D25A-450A-8DD2-1177A46355B5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {3830392A-F81A-4772-ABBC-09993F43C053}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
7
Assignment6/Assignment6/About.aspx
Normal file
7
Assignment6/Assignment6/About.aspx
Normal file
|
@ -0,0 +1,7 @@
|
|||
<%@ Page Title="About" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="About.aspx.cs" Inherits="Assignment6.About" %>
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<h2><%: Title %>.</h2>
|
||||
<h3>Your application description page.</h3>
|
||||
<p>Use this area to provide additional information.</p>
|
||||
</asp:Content>
|
17
Assignment6/Assignment6/About.aspx.cs
Normal file
17
Assignment6/Assignment6/About.aspx.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
public partial class About : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
16
Assignment6/Assignment6/About.aspx.designer.cs
generated
Normal file
16
Assignment6/Assignment6/About.aspx.designer.cs
generated
Normal file
|
@ -0,0 +1,16 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
public partial class About
|
||||
{
|
||||
}
|
||||
}
|
38
Assignment6/Assignment6/App_Start/BundleConfig.cs
Normal file
38
Assignment6/Assignment6/App_Start/BundleConfig.cs
Normal file
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Optimization;
|
||||
using System.Web.UI;
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
public class BundleConfig
|
||||
{
|
||||
// For more information on Bundling, visit https://go.microsoft.com/fwlink/?LinkID=303951
|
||||
public static void RegisterBundles(BundleCollection bundles)
|
||||
{
|
||||
bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
|
||||
"~/Scripts/WebForms/WebForms.js",
|
||||
"~/Scripts/WebForms/WebUIValidation.js",
|
||||
"~/Scripts/WebForms/MenuStandards.js",
|
||||
"~/Scripts/WebForms/Focus.js",
|
||||
"~/Scripts/WebForms/GridView.js",
|
||||
"~/Scripts/WebForms/DetailsView.js",
|
||||
"~/Scripts/WebForms/TreeView.js",
|
||||
"~/Scripts/WebForms/WebParts.js"));
|
||||
|
||||
// Order is very important for these files to work, they have explicit dependencies
|
||||
bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
|
||||
|
||||
// Use the Development version of Modernizr to develop with and learn from. Then, when you’re
|
||||
// ready for production, use the build tool at https://modernizr.com to pick only the tests you need
|
||||
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
|
||||
"~/Scripts/modernizr-*"));
|
||||
}
|
||||
}
|
||||
}
|
18
Assignment6/Assignment6/App_Start/RouteConfig.cs
Normal file
18
Assignment6/Assignment6/App_Start/RouteConfig.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.Routing;
|
||||
using Microsoft.AspNet.FriendlyUrls;
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
public static class RouteConfig
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
var settings = new FriendlyUrlSettings();
|
||||
settings.AutoRedirectMode = RedirectMode.Permanent;
|
||||
routes.EnableFriendlyUrls(settings);
|
||||
}
|
||||
}
|
||||
}
|
273
Assignment6/Assignment6/Assignment6.csproj
Normal file
273
Assignment6/Assignment6/Assignment6.csproj
Normal file
|
@ -0,0 +1,273 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>
|
||||
</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{F2C8F66E-D25A-450A-8DD2-1177A46355B5}</ProjectGuid>
|
||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Assignment6</RootNamespace>
|
||||
<AssemblyName>Assignment6</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<Use64BitIISExpress />
|
||||
<IISExpressSSLPort />
|
||||
<IISExpressAnonymousAuthentication />
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<UseGlobalApplicationHostFile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.Entity" />
|
||||
<Reference Include="System.Web.ApplicationServices" />
|
||||
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AspNet.ScriptManager.bootstrap">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.bootstrap.3.4.1\lib\net45\AspNet.ScriptManager.bootstrap.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AspNet.ScriptManager.jQuery">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.jQuery.3.4.1\lib\net45\AspNet.ScriptManager.jQuery.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ScriptManager.MSAjax">
|
||||
<HintPath>..\packages\Microsoft.AspNet.ScriptManager.MSAjax.5.0.0\lib\net45\Microsoft.ScriptManager.MSAjax.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ScriptManager.WebForms">
|
||||
<HintPath>..\packages\Microsoft.AspNet.ScriptManager.WebForms.5.0.0\lib\net45\Microsoft.ScriptManager.WebForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json">
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WebGrease">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\WebGrease.1.6.0\lib\WebGrease.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Antlr3.Runtime">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.Web.Optimization.WebForms">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.WebForms.1.1.3\lib\net45\Microsoft.AspNet.Web.Optimization.WebForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.FriendlyUrls">
|
||||
<HintPath>..\packages\Microsoft.AspNet.FriendlyUrls.Core.1.0.2\lib\net45\Microsoft.AspNet.FriendlyUrls.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform">
|
||||
<HintPath>..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="About.aspx" />
|
||||
<Content Include="Contact.aspx" />
|
||||
<Content Include="Content\bootstrap-theme.css" />
|
||||
<Content Include="Content\bootstrap-theme.min.css" />
|
||||
<Content Include="Content\bootstrap.css" />
|
||||
<Content Include="Content\bootstrap.min.css" />
|
||||
<Content Include="Content\Site.css" />
|
||||
<Content Include="Default.aspx" />
|
||||
<Content Include="favicon.ico" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.svg" />
|
||||
<Content Include="Global.asax" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.woff2" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.woff" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.ttf" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.eot" />
|
||||
<Content Include="Content\bootstrap.min.css.map" />
|
||||
<Content Include="Content\bootstrap.css.map" />
|
||||
<Content Include="Content\bootstrap-theme.min.css.map" />
|
||||
<Content Include="Content\bootstrap-theme.css.map" />
|
||||
<None Include="Scripts\jquery-3.4.1.intellisense.js" />
|
||||
<Content Include="OrderMenu.aspx" />
|
||||
<Content Include="Scripts\bootstrap.js" />
|
||||
<Content Include="Scripts\bootstrap.min.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.min.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.min.js" />
|
||||
<Content Include="Scripts\modernizr-2.8.3.js" />
|
||||
<Content Include="Scripts\WebForms\DetailsView.js" />
|
||||
<Content Include="Scripts\WebForms\Focus.js" />
|
||||
<Content Include="Scripts\WebForms\GridView.js" />
|
||||
<Content Include="Scripts\WebForms\Menu.js" />
|
||||
<Content Include="Scripts\WebForms\MenuStandards.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjax.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxApplicationServices.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxComponentModel.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxCore.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxGlobalization.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxHistory.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxNetwork.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxSerialization.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxTimer.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxWebForms.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxWebServices.js" />
|
||||
<Content Include="Scripts\WebForms\SmartNav.js" />
|
||||
<Content Include="Scripts\WebForms\TreeView.js" />
|
||||
<Content Include="Scripts\WebForms\WebForms.js" />
|
||||
<Content Include="Scripts\WebForms\WebParts.js" />
|
||||
<Content Include="Scripts\WebForms\WebUIValidation.js" />
|
||||
<Content Include="Site.Master" />
|
||||
<Content Include="styles\style.css" />
|
||||
<Content Include="ViewSwitcher.ascx" />
|
||||
<Content Include="Web.config" />
|
||||
<Content Include="Bundle.config" />
|
||||
<Content Include="Site.Mobile.Master" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="App_Start\BundleConfig.cs" />
|
||||
<Compile Include="About.aspx.cs">
|
||||
<DependentUpon>About.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="About.aspx.designer.cs">
|
||||
<DependentUpon>About.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="App_Start\RouteConfig.cs" />
|
||||
<Compile Include="Contact.aspx.cs">
|
||||
<DependentUpon>Contact.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Contact.aspx.designer.cs">
|
||||
<DependentUpon>Contact.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Default.aspx.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Default.aspx.designer.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Global.asax.cs">
|
||||
<DependentUpon>Global.asax</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderMenu.aspx.cs">
|
||||
<DependentUpon>OrderMenu.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderMenu.aspx.designer.cs">
|
||||
<DependentUpon>OrderMenu.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Site.Master.cs">
|
||||
<DependentUpon>Site.Master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Site.Master.designer.cs">
|
||||
<DependentUpon>Site.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Site.Mobile.Master.cs">
|
||||
<DependentUpon>Site.Mobile.Master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Site.Mobile.Master.designer.cs">
|
||||
<DependentUpon>Site.Mobile.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewSwitcher.ascx.cs">
|
||||
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ViewSwitcher.ascx.designer.cs">
|
||||
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.min.map" />
|
||||
<Content Include="Scripts\jquery-3.4.1.min.map" />
|
||||
<None Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
<None Include="Web.Release.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
<WebProjectProperties>
|
||||
<UseIIS>True</UseIIS>
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>50430</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:50430/</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
</CustomServerUrl>
|
||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
|
||||
</Target>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
7
Assignment6/Assignment6/Bundle.config
Normal file
7
Assignment6/Assignment6/Bundle.config
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<bundles version="1.0">
|
||||
<styleBundle path="~/Content/css">
|
||||
<include path="~/Content/bootstrap.css" />
|
||||
<include path="~/Content/Site.css" />
|
||||
</styleBundle>
|
||||
</bundles>
|
17
Assignment6/Assignment6/Contact.aspx
Normal file
17
Assignment6/Assignment6/Contact.aspx
Normal file
|
@ -0,0 +1,17 @@
|
|||
<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="Assignment6.Contact" %>
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<h2><%: Title %>.</h2>
|
||||
<h3>Your contact page.</h3>
|
||||
<address>
|
||||
One Microsoft Way<br />
|
||||
Redmond, WA 98052-6399<br />
|
||||
<abbr title="Phone">P:</abbr>
|
||||
425.555.0100
|
||||
</address>
|
||||
|
||||
<address>
|
||||
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.com</a><br />
|
||||
<strong>Marketing:</strong> <a href="mailto:Marketing@example.com">Marketing@example.com</a>
|
||||
</address>
|
||||
</asp:Content>
|
17
Assignment6/Assignment6/Contact.aspx.cs
Normal file
17
Assignment6/Assignment6/Contact.aspx.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
public partial class Contact : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
16
Assignment6/Assignment6/Contact.aspx.designer.cs
generated
Normal file
16
Assignment6/Assignment6/Contact.aspx.designer.cs
generated
Normal file
|
@ -0,0 +1,16 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
public partial class Contact
|
||||
{
|
||||
}
|
||||
}
|
31
Assignment6/Assignment6/Content/Site.css
Normal file
31
Assignment6/Assignment6/Content/Site.css
Normal file
|
@ -0,0 +1,31 @@
|
|||
/* Move down content because we have a fixed navbar that is 50px tall */
|
||||
body {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Wrapping element */
|
||||
/* Set some basic padding to keep content from hitting the edges */
|
||||
.body-content {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Set widths on the form inputs since otherwise they're 100% wide */
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
max-width: 280px;
|
||||
}
|
||||
|
||||
|
||||
/* Responsive: Portrait tablets and up */
|
||||
@media screen and (min-width: 768px) {
|
||||
.jumbotron {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.body-content {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
587
Assignment6/Assignment6/Content/bootstrap-theme.css
vendored
Normal file
587
Assignment6/Assignment6/Content/bootstrap-theme.css
vendored
Normal file
|
@ -0,0 +1,587 @@
|
|||
/*!
|
||||
* Bootstrap v3.4.1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2019 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
.btn-default,
|
||||
.btn-primary,
|
||||
.btn-success,
|
||||
.btn-info,
|
||||
.btn-warning,
|
||||
.btn-danger {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-primary:active,
|
||||
.btn-success:active,
|
||||
.btn-info:active,
|
||||
.btn-warning:active,
|
||||
.btn-danger:active,
|
||||
.btn-default.active,
|
||||
.btn-primary.active,
|
||||
.btn-success.active,
|
||||
.btn-info.active,
|
||||
.btn-warning.active,
|
||||
.btn-danger.active {
|
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
}
|
||||
.btn-default.disabled,
|
||||
.btn-primary.disabled,
|
||||
.btn-success.disabled,
|
||||
.btn-info.disabled,
|
||||
.btn-warning.disabled,
|
||||
.btn-danger.disabled,
|
||||
.btn-default[disabled],
|
||||
.btn-primary[disabled],
|
||||
.btn-success[disabled],
|
||||
.btn-info[disabled],
|
||||
.btn-warning[disabled],
|
||||
.btn-danger[disabled],
|
||||
fieldset[disabled] .btn-default,
|
||||
fieldset[disabled] .btn-primary,
|
||||
fieldset[disabled] .btn-success,
|
||||
fieldset[disabled] .btn-info,
|
||||
fieldset[disabled] .btn-warning,
|
||||
fieldset[disabled] .btn-danger {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.btn-default .badge,
|
||||
.btn-primary .badge,
|
||||
.btn-success .badge,
|
||||
.btn-info .badge,
|
||||
.btn-warning .badge,
|
||||
.btn-danger .badge {
|
||||
text-shadow: none;
|
||||
}
|
||||
.btn:active,
|
||||
.btn.active {
|
||||
background-image: none;
|
||||
}
|
||||
.btn-default {
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dbdbdb;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
border-color: #ccc;
|
||||
}
|
||||
.btn-default:hover,
|
||||
.btn-default:focus {
|
||||
background-color: #e0e0e0;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-default.active {
|
||||
background-color: #e0e0e0;
|
||||
border-color: #dbdbdb;
|
||||
}
|
||||
.btn-default.disabled,
|
||||
.btn-default[disabled],
|
||||
fieldset[disabled] .btn-default,
|
||||
.btn-default.disabled:hover,
|
||||
.btn-default[disabled]:hover,
|
||||
fieldset[disabled] .btn-default:hover,
|
||||
.btn-default.disabled:focus,
|
||||
.btn-default[disabled]:focus,
|
||||
fieldset[disabled] .btn-default:focus,
|
||||
.btn-default.disabled.focus,
|
||||
.btn-default[disabled].focus,
|
||||
fieldset[disabled] .btn-default.focus,
|
||||
.btn-default.disabled:active,
|
||||
.btn-default[disabled]:active,
|
||||
fieldset[disabled] .btn-default:active,
|
||||
.btn-default.disabled.active,
|
||||
.btn-default[disabled].active,
|
||||
fieldset[disabled] .btn-default.active {
|
||||
background-color: #e0e0e0;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-primary {
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #245580;
|
||||
}
|
||||
.btn-primary:hover,
|
||||
.btn-primary:focus {
|
||||
background-color: #265a88;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-primary:active,
|
||||
.btn-primary.active {
|
||||
background-color: #265a88;
|
||||
border-color: #245580;
|
||||
}
|
||||
.btn-primary.disabled,
|
||||
.btn-primary[disabled],
|
||||
fieldset[disabled] .btn-primary,
|
||||
.btn-primary.disabled:hover,
|
||||
.btn-primary[disabled]:hover,
|
||||
fieldset[disabled] .btn-primary:hover,
|
||||
.btn-primary.disabled:focus,
|
||||
.btn-primary[disabled]:focus,
|
||||
fieldset[disabled] .btn-primary:focus,
|
||||
.btn-primary.disabled.focus,
|
||||
.btn-primary[disabled].focus,
|
||||
fieldset[disabled] .btn-primary.focus,
|
||||
.btn-primary.disabled:active,
|
||||
.btn-primary[disabled]:active,
|
||||
fieldset[disabled] .btn-primary:active,
|
||||
.btn-primary.disabled.active,
|
||||
.btn-primary[disabled].active,
|
||||
fieldset[disabled] .btn-primary.active {
|
||||
background-color: #265a88;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
.btn-success:hover,
|
||||
.btn-success:focus {
|
||||
background-color: #419641;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-success:active,
|
||||
.btn-success.active {
|
||||
background-color: #419641;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
.btn-success.disabled,
|
||||
.btn-success[disabled],
|
||||
fieldset[disabled] .btn-success,
|
||||
.btn-success.disabled:hover,
|
||||
.btn-success[disabled]:hover,
|
||||
fieldset[disabled] .btn-success:hover,
|
||||
.btn-success.disabled:focus,
|
||||
.btn-success[disabled]:focus,
|
||||
fieldset[disabled] .btn-success:focus,
|
||||
.btn-success.disabled.focus,
|
||||
.btn-success[disabled].focus,
|
||||
fieldset[disabled] .btn-success.focus,
|
||||
.btn-success.disabled:active,
|
||||
.btn-success[disabled]:active,
|
||||
fieldset[disabled] .btn-success:active,
|
||||
.btn-success.disabled.active,
|
||||
.btn-success[disabled].active,
|
||||
fieldset[disabled] .btn-success.active {
|
||||
background-color: #419641;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #28a4c9;
|
||||
}
|
||||
.btn-info:hover,
|
||||
.btn-info:focus {
|
||||
background-color: #2aabd2;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-info:active,
|
||||
.btn-info.active {
|
||||
background-color: #2aabd2;
|
||||
border-color: #28a4c9;
|
||||
}
|
||||
.btn-info.disabled,
|
||||
.btn-info[disabled],
|
||||
fieldset[disabled] .btn-info,
|
||||
.btn-info.disabled:hover,
|
||||
.btn-info[disabled]:hover,
|
||||
fieldset[disabled] .btn-info:hover,
|
||||
.btn-info.disabled:focus,
|
||||
.btn-info[disabled]:focus,
|
||||
fieldset[disabled] .btn-info:focus,
|
||||
.btn-info.disabled.focus,
|
||||
.btn-info[disabled].focus,
|
||||
fieldset[disabled] .btn-info.focus,
|
||||
.btn-info.disabled:active,
|
||||
.btn-info[disabled]:active,
|
||||
fieldset[disabled] .btn-info:active,
|
||||
.btn-info.disabled.active,
|
||||
.btn-info[disabled].active,
|
||||
fieldset[disabled] .btn-info.active {
|
||||
background-color: #2aabd2;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
.btn-warning:hover,
|
||||
.btn-warning:focus {
|
||||
background-color: #eb9316;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-warning:active,
|
||||
.btn-warning.active {
|
||||
background-color: #eb9316;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
.btn-warning.disabled,
|
||||
.btn-warning[disabled],
|
||||
fieldset[disabled] .btn-warning,
|
||||
.btn-warning.disabled:hover,
|
||||
.btn-warning[disabled]:hover,
|
||||
fieldset[disabled] .btn-warning:hover,
|
||||
.btn-warning.disabled:focus,
|
||||
.btn-warning[disabled]:focus,
|
||||
fieldset[disabled] .btn-warning:focus,
|
||||
.btn-warning.disabled.focus,
|
||||
.btn-warning[disabled].focus,
|
||||
fieldset[disabled] .btn-warning.focus,
|
||||
.btn-warning.disabled:active,
|
||||
.btn-warning[disabled]:active,
|
||||
fieldset[disabled] .btn-warning:active,
|
||||
.btn-warning.disabled.active,
|
||||
.btn-warning[disabled].active,
|
||||
fieldset[disabled] .btn-warning.active {
|
||||
background-color: #eb9316;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
.btn-danger:hover,
|
||||
.btn-danger:focus {
|
||||
background-color: #c12e2a;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-danger:active,
|
||||
.btn-danger.active {
|
||||
background-color: #c12e2a;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
.btn-danger.disabled,
|
||||
.btn-danger[disabled],
|
||||
fieldset[disabled] .btn-danger,
|
||||
.btn-danger.disabled:hover,
|
||||
.btn-danger[disabled]:hover,
|
||||
fieldset[disabled] .btn-danger:hover,
|
||||
.btn-danger.disabled:focus,
|
||||
.btn-danger[disabled]:focus,
|
||||
fieldset[disabled] .btn-danger:focus,
|
||||
.btn-danger.disabled.focus,
|
||||
.btn-danger[disabled].focus,
|
||||
fieldset[disabled] .btn-danger.focus,
|
||||
.btn-danger.disabled:active,
|
||||
.btn-danger[disabled]:active,
|
||||
fieldset[disabled] .btn-danger:active,
|
||||
.btn-danger.disabled.active,
|
||||
.btn-danger[disabled].active,
|
||||
fieldset[disabled] .btn-danger.active {
|
||||
background-color: #c12e2a;
|
||||
background-image: none;
|
||||
}
|
||||
.thumbnail,
|
||||
.img-thumbnail {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.dropdown-menu > li > a:hover,
|
||||
.dropdown-menu > li > a:focus {
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
background-color: #e8e8e8;
|
||||
}
|
||||
.dropdown-menu > .active > a,
|
||||
.dropdown-menu > .active > a:hover,
|
||||
.dropdown-menu > .active > a:focus {
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
background-color: #2e6da4;
|
||||
}
|
||||
.navbar-default {
|
||||
background-image: -webkit-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
|
||||
background-image: -o-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f8f8f8));
|
||||
background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.navbar-default .navbar-nav > .open > a,
|
||||
.navbar-default .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
||||
background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
|
||||
background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.navbar-brand,
|
||||
.navbar-nav > li > a {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.navbar-inverse {
|
||||
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
|
||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.navbar-inverse .navbar-nav > .open > a,
|
||||
.navbar-inverse .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
||||
background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f));
|
||||
background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.navbar-inverse .navbar-brand,
|
||||
.navbar-inverse .navbar-nav > li > a {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.navbar-static-top,
|
||||
.navbar-fixed-top,
|
||||
.navbar-fixed-bottom {
|
||||
border-radius: 0;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.navbar .navbar-nav .open .dropdown-menu > .active > a,
|
||||
.navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
|
||||
.navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
|
||||
color: #fff;
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
}
|
||||
.alert {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.alert-success {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b2dba1;
|
||||
}
|
||||
.alert-info {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #9acfea;
|
||||
}
|
||||
.alert-warning {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #f5e79e;
|
||||
}
|
||||
.alert-danger {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dca7a7;
|
||||
}
|
||||
.progress {
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar {
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-striped {
|
||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||||
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||||
}
|
||||
.list-group {
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.list-group-item.active,
|
||||
.list-group-item.active:hover,
|
||||
.list-group-item.active:focus {
|
||||
text-shadow: 0 -1px 0 #286090;
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #2b669a;
|
||||
}
|
||||
.list-group-item.active .badge,
|
||||
.list-group-item.active:hover .badge,
|
||||
.list-group-item.active:focus .badge {
|
||||
text-shadow: none;
|
||||
}
|
||||
.panel {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.panel-default > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-primary > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-success > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-info > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-warning > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-danger > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.well {
|
||||
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dcdcdc;
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-theme.css.map */
|
1
Assignment6/Assignment6/Content/bootstrap-theme.css.map
Normal file
1
Assignment6/Assignment6/Content/bootstrap-theme.css.map
Normal file
File diff suppressed because one or more lines are too long
6
Assignment6/Assignment6/Content/bootstrap-theme.min.css
vendored
Normal file
6
Assignment6/Assignment6/Content/bootstrap-theme.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6834
Assignment6/Assignment6/Content/bootstrap.css
vendored
Normal file
6834
Assignment6/Assignment6/Content/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
Assignment6/Assignment6/Content/bootstrap.css.map
Normal file
1
Assignment6/Assignment6/Content/bootstrap.css.map
Normal file
File diff suppressed because one or more lines are too long
6
Assignment6/Assignment6/Content/bootstrap.min.css
vendored
Normal file
6
Assignment6/Assignment6/Content/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
Assignment6/Assignment6/Content/bootstrap.min.css.map
Normal file
1
Assignment6/Assignment6/Content/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
42
Assignment6/Assignment6/Default.aspx
Normal file
42
Assignment6/Assignment6/Default.aspx
Normal file
|
@ -0,0 +1,42 @@
|
|||
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Assignment6._Default" %>
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<div class="jumbotron">
|
||||
<h1>ASP.NET</h1>
|
||||
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.</p>
|
||||
<p><a href="http://www.asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<h2>Getting started</h2>
|
||||
<p>
|
||||
ASP.NET Web Forms lets you build dynamic websites using a familiar drag-and-drop, event-driven model.
|
||||
A design surface and hundreds of controls and components let you rapidly build sophisticated, powerful UI-driven sites with data access.
|
||||
</p>
|
||||
<p>
|
||||
<a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301948">Learn more »</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>Get more libraries</h2>
|
||||
<p>
|
||||
NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
|
||||
</p>
|
||||
<p>
|
||||
<a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301949">Learn more »</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>Web Hosting</h2>
|
||||
<p>
|
||||
You can easily find a web hosting company that offers the right mix of features and price for your applications.
|
||||
</p>
|
||||
<p>
|
||||
<a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301950">Learn more »</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</asp:Content>
|
17
Assignment6/Assignment6/Default.aspx.cs
Normal file
17
Assignment6/Assignment6/Default.aspx.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
public partial class _Default : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
16
Assignment6/Assignment6/Default.aspx.designer.cs
generated
Normal file
16
Assignment6/Assignment6/Default.aspx.designer.cs
generated
Normal file
|
@ -0,0 +1,16 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
public partial class _Default
|
||||
{
|
||||
}
|
||||
}
|
1
Assignment6/Assignment6/Global.asax
Normal file
1
Assignment6/Assignment6/Global.asax
Normal file
|
@ -0,0 +1 @@
|
|||
<%@ Application Codebehind="Global.asax.cs" Inherits="Assignment6.Global" Language="C#" %>
|
21
Assignment6/Assignment6/Global.asax.cs
Normal file
21
Assignment6/Assignment6/Global.asax.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Optimization;
|
||||
using System.Web.Routing;
|
||||
using System.Web.Security;
|
||||
using System.Web.SessionState;
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
public class Global : HttpApplication
|
||||
{
|
||||
void Application_Start(object sender, EventArgs e)
|
||||
{
|
||||
// Code that runs on application startup
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
BundleConfig.RegisterBundles(BundleTable.Bundles);
|
||||
}
|
||||
}
|
||||
}
|
80
Assignment6/Assignment6/OrderMenu.aspx
Normal file
80
Assignment6/Assignment6/OrderMenu.aspx
Normal file
|
@ -0,0 +1,80 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderMenu.aspx.cs" Inherits="Assignment6.OrderMenu" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
<link rel="stylesheet" href="styles/style.css" />
|
||||
<style type="text/css">
|
||||
.auto-style1 {
|
||||
height: 23px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<h2>Sandwich Menu</h2>
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<th>Order</th>
|
||||
<th>Bread</th>
|
||||
<th>Meat</th>
|
||||
<th>Cheese</th>
|
||||
<th>Extras</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="auto-style1">
|
||||
<asp:Label ID="StatusText" runat="server" Font-Bold="False" Font-Size="12px" ForeColor="Red" Text="Please place an order."></asp:Label>
|
||||
</td>
|
||||
<td class="auto-style1">
|
||||
<asp:RadioButtonList ID="BreadList" runat="server" OnSelectedIndexChanged="BreadList_SelectedIndexChanged" AutoPostBack="true" Font-Size="14px">
|
||||
<asp:ListItem>White</asp:ListItem>
|
||||
<asp:ListItem>Wheat</asp:ListItem>
|
||||
<asp:ListItem Value="FrenchRoll">French Roll</asp:ListItem>
|
||||
<asp:ListItem>Rye</asp:ListItem>
|
||||
<asp:ListItem>Sourdough</asp:ListItem>
|
||||
</asp:RadioButtonList>
|
||||
</td>
|
||||
<td class="auto-style1">
|
||||
<asp:RadioButtonList ID="MeatList" runat="server" OnSelectedIndexChanged="MeatList_SelectedIndexChanged" AutoPostBack="true" Font-Size="14px">
|
||||
<asp:ListItem Value="RoastBeef">Roast Beef</asp:ListItem>
|
||||
<asp:ListItem>Ham</asp:ListItem>
|
||||
<asp:ListItem>Turkey</asp:ListItem>
|
||||
<asp:ListItem>Meatball</asp:ListItem>
|
||||
<asp:ListItem>Italian</asp:ListItem>
|
||||
<asp:ListItem>Club</asp:ListItem>
|
||||
</asp:RadioButtonList>
|
||||
</td>
|
||||
<td class="auto-style1">
|
||||
<asp:RadioButtonList ID="CheeseList" runat="server" OnSelectedIndexChanged="CheeseList_SelectedIndexChanged" AutoPostBack="true" Font-Size="14px">
|
||||
<asp:ListItem>American</asp:ListItem>
|
||||
<asp:ListItem>Cheddar</asp:ListItem>
|
||||
<asp:ListItem>Swiss</asp:ListItem>
|
||||
<asp:ListItem>Provolone</asp:ListItem>
|
||||
<asp:ListItem Value="MontereyJack">Monterey Jack</asp:ListItem>
|
||||
</asp:RadioButtonList>
|
||||
</td>
|
||||
<td class="auto-style1">
|
||||
<asp:CheckBoxList ID="ExtrasList" runat="server" OnSelectedIndexChanged="ExtrasList_SelectedIndexChanged" AutoPostBack="true" Font-Size="14px">
|
||||
<asp:ListItem Value="ExtraMeat">Extra Meat ($2.00)</asp:ListItem>
|
||||
<asp:ListItem Value="ExtraCheese">Extra Cheese ($1.25)</asp:ListItem>
|
||||
<asp:ListItem>Mayonnaise</asp:ListItem>
|
||||
<asp:ListItem>Mustard</asp:ListItem>
|
||||
<asp:ListItem>Lettuce</asp:ListItem>
|
||||
<asp:ListItem>Tomato</asp:ListItem>
|
||||
<asp:ListItem>Pickles</asp:ListItem>
|
||||
<asp:ListItem Value="ItalianDressing">Italian Dressing</asp:ListItem>
|
||||
<asp:ListItem>Olives</asp:ListItem>
|
||||
</asp:CheckBoxList>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="button-container">
|
||||
<asp:Button ID="cancelButton" runat="server" Text="Cancel Order" CssClass="button" Font-Size="Large" OnClick="cancelButton_Click" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
108
Assignment6/Assignment6/OrderMenu.aspx.cs
Normal file
108
Assignment6/Assignment6/OrderMenu.aspx.cs
Normal file
|
@ -0,0 +1,108 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
public partial class OrderMenu : System.Web.UI.Page
|
||||
{
|
||||
private string outputText;
|
||||
private decimal basePrice = 7.50M;
|
||||
private decimal extraMeatPrice = 2.00M;
|
||||
private decimal extraCheesePrice = 1.25M;
|
||||
private decimal taxRate = 0.06M;
|
||||
private decimal price;
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void BreadList_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
UpdateStatusText();
|
||||
}
|
||||
|
||||
protected void MeatList_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
UpdateStatusText();
|
||||
}
|
||||
|
||||
protected void CheeseList_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
UpdateStatusText();
|
||||
}
|
||||
|
||||
protected void ExtrasList_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
UpdateStatusText();
|
||||
}
|
||||
|
||||
protected void cancelButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
BreadList.SelectedIndex = -1;
|
||||
MeatList.SelectedIndex = -1;
|
||||
CheeseList.SelectedIndex = -1;
|
||||
ExtrasList.ClearSelection();
|
||||
|
||||
UpdateStatusText();
|
||||
}
|
||||
|
||||
private void UpdateStatusText()
|
||||
{
|
||||
price = 0.00M;
|
||||
if(BreadList.SelectedItem != null && MeatList.SelectedItem != null && CheeseList.SelectedItem != null)
|
||||
{
|
||||
StatusText.Text = "";
|
||||
outputText += "<span class='sandwich' style='text-decoration:underline;'>Sandwich Order</span></br>";
|
||||
outputText += "<span class='sandwich'>Bread: " + BreadList.SelectedItem.Text + "</span></br>";
|
||||
outputText += "<span class='sandwich'>Meat: " + MeatList.SelectedItem.Text + "</span></br>";
|
||||
outputText += "<span class='sandwich'>Cheese: " + CheeseList.SelectedItem.Text + "</span></br>";
|
||||
outputText += "</br>";
|
||||
if (ExtrasList.SelectedItem != null)
|
||||
{
|
||||
outputText += "<span class='sandwich' style='text-decoration:underline;'>With these extras</span></br>";
|
||||
for (int i = 0; i < ExtrasList.Items.Count; i++)
|
||||
{
|
||||
if (ExtrasList.Items[i].Selected)
|
||||
{
|
||||
outputText += "<span class='sandwich'>" + ExtrasList.Items[i].Text + "</span></br>";
|
||||
}
|
||||
}
|
||||
outputText += "</br>";
|
||||
}
|
||||
|
||||
|
||||
price += basePrice;
|
||||
outputText += "<span class='money'>Sandwich: " + basePrice.ToString("C") + "</span></br>";
|
||||
|
||||
if (ExtrasList.Items[0].Selected)
|
||||
{
|
||||
price += extraMeatPrice;
|
||||
outputText += "<span class='money'>Extra Meat: " + extraMeatPrice.ToString("C") + "</span></br>";
|
||||
}
|
||||
if(ExtrasList.Items[1].Selected)
|
||||
{
|
||||
price += extraCheesePrice;
|
||||
outputText += "<span class='money'>Extra Cheese: " + extraCheesePrice.ToString("C") + "</span></br>";
|
||||
}
|
||||
|
||||
|
||||
outputText += "<span class='money'>Sales Tax (" + taxRate.ToString("P") + "): " + (price * taxRate).ToString("C") + "</span>";
|
||||
price += price * taxRate;
|
||||
|
||||
outputText += "</br><hr/><span class='money' style='font-weight:bold;'>Total: " + price.ToString("C") + "</span>";
|
||||
|
||||
StatusText.Text = outputText;
|
||||
}
|
||||
else
|
||||
{
|
||||
StatusText.ForeColor = System.Drawing.Color.Red;
|
||||
StatusText.Text = "Please place an order.";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
80
Assignment6/Assignment6/OrderMenu.aspx.designer.cs
generated
Normal file
80
Assignment6/Assignment6/OrderMenu.aspx.designer.cs
generated
Normal file
|
@ -0,0 +1,80 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Assignment6
|
||||
{
|
||||
|
||||
|
||||
public partial class OrderMenu
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// StatusText control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label StatusText;
|
||||
|
||||
/// <summary>
|
||||
/// BreadList control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RadioButtonList BreadList;
|
||||
|
||||
/// <summary>
|
||||
/// MeatList control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RadioButtonList MeatList;
|
||||
|
||||
/// <summary>
|
||||
/// CheeseList control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RadioButtonList CheeseList;
|
||||
|
||||
/// <summary>
|
||||
/// ExtrasList control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBoxList ExtrasList;
|
||||
|
||||
/// <summary>
|
||||
/// cancelButton control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button cancelButton;
|
||||
}
|
||||
}
|
35
Assignment6/Assignment6/Properties/AssemblyInfo.cs
Normal file
35
Assignment6/Assignment6/Properties/AssemblyInfo.cs
Normal file
|
@ -0,0 +1,35 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Assignment6")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Assignment6")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("f2c8f66e-d25a-450a-8dd2-1177a46355b5")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
34
Assignment6/Assignment6/Scripts/WebForms/DetailsView.js
Executable file
34
Assignment6/Assignment6/Scripts/WebForms/DetailsView.js
Executable file
|
@ -0,0 +1,34 @@
|
|||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/DetailsView.js
|
||||
function DetailsView() {
|
||||
this.pageIndex = null;
|
||||
this.dataKeys = null;
|
||||
this.createPropertyString = DetailsView_createPropertyString;
|
||||
this.setStateField = DetailsView_setStateValue;
|
||||
this.getHiddenFieldContents = DetailsView_getHiddenFieldContents;
|
||||
this.stateField = null;
|
||||
this.panelElement = null;
|
||||
this.callback = null;
|
||||
}
|
||||
function DetailsView_createPropertyString() {
|
||||
return createPropertyStringFromValues_DetailsView(this.pageIndex, this.dataKeys);
|
||||
}
|
||||
function DetailsView_setStateValue() {
|
||||
this.stateField.value = this.createPropertyString();
|
||||
}
|
||||
function DetailsView_OnCallback (result, context) {
|
||||
var value = new String(result);
|
||||
var valsArray = value.split("|");
|
||||
var innerHtml = valsArray[2];
|
||||
for (var i = 3; i < valsArray.length; i++) {
|
||||
innerHtml += "|" + valsArray[i];
|
||||
}
|
||||
context.panelElement.innerHTML = innerHtml;
|
||||
context.stateField.value = createPropertyStringFromValues_DetailsView(valsArray[0], valsArray[1]);
|
||||
}
|
||||
function DetailsView_getHiddenFieldContents(arg) {
|
||||
return arg + "|" + this.stateField.value;
|
||||
}
|
||||
function createPropertyStringFromValues_DetailsView(pageIndex, dataKeys) {
|
||||
var value = new Array(pageIndex, dataKeys);
|
||||
return value.join("|");
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue