diff --git a/BikeWebsite.v12.suo b/BikeWebsite.v12.suo index 45931e8..9709508 100644 Binary files a/BikeWebsite.v12.suo and b/BikeWebsite.v12.suo differ diff --git a/BikeWebsite/App_Code/MyHelpers.cshtml b/BikeWebsite/App_Code/MyHelpers.cshtml new file mode 100644 index 0000000..abf77e5 --- /dev/null +++ b/BikeWebsite/App_Code/MyHelpers.cshtml @@ -0,0 +1,215 @@ +@helper MakeSlider(IEnumerable Model) +{ + +
+ + + + + +
+ + + + + + + + + + + + +} \ No newline at end of file diff --git a/BikeWebsite/App_Data/AdventureWorksLT2012_DataV2.mdf b/BikeWebsite/App_Data/AdventureWorksLT2012_DataV2.mdf index b817ac3..78187e0 100644 Binary files a/BikeWebsite/App_Data/AdventureWorksLT2012_DataV2.mdf and b/BikeWebsite/App_Data/AdventureWorksLT2012_DataV2.mdf differ diff --git a/BikeWebsite/App_Data/AdventureWorksLT2012_DataV2_log.ldf b/BikeWebsite/App_Data/AdventureWorksLT2012_DataV2_log.ldf index 1c0d6c6..081ba62 100644 Binary files a/BikeWebsite/App_Data/AdventureWorksLT2012_DataV2_log.ldf and b/BikeWebsite/App_Data/AdventureWorksLT2012_DataV2_log.ldf differ diff --git a/BikeWebsite/BikeWebsite.csproj b/BikeWebsite/BikeWebsite.csproj index 3ddcdd6..73a93b0 100644 --- a/BikeWebsite/BikeWebsite.csproj +++ b/BikeWebsite/BikeWebsite.csproj @@ -121,9 +121,15 @@ + + + + + + @@ -131,6 +137,7 @@ + @@ -278,6 +285,7 @@ + Web.config diff --git a/BikeWebsite/Images/Accessories.png b/BikeWebsite/Images/Accessories.png index 3582fd7..9f701d6 100644 Binary files a/BikeWebsite/Images/Accessories.png and b/BikeWebsite/Images/Accessories.png differ diff --git a/BikeWebsite/Images/Bikes.png b/BikeWebsite/Images/Bikes.png new file mode 100644 index 0000000..2bb078f Binary files /dev/null and b/BikeWebsite/Images/Bikes.png differ diff --git a/BikeWebsite/Images/Clothing.png b/BikeWebsite/Images/Clothing.png index 570d5b1..ee403e7 100644 Binary files a/BikeWebsite/Images/Clothing.png and b/BikeWebsite/Images/Clothing.png differ diff --git a/BikeWebsite/Images/Components.png b/BikeWebsite/Images/Components.png index a4eadb4..409c61b 100644 Binary files a/BikeWebsite/Images/Components.png and b/BikeWebsite/Images/Components.png differ diff --git a/BikeWebsite/Images/Gear.png b/BikeWebsite/Images/Gear.png new file mode 100644 index 0000000..b516b44 Binary files /dev/null and b/BikeWebsite/Images/Gear.png differ diff --git a/BikeWebsite/Images/Header.png b/BikeWebsite/Images/Header.png new file mode 100644 index 0000000..6ddeec7 Binary files /dev/null and b/BikeWebsite/Images/Header.png differ diff --git a/BikeWebsite/Images/Icon.ico b/BikeWebsite/Images/Icon.ico new file mode 100644 index 0000000..21cc6d1 Binary files /dev/null and b/BikeWebsite/Images/Icon.ico differ diff --git a/BikeWebsite/Images/Mountain.png b/BikeWebsite/Images/Mountain.png index ceeb692..5187a8e 100644 Binary files a/BikeWebsite/Images/Mountain.png and b/BikeWebsite/Images/Mountain.png differ diff --git a/BikeWebsite/Images/Old/Accessories.png b/BikeWebsite/Images/Old/Accessories.png new file mode 100644 index 0000000..3582fd7 Binary files /dev/null and b/BikeWebsite/Images/Old/Accessories.png differ diff --git a/BikeWebsite/Images/Old/Clothing.png b/BikeWebsite/Images/Old/Clothing.png new file mode 100644 index 0000000..570d5b1 Binary files /dev/null and b/BikeWebsite/Images/Old/Clothing.png differ diff --git a/BikeWebsite/Images/Old/Components.png b/BikeWebsite/Images/Old/Components.png new file mode 100644 index 0000000..a4eadb4 Binary files /dev/null and b/BikeWebsite/Images/Old/Components.png differ diff --git a/BikeWebsite/Images/Old/Mountain.png b/BikeWebsite/Images/Old/Mountain.png new file mode 100644 index 0000000..ceeb692 Binary files /dev/null and b/BikeWebsite/Images/Old/Mountain.png differ diff --git a/BikeWebsite/Images/Old/Road.png b/BikeWebsite/Images/Old/Road.png new file mode 100644 index 0000000..8125829 Binary files /dev/null and b/BikeWebsite/Images/Old/Road.png differ diff --git a/BikeWebsite/Images/Old/Touring.png b/BikeWebsite/Images/Old/Touring.png new file mode 100644 index 0000000..9fdf0b3 Binary files /dev/null and b/BikeWebsite/Images/Old/Touring.png differ diff --git a/BikeWebsite/Images/logo.png b/BikeWebsite/Images/Old/logo.png similarity index 100% rename from BikeWebsite/Images/logo.png rename to BikeWebsite/Images/Old/logo.png diff --git a/BikeWebsite/Images/Road.png b/BikeWebsite/Images/Road.png index 8125829..d12d697 100644 Binary files a/BikeWebsite/Images/Road.png and b/BikeWebsite/Images/Road.png differ diff --git a/BikeWebsite/Images/Slider/a11.png b/BikeWebsite/Images/Slider/a11.png new file mode 100644 index 0000000..fdb4aac Binary files /dev/null and b/BikeWebsite/Images/Slider/a11.png differ diff --git a/BikeWebsite/Images/Slider/a21.png b/BikeWebsite/Images/Slider/a21.png new file mode 100644 index 0000000..6558aad Binary files /dev/null and b/BikeWebsite/Images/Slider/a21.png differ diff --git a/BikeWebsite/Images/Slider/b05.png b/BikeWebsite/Images/Slider/b05.png new file mode 100644 index 0000000..b8481de Binary files /dev/null and b/BikeWebsite/Images/Slider/b05.png differ diff --git a/BikeWebsite/Images/Slider/b21.png b/BikeWebsite/Images/Slider/b21.png new file mode 100644 index 0000000..5aa92bf Binary files /dev/null and b/BikeWebsite/Images/Slider/b21.png differ diff --git a/BikeWebsite/Images/Touring.png b/BikeWebsite/Images/Touring.png index 9fdf0b3..89f93f7 100644 Binary files a/BikeWebsite/Images/Touring.png and b/BikeWebsite/Images/Touring.png differ diff --git a/BikeWebsite/Scripts/docs.min.js b/BikeWebsite/Scripts/docs.min.js new file mode 100644 index 0000000..c12e6e4 --- /dev/null +++ b/BikeWebsite/Scripts/docs.min.js @@ -0,0 +1,26 @@ +/*! + +Holder - client side image placeholders +Version 2.4.1+f2l1h +© 2014 Ivan Malopinsky - http://imsky.co + +Site: http://imsky.github.io/holder +Issues: https://github.com/imsky/holder/issues +License: http://opensource.org/licenses/MIT + +*/ +!function(a,b,c){b[a]=c}("onDomReady",this,function(a){"use strict";function b(a){if(!v){if(!g.body)return e(b);for(v=!0;a=w.shift();)e(a)}}function c(a){(t||a.type===i||g[m]===l)&&(d(),b())}function d(){t?(g[s](q,c,j),a[s](i,c,j)):(g[o](r,c),a[o](k,c))}function e(a,b){setTimeout(a,+b>=0?b:1)}function f(a){v?e(a):w.push(a)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",function y(){document.removeEventListener("DOMContentLoaded",y,!1),document.readyState="complete"},!1),document.readyState="loading");var g=a.document,h=g.documentElement,i="load",j=!1,k="on"+i,l="complete",m="readyState",n="attachEvent",o="detachEvent",p="addEventListener",q="DOMContentLoaded",r="onreadystatechange",s="removeEventListener",t=p in g,u=j,v=j,w=[];if(g[m]===l)e(b);else if(t)g[p](q,c,j),a[p](i,c,j);else{g[n](r,c),a[n](k,c);try{u=null==a.frameElement&&h}catch(x){}u&&u.doScroll&&!function z(){if(!v){try{u.doScroll("left")}catch(a){return e(z,50)}d(),b()}}()}return f.version="1.4.0",f.isReady=function(){return v},f}(this)),document.querySelectorAll||(document.querySelectorAll=function(a){var b,c=document.createElement("style"),d=[];for(document.documentElement.firstChild.appendChild(c),document._qsa=[],c.styleSheet.cssText=a+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",window.scrollBy(0,0),c.parentNode.removeChild(c);document._qsa.length;)b=document._qsa.shift(),b.style.removeAttribute("x-qsa"),d.push(b);return document._qsa=null,d}),document.querySelector||(document.querySelector=function(a){var b=document.querySelectorAll(a);return b.length?b[0]:null}),document.getElementsByClassName||(document.getElementsByClassName=function(a){return a=String(a).replace(/^|\s+/g,"."),document.querySelectorAll(a)}),Object.keys||(Object.keys=function(a){if(a!==Object(a))throw TypeError("Object.keys called on non-object");var b,c=[];for(b in a)Object.prototype.hasOwnProperty.call(a,b)&&c.push(b);return c}),function(a){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a.atob=a.atob||function(a){a=String(a);var c,d=0,e=[],f=0,g=0;if(a=a.replace(/\s/g,""),a.length%4===0&&(a=a.replace(/=+$/,"")),a.length%4===1)throw Error("InvalidCharacterError");if(/[^+/0-9A-Za-z]/.test(a))throw Error("InvalidCharacterError");for(;d>16&255)),e.push(String.fromCharCode(f>>8&255)),e.push(String.fromCharCode(255&f)),g=0,f=0),d+=1;return 12===g?(f>>=4,e.push(String.fromCharCode(255&f))):18===g&&(f>>=2,e.push(String.fromCharCode(f>>8&255)),e.push(String.fromCharCode(255&f))),e.join("")},a.btoa=a.btoa||function(a){a=String(a);var c,d,e,f,g,h,i,j=0,k=[];if(/[^\x00-\xFF]/.test(a))throw Error("InvalidCharacterError");for(;j>2,g=(3&c)<<4|d>>4,h=(15&d)<<2|e>>6,i=63&e,j===a.length+2?(h=64,i=64):j===a.length+1&&(i=64),k.push(b.charAt(f),b.charAt(g),b.charAt(h),b.charAt(i));return k.join("")}}(this),function(){function a(b,c,d){b.document;var e,f=b.currentStyle[c].match(/([\d\.]+)(%|cm|em|in|mm|pc|pt|)/)||[0,0,""],g=f[1],h=f[2];return d=d?/%|em/.test(h)&&b.parentElement?a(b.parentElement,"fontSize",null):16:d,e="fontSize"==c?d:/width/i.test(c)?b.clientWidth:b.clientHeight,"%"==h?g/100*e:"cm"==h?.3937*g*96:"em"==h?g*d:"in"==h?96*g:"mm"==h?.3937*g*96/10:"pc"==h?12*g*96/72:"pt"==h?96*g/72:g}function b(a,b){var c="border"==b?"Width":"",d=b+"Top"+c,e=b+"Right"+c,f=b+"Bottom"+c,g=b+"Left"+c;a[b]=(a[d]==a[e]&&a[d]==a[f]&&a[d]==a[g]?[a[d]]:a[d]==a[f]&&a[g]==a[e]?[a[d],a[e]]:a[g]==a[e]?[a[d],a[e],a[f]]:[a[d],a[e],a[f],a[g]]).join(" ")}function c(c){var d,e=this,f=c.currentStyle,g=a(c,"fontSize"),h=function(a){return"-"+a.toLowerCase()};for(d in f)if(Array.prototype.push.call(e,"styleFloat"==d?"float":d.replace(/[A-Z]/,h)),"width"==d)e[d]=c.offsetWidth+"px";else if("height"==d)e[d]=c.offsetHeight+"px";else if("styleFloat"==d)e.float=f[d];else if(/margin.|padding.|border.+W/.test(d)&&"auto"!=e[d])e[d]=Math.round(a(c,d,g))+"px";else if(/^outline/.test(d))try{e[d]=f[d]}catch(i){e.outlineColor=f.color,e.outlineStyle=e.outlineStyle||"none",e.outlineWidth=e.outlineWidth||"0px",e.outline=[e.outlineColor,e.outlineWidth,e.outlineStyle].join(" ")}else e[d]=f[d];b(e,"margin"),b(e,"padding"),b(e,"border"),e.fontSize=Math.round(g)+"px"}window.getComputedStyle||(c.prototype={constructor:c,getPropertyPriority:function(){throw new Error("NotSupportedError: DOM Exception 9")},getPropertyValue:function(a){var b=a.replace(/-([a-z])/g,function(a){return a=a.charAt?a.split(""):a,a[1].toUpperCase()}),c=this[b];return c},item:function(a){return this[a]},removeProperty:function(){throw new Error("NoModificationAllowedError: DOM Exception 7")},setProperty:function(){throw new Error("NoModificationAllowedError: DOM Exception 7")},getPropertyCSSValue:function(){throw new Error("NotSupportedError: DOM Exception 9")}},window.getComputedStyle=function(a){return new c(a)})}(),Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(a){var b=this.__proto__||this.constructor.prototype;return a in this&&(!(a in b)||b[a]!==this[a])}),function(a,b){a.augment=b()}(this,function(){"use strict";var a=function(){},b=Array.prototype.slice,c=function(c,d){var e=a.prototype="function"==typeof c?c.prototype:c,f=new a,g=d.apply(f,b.call(arguments,2).concat(e));if("object"==typeof g)for(var h in g)f[h]=g[h];if(!f.hasOwnProperty("constructor"))return f;var i=f.constructor;return i.prototype=f,i};return c.defclass=function(a){var b=a.constructor;return b.prototype=a,b},c.extend=function(a,b){return c(a,function(a){return this.uber=a,b})},c}),function(a,b){function c(a,b,c,f){var g=d(c.substr(c.lastIndexOf(a.domain)),a);g&&e(null,f,g,b)}function d(a,b){for(var c={theme:p(A.settings.themes.gray,null),stylesheets:b.stylesheets,holderURL:[]},d=!1,e=String.fromCharCode(11),f=a.replace(/([^\\])\//g,"$1"+e).split(e),g=/%[0-9a-f]{2}/gi,h=f.length,i=0;h>i;i++){var j=f[i];if(j.match(g))try{j=decodeURIComponent(j)}catch(k){j=f[i]}var l=!1;if(A.flags.dimensions.match(j))d=!0,c.dimensions=A.flags.dimensions.output(j),l=!0;else if(A.flags.fluid.match(j))d=!0,c.dimensions=A.flags.fluid.output(j),c.fluid=!0,l=!0;else if(A.flags.textmode.match(j))c.textmode=A.flags.textmode.output(j),l=!0;else if(A.flags.colors.match(j)){var m=A.flags.colors.output(j);c.theme=p(c.theme,m),l=!0}else if(b.themes[j])b.themes.hasOwnProperty(j)&&(c.theme=p(b.themes[j],null)),l=!0;else if(A.flags.font.match(j))c.font=A.flags.font.output(j),l=!0;else if(A.flags.auto.match(j))c.auto=!0,l=!0;else if(A.flags.text.match(j))c.text=A.flags.text.output(j),l=!0;else if(A.flags.random.match(j)){null==A.vars.cache.themeKeys&&(A.vars.cache.themeKeys=Object.keys(b.themes));var n=A.vars.cache.themeKeys[0|Math.random()*A.vars.cache.themeKeys.length];c.theme=p(b.themes[n],null),l=!0}l&&c.holderURL.push(j)}return c.holderURL.unshift(b.domain),c.holderURL=c.holderURL.join("/"),d?c:!1}function e(a,b,c,d){var e=c.dimensions,g=c.theme,h=e.width+"x"+e.height;if(a=null==a?c.fluid?"fluid":"image":a,null!=c.text&&(g.text=c.text,"object"===b.nodeName.toLowerCase())){for(var j=g.text.split("\\n"),l=0;l16?g.text.substring(0,16)+"…":g.text)+" ["+h+"]":h}),"image"==a?("html"!=o.renderer&&c.auto||(b.style.width=e.width+"px",b.style.height=e.height+"px"),"html"==o.renderer?b.style.backgroundColor=g.background:(f(a,{dimensions:e,theme:g,flags:c},b,o),c.textmode&&"exact"==c.textmode&&(A.vars.resizableImages.push(b),i(b)))):"background"==a&&"html"!=o.renderer?f(a,{dimensions:e,theme:g,flags:c},b,o):"fluid"==a&&("%"==e.height.slice(-1)?b.style.height=e.height:null!=c.auto&&c.auto||(b.style.height=e.height+"px"),"%"==e.width.slice(-1)?b.style.width=e.width:null!=c.auto&&c.auto||(b.style.width=e.width+"px"),("inline"==b.style.display||""===b.style.display||"none"==b.style.display)&&(b.style.display="block"),k(b),"html"==o.renderer?b.style.backgroundColor=g.background:(A.vars.resizableImages.push(b),i(b)))}function f(a,b,c,d){function e(){var a=null;switch(d.renderer){case"canvas":a=C(i);break;case"svg":a=D(i,d);break;default:throw"Holder: invalid renderer: "+d.renderer}return a}var f=null;switch(d.renderer){case"svg":if(!A.setup.supportsSVG)return;break;case"canvas":if(!A.setup.supportsCanvas)return;break;default:return}var h={width:b.dimensions.width,height:b.dimensions.height,theme:b.theme,flags:b.flags},i=g(h);if({text:h.text,width:h.width,height:h.height,textHeight:h.font.size,font:h.font.family,fontWeight:h.font.weight,template:h.theme},f=e(),null==f)throw"Holder: couldn't render placeholder";"background"==a?(c.style.backgroundImage="url("+f+")",c.style.backgroundSize=h.width+"px "+h.height+"px"):("img"===c.nodeName.toLowerCase()?m(c,{src:f}):"object"===c.nodeName.toLowerCase()&&(m(c,{data:f}),m(c,{type:"image/svg+xml"})),d.reRender&&setTimeout(function(){var a=e();if(null==a)throw"Holder: couldn't render placeholder";"img"===c.nodeName.toLowerCase()?m(c,{src:a}):"object"===c.nodeName.toLowerCase()&&(m(c,{data:a}),m(c,{type:"image/svg+xml"}))},100)),m(c,{"data-holder-rendered":!0})}function g(a){function b(a,b,c,d){b.width=c,b.height=d,a.width=Math.max(a.width,b.width),a.height+=b.height,a.add(b)}switch(a.font={family:a.theme.font?a.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:h(a.width,a.height,a.theme.size?a.theme.size:A.defaults.size),units:a.theme.units?a.theme.units:A.defaults.units,weight:a.theme.fontweight?a.theme.fontweight:"bold"},a.text=a.theme.text?a.theme.text:Math.floor(a.width)+"x"+Math.floor(a.height),a.flags.textmode){case"literal":a.text=a.flags.dimensions.width+"x"+a.flags.dimensions.height;break;case"exact":if(!a.flags.exactDimensions)break;a.text=Math.floor(a.flags.exactDimensions.width)+"x"+Math.floor(a.flags.exactDimensions.height)}var c=new E({width:a.width,height:a.height}),d=c.Shape,e=new d.Rect("holderBg",{fill:a.theme.background});e.resize(a.width,a.height),c.root.add(e);var f=new d.Group("holderTextGroup",{text:a.text,align:"center",font:a.font,fill:a.theme.foreground});f.moveTo(null,null,1),c.root.add(f);var g=f.textPositionData=B(c);if(!g)throw"Holder: staging fallback not supported yet.";f.properties.leading=g.boundingBox.height;var i=null,j=null;if(g.lineCount>1){var k=0,l=0,m=a.width*A.setup.lineWrapRatio,n=0;j=new d.Group("line"+n);for(var o=0;o=m||q===!0)&&(b(f,j,k,f.properties.leading),k=0,l+=f.properties.leading,n+=1,j=new d.Group("line"+n),j.y=l),q!==!0&&(i.moveTo(k,0),k+=g.spaceWidth+p.width,j.add(i))}b(f,j,k,f.properties.leading);for(var r in f.children)j=f.children[r],j.moveTo((f.width-j.width)/2,null,null);f.moveTo((a.width-f.width)/2,(a.height-f.height)/2,null),(a.height-f.height)/2<0&&f.moveTo(null,0,null)}else i=new d.Text(a.text),j=new d.Group("line0"),j.add(i),f.add(j),f.moveTo((a.width-g.boundingBox.width)/2,(a.height-g.boundingBox.height)/2,null);return c}function h(a,b,c){b=parseInt(b,10),a=parseInt(a,10);var d=Math.max(b,a),e=Math.min(b,a),f=A.defaults.scale,g=Math.min(.75*e,.75*d*f);return Math.round(Math.max(c,g))}function i(a){var b;b=null==a||null==a.nodeType?A.vars.resizableImages:[a];for(var c in b)if(b.hasOwnProperty(c)){var d=b[c];if(d.holderData){var e=d.holderData.flags,g=j(d,z.invisibleErrorFn(i));if(g){if(e.fluid&&e.auto){var h=d.holderData.fluidConfig;switch(h.mode){case"width":g.height=g.width/h.ratio;break;case"height":g.width=g.height*h.ratio}}var k={dimensions:g,theme:e.theme,flags:e};e.textmode&&"exact"==e.textmode&&(e.exactDimensions=g,k.dimensions=e.dimensions),f("image",k,d,d.holderData.renderSettings)}}}}function j(a,b){var c={height:a.clientHeight,width:a.clientWidth};return c.height||c.width?(a.removeAttribute("data-holder-invisible"),c):(m(a,{"data-holder-invisible":!0}),void b.call(this,a))}function k(a){if(a.holderData){var b=j(a,z.invisibleErrorFn(k));if(b){var c=a.holderData.flags,d={fluidHeight:"%"==c.dimensions.height.slice(-1),fluidWidth:"%"==c.dimensions.width.slice(-1),mode:null,initialDimensions:b};d.fluidWidth&&!d.fluidHeight?(d.mode="width",d.ratio=d.initialDimensions.width/parseFloat(c.dimensions.height)):!d.fluidWidth&&d.fluidHeight&&(d.mode="height",d.ratio=parseFloat(c.dimensions.width)/d.initialDimensions.height),a.holderData.fluidConfig=d}}}function l(a,b){return null==b?y.createElement(a):y.createElementNS(b,a)}function m(a,b){for(var c in b)a.setAttribute(c,b[c])}function n(a,b,c){if(null==a){a=l("svg",x);var d=l("defs",x);a.appendChild(d)}return a.webkitMatchesSelector&&a.setAttribute("xmlns",x),m(a,{width:b,height:c,viewBox:"0 0 "+b+" "+c,preserveAspectRatio:"none"}),a}function o(a,c){if(b.XMLSerializer){var d=new XMLSerializer,e="",f=c.stylesheets;if(a.querySelector("defs"),c.svgXMLStylesheet){for(var g=(new DOMParser).parseFromString("","application/xml"),h=f.length-1;h>=0;h--){var i=g.createProcessingInstruction("xml-stylesheet",'href="'+f[h]+'" rel="stylesheet"');g.insertBefore(i,g.firstChild)}var j=g.createProcessingInstruction("xml",'version="1.0" encoding="UTF-8" standalone="yes"');g.insertBefore(j,g.firstChild),g.removeChild(g.documentElement),e=d.serializeToString(g)}var k=d.serializeToString(a);return k=k.replace(/\&(\#[0-9]{2,}\;)/g,"&$1"),e+k}}function p(a,b){var c={};for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);if(null!=b)for(var e in b)b.hasOwnProperty(e)&&(c[e]=b[e]);return c}function q(a){var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c+":"+a[c]);return b.join(";")}function r(a){A.vars.debounceTimer||a.call(this),A.vars.debounceTimer&&clearTimeout(A.vars.debounceTimer),A.vars.debounceTimer=setTimeout(function(){A.vars.debounceTimer=null,a.call(this)},A.setup.debounce)}function s(){r(function(){i(null)})}function t(a){var c=null;return"string"==typeof a?c=y.querySelectorAll(a):b.NodeList&&a instanceof b.NodeList?c=a:b.Node&&a instanceof b.Node?c=[a]:b.HTMLCollection&&a instanceof b.HTMLCollection?c=a:null===a&&(c=[]),c}function u(a,b){var c=new Image;c.onerror=function(){b.call(this,!1)},c.onload=function(){b.call(this,!0)},c.src=a}function v(a){for(var b=[],c=0,d=a.length-1;d>=0;d--)c=a.charCodeAt(d),b.unshift(c>128?["&#",c,";"].join(""):a[d]);return b.join("")}function w(a){return a.replace(/&#(\d+);/g,function(a,b){return String.fromCharCode(b)})}var x="http://www.w3.org/2000/svg",y=b.document,z={addTheme:function(a,b){return null!=a&&null!=b&&(A.settings.themes[a]=b),delete A.vars.cache.themeKeys,this},addImage:function(a,b){var c=y.querySelectorAll(b);if(c.length)for(var d=0,e=c.length;e>d;d++){var f=l("img");m(f,{"data-src":a}),c[d].appendChild(f)}return this},run:function(a){a=a||{};var f={};A.vars.preempted=!0;var g=p(A.settings,a);f.renderer=g.renderer?g.renderer:A.setup.renderer,-1===A.setup.renderers.join(",").indexOf(f.renderer)&&(f.renderer=A.setup.supportsSVG?"svg":A.setup.supportsCanvas?"canvas":"html"),g.use_canvas?f.renderer="canvas":g.use_svg&&(f.renderer="svg");var h=t(g.images),i=t(g.bgnodes),j=t(g.stylenodes),k=t(g.objects);f.stylesheets=[],f.svgXMLStylesheet=!0,f.noFontFallback=g.noFontFallback?g.noFontFallback:!1;for(var m=0;m1){c.nodeValue="";for(var v=0;v=10}var d,e={bridge:null,version:"0.0.0",disabled:null,outdated:null,ready:null},f={},g=0,h={},i=0,j={},k=null,l=null,m=function(){var a,b,c,d,e="ZeroClipboard.swf";if(document.currentScript&&(d=document.currentScript.src));else{var f=document.getElementsByTagName("script");if("readyState"in f[0])for(a=f.length;a--&&("interactive"!==f[a].readyState||!(d=f[a].src)););else if("loading"===document.readyState)d=f[f.length-1].src;else{for(a=f.length;a--;){if(c=f[a].src,!c){b=null;break}if(c=c.split("#")[0].split("?")[0],c=c.slice(0,c.lastIndexOf("/")+1),null==b)b=c;else if(b!==c){b=null;break}}null!==b&&(d=b)}}return d&&(d=d.split("#")[0].split("?")[0],e=d.slice(0,d.lastIndexOf("/")+1)+e),e}(),n=function(){var a=/\-([a-z])/g,b=function(a,b){return b.toUpperCase()};return function(c){return c.replace(a,b)}}(),o=function(b,c){var d,e,f;return a.getComputedStyle?d=a.getComputedStyle(b,null).getPropertyValue(c):(e=n(c),d=b.currentStyle?b.currentStyle[e]:b.style[e]),"cursor"!==c||d&&"auto"!==d||(f=b.tagName.toLowerCase(),"a"!==f)?d:"pointer"},p=function(b){b||(b=a.event);var c;this!==a?c=this:b.target?c=b.target:b.srcElement&&(c=b.srcElement),K.activate(c)},q=function(a,b,c){a&&1===a.nodeType&&(a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c))},r=function(a,b,c){a&&1===a.nodeType&&(a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c))},s=function(a,b){if(!a||1!==a.nodeType)return a;if(a.classList)return a.classList.contains(b)||a.classList.add(b),a;if(b&&"string"==typeof b){var c=(b||"").split(/\s+/);if(1===a.nodeType)if(a.className){for(var d=" "+a.className+" ",e=a.className,f=0,g=c.length;g>f;f++)d.indexOf(" "+c[f]+" ")<0&&(e+=" "+c[f]);a.className=e.replace(/^\s+|\s+$/g,"")}else a.className=b}return a},t=function(a,b){if(!a||1!==a.nodeType)return a;if(a.classList)return a.classList.contains(b)&&a.classList.remove(b),a;if(b&&"string"==typeof b||void 0===b){var c=(b||"").split(/\s+/);if(1===a.nodeType&&a.className)if(b){for(var d=(" "+a.className+" ").replace(/[\n\t]/g," "),e=0,f=c.length;f>e;e++)d=d.replace(" "+c[e]+" "," ");a.className=d.replace(/^\s+|\s+$/g,"")}else a.className=""}return a},u=function(){var a,b,c,d=1;return"function"==typeof document.body.getBoundingClientRect&&(a=document.body.getBoundingClientRect(),b=a.right-a.left,c=document.body.offsetWidth,d=Math.round(b/c*100)/100),d},v=function(b,c){var d={left:0,top:0,width:0,height:0,zIndex:B(c)-1};if(b.getBoundingClientRect){var e,f,g,h=b.getBoundingClientRect();"pageXOffset"in a&&"pageYOffset"in a?(e=a.pageXOffset,f=a.pageYOffset):(g=u(),e=Math.round(document.documentElement.scrollLeft/g),f=Math.round(document.documentElement.scrollTop/g));var i=document.documentElement.clientLeft||0,j=document.documentElement.clientTop||0;d.left=h.left+e-i,d.top=h.top+f-j,d.width="width"in h?h.width:h.right-h.left,d.height="height"in h?h.height:h.bottom-h.top}return d},w=function(a,b){var c=null==b||b&&b.cacheBust===!0&&b.useNoCache===!0;return c?(-1===a.indexOf("?")?"?":"&")+"noCache="+(new Date).getTime():""},x=function(b){var c,d,e,f=[],g=[],h=[];if(b.trustedOrigins&&("string"==typeof b.trustedOrigins?g.push(b.trustedOrigins):"object"==typeof b.trustedOrigins&&"length"in b.trustedOrigins&&(g=g.concat(b.trustedOrigins))),b.trustedDomains&&("string"==typeof b.trustedDomains?g.push(b.trustedDomains):"object"==typeof b.trustedDomains&&"length"in b.trustedDomains&&(g=g.concat(b.trustedDomains))),g.length)for(c=0,d=g.length;d>c;c++)if(g.hasOwnProperty(c)&&g[c]&&"string"==typeof g[c]){if(e=E(g[c]),!e)continue;if("*"===e){h=[e];break}h.push.apply(h,[e,"//"+e,a.location.protocol+"//"+e])}return h.length&&f.push("trustedOrigins="+encodeURIComponent(h.join(","))),"string"==typeof b.jsModuleId&&b.jsModuleId&&f.push("jsModuleId="+encodeURIComponent(b.jsModuleId)),f.join("&")},y=function(a,b,c){if("function"==typeof b.indexOf)return b.indexOf(a,c);var d,e=b.length;for("undefined"==typeof c?c=0:0>c&&(c=e+c),d=c;e>d;d++)if(b.hasOwnProperty(d)&&b[d]===a)return d;return-1},z=function(a){if("string"==typeof a)throw new TypeError("ZeroClipboard doesn't accept query strings.");return a.length?a:[a]},A=function(b,c,d,e){e?a.setTimeout(function(){b.apply(c,d)},0):b.apply(c,d)},B=function(a){var b,c;return a&&("number"==typeof a&&a>0?b=a:"string"==typeof a&&(c=parseInt(a,10))&&!isNaN(c)&&c>0&&(b=c)),b||("number"==typeof N.zIndex&&N.zIndex>0?b=N.zIndex:"string"==typeof N.zIndex&&(c=parseInt(N.zIndex,10))&&!isNaN(c)&&c>0&&(b=c)),b||0},C=function(a,b){if(a&&b!==!1&&"undefined"!=typeof console&&console&&(console.warn||console.log)){var c="`"+a+"` is deprecated. See docs for more info:\n https://github.com/zeroclipboard/zeroclipboard/blob/master/docs/instructions.md#deprecations";console.warn?console.warn(c):console.log(c)}},D=function(){var a,b,c,d,e,f,g=arguments[0]||{};for(a=1,b=arguments.length;b>a;a++)if(null!=(c=arguments[a]))for(d in c)if(c.hasOwnProperty(d)){if(e=g[d],f=c[d],g===f)continue;void 0!==f&&(g[d]=f)}return g},E=function(a){if(null==a||""===a)return null;if(a=a.replace(/^\s+|\s+$/g,""),""===a)return null;var b=a.indexOf("//");a=-1===b?a:a.slice(b+2);var c=a.indexOf("/");return a=-1===c?a:-1===b||0===c?null:a.slice(0,c),a&&".swf"===a.slice(-4).toLowerCase()?null:a||null},F=function(){var a=function(a,b){var c,d,e;if(null!=a&&"*"!==b[0]&&("string"==typeof a&&(a=[a]),"object"==typeof a&&"length"in a))for(c=0,d=a.length;d>c;c++)if(a.hasOwnProperty(c)&&(e=E(a[c]))){if("*"===e){b.length=0,b.push("*");break}-1===y(e,b)&&b.push(e)}},b={always:"always",samedomain:"sameDomain",never:"never"};return function(c,d){var e,f=d.allowScriptAccess;if("string"==typeof f&&(e=f.toLowerCase())&&/^always|samedomain|never$/.test(e))return b[e];var g=E(d.moviePath);null===g&&(g=c);var h=[];a(d.trustedOrigins,h),a(d.trustedDomains,h);var i=h.length;if(i>0){if(1===i&&"*"===h[0])return"always";if(-1!==y(c,h))return 1===i&&c===g?"sameDomain":"always"}return"never"}}(),G=function(a){if(null==a)return[];if(Object.keys)return Object.keys(a);var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c);return b},H=function(a){if(a)for(var b in a)a.hasOwnProperty(b)&&delete a[b];return a},I=function(){try{return document.activeElement}catch(a){}return null},J=function(){var a=!1;if("boolean"==typeof e.disabled)a=e.disabled===!1;else{if("function"==typeof ActiveXObject)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash")&&(a=!0)}catch(b){}!a&&navigator.mimeTypes["application/x-shockwave-flash"]&&(a=!0)}return a},K=function(a,b){return this instanceof K?(this.id=""+g++,h[this.id]={instance:this,elements:[],handlers:{}},a&&this.clip(a),"undefined"!=typeof b&&(C("new ZeroClipboard(elements, options)",N.debug),K.config(b)),this.options=K.config(),"boolean"!=typeof e.disabled&&(e.disabled=!J()),void(e.disabled===!1&&e.outdated!==!0&&null===e.bridge&&(e.outdated=!1,e.ready=!1,O()))):new K(a,b)};K.prototype.setText=function(a){return a&&""!==a&&(f["text/plain"]=a,e.ready===!0&&e.bridge&&"function"==typeof e.bridge.setText?e.bridge.setText(a):e.ready=!1),this},K.prototype.setSize=function(a,b){return e.ready===!0&&e.bridge&&"function"==typeof e.bridge.setSize?e.bridge.setSize(a,b):e.ready=!1,this};var L=function(a){e.ready===!0&&e.bridge&&"function"==typeof e.bridge.setHandCursor?e.bridge.setHandCursor(a):e.ready=!1};K.prototype.destroy=function(){this.unclip(),this.off(),delete h[this.id]};var M=function(){var a,b,c,d=[],e=G(h);for(a=0,b=e.length;b>a;a++)c=h[e[a]].instance,c&&c instanceof K&&d.push(c);return d};K.version="1.3.5";var N={swfPath:m,trustedDomains:a.location.host?[a.location.host]:[],cacheBust:!0,forceHandCursor:!1,zIndex:999999999,debug:!0,title:null,autoActivate:!0};K.config=function(a){if("object"==typeof a&&null!==a&&D(N,a),"string"!=typeof a||!a){var b={};for(var c in N)N.hasOwnProperty(c)&&(b[c]="object"==typeof N[c]&&null!==N[c]?"length"in N[c]?N[c].slice(0):D({},N[c]):N[c]);return b}return N.hasOwnProperty(a)?N[a]:void 0},K.destroy=function(){K.deactivate();for(var a in h)if(h.hasOwnProperty(a)&&h[a]){var b=h[a].instance;b&&"function"==typeof b.destroy&&b.destroy()}var c=P(e.bridge);c&&c.parentNode&&(c.parentNode.removeChild(c),e.ready=null,e.bridge=null)},K.activate=function(a){d&&(t(d,N.hoverClass),t(d,N.activeClass)),d=a,s(a,N.hoverClass),Q();var b=N.title||a.getAttribute("title");if(b){var c=P(e.bridge);c&&c.setAttribute("title",b)}var f=N.forceHandCursor===!0||"pointer"===o(a,"cursor");L(f)},K.deactivate=function(){var a=P(e.bridge);a&&(a.style.left="0px",a.style.top="-9999px",a.removeAttribute("title")),d&&(t(d,N.hoverClass),t(d,N.activeClass),d=null)};var O=function(){var b,c,d=document.getElementById("global-zeroclipboard-html-bridge");if(!d){var f=K.config();f.jsModuleId="string"==typeof k&&k||"string"==typeof l&&l||null;var g=F(a.location.host,N),h=x(f),i=N.moviePath+w(N.moviePath,N),j=' ';d=document.createElement("div"),d.id="global-zeroclipboard-html-bridge",d.setAttribute("class","global-zeroclipboard-container"),d.style.position="absolute",d.style.left="0px",d.style.top="-9999px",d.style.width="15px",d.style.height="15px",d.style.zIndex=""+B(N.zIndex),document.body.appendChild(d),d.innerHTML=j}b=document["global-zeroclipboard-flash-bridge"],b&&(c=b.length)&&(b=b[c-1]),e.bridge=b||d.children[0].lastElementChild},P=function(a){for(var b=/^OBJECT|EMBED$/,c=a&&a.parentNode;c&&b.test(c.nodeName)&&c.parentNode;)c=c.parentNode;return c||null},Q=function(){if(d){var a=v(d,N.zIndex),b=P(e.bridge);b&&(b.style.top=a.top+"px",b.style.left=a.left+"px",b.style.width=a.width+"px",b.style.height=a.height+"px",b.style.zIndex=a.zIndex+1),e.ready===!0&&e.bridge&&"function"==typeof e.bridge.setSize?e.bridge.setSize(a.width,a.height):e.ready=!1}return this};K.prototype.on=function(a,b){var c,d,f,g={},i=h[this.id]&&h[this.id].handlers;if("string"==typeof a&&a)f=a.toLowerCase().split(/\s+/);else if("object"==typeof a&&a&&"undefined"==typeof b)for(c in a)a.hasOwnProperty(c)&&"string"==typeof c&&c&&"function"==typeof a[c]&&this.on(c,a[c]);if(f&&f.length){for(c=0,d=f.length;d>c;c++)a=f[c].replace(/^on/,""),g[a]=!0,i[a]||(i[a]=[]),i[a].push(b);g.noflash&&e.disabled&&T.call(this,"noflash",{}),g.wrongflash&&e.outdated&&T.call(this,"wrongflash",{flashVersion:e.version}),g.load&&e.ready&&T.call(this,"load",{flashVersion:e.version})}return this},K.prototype.off=function(a,b){var c,d,e,f,g,i=h[this.id]&&h[this.id].handlers;if(0===arguments.length)f=G(i);else if("string"==typeof a&&a)f=a.split(/\s+/);else if("object"==typeof a&&a&&"undefined"==typeof b)for(c in a)a.hasOwnProperty(c)&&"string"==typeof c&&c&&"function"==typeof a[c]&&this.off(c,a[c]);if(f&&f.length)for(c=0,d=f.length;d>c;c++)if(a=f[c].toLowerCase().replace(/^on/,""),g=i[a],g&&g.length)if(b)for(e=y(b,g);-1!==e;)g.splice(e,1),e=y(b,g,e);else i[a].length=0;return this},K.prototype.handlers=function(a){var b,c=null,d=h[this.id]&&h[this.id].handlers;if(d){if("string"==typeof a&&a)return d[a]?d[a].slice(0):null;c={};for(b in d)d.hasOwnProperty(b)&&d[b]&&(c[b]=d[b].slice(0))}return c};var R=function(b,c,d,e){var f=h[this.id]&&h[this.id].handlers[b];if(f&&f.length){var g,i,j,k=c||this;for(g=0,i=f.length;i>g;g++)j=f[g],c=k,"string"==typeof j&&"function"==typeof a[j]&&(j=a[j]),"object"==typeof j&&j&&"function"==typeof j.handleEvent&&(c=j,j=j.handleEvent),"function"==typeof j&&A(j,c,d,e)}return this};K.prototype.clip=function(a){a=z(a);for(var b=0;bd;d++)f=h[c[d]].instance,f&&f instanceof K&&g.push(f);return g};N.hoverClass="zeroclipboard-is-hover",N.activeClass="zeroclipboard-is-active",N.trustedOrigins=null,N.allowScriptAccess=null,N.useNoCache=!0,N.moviePath="ZeroClipboard.swf",K.detectFlashSupport=function(){return C("ZeroClipboard.detectFlashSupport",N.debug),J()},K.dispatch=function(a,b){if("string"==typeof a&&a){var c=a.toLowerCase().replace(/^on/,"");if(c)for(var e=d&&N.autoActivate===!0?S(d):M(),f=0,g=e.length;g>f;f++)T.call(e[f],c,b)}},K.prototype.setHandCursor=function(a){return C("ZeroClipboard.prototype.setHandCursor",N.debug),a="boolean"==typeof a?a:!!a,L(a),N.forceHandCursor=a,this},K.prototype.reposition=function(){return C("ZeroClipboard.prototype.reposition",N.debug),Q()},K.prototype.receiveEvent=function(a,b){if(C("ZeroClipboard.prototype.receiveEvent",N.debug),"string"==typeof a&&a){var c=a.toLowerCase().replace(/^on/,"");c&&T.call(this,c,b)}},K.prototype.setCurrent=function(a){return C("ZeroClipboard.prototype.setCurrent",N.debug),K.activate(a),this},K.prototype.resetBridge=function(){return C("ZeroClipboard.prototype.resetBridge",N.debug),K.deactivate(),this},K.prototype.setTitle=function(a){if(C("ZeroClipboard.prototype.setTitle",N.debug),a=a||N.title||d&&d.getAttribute("title")){var b=P(e.bridge);b&&b.setAttribute("title",a)}return this},K.setDefaults=function(a){C("ZeroClipboard.setDefaults",N.debug),K.config(a)},K.prototype.addEventListener=function(a,b){return C("ZeroClipboard.prototype.addEventListener",N.debug),this.on(a,b)},K.prototype.removeEventListener=function(a,b){return C("ZeroClipboard.prototype.removeEventListener",N.debug),this.off(a,b)},K.prototype.ready=function(){return C("ZeroClipboard.prototype.ready",N.debug),e.ready===!0};var T=function(a,g){a=a.toLowerCase().replace(/^on/,"");var h=g&&g.flashVersion&&b(g.flashVersion)||null,i=d,j=!0;switch(a){case"load":if(h){if(!c(h))return void T.call(this,"onWrongFlash",{flashVersion:h});e.outdated=!1,e.ready=!0,e.version=h}break;case"wrongflash":h&&!c(h)&&(e.outdated=!0,e.ready=!1,e.version=h);break;case"mouseover":s(i,N.hoverClass);break;case"mouseout":N.autoActivate===!0&&K.deactivate();break;case"mousedown":s(i,N.activeClass);break;case"mouseup":t(i,N.activeClass);break;case"datarequested":if(i){var k=i.getAttribute("data-clipboard-target"),l=k?document.getElementById(k):null;if(l){var m=l.value||l.textContent||l.innerText;m&&this.setText(m)}else{var n=i.getAttribute("data-clipboard-text");n&&this.setText(n)}}j=!1;break;case"complete":H(f),i&&i!==I()&&i.focus&&i.focus()}var o=i,p=[this,g];return R.call(this,a,o,p,j)};"function"==typeof define&&define.amd?define(["require","exports","module"],function(a,b,c){return k=c&&c.id||null,K}):"object"==typeof module&&module&&"object"==typeof module.exports&&module.exports&&"function"==typeof a.require?(l=module.id||null,module.exports=K):a.ZeroClipboard=K}(function(){return this}()),/*! + * JavaScript for Bootstrap's docs (http://getbootstrap.com) + * Copyright 2011-2014 Twitter, Inc. + * Licensed under the Creative Commons Attribution 3.0 Unported License. For + * details, see http://creativecommons.org/licenses/by/3.0/. + */ +!function(a){"use strict";a(function(){var b=a(window),c=a(document.body);c.scrollspy({target:".bs-docs-sidebar"}),b.on("load",function(){c.scrollspy("refresh")}),a(".bs-docs-container [href=#]").click(function(a){a.preventDefault()}),setTimeout(function(){var b=a(".bs-docs-sidebar");b.affix({offset:{top:function(){var c=b.offset().top,d=parseInt(b.children(0).css("margin-top"),10),e=a(".bs-docs-nav").height();return this.top=c-e-d},bottom:function(){return this.bottom=a(".bs-docs-footer").outerHeight(!0)}}})},100),setTimeout(function(){a(".bs-top").affix()},100),function(){var b=a("#bs-theme-stylesheet"),c=a(".bs-docs-theme-toggle"),d=function(){b.attr("href",b.attr("data-href")),c.text("Disable theme preview"),localStorage.setItem("previewTheme",!0)};localStorage.getItem("previewTheme")&&d(),c.click(function(){var a=b.attr("href");a&&0!==a.indexOf("data")?(b.attr("href",""),c.text("Preview theme"),localStorage.removeItem("previewTheme")):d()})}(),a(".tooltip-demo").tooltip({selector:'[data-toggle="tooltip"]',container:"body"}),a(".popover-demo").popover({selector:'[data-toggle="popover"]',container:"body"}),a(".tooltip-test").tooltip(),a(".popover-test").popover(),a(".bs-docs-popover").popover(),a("#loading-example-btn").on("click",function(){var b=a(this);b.button("loading"),setTimeout(function(){b.button("reset")},3e3)}),a("#exampleModal").on("show.bs.modal",function(b){var c=a(b.relatedTarget),d=c.data("whatever"),e=a(this);e.find(".modal-title").text("New message to "+d),e.find(".modal-body input").val(d)}),a(".bs-docs-activate-animated-progressbar").on("click",function(){a(this).siblings(".progress").find(".progress-bar-striped").toggleClass("active")}),ZeroClipboard.config({moviePath:"/assets/flash/ZeroClipboard.swf",hoverClass:"btn-clipboard-hover"}),a(".highlight").each(function(){var b='
Copy
';a(this).before(b)});var d=new ZeroClipboard(a(".btn-clipboard")),e=a("#global-zeroclipboard-html-bridge");d.on("load",function(){e.data("placement","top").attr("title","Copy to clipboard").tooltip()}),d.on("dataRequested",function(b){var c=a(this).parent().nextAll(".highlight").first();b.setText(c.text())}),d.on("complete",function(){e.attr("title","Copied!").tooltip("fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("fixTitle")}),d.on("noflash wrongflash",function(){e.attr("title","Flash required").tooltip("fixTitle").tooltip("show")})})}(jQuery); \ No newline at end of file diff --git a/BikeWebsite/Scripts/ie10-viewport-bug-workaround.js b/BikeWebsite/Scripts/ie10-viewport-bug-workaround.js new file mode 100644 index 0000000..7f53b61 --- /dev/null +++ b/BikeWebsite/Scripts/ie10-viewport-bug-workaround.js @@ -0,0 +1,22 @@ +/*! + * IE10 viewport hack for Surface/desktop Windows 8 bug + * Copyright 2014 Twitter, Inc. + * Licensed under the Creative Commons Attribution 3.0 Unported License. For + * details, see http://creativecommons.org/licenses/by/3.0/. + */ + +// See the Getting Started docs for more information: +// http://getbootstrap.com/getting-started/#support-ie10-width + +(function () { + 'use strict'; + if (navigator.userAgent.match(/IEMobile\/10\.0/)) { + var msViewportStyle = document.createElement('style') + msViewportStyle.appendChild( + document.createTextNode( + '@-ms-viewport{width:auto!important}' + ) + ) + document.querySelector('head').appendChild(msViewportStyle) + } +})(); diff --git a/BikeWebsite/Scripts/jssor.slider.mini.js b/BikeWebsite/Scripts/jssor.slider.mini.js new file mode 100644 index 0000000..21dbd32 --- /dev/null +++ b/BikeWebsite/Scripts/jssor.slider.mini.js @@ -0,0 +1,2 @@ +(function(g,e,b,j,c,i,k){/*! Jssor */ +new(function(){});var d=g.$JssorEasing$={$EaseSwing:function(a){return-b.cos(a*b.PI)/2+.5},$EaseLinear:function(a){return a},$EaseInQuad:function(a){return a*a},$EaseOutQuad:function(a){return-a*(a-2)},$EaseInOutQuad:function(a){return(a*=2)<1?1/2*a*a:-1/2*(--a*(a-2)-1)},$EaseInCubic:function(a){return a*a*a},$EaseOutCubic:function(a){return(a-=1)*a*a+1},$EaseInOutCubic:function(a){return(a*=2)<1?1/2*a*a*a:1/2*((a-=2)*a*a+2)},$EaseInQuart:function(a){return a*a*a*a},$EaseOutQuart:function(a){return-((a-=1)*a*a*a-1)},$EaseInOutQuart:function(a){return(a*=2)<1?1/2*a*a*a*a:-1/2*((a-=2)*a*a*a-2)},$EaseInQuint:function(a){return a*a*a*a*a},$EaseOutQuint:function(a){return(a-=1)*a*a*a*a+1},$EaseInOutQuint:function(a){return(a*=2)<1?1/2*a*a*a*a*a:1/2*((a-=2)*a*a*a*a+2)},$EaseInSine:function(a){return 1-b.cos(a*b.PI/2)},$EaseOutSine:function(a){return b.sin(a*b.PI/2)},$EaseInOutSine:function(a){return-1/2*(b.cos(b.PI*a)-1)},$EaseInExpo:function(a){return a==0?0:b.pow(2,10*(a-1))},$EaseOutExpo:function(a){return a==1?1:-b.pow(2,-10*a)+1},$EaseInOutExpo:function(a){return a==0||a==1?a:(a*=2)<1?1/2*b.pow(2,10*(a-1)):1/2*(-b.pow(2,-10*--a)+2)},$EaseInCirc:function(a){return-(b.sqrt(1-a*a)-1)},$EaseOutCirc:function(a){return b.sqrt(1-(a-=1)*a)},$EaseInOutCirc:function(a){return(a*=2)<1?-1/2*(b.sqrt(1-a*a)-1):1/2*(b.sqrt(1-(a-=2)*a)+1)},$EaseInElastic:function(a){if(!a||a==1)return a;var c=.3,d=.075;return-(b.pow(2,10*(a-=1))*b.sin((a-d)*2*b.PI/c))},$EaseOutElastic:function(a){if(!a||a==1)return a;var c=.3,d=.075;return b.pow(2,-10*a)*b.sin((a-d)*2*b.PI/c)+1},$EaseInOutElastic:function(a){if(!a||a==1)return a;var c=.45,d=.1125;return(a*=2)<1?-.5*b.pow(2,10*(a-=1))*b.sin((a-d)*2*b.PI/c):b.pow(2,-10*(a-=1))*b.sin((a-d)*2*b.PI/c)*.5+1},$EaseInBack:function(a){var b=1.70158;return a*a*((b+1)*a-b)},$EaseOutBack:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},$EaseInOutBack:function(a){var b=1.70158;return(a*=2)<1?1/2*a*a*(((b*=1.525)+1)*a-b):1/2*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},$EaseInBounce:function(a){return 1-d.$EaseOutBounce(1-a)},$EaseOutBounce:function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},$EaseInOutBounce:function(a){return a<1/2?d.$EaseInBounce(a*2)*.5:d.$EaseOutBounce(a*2-1)*.5+.5},$EaseGoBack:function(a){return 1-b.abs(2-1)},$EaseInWave:function(a){return 1-b.cos(a*b.PI*2)},$EaseOutWave:function(a){return b.sin(a*b.PI*2)},$EaseOutJump:function(a){return 1-((a*=2)<1?(a=1-a)*a*a:(a-=1)*a*a)},$EaseInJump:function(a){return(a*=2)<1?a*a*a:(a=2-a)*a*a}},f=g.$Jease$={$Swing:d.$EaseSwing,$Linear:d.$EaseLinear,$InQuad:d.$EaseInQuad,$OutQuad:d.$EaseOutQuad,$InOutQuad:d.$EaseInOutQuad,$InCubic:d.$EaseInCubic,$OutCubic:d.$EaseOutCubic,$InOutCubic:d.$EaseInOutCubic,$InQuart:d.$EaseInQuart,$OutQuart:d.$EaseOutQuart,$InOutQuart:d.$EaseInOutQuart,$InQuint:d.$EaseInQuint,$OutQuint:d.$EaseOutQuint,$InOutQuint:d.$EaseInOutQuint,$InSine:d.$EaseInSine,$OutSine:d.$EaseOutSine,$InOutSine:d.$EaseInOutSine,$InExpo:d.$EaseInExpo,$OutExpo:d.$EaseOutExpo,$InOutExpo:d.$EaseInOutExpo,$InCirc:d.$EaseInCirc,$OutCirc:d.$EaseOutCirc,$InOutCirc:d.$EaseInOutCirc,$InElastic:d.$EaseInElastic,$OutElastic:d.$EaseOutElastic,$InOutElastic:d.$EaseInOutElastic,$InBack:d.$EaseInBack,$OutBack:d.$EaseOutBack,$InOutBack:d.$EaseInOutBack,$InBounce:d.$EaseInBounce,$OutBounce:d.$EaseOutBounce,$InOutBounce:d.$EaseInOutBounce,$GoBack:d.$EaseGoBack,$InWave:d.$EaseInWave,$OutWave:d.$EaseOutWave,$OutJump:d.$EaseOutJump,$InJump:d.$EaseInJump};var a=new function(){var f=this,zb=/\S+/g,S=1,fb=2,jb=3,ib=4,nb=5,I,s=0,l=0,q=0,J=0,C=0,y=navigator,sb=y.appName,n=y.userAgent;function Ib(){if(!I){I={Rg:"ontouchstart"in g||"createTouch"in e};var a;if(y.pointerEnabled||(a=y.msPointerEnabled))I.Bd=a?"msTouchAction":"touchAction"}return I}function t(i){if(!s){s=-1;if(sb=="Microsoft Internet Explorer"&&!!g.attachEvent&&!!g.ActiveXObject){var f=n.indexOf("MSIE");s=S;q=o(n.substring(f+5,n.indexOf(";",f)));/*@cc_on J=@_jscript_version@*/;l=e.documentMode||q}else if(sb=="Netscape"&&!!g.addEventListener){var d=n.indexOf("Firefox"),b=n.indexOf("Safari"),h=n.indexOf("Chrome"),c=n.indexOf("AppleWebKit");if(d>=0){s=fb;l=o(n.substring(d+8))}else if(b>=0){var j=n.substring(0,b).lastIndexOf("/");s=h>=0?ib:jb;l=o(n.substring(j+1,b))}else{var a=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(n);if(a){s=S;l=q=o(a[1])}}if(c>=0)C=o(n.substring(c+12))}else{var a=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(n);if(a){s=nb;l=o(a[2])}}}return i==s}function p(){return t(S)}function N(){return p()&&(l<6||e.compatMode=="BackCompat")}function hb(){return t(jb)}function mb(){return t(nb)}function ab(){return hb()&&C>534&&C<535}function L(){return p()&&l<9}function cb(a){var b;return function(d){if(!b){b=a;var c=a.substr(0,1).toUpperCase()+a.substr(1);m([a].concat(["WebKit","ms","Moz","O","webkit"]),function(g,f){var e=a;if(f)e=g+c;if(d.style[e]!=k)return b=e})}return b}}var bb=cb("transform");function rb(a){return{}.toString.call(a)}var H;function Fb(){if(!H){H={};m(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){H["[object "+a+"]"]=a.toLowerCase()})}return H}function m(a,d){if(rb(a)=="[object Array]"){for(var b=0;b-1;f--){var d=c[f],e=U(i);u(e,u(d));a.Nb(e,d.style.cssText);a.Pb(e,d);a.Hb(d)}return b};function Gb(b){var l=this,p="",r=["av","pv","ds","dn"],g=[],q,j=0,h=0,d=0;function i(){E(b,q,g[d||j||h&2||h]);a.W(b,"pointer-events",d?"none":"")}function c(){j=0;i();f.R(e,"mouseup",c);f.R(e,"touchend",c);f.R(e,"touchcancel",c)}function o(a){if(d)f.bc(a);else{j=4;i();f.e(e,"mouseup",c);f.e(e,"touchend",c);f.e(e,"touchcancel",c)}}l.jd=function(a){if(a===k)return h;h=a&2||a&1;i()};l.$Enable=function(a){if(a===k)return!d;d=a?0:3;i()};l.$Elmt=b=f.qb(b);var n=a.Bg(u(b));if(n)p=n.shift();m(r,function(a){g.push(p+a)});q=Y(" ",g);g.unshift("");f.e(b,"mousedown",o);f.e(b,"touchstart",o)}f.ac=function(a){return new Gb(a)};f.W=B;f.ib=h("overflow");f.G=h("top",2);f.E=h("left",2);f.l=h("width",2);f.m=h("height",2);f.Id=h("marginLeft",2);f.Dd=h("marginTop",2);f.z=h("position");f.Y=h("display");f.J=h("zIndex",1);f.Ab=function(b,a,c){if(a!=k)Eb(b,a,c);else return Cb(b)};f.Nb=function(a,b){if(b!=k)a.style.cssText=b;else return a.style.cssText};var Q={$Opacity:f.Ab,$Top:f.G,$Left:f.E,N:f.l,P:f.m,Bb:f.z,Kh:f.Y,$ZIndex:f.J},K;function G(){if(!K)K=z({Mh:f.Dd,Lh:f.Id,$Clip:f.pg,B:f.jg},Q);return K}function ob(){var a={};a.B=a.B;a.B=a.$Rotate;a.B=a.$RotateX;a.B=a.$RotateY;a.B=a.$SkewX;a.B=a.$SkewY;a.B=a.$TranslateX;a.B=a.$TranslateY;a.B=a.$TranslateZ;return G()}f.ne=G;f.Pc=ob;f.xe=function(c,b){G();var a={};m(b,function(d,b){if(Q[b])a[b]=Q[b](c)});return a};f.bb=function(c,b){var a=G();m(b,function(d,b){a[b]&&a[b](c,d)})};f.Wd=function(b,a){ob();f.bb(b,a)};var D=new function(){var a=this;function b(d,g){for(var j=d[0].length,i=d.length,h=g[0].length,f=[],c=0;c=e||g<=f))g=((g-f)%p+p)%p+f;if(!D||v||h!=g){var i=b.min(g,e);i=b.max(i,f);if(!D||v||i!=m){if(J){var j=(i-l)/(C||1);if(k.$Reverse)j=1-j;var o=a.Kd(N,J,j,H,G,I,k);a.c(o,function(b,a){A[a]&&A[a](P,b)})}d.Ic(m-l,i-l);m=i;a.c(w,function(b,c){var a=n=n*o)c=n;u(c);if(!v&&c*o>=n*o)L(B);else r(K)}}function t(g,i,j){if(!q){q=c;v=j;B=i;g=b.max(g,f);g=b.min(g,e);n=g;o=n=0&&b=0&&h=0&&b=0&&cf||d>h){switch(e){case j:case m:a++;break;case k:case l:case o:case i:b++;break;case p:case n:default:a--}if(a<0||b<0||a>f||b>h){switch(e){case j:case m:a=f;b++;break;case o:case i:b=h;a++;break;case k:case l:b=h;a--;break;case p:case n:default:a=0;b++}if(b>h)b=h;else if(b<0)b=0;else if(a>f)a=f;else if(a<0)a=0}d=b;c=a}}return r};h.$FormationSquare=function(i){var a=i.$Cols||1,c=i.$Rows||1,j=[],d,e,f,h,k;f=ac?(a-c)/2:0;k=b.round(b.max(a/2,c/2))+1;for(d=0;d1||d.$Clip;if(d.$Zoom||d.$Rotate){var H=c;if(a.V())if(d.$Cols*d.$Rows>1)H=i;else I=i;if(H){e.$Zoom=d.$Zoom?d.$Zoom-1:1;f.$Zoom=1;if(a.V()||a.tc())e.$Zoom=b.min(e.$Zoom,2);var N=d.$Rotate||0;e.$Rotate=N*360*(x?-1:1);f.$Rotate=0}}if(I){var h=t.wb={};if(d.$Clip){var w=d.$ScaleClip||1;if(C&&z){h.$Top=g.P/2*w;h.$Bottom=-h.$Top}else if(C)h.$Bottom=-g.P*w;else if(z)h.$Top=g.P*w;if(B&&A){h.$Left=g.N/2*w;h.$Right=-h.$Left}else if(B)h.$Right=-g.N*w;else if(A)h.$Left=g.N*w}r.$Clip=t;f.$Clip=g[v]}var L=o?1:-1,M=s?1:-1;if(d.x)e.$Left+=n*d.x*L;if(d.y)e.$Top+=l*d.y*M;a.c(e,function(b,c){if(a.Zb(b))if(b!=f[c])r[c]=b-f[c]});u[v]=k?f:e;var D=d.fe,y=b.round(m*d.$Delay/d.$Interval);j[v]=new Array(y);j[v].ue=y;j[v].me=y+D-1;for(var F=0;F<=D;F++){var E=a.Kd(f,r,F/D,d.$Easing,d.$During,d.$Round,{$Move:d.$Move,$OriginalWidth:n,$OriginalHeight:l});E.$ZIndex=E.$ZIndex||1;j[v].push(E)}})});o.reverse();a.c(o,function(b){a.c(b,function(c){var f=c[0],e=c[1],d=f+","+e,b=h;if(e||f)b=a.X(h);a.bb(b,u[d]);a.ib(b,"hidden");a.z(b,"absolute");A.se(b);m[d]=b;a.A(b,!k)})})}function v(){var a=this,b=0;l.call(a,0,u);a.Qb=function(c,a){if(a-b>h){b=a;e&&e.Vb(a);g&&g.Vb(a)}};a.ab=r}f.Ie=function(){var a=0,c=t.$Transitions,d=c.length;if(w)a=x++%d;else a=b.floor(b.random()*d);c[a]&&(c[a].nb=a);return c[a]};f.Ne=function(w,x,j,l,a){r=a;a=k(a,h);var i=l.Wc,d=j.Wc;i["no-image"]=!l.cc;d["no-image"]=!j.cc;var m=i,o=d,v=a,c=a.$Brother||k({},h);if(!a.$SlideOut){m=d;o=i}var t=c.$Shift||0;g=new p(n,o,c,b.max(t-c.$Interval,0),s,q);e=new p(n,m,v,b.max(c.$Interval-t,0),s,q);g.Vb(0);e.Vb(0);u=b.max(g.td,e.td);f.nb=w};f.Db=function(){n.Db();g=j;e=j};f.de=function(){var a=j;if(e)a=new v;return a};if(a.V()||a.tc()||y&&a.ng()<537)h=16;m.call(f);l.call(f,-1e7,1e7)};var h=g.$JssorSlider$=function(q,fc){var o=this;function Ec(){var a=this;l.call(a,-1e8,2e8);a.ge=function(){var c=a.yb(),d=b.floor(c),f=t(d),e=c-b.floor(c);return{nb:f,ce:d,Bb:e}};a.Qb=function(d,a){var e=b.floor(a);if(e!=a&&a>d)e++;Ub(e,c);o.n(h.$EVT_POSITION_CHANGE,t(a),t(d),a,d)}}function Dc(){var b=this;l.call(b,0,0,{Tc:r});a.c(C,function(a){D&1&&a.Ae(r);b.Oc(a);a.$Shift(fb/bc)})}function Cc(){var a=this,b=Tb.$Elmt;l.call(a,-1,2,{$Easing:d.$EaseLinear,xc:{Bb:Zb},Tc:r},b,{Bb:1},{Bb:-2});a.Mb=b}function qc(n,m){var a=this,d,e,g,k,b;l.call(a,-1e8,2e8,{Uc:100});a.Od=function(){O=c;R=j;o.n(h.$EVT_SWIPE_START,t(w.db()),w.db())};a.Ld=function(){O=i;k=i;var a=w.ge();o.n(h.$EVT_SWIPE_END,t(w.db()),w.db());!a.Bb&&Gc(a.ce,s)};a.Qb=function(i,h){var a;if(k)a=b;else{a=e;if(g){var c=h/g;a=f.$SlideEasing(c)*(e-d)+d}}w.v(a)};a.ic=function(b,f,c,h){d=b;e=f;g=c;w.v(b);a.v(0);a.Cd(c,h)};a.je=function(d){k=c;b=d;a.$Play(d,j,c)};a.le=function(a){b=a};w=new Ec;w.I(n);w.I(m)}function rc(){var c=this,b=Xb();a.J(b,0);a.W(b,"pointerEvents","none");c.$Elmt=b;c.se=function(c){a.H(b,c);a.A(b)};c.Db=function(){a.S(b);a.sc(b)}}function Bc(k,e){var d=this,q,H,x,n,y=[],w,B,W,G,Q,F,g,v,p;l.call(d,-u,u+1,{});function E(b){q&&q.jb();T(k,b,0);F=c;q=new I.$Class(k,I,a.Nc(a.j(k,"idle"))||pc);q.v(0)}function Y(){q.rcK||b>J)){var j=i,q=K/J*b/g;if(f.$FillMode&1)j=q>1;else if(f.$FillMode&2)j=q<1;l=j?g*J/b:K;k=j?J:b*K/g}a.l(n,l);a.m(n,k);a.G(n,(J-k)/2);a.E(n,(K-l)/2)}a.z(n,"absolute");o.n(h.$EVT_LOAD_END,e)}}a.S(r);p&&p(d)}function X(b,c,f,g){if(g==R&&s==e&&P)if(!Fc){var a=t(b);A.Ne(a,e,c,d,f);c.be();U.$Shift(a-U.Fc()-1);U.v(a);z.ic(b,b,0)}}function ab(b){if(b==R&&s==e){if(!g){var a=j;if(A)if(A.nb==e)a=A.de();else A.Db();Y();g=new yc(k,e,a,q);g.gd(p)}!g.$IsPlaying()&&g.wc()}}function S(h,c,i){if(h==e){if(h!=c)C[c]&&C[c].Be();else!i&&g&&g.Le();p&&p.$Enable();var k=R=a.T();d.Cb(a.K(j,ab,k))}else{var m=b.abs(e-h),l=u+f.$LazyLoading-1;(!Q||m<=l)&&d.Cb()}}function bb(){if(s==e&&g){g.rb();p&&p.$Quit();p&&p.$Disable();g.nd()}}function db(){s==e&&g&&g.rb()}function Z(a){!M&&o.n(h.$EVT_CLICK,e,a)}function O(){p=v.pInstance;g&&g.gd(p)}d.Cb=function(d,b){b=b||x;if(y.length&&!G){a.A(b);if(!W){W=c;o.n(h.$EVT_LOAD_START,e);a.c(y,function(b){if(!a.C(b,"src")){b.src=a.j(b,"src2");a.Y(b,b["display-origin"])}})}a.Ud(y,n,a.K(j,N,d,b))}else N(d,b)};d.ze=function(){var h=e;if(f.$AutoPlaySteps<0)h-=r;var c=h+f.$AutoPlaySteps*wc;if(D&2)c=t(c);if(!(D&1))c=b.max(0,b.min(c,r-u));if(c!=e){if(A){var d=A.Ie(r);if(d){var i=R=a.T(),g=C[t(c)];return g.Cb(a.K(j,X,c,g,d,i),x)}}nb(c)}};d.pc=function(){S(e,e,c)};d.Be=function(){p&&p.$Quit();p&&p.$Disable();d.od();g&&g.he();g=j;E()};d.be=function(){a.S(k)};d.od=function(){a.A(k)};d.Yd=function(){p&&p.$Enable()};function T(b,d,e){if(a.C(b,"jssor-slider"))return;if(!F){if(b.tagName=="IMG"){y.push(b);if(!a.C(b,"src")){Q=c;b["display-origin"]=a.Y(b);a.S(b)}}a.V()&&a.J(b,(a.J(b)||0)+1)}var f=a.O(b);a.c(f,function(f){var h=f.tagName,j=a.j(f,"u");if(j=="player"&&!v){v=f;if(v.pInstance)O();else a.e(v,"dataavailable",O)}if(j=="caption"){if(d){a.Sc(f,a.j(f,"to"));a.ig(f,a.j(f,"bf"));a.kg(f,"preserve-3d")}else if(!a.Jd()){var g=a.X(f,i,c);a.Pb(g,f,b);a.Hb(f,b);f=g;d=c}}else if(!F&&!e&&!n){if(h=="A"){if(a.j(f,"u")=="image")n=a.xg(f,"IMG");else n=a.D(f,"image",c);if(n){w=f;a.Y(w,"block");a.bb(w,V);B=a.X(w,c);a.z(w,"relative");a.Ab(B,0);a.W(B,"backgroundColor","#000")}}else if(h=="IMG"&&a.j(f,"u")=="image")n=f;if(n){n.border=0;a.bb(n,V)}}T(f,d,e+1)})}d.Ic=function(c,b){var a=u-b;Zb(H,a)};d.nb=e;m.call(d);a.mg(k,a.j(k,"p"));a.lg(k,a.j(k,"po"));var L=a.D(k,"thumb",c);if(L){d.Ee=a.X(L);a.S(L)}a.A(k);x=a.X(cb);a.J(x,1e3);a.e(k,"click",Z);E(c);d.cc=n;d.Ad=B;d.Wc=k;d.Mb=H=k;a.H(H,x);o.$On(203,S);o.$On(28,db);o.$On(24,bb)}function yc(y,f,p,q){var b=this,m=0,u=0,g,j,e,d,k,t,r,n=C[f];l.call(b,0,0);function v(){a.sc(N);dc&&k&&n.Ad&&a.H(N,n.Ad);a.A(N,!k&&n.cc)}function w(){b.wc()}function x(a){r=a;b.rb();b.wc()}b.wc=function(){var a=b.yb();if(!B&&!O&&!r&&s==f){if(!a){if(g&&!k){k=c;b.nd(c);o.n(h.$EVT_SLIDESHOW_START,f,m,u,g,d)}v()}var i,p=h.$EVT_STATE_CHANGE;if(a!=d)if(a==e)i=d;else if(a==j)i=e;else if(!a)i=j;else i=b.Sd();o.n(p,f,a,m,j,e,d);var l=P&&(!E||F);if(a==d)(e!=d&&!(E&12)||l)&&n.ze();else(l||a!=e)&&b.Cd(i,w)}};b.Le=function(){e==d&&e==b.yb()&&b.v(j)};b.he=function(){A&&A.nb==f&&A.Db();var a=b.yb();a=g){k=i;v();n.od();A.Db();o.n(h.$EVT_SLIDESHOW_END,f,m,u,g,d)}o.n(h.$EVT_PROGRESS_CHANGE,f,a,m,j,e,d)};b.gd=function(a){if(a&&!t){t=a;a.$On($JssorPlayer$.Ce,x)}};p&&b.Oc(p);g=b.gb();b.Oc(q);j=g+q.dc;e=g+q.Yb;d=b.gb()}function Zb(g,f){var e=x>0?x:gb,c=Bb*f*(e&1),d=Cb*f*(e>>1&1);c=b.round(c);d=b.round(d);a.E(g,c);a.G(g,d)}function Pb(){pb=O;Kb=z.Sd();G=w.db()}function gc(){Pb();if(B||!F&&E&12){z.rb();o.n(h.De)}}function ec(e){if(!B&&(F||!(E&12))&&!z.$IsPlaying()){var c=w.db(),a=b.ceil(G);if(e&&b.abs(H)>=f.$MinDragOffsetToSlide){a=b.ceil(c);a+=eb}if(!(D&1))a=b.min(r-u,b.max(a,0));var d=b.abs(a-c);d=1-b.pow(1-d,5);if(!M&&pb)z.Ke(Kb);else if(c==a){tb.Yd();tb.pc()}else z.ic(c,a,d*Vb)}}function Ib(b){!a.j(a.yc(b),"nodrag")&&a.bc(b)}function uc(a){Yb(a,1)}function Yb(b,d){b=a.vd(b);var k=a.yc(b);if(!L&&!a.j(k,"nodrag")&&vc()&&(!d||b.touches.length==1)){B=c;Ab=i;R=j;a.e(e,d?"touchmove":"mousemove",Db);a.T();M=0;gc();if(!pb)x=0;if(d){var g=b.touches[0];vb=g.clientX;wb=g.clientY}else{var f=a.Qd(b);vb=f.x;wb=f.y}H=0;bb=0;eb=0;o.n(h.$EVT_DRAG_START,t(G),G,b)}}function Db(e){if(B){e=a.vd(e);var f;if(e.type!="mousemove"){var l=e.touches[0];f={x:l.clientX,y:l.clientY}}else f=a.Qd(e);if(f){var j=f.x-vb,k=f.y-wb;if(b.floor(G)!=G)x=x||gb&L;if((j||k)&&!x){if(L==3)if(b.abs(k)>b.abs(j))x=2;else x=1;else x=L;if(jb&&x==1&&b.abs(k)-b.abs(j)>3)Ab=c}if(x){var d=k,i=Cb;if(x==1){d=j;i=Bb}if(!(D&1)){if(d>0){var g=i*s,h=d-g;if(h>0)d=g+b.sqrt(h)*5}if(d<0){var g=i*(r-u-s),h=-d-g;if(h>0)d=-g-b.sqrt(h)*5}}if(H-bb<-2)eb=0;else if(H-bb>2)eb=-1;bb=H;H=d;sb=G-H/i/(Z||1);if(H&&x&&!Ab){a.bc(e);if(!O)z.je(sb);else z.le(sb)}}}}}function mb(){sc();if(B){B=i;a.T();a.R(e,"mousemove",Db);a.R(e,"touchmove",Db);M=H;z.rb();var b=w.db();o.n(h.$EVT_DRAG_END,t(b),b,t(G),G);E&12&&Pb();ec(c)}}function kc(c){if(M){a.Kg(c);var b=a.yc(c);while(b&&v!==b){b.tagName=="A"&&a.bc(c);try{b=b.parentNode}catch(d){break}}}}function oc(a){C[s];s=t(a);tb=C[s];Ub(a);return s}function Gc(a,b){x=0;oc(a);o.n(h.$EVT_PARK,t(a),b)}function Ub(b,c){yb=b;a.c(S,function(a){a.Mc(t(b),b,c)})}function vc(){var b=h.ed||0,a=Y;if(jb)a&1&&(a&=1);h.ed|=a;return L=a&~b}function sc(){if(L){h.ed&=~Y;L=0}}function Xb(){var b=a.mb();a.bb(b,V);a.z(b,"absolute");return b}function t(a){return(a%r+r)%r}function lc(a,c){if(c)if(!D){a=b.min(b.max(a+yb,0),r-u);c=i}else if(D&2){a=t(a+yb);c=i}nb(a,f.$SlideDuration,c)}function zb(){a.c(S,function(a){a.Jc(a.Jb.$ChanceToShow<=F)})}function ic(){if(!F){F=1;zb();if(!B){E&12&&ec();E&3&&C[s].pc()}}}function hc(){if(F){F=0;zb();B||!(E&12)||gc()}}function jc(){V={N:K,P:J,$Top:0,$Left:0};a.c(T,function(b){a.bb(b,V);a.z(b,"absolute");a.ib(b,"hidden");a.S(b)});a.bb(cb,V)}function lb(b,a){nb(b,a,c)}function nb(g,e,l){if(Rb&&(!B&&(F||!(E&12))||f.$NaviQuitDrag)){O=c;B=i;z.rb();if(e==k)e=Vb;var d=Eb.yb(),a=g;if(l){a=d+g;if(g>0)a=b.ceil(a);else a=b.floor(a)}if(D&2)a=t(a);if(!(D&1))a=b.max(0,b.min(a,r-u));var j=(a-d)%r;a=d+j;var h=d==a?0:e*b.abs(j);h=b.min(h,e*u*1.5);z.ic(d,a,h||1)}}o.$PlayTo=nb;o.$GoTo=function(a){w.v(a)};o.$Next=function(){lb(1)};o.$Prev=function(){lb(-1)};o.$Pause=function(){P=i};o.$Play=function(){if(!P){P=c;C[s]&&C[s].pc()}};o.$SetSlideshowTransitions=function(a){f.$SlideshowOptions.$Transitions=a};o.$SetCaptionTransitions=function(b){I.$Transitions=b;I.rc=a.T()};o.$SlidesCount=function(){return T.length};o.$CurrentIndex=function(){return s};o.$IsAutoPlaying=function(){return P};o.$IsDragging=function(){return B};o.$IsSliding=function(){return O};o.$IsMouseOver=function(){return!F};o.$LastDragSucceded=function(){return M};function X(){return a.l(y||q)}function ib(){return a.m(y||q)}o.$OriginalWidth=o.$GetOriginalWidth=X;o.$OriginalHeight=o.$GetOriginalHeight=ib;function Gb(c,d){if(c==k)return a.l(q);if(!y){var b=a.mb(e);a.Zc(b,a.Zc(q));a.Nb(b,a.Nb(q));a.Y(b,"block");a.z(b,"relative");a.G(b,0);a.E(b,0);a.ib(b,"visible");y=a.mb(e);a.z(y,"absolute");a.G(y,0);a.E(y,0);a.l(y,a.l(q));a.m(y,a.m(q));a.Sc(y,"0 0");a.H(y,b);var h=a.O(q);a.H(q,y);a.W(q,"backgroundImage","");a.c(h,function(c){a.H(a.j(c,"noscale")?q:b,c);a.j(c,"autocenter")&&Lb.push(c)})}Z=c/(d?a.m:a.l)(y);a.sg(y,Z);var g=d?Z*X():c,f=d?c:Z*ib();a.l(q,g);a.m(q,f);a.c(Lb,function(b){var c=a.Kb(a.j(b,"autocenter"));a.Oe(b,c)})}o.$ScaleHeight=o.$GetScaleHeight=function(b){if(b==k)return a.m(q);Gb(b,c)};o.$ScaleWidth=o.$SetScaleWidth=o.$GetScaleWidth=Gb;o.Ed=function(a){var d=b.ceil(t(fb/bc)),c=t(a-s+d);if(c>u){if(a-s>r/2)a-=r;else if(a-s<=-r/2)a+=r}else a=s+c-d;return a};m.call(o);o.$Elmt=q=a.qb(q);var f=a.p({$FillMode:0,$LazyLoading:1,$ArrowKeyNavigation:1,$StartIndex:0,$AutoPlay:i,$Loop:1,$NaviQuitDrag:c,$AutoPlaySteps:1,$AutoPlayInterval:3e3,$PauseOnHover:1,$SlideDuration:500,$SlideEasing:d.$EaseOutQuad,$MinDragOffsetToSlide:20,$SlideSpacing:0,$Cols:1,$Align:0,$UISearchMode:1,$PlayOrientation:1,$DragOrientation:1},fc);if(f.$Idle!=k)f.$AutoPlayInterval=f.$Idle;if(f.$DisplayPieces!=k)f.$Cols=f.$DisplayPieces;if(f.$ParkingPosition!=k)f.$Align=f.$ParkingPosition;var gb=f.$PlayOrientation&3,wc=(f.$PlayOrientation&4)/-4||1,db=f.$SlideshowOptions,I=a.p({$Class:p,$PlayInMode:1,$PlayOutMode:1},f.$CaptionSliderOptions);I.$Transitions=I.$Transitions||I.$CaptionTransitions;var qb=f.$BulletNavigatorOptions,W=f.$ArrowNavigatorOptions,ab=f.$ThumbnailNavigatorOptions,Q=!f.$UISearchMode,y,v=a.D(q,"slides",Q),cb=a.D(q,"loading",Q)||a.mb(e),Jb=a.D(q,"navigator",Q),cc=a.D(q,"arrowleft",Q),ac=a.D(q,"arrowright",Q),Hb=a.D(q,"thumbnavigator",Q),nc=a.l(v),mc=a.m(v),V,T=[],xc=a.O(v);a.c(xc,function(b){if(b.tagName=="DIV"&&!a.j(b,"u"))T.push(b);else a.V()&&a.J(b,(a.J(b)||0)+1)});var s=-1,yb,tb,r=T.length,K=f.$SlideWidth||nc,J=f.$SlideHeight||mc,Wb=f.$SlideSpacing,Bb=K+Wb,Cb=J+Wb,bc=gb&1?Bb:Cb,u=b.min(f.$Cols,r),hb,x,L,Ab,S=[],Qb,Sb,Ob,dc,Fc,P,E=f.$PauseOnHover,pc=f.$AutoPlayInterval,Vb=f.$SlideDuration,rb,ub,fb,Rb=u1&&rb&&(!a.Jd()||a.sd()>=8)}fb=ub||u>=r||!(D&1)?0:f.$Align;Y=(u>1||fb?gb:-1)&f.$DragOrientation;var xb=v,C=[],A,N,Fb=a.Pg(),jb=Fb.Rg,G,pb,Kb,sb;Fb.Bd&&a.W(xb,Fb.Bd,([j,"pan-y","pan-x","none"])[Y]||"");U=new Cc;if(ub)A=new rb(Tb,K,J,db,jb);a.H(hb,U.Mb);a.ib(v,"hidden");N=Xb();a.W(N,"backgroundColor","#000");a.Ab(N,0);a.Pb(N,xb.firstChild,xb);for(var ob=0;ob=q-h.$Cols);r=c}d.Mc=function(b,a,c){if(c)e=a;else{e=b;p(r)}};d.Jc=p;var o;d.Gc=function(d){q=d;e=0;if(!o){a.e(b,"click",a.K(j,l,-k));a.e(g,"click",a.K(j,l,k));a.ac(b);a.ac(g);o=c}};d.Jb=f=a.p({$Steps:1},h);k=f.$Steps;if(f.$Scale==i){a.C(b,"noscale",c);a.C(g,"noscale",c)}if(f.$AutoCenter){a.C(b,"autocenter",f.$AutoCenter);a.C(g,"autocenter",f.$AutoCenter)}};g.$JssorThumbnailNavigator$=function(g,C){var l=this,z,q,d,w=[],A,y,e,r,s,v,u,p,t,f,o;m.call(l);g=a.qb(g);function B(m,f){var g=this,b,k,i;function p(){k.jd(q==f)}function h(d){if(d||!t.$LastDragSucceded()){var a=e-f%e,b=t.Ed((f+a)/e-1),c=b*e+e-a;l.n(n.fc,c)}}g.nb=f;g.bd=p;i=m.Ee||m.cc||a.mb();g.Mb=b=a.Xc(o,"thumbnailtemplate",i,c);k=a.ac(b);d.$ActionMode&1&&a.e(b,"click",a.K(j,h,0));d.$ActionMode&2&&a.e(b,"mouseover",a.Ib(a.K(j,h,1),b))}l.Mc=function(c,d,f){var a=q;q=c;a!=-1&&w[a].bd();w[c].bd();!f&&t.$PlayTo(t.Ed(b.floor(d/e)))};l.Jc=function(b){a.A(g,b)};var x;l.Gc=function(F,C){if(!x){z=F;b.ceil(z/e);q=-1;p=b.min(p,C.length);var j=d.$Orientation&1,m=v+(v+r)*(e-1)*(1-j),l=u+(u+s)*(e-1)*j,o=m+(m+r)*(p-1)*j,n=l+(l+s)*(p-1)*(1-j);a.z(f,"absolute");a.ib(f,"hidden");d.$AutoCenter&1&&a.E(f,(A-o)/2);d.$AutoCenter&2&&a.G(f,(y-n)/2);a.l(f,o);a.m(f,n);var k=[];a.c(C,function(l,g){var h=new B(l,g),d=h.Mb,c=b.floor(g/e),i=g%e;a.E(d,(v+r)*i*(1-j));a.G(d,(u+s)*i*j);if(!k[c]){k[c]=a.mb();a.H(f,k[c])}a.H(k[c],d);w.push(h)});var E=a.p({$AutoPlay:i,$NaviQuitDrag:i,$SlideWidth:m,$SlideHeight:l,$SlideSpacing:r*j+s*(1-j),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$PlayOrientation:d.$Orientation,$DragOrientation:d.$NoDrag||d.$DisableDrag?0:d.$Orientation},d);t=new h(g,E);x=c}};l.Jb=d=a.p({$SpacingX:0,$SpacingY:0,$Cols:1,$Orientation:1,$AutoCenter:3,$ActionMode:1},C);if(d.$DisplayPieces!=k)d.$Cols=d.$DisplayPieces;if(d.$Rows!=k)d.$Lanes=d.$Rows;A=a.l(g);y=a.m(g);f=a.D(g,"slides",c);o=a.D(f,"prototype");v=a.l(o);u=a.m(o);a.Hb(o,f);e=d.$Lanes||1;r=d.$SpacingX;s=d.$SpacingY;p=d.$Cols;d.$Scale==i&&a.C(g,"noscale",c)};function p(e,d,c){var b=this;l.call(b,0,c);b.jb=a.kd;b.dc=0;b.Yb=c}g.$JssorCaptionSlider$=function(h,f,i){var c=this;l.call(c,0,0);var e,d;function g(p,h,f){var c=this,g,n=f?h.$PlayInMode:h.$PlayOutMode,e=h.$Transitions,o={ab:"t",$Delay:"d",$Duration:"du",x:"x",y:"y",$Rotate:"r",$Zoom:"z",$Opacity:"f",Gb:"b"},d={kb:function(b,a){if(!isNaN(a.sb))b=a.sb;else b*=a.Kf;return b},$Opacity:function(b,a){return this.kb(b-1,a)}};d.$Zoom=d.$Opacity;l.call(c,0,0);function j(r,m){var l=[],i,k=[],c=[];function h(c,d){var b={};a.c(o,function(g,h){var e=a.j(c,g+(d||""));if(e){var f={};if(g=="t")f.sb=e;else if(e.indexOf("%")+1)f.Kf=a.Nc(e)/100;else f.sb=a.Nc(e);b[h]=f}});return b}function p(){return e[b.floor(b.random()*e.length)]}function g(f){var h;if(f=="*")h=p();else if(f){var d=e[a.Kb(f)]||e[f];if(a.uc(d)){if(f!=i){i=f;c[f]=0;k[f]=d[b.floor(b.random()*d.length)]}else c[f]++;d=k[f];if(a.uc(d)){d=d.length&&d[c[f]%d.length];if(a.uc(d))d=d[b.floor(b.random()*d.length)]}}h=d;if(a.ud(h))h=g(h)}return h}var q=a.O(r);a.c(q,function(b){var c=[];c.$Elmt=b;var e=a.j(b,"u")=="caption";a.c(f?[0,3]:[2],function(l,o){if(e){var k,f;if(l!=2||!a.j(b,"t3")){f=h(b,l);if(l==2&&!f.ab){f.$Delay=f.$Delay||{sb:0};f=a.p(h(b,0),f)}}if(f&&f.ab){k=g(f.ab.sb);if(k){var i=a.p({$Delay:0},k);a.c(f,function(c,a){var b=(d[a]||d.kb).apply(d,[i[a],f[a]]);if(!isNaN(b))i[a]=b});if(!o)if(f.Gb)i.Gb=f.Gb.sb||0;else if(n&2)i.Gb=0}}c.push(i)}if(m%2&&!o)c.O=j(b,m+1)});l.push(c)});return l}function m(w,c,z){var g={$Easing:c.$Easing,$Round:c.$Round,$During:c.$During,$Reverse:f&&!z},m=w,r=a.Yc(w),k=a.l(m),j=a.m(m),y=a.l(r),x=a.m(r),h={},e={},i=c.$ScaleClip||1;if(c.$Opacity)e.$Opacity=1-c.$Opacity;g.$OriginalWidth=k;g.$OriginalHeight=j;if(c.$Zoom||c.$Rotate){e.$Zoom=(c.$Zoom||2)-2;if(a.V()||a.tc())e.$Zoom=b.min(e.$Zoom,1);h.$Zoom=1;var B=c.$Rotate||0;e.$Rotate=B*360;h.$Rotate=0}else if(c.$Clip){var s={$Top:0,$Right:k,$Bottom:j,$Left:0},v=a.p({},s),d=v.wb={},u=c.$Clip&4,p=c.$Clip&8,t=c.$Clip&1,q=c.$Clip&2;if(u&&p){d.$Top=j/2*i;d.$Bottom=-d.$Top}else if(u)d.$Bottom=-j*i;else if(p)d.$Top=j*i;if(t&&q){d.$Left=k/2*i;d.$Right=-d.$Left}else if(t)d.$Right=-k*i;else if(q)d.$Left=k*i;g.$Move=c.$Move;e.$Clip=v;h.$Clip=s}var n=0,o=0;if(c.x)n-=y*c.x;if(c.y)o-=x*c.y;if(n||o||g.$Move){e.$Left=n;e.$Top=o}var A=c.$Duration;h=a.p(h,a.xe(m,e));g.xc=a.Pc();return new l(c.$Delay,A,g,m,h,e)}function i(b,d){a.c(d,function(d){var a,h=d.$Elmt,e=d[0],j=d[1];if(e){a=m(h,e);e.Gb==k&&a.$Shift(b);b=a.gb()}b=i(b,d.O);if(j){var f=m(h,j,1);f.$Shift(b);c.I(f);g.I(f)}a&&c.I(a)});return b}c.jb=function(){c.v(c.gb()*(f||0));g.v(0)};g=new l(0,0);i(0,n?j(p,1):[])}c.jb=function(){d.jb();e.jb()};e=new g(h,f,1);c.dc=e.gb();c.Yb=c.dc+i;d=new g(h,f);d.$Shift(c.Yb);c.I(d);c.I(e)};g.$JssorCaptionSlideo$=function(n,g,m){var b=this,o,h={},i=g.$Transitions,d=new l(0,0);l.call(b,0,0);function j(d,c){var b={};a.c(d,function(d,f){var e=h[f];if(e){if(a.yg(d))d=j(d,c||f=="e");else if(c)if(a.Zb(d))d=o[d];b[e]=d}});return b}function k(e,c){var b=[],d=a.O(e);a.c(d,function(d){var h=a.j(d,"u")=="caption";if(h){var e=a.j(d,"t"),g=i[a.Kb(e)]||i[e],f={$Elmt:d,ab:g};b.push(f)}if(c<5)b=b.concat(k(d,c+1))});return b}function r(c,e,b){a.c(e,function(f){var e=j(f),g={$Easing:a.Lc(e.$Easing),xc:a.Pc(),$OriginalWidth:b.N,$OriginalHeight:b.P},h=new l(f.b,f.d,g,c,b,e);d.I(h);b=a.Je(b,e)});return b}function q(b){a.c(b,function(e){var b=e.$Elmt,d=a.l(b),c=a.m(b),f={$Left:a.E(b),$Top:a.G(b),$Opacity:1,$ZIndex:a.J(b)||0,$Rotate:0,$RotateX:0,$RotateY:0,$ScaleX:1,$ScaleY:1,$TranslateX:0,$TranslateY:0,$TranslateZ:0,$SkewX:0,$SkewY:0,N:d,P:c,$Clip:{$Top:0,$Right:d,$Bottom:c,$Left:0}};r(b,e.ab,f)})}function t(g,f,h){var e=g.b-f;if(e){var a=new l(f,e);a.I(d,c);a.$Shift(h);b.I(a)}b.ye(g.d);return e}function s(f){var c=d.Fc(),e=0;a.c(f,function(d,f){d=a.p({d:m},d);t(d,c,e);c=d.b;e+=d.d;if(!f||d.t==2){b.dc=c;b.Yb=c+d.d}})}b.jb=function(){b.v(-1,c)};o=[f.$Swing,f.$Linear,f.$InQuad,f.$OutQuad,f.$InOutQuad,f.$InCubic,f.$OutCubic,f.$InOutCubic,f.$InQuart,f.$OutQuart,f.$InOutQuart,f.$InQuint,f.$OutQuint,f.$InOutQuint,f.$InSine,f.$OutSine,f.$InOutSine,f.$InExpo,f.$OutExpo,f.$InOutExpo,f.$InCirc,f.$OutCirc,f.$InOutCirc,f.$InElastic,f.$OutElastic,f.$InOutElastic,f.$InBack,f.$OutBack,f.$InOutBack,f.$InBounce,f.$OutBounce,f.$InOutBounce,f.$GoBack,f.$InWave,f.$OutWave,f.$OutJump,f.$InJump];var u={$Top:"y",$Left:"x",$Bottom:"m",$Right:"t",$Rotate:"r",$RotateX:"rX",$RotateY:"rY",$ScaleX:"sX",$ScaleY:"sY",$TranslateX:"tX",$TranslateY:"tY",$TranslateZ:"tZ",$SkewX:"kX",$SkewY:"kY",$Opacity:"o",$Easing:"e",$ZIndex:"i",$Clip:"c"};a.c(u,function(b,a){h[b]=a});q(k(n,1));d.v(-1);var p=g.$Breaks||[],e=[].concat(p[a.Kb(a.j(n,"b"))]||[]);e.push({b:d.gb(),d:e.length?0:m});s(e);b.v(-1)}})(window,document,Math,null,true,false) \ No newline at end of file diff --git a/BikeWebsite/Views/Bikes/Details.cshtml b/BikeWebsite/Views/Bikes/Details.cshtml index 6fcd1d3..130aff2 100644 --- a/BikeWebsite/Views/Bikes/Details.cshtml +++ b/BikeWebsite/Views/Bikes/Details.cshtml @@ -5,25 +5,28 @@

Product Details

- - - - - - - - - +
+
@Html.DisplayNameFor(model => model.Name)@Html.DisplayNameFor(model => model.ProductNumber)@Html.DisplayNameFor(model => model.Color)@Html.DisplayNameFor(model => model.ListPrice)@Html.DisplayNameFor(model => model.Size)@Html.DisplayNameFor(model => model.Weight)
+ + + + + + + + @foreach (var item in Model) { @@ -52,4 +55,5 @@ } -
@Html.DisplayNameFor(model => model.Name)@Html.DisplayNameFor(model => model.ProductNumber)@Html.DisplayNameFor(model => model.Color)@Html.DisplayNameFor(model => model.ListPrice)@Html.DisplayNameFor(model => model.Size)@Html.DisplayNameFor(model => model.Weight)
@Html.DisplayFor(modelItem => item.Name) @Html.DisplayFor(modelItem => item.ProductNumber) - @if(item.Color == null){ + @if (item.Color == null) + { @Html.Raw("N/A") } - else { + else + { @Html.DisplayFor(modelItem => item.Color) }
+ + \ No newline at end of file diff --git a/BikeWebsite/Views/Bikes/Index.cshtml b/BikeWebsite/Views/Bikes/Index.cshtml index 82efd47..4b31d27 100644 --- a/BikeWebsite/Views/Bikes/Index.cshtml +++ b/BikeWebsite/Views/Bikes/Index.cshtml @@ -6,8 +6,26 @@

Amazing Bike Shop

+
+ @MyHelpers.MakeSlider(Model) +
+

Browse our bike models

+
+ @foreach (var item in Model) + { +
+ @{ + String[] name = item.Name.Split(' '); + } +
+ @Html.ActionLink(item.Name, name[0]) +
+ } +
+ +@* @foreach (var item in Model) { @@ -20,4 +38,5 @@ } -
\ No newline at end of file + +*@ \ No newline at end of file diff --git a/BikeWebsite/Views/Gear/Details.cshtml b/BikeWebsite/Views/Gear/Details.cshtml index 921cc09..bf474eb 100644 --- a/BikeWebsite/Views/Gear/Details.cshtml +++ b/BikeWebsite/Views/Gear/Details.cshtml @@ -5,6 +5,7 @@

Product Details

+
@@ -47,3 +48,4 @@ }
@Html.DisplayNameFor(model => model.Name)
+
\ No newline at end of file diff --git a/BikeWebsite/Views/Gear/Index.cshtml b/BikeWebsite/Views/Gear/Index.cshtml index 6b2d817..62b73eb 100644 --- a/BikeWebsite/Views/Gear/Index.cshtml +++ b/BikeWebsite/Views/Gear/Index.cshtml @@ -6,9 +6,25 @@

Amazing Bike Shop

+@MyHelpers.MakeSlider(Model) +

Browse our bike gear

- +
+ @foreach (var item in Model) + { +
+ @{ + String[] name = item.Name.Split(' '); + } +
+ @Html.ActionLink(item.Name, name[0]) +
+ } +
+ +@* +
@foreach (var item in Model) { @@ -22,3 +38,4 @@ }
+*@ \ No newline at end of file diff --git a/BikeWebsite/Views/Home/ContactUs.cshtml b/BikeWebsite/Views/Home/ContactUs.cshtml index ad8aba7..37416a4 100644 --- a/BikeWebsite/Views/Home/ContactUs.cshtml +++ b/BikeWebsite/Views/Home/ContactUs.cshtml @@ -13,7 +13,7 @@
- +
@@ -23,7 +23,7 @@
- +
@@ -33,7 +33,7 @@
- +
@@ -43,7 +43,7 @@
- +
diff --git a/BikeWebsite/Views/Shared/_Layout.cshtml b/BikeWebsite/Views/Shared/_Layout.cshtml index 3f4321b..dfd7d85 100644 --- a/BikeWebsite/Views/Shared/_Layout.cshtml +++ b/BikeWebsite/Views/Shared/_Layout.cshtml @@ -9,38 +9,79 @@ + + -