Error executing template "Designs/ambu/_parsed/ambu-mastersite-espresso.parsed.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_e97ec08734294c0c96e28a1b3aeccff0.Execute() in E:\dynamicweb.net\SolutionsCustom\Co3\ambu-com.espresso4.dk\files\Templates\Designs\ambu\_parsed\ambu-mastersite-espresso.parsed.cshtml:line 178
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits Co3.Espresso.Website.TemplateBases.Pages.PageBase 2 @using Co3.Ambu.Dw.Services; 3 @using Co3.Ambu.Dw.DAL.Models; 4 @using System.Web; 5 @using Co3.Ambu.Dw.Models.Frontend 6 @using Co3.Espresso.Base.Extensions 7 @using Dynamicweb.Frontend; 8 @using Dynamicweb.Rendering; 9 @{ 10 string globalAreaLang = GetGlobalValue( "Global:Area.Lang" ); 11 //DomainLocalization domainLocalization = LocalizationService.Instance.GetDomainLocalizationIfMatch(); 12 string siteHostUrl = HttpContext.Current.Request.Url.Host; 13 string siteHost = GetGlobalValue( "Global:Request.Scheme" ) + "://" + siteHostUrl + "/"; 14 int globalAreaID = PageView.Current().Area.ID; 15 16 bool isProductPage = string.IsNullOrEmpty( HttpContext.Current.Request["productid"] ) == false; 17 bool isProductPageSearch = string.IsNullOrEmpty( HttpContext.Current.Request["PageNum"] ) == false; 18 string productTitleSnippetHtml = RenderSnippet( "productTitle" ).ToString().Trim(); 19 string eComCanonicalSnippetTag = RenderSnippet( "eComCanonical" ).ToString().Trim(); 20 string globalValueUrl = GetGlobalValue( "Global:Pageview.Url" ); 21 string pageTitle = GetGlobalValue("Global:Page.Name"); 22 if ( GetGlobalValue( "Global:Pageview.Url" ).IndexOf( "?" ) > -1 ) 23 { 24 globalValueUrl = GetGlobalValue( "Global:Pageview.Url" ).Substring( 0, GetGlobalValue( "Global:Pageview.Url" ).IndexOf( "?" ) ); 25 } 26 string canonicalPageView = String.Format( "{0}://{1}{2}", GetGlobalValue( "Global:Request.Scheme" ), GetGlobalValue( "Global:Request.Host" ), globalValueUrl ); 27 string pageCanonical = PageView.Current().Page.MetaCanonical; 28 string OpenGraphURL = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue( "Global:Request.Host" ) + GetGlobalValue( "Global:Pageview.Url" ); 29 } 30 <!DOCTYPE html> 31 <html lang="@globalAreaLang"> 32 <head> 33 @* AMBU.COM *@ 34 @if ( globalAreaID == 1 ) 35 { 36 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="EN" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 37 } 38 @* AMBU.CO.UK *@ 39 @if ( globalAreaID == 27 ) 40 { 41 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="EN" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 42 } 43 @* AMBUUSA.COM *@ 44 @if ( globalAreaID == 25 ) 45 { 46 } 47 @* AMBU.DE *@ 48 @if ( globalAreaID == 26 ) 49 { 50 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="DE" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 51 } 52 @* AMBU.FR *@ 53 @if ( globalAreaID == 28 ) 54 { 55 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="FR" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 56 } 57 @* AMBU.ES *@ 58 @if ( globalAreaID == 31 ) 59 { 60 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="ES" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 61 } 62 @* AMBUAUSTRALIA.COM.AU *@ 63 @if ( globalAreaID == 33 ) 64 { 65 } 66 @* AMBU - MASTERSITE *@ 67 @if ( globalAreaID == 35 ) 68 { 69 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="EN" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 70 } 71 @* AMBU.DK - Denmark (mastersite) *@ 72 @if ( globalAreaID == 36 ) 73 { 74 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="DA" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 75 } 76 @* AMBU.NL - Netherlands (mastersite) *@ 77 @if ( globalAreaID == 38 ) 78 { 79 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="NL" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 80 } 81 @* AMBU.SE - Swedish (mastersite) *@ 82 @if ( globalAreaID == 39 ) 83 { 84 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="SV" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 85 } 86 @* AMBU.NO - Norway (mastersite) *@ 87 @if ( globalAreaID == 40 ) 88 { 89 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="NB" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 90 } 91 @* AMBU.FI - Finland (mastersite) *@ 92 @if ( globalAreaID == 41 ) 93 { 94 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="FI" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 95 } 96 @* AMBU.IT - Italy (mastersite) *@ 97 @if ( globalAreaID == 42 ) 98 { 99 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="IT" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 100 } 101 @* AMBUUSA.COM - United States (mastersite) *@ 102 @if ( globalAreaID == 44 ) 103 { 104 } 105 @* AMBU.CO.UK - United Kingdoms (mastersite) *@ 106 @if ( globalAreaID == 45 ) 107 { 108 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="EN" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 109 } 110 @* AMBU.DE - Germany (mastersite) *@ 111 @if ( globalAreaID == 46 ) 112 { 113 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="DE" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 114 } 115 @* AMBU.FR - French (mastersite) *@ 116 @if ( globalAreaID == 47 ) 117 { 118 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="FR" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 119 } 120 @* AMBU.ES - Spain (mastersite) *@ 121 @if ( globalAreaID == 48 ) 122 { 123 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="ES" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 124 } 125 @* AMBU.COM.AU - Australia (mastersite) *@ 126 @if ( globalAreaID == 49 ) 127 { 128 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="EN" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 129 } 130 @* AMBU.JP - Japan (mastersite) *@ 131 @if ( globalAreaID == 50 ) 132 { 133 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="JA" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 134 } 135 @* AMBU.PT - Portugal (mastersite) *@ 136 @if ( globalAreaID == 53 ) 137 { 138 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="PT" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 139 } 140 @* AMBUASIA.COM - Asia (mastersite) *@ 141 @if ( globalAreaID == 54 ) 142 { 143 <script async="" data-cbid="23c055d5-4252-4e34-aeb7-1a77ba7a5c4a" data-culture="EN" id="CookieConsent" src="https://policy.cookieinformation.com/uc.js" type="text/javascript"></script> 144 } 145 146 <meta charset="utf-8"> 147 @if ( isProductPage == false && isProductPageSearch == false ) 148 { 149 <title>@GetValue("Title")</title> 150 @GetValue("CopyRightNotice") 151 152 @GetValue("MetaTags") 153 } 154 else if(isProductPage) 155 { 156 @productTitleSnippetHtml 157 } 158 else 159 { 160 <title>@pageTitle</title> 161 <base href="@siteHost"> 162 <meta name="generator" content="Dynamicweb 9"> 163 } 164 <meta content="width=device-width, initial-scale=1, shrink-to-fit=no, minimal-ui" name="viewport"> 165 <meta content="ie=edge" http-equiv="x-ua-compatible"> 166 <meta content="313B624F0C8264FB3B95057AE602F42C" name="msvalidate.01"> 167 @using Dynamicweb.Frontend 168 @using Area = Dynamicweb.Content.Area 169 170 171 <!-- Hreflang --> 172 @{ 173 @* Get areas from service *@ 174 Dynamicweb.Content.AreaService areaService = new Dynamicweb.Content.AreaService(); 175 IList<Area> areas = areaService.GetAreas(); 176 177 @* Get current page's relation-text from page-item *@ 178 string currentPageRelation = PageView.Current().Page.Item["PageRelation"] != null ? PageView.Current().Page.Item["PageRelation"].ToString() : string.Empty; 179 180 @* Frontpage must have 'frontpage' as relation-text *@ 181 string CONST_frontpageRelation = "frontpage"; 182 183 @* Iterate areas *@ 184 foreach ( Area area in areas ) 185 { 186 if ( area.Active == true ) 187 { 188 189 190 191 @* Get current area's culture *@ 192 string culture = area.Culture; 193 @* Check for IsDefault Hreflang on area *@ 194 string isDefaultHrefLang = area.Item["IsDefaultHrefLang"] != null ? area.Item["IsDefaultHrefLang"].ToString() : string.Empty; 195 @* Check for override-culture text on area *@ 196 string hreflangCultureOverride = area.Item["HreflangLanguageOverride"] != null ? area.Item["HreflangLanguageOverride"].ToString() : string.Empty; 197 198 @* Get scheme and domain *@ 199 string scheme = GetGlobalValue( "Global:Request.Scheme" ); 200 201 string domain = area.DomainLock; 202 @* If we have a primary domain call pageservice and get pages *@ 203 if ( string.IsNullOrEmpty( currentPageRelation ) == false && string.IsNullOrEmpty( domain ) == false && !domain.EndsWith( "espresso4.dk" ) ) 204 { 205 Dynamicweb.Content.PageService pageService = new Dynamicweb.Content.PageService(); 206 IEnumerable<Dynamicweb.Content.Page> pages = pageService.GetPagesByAreaID( area.ID ); 207 208 @* Iterate pages in area - check if is active + has item + has item-pagerelation + item-pagerelation equals current pagerelation *@ 209 foreach ( Dynamicweb.Content.Page page in pages.Where( p => p.Published && p.Item != null && p.Item["PageRelation"] != null && p.Item["PageRelation"].ToString().Equals( currentPageRelation ) ) ) 210 { 211 string productId = HttpContext.Current.Request["productid"]; 212 213 string url = string.Empty; 214 215 if ( string.IsNullOrEmpty( productId ) == false ) 216 { 217 @* Build url to area product page *@ 218 string prodUrl = string.Format( "Default.aspx?ID={0}&ProductId={1}", page.ID, productId ); 219 url = string.Format( "{0}://{1}{2}", scheme, domain, SearchEngineFriendlyURLs.GetFriendlyUrl( prodUrl, area.EcomLanguageId ) ); 220 } 221 else 222 { 223 @* Build url to area page *@ 224 url = string.Format( "{0}://{1}{2}", scheme, domain, SearchEngineFriendlyURLs.GetFriendlyUrl( page.GetPageHrefValue() ) ); 225 } 226 227 @* If our current page relation match frontpage - set link to domain only *@ 228 if ( currentPageRelation.ToLower() == CONST_frontpageRelation ) 229 { 230 url = string.Format( "{0}://{1}/", scheme, domain ); 231 } 232 @* If we have a value in the area-item to overrule the culture, override the value here *@ 233 if ( string.IsNullOrEmpty( hreflangCultureOverride ) == false ) 234 { 235 culture = hreflangCultureOverride; 236 } 237 @* If our area item has checked in Default hreflang, we render x-default link *@ 238 if ( isDefaultHrefLang == "True" ) 239 { 240 <link rel="alternate" hreflang="x-default" href="@url"> 241 } 242 else 243 { 244 @* Render hreflang-link *@ 245 <link rel="alternate" hreflang="@culture.ToLower()" href="@url"> 246 } 247 248 @* Find all related cultures *@ 249 string relatedCulturesString = area.Item["RelatedCultures"] != null ? area.Item["RelatedCultures"].ToString() : string.Empty; 250 251 if (!string.IsNullOrWhiteSpace(relatedCulturesString)) 252 { 253 @* RelatedCultures is an editable list, which comes comma separated *@ 254 string[] relatedCultures = relatedCulturesString.Split(','); 255 256 foreach (string relatedCulture in relatedCultures) 257 { 258 <link rel="alternate" hreflang="@relatedCulture.ToLower()" href="@url"> 259 } 260 } 261 } 262 } 263 } 264 } 265 } 266 <!-- End Hreflang --> 267 268 @if ( globalValueUrl.EndsWith( "/product" ) ) 269 { 270 <meta content="noindex" name="robots"> 271 } 272 @if ( isProductPage == false ) 273 { 274 <link rel="canonical" href="@canonicalPageView"> 275 } 276 else 277 { 278 <link rel="canonical" href="@eComCanonicalSnippetTag"> 279 @GetValue( "MetaTags" ) 280 } 281 282 <link rel="preload" href="/Files/Templates/Designs/ambu/assets/_dist/css/myfonts.net.css?family=Nationalev=1.0" as="style"> 283 <link rel="preload" href="/Files/Templates/Designs/ambu/assets/_dist/css/myfonts.net.css?family=NoirNo1v=1.0" as="style"> 284 285 @Espresso.CriticalCSS 286 287 @if ( string.IsNullOrEmpty( Espresso.Area.GoogleTagManagerID ) == false && Espresso.Area.GoogleTagManagerID != "GTM-XXXX" ) 288 { 289 <!-- Google Tag Manager --> 290 <script> 291 (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 292 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 293 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 294 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 295 })(window,document,'script','dataLayer','@Espresso.Area.GoogleTagManagerID'); 296 </script> 297 <!-- End Google Tag Manager --> 298 } 299 300 <link href="https://fonts.googleapis.com/css?family=Material+Icons" media="@Espresso.StylesheetAttributeMedia" rel="@Espresso.StylesheetAttributeRel" as="style"> 301 <link href="https://hello.myfonts.net/count/3488f9" media="@Espresso.StylesheetAttributeMedia" rel="@Espresso.StylesheetAttributeRel" as="style"> 302 <link href="/Files/Templates/Designs/ambu/assets/_dist/css/default.css?v=4.004" media="@Espresso.StylesheetAttributeMedia" rel="@Espresso.StylesheetAttributeRel" as="style"> 303 304 @Espresso.CriticalJS 305 306 307 <link rel="shortcut icon" href="@Espresso.Area.Item.Favicon"> 308 @if ( Espresso.IsStagingUrl == true || siteHost.Contains( "webtester.dk" ) ) 309 { 310 <meta content="noindex,nofollow" name="robots"> 311 } 312 313 <meta property="og:url" content="@OpenGraphURL"> 314 <meta property="og:title" content="@Espresso.OpenGraphTitle"> 315 <meta property="og:description" content="@Espresso.OpenGraphDescription"> 316 <meta property="og:image" content="@Espresso.OpenGraphImage"> 317 318 @if ( string.IsNullOrEmpty( Espresso.Area.Item.GoogleSiteVerification ) == false ) 319 { 320 <meta name="google-site-verification" content="@Espresso.Area.Item.GoogleSiteVerification"> 321 } 322 323 @{ 324 if ( 1 == 2 ) 325 { 326 @GetValue( "Stylesheets" ) 327 } 328 } 329 330 @*<div class="modal fade ambu-disclaimer-modal" id="ambu-disclaimer" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static"> 331 <div class="modal-dialog"> 332 <div class="modal-content col-xs-12 col-md-8 col-md-offset-2 p-t-2 p-b-2"> 333 <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 334 <span aria-hidden="true">&times;</span> 335 </button> 336 <section class="p-t-3 p-b-3"> 337 <div class="container-fluid"> 338 <div class="row"> 339 <div class="col-xs-12"> 340 <div class="row"> 341 <div class="js-disclaimer-text-container col-xs-12 col-md-12 " hidden=""> 342 <div class="row"> 343 <div class="col-xs-12"> 344 <h2 class="m-b-0">Disclaimer <span style="font-size: 0.5em;" class="text-primary">(Important)</span></h2> 345 <p class="card-header p-t-3 p-b-3 small m-t-1"> 346 ELECTRONIC VERSIONS OF THE MATERIALS YOU ARE SEEKING TO ACCESS ARE BEING MADE AVAILABLE ON THIS WEBPAGE BY AMBU A/S (THE <strong>“COMPANY”</strong>) IN GOOD FAITH AND FOR INFORMATION PURPOSES ONLY. THESE MATERIALS ARE NOT DIRECTED AT OR ACCESSIBLE BY PERSONS LOCATED IN THE UNITED STATES, CANADA, AUSTRALIA AND JAPAN AND ANY OTHER JURISDICTION WHERE THE EXTENSION OR AVAILABILITY OF THE PROPOSED OFFERING (AND ANY OTHER TRANSACTION CONTEMPLATED THEREBY) WOULD BREACH ANY APPLICABLE LAW OR REGULATION (THE <strong>“RESTRICTED JURISDICTIONS”</strong>).</p> 347 <p class="lead"> 348 Please read this notice carefully — it applies to all persons who view this webpage. Please note that the disclaimer set out below may be altered or updated from time to time. You should read it in full each time you visit the site.</p> 349 <h3>Basis of access </h3> 350 <p> 351 Access to electronic versions of these materials is being made available by the Company in good faith and for information purposes only. Any person seeking access to this webpage represents and warrants to the Company that they are doing so for information purposes only. Making press announcements and other documents available in electronic format does not constitute an offer to sell or the solicitation of an offer to buy the securities mentioned in such materials (the “Securities”). Further, it does not constitute a recommendation by the Company or any other party to sell or buy the Securities.</p> 352 <h3>Foreign Persons</h3> 353 <p> 354 Viewing the materials on this webpage may not be lawful in certain jurisdictions. In other jurisdictions, only certain categories of person may be allowed to view such materials. Any citizens or residents or, or persons otherwise located in, any Restricted Jurisdiction, who wish to view these materials should satisfy themselves that they are not subject to any local requirements that prohibit or restrict them from doing so.</p> 355 <p> 356 Unless otherwise determined by the Company and permitted by applicable law and regulation, the materials do not constitute or form a part of any offer or solicitation to purchase or subscribe for the Securities by the Company made in the Restricted Jurisdictions or any other jurisdiction in which such offers or sales are unlawful prior to registration or qualification under the securities laws of any such jurisdiction.</p> 357 <p> 358 In particular, the Securities have not been and will not be registered under the United States Securities Act of 1933, as amended (the <strong>“Securities Act”</strong>), and may not be offered or sold in or into the United States except pursuant to an exemption from, or in a transaction not subject to, the registration requirements of the Securities Act. The Securities will not be registered under or offered in compliance with applicable securities laws of any state, province, territory, county or jurisdiction of the United States or the other Restricted Jurisdictions. Accordingly, unless an exemption under the relevant securities law is applicable, the Securities may not be offered, sold, taken up, exercised, renounced, resold, delivered or distributed, directly or indirectly, in or into the United States or the other Restricted Jurisdictions or any other jurisdiction if to do so would constitute a violation of the relevant laws of, or require registration of the Securities in, such jurisdiction. There will be no public offering of the Securities in the United States.</p> 359 <p> 360 If you are not permitted to view materials on this webpage or are in any doubt as to whether you are permitted to view these materials, please exit this webpage.</p> 361 <h3>Confirmation of understanding and acceptance of disclaimer</h3> 362 <p> 363 Electronic versions of these materials are not directed at or accessible by, nor should they be made available to, persons located in the Restricted Jurisdictions or in any other restricted jurisdiction.</p> 364 <p> 365 By clicking on the “Agree” button, I certify that I am not located in any of the Restricted Jurisdictions or in any other restricted jurisdiction. 366 </p> 367 <p> 368 I have read and understood the disclaimer set out above. I understand that it may affect my rights. I agree to be bound by its terms. By clicking on the “Agree” button, I confirm that I am permitted to proceed to electronic versions of these materials.</p> 369 </div> 370 </div> 371 <div class="row"> 372 373 <div class="m-t-1 col-xs-12 col-md-6"> 374 <button class="btn btn-primary btn-sm btn-block js-disclaimer-modal-confirm-again-btn" type="button">Agree</button> 375 </div> 376 <div class="m-t-1 col-xs-12 col-md-6"> 377 <button class="btn btn-secondary btn-sm btn-block" type="button" data-dismiss="modal">Disagree</button> 378 </div> 379 </div> 380 </div> 381 <div class="js-disclaimer-select-country-container col-xs-12 col-md-8 col-md-offset-2"> 382 <h2 class="text-xs-center">Please confirm your location here</h2> 383 <form class="form-inline"></form> 384 <div class="form-group"> 385 <div class="row"> 386 <div class="m-t-1 col-xs-12 col-md-8"> 387 <select style="height: 100%; padding: 0.1em 0;" class="form-control form-control-lg js-disclaimer-modal-confirm-value"> 388 <option selected="" disabled="">Select country</option> 389 <option value="AL">Albania</option> 390 <option value="AR">Argentina</option> 391 <option value="AU">Australia</option> 392 <option value="AT">Austria</option> 393 <option value="BH">Bahrain</option> 394 <option value="BD">Bangladesh</option> 395 <option value="BE">Belgium</option> 396 <option value="BO">Bolivia</option> 397 <option value="BR">Brazil</option> 398 <option value="BG">Bulgaria</option> 399 <option value="CA">Canada</option> 400 <option value="CL">Chile</option> 401 <option value="CN">China</option> 402 <option value="CO">Colombia</option> 403 <option value="CR">Costa Rica</option> 404 <option value="HR">Croatia</option> 405 <option value="CZ">Czech Republic</option> 406 <option value="DK">Denmark</option> 407 <option value="EC">Ecuador</option> 408 <option value="EG">Egypt</option> 409 <option value="SV">El Salvador</option> 410 <option value="EE">Estonia</option> 411 <option value="FI">Finland</option> 412 <option value="FR">France</option> 413 <option value="DE">Germany</option> 414 <option value="GR">Greece</option> 415 <option value="GT">Guatamala</option> 416 <option value="HK">Hong Kong</option> 417 <option value="HU">Hungary</option> 418 <option value="IS">Iceland</option> 419 <option value="IN">India</option> 420 <option value="ID">Indonesia</option> 421 <option value="IR">Iran</option> 422 <option value="IQ">Iraq</option> 423 <option value="IE">Ireland</option> 424 <option value="IL">Israel</option> 425 <option value="IT">Italy</option> 426 <option value="JP">Japan</option> 427 <option value="JO">Jordan</option> 428 <option value="KE">Kenya</option> 429 <option value="KW">Kuwait</option> 430 <option value="LV">Latvia</option> 431 <option value="LB">Lebanon</option> 432 <option value="LY">Libya</option> 433 <option value="LT">Lithuania</option> 434 <option value="LU">Luxembourg</option> 435 <option value="MY">Malaysia</option> 436 <option value="MT">Malta</option> 437 <option value="MK">Marcedonia</option> 438 <option value="MX">Mexico</option> 439 <option value="MA">Morocco</option> 440 <option value="MM">Myanmar</option> 441 <option value="NP">Nepal</option> 442 <option value="NL">Netherlands</option> 443 <option value="NZ">New Zealand</option> 444 <option value="NI">Nicaragua</option> 445 <option value="NO">Norway</option> 446 <option value="OM">Oman</option> 447 <option value="PK">Pakistan</option> 448 <option value="PA">Panana</option> 449 <option value="PY">Paraguay</option> 450 <option value="PE">Peru</option> 451 <option value="PH">Philippines</option> 452 <option value="PL">Poland</option> 453 <option value="PT">Portugal</option> 454 <option value="PR">Puerto Rico</option> 455 <option value="QA">Qatar</option> 456 <option value="DO">República Dominicana</option> 457 <option value="RO">Romania</option> 458 <option value="RU">Russia</option> 459 <option value="SA">Saudi Arabia</option> 460 <option value="RS">Serbia</option> 461 <option value="SG">Singapore</option> 462 <option value="SK">Slovak Republic</option> 463 <option value="SI">Slovenia</option> 464 <option value="ZA">South Africa</option> 465 <option value="KR">South Korea</option> 466 <option value="ES">Spain</option> 467 <option value="LK">Sri Lanka</option> 468 <option value="SE">Sweden</option> 469 <option value="CH">Switzerland</option> 470 <option value="SY">Syria</option> 471 <option value="TW">Taiwan</option> 472 <option value="TH">Thailand</option> 473 <option value="TT">Trinidad &amp; Tobago</option> 474 <option value="TN">Tunisia</option> 475 <option value="TR">Turkey</option> 476 <option value="AE">UAE</option> 477 <option value="GB">United Kingdom</option> 478 <option value="US">United States</option> 479 <option value="UY">Uruguay</option> 480 <option value="VN">Vietnam</option> 481 </select> 482 </div> 483 <div class="m-t-1 col-xs-12 col-md-4"> 484 <button class="btn btn-primary btn-sm btn-block js-disclaimer-modal-confirm-btn" type="button">Go</button> 485 </div> 486 </div> 487 </div> 488 </div> 489 <form></form> 490 </div> 491 </div> 492 </div> 493 </div> 494 </section> 495 </div> 496 </div> 497 </div>*@ 498 499 @GetValue("Stylesheets") 500 @GetValue("Javascripts") 501 </head> 502 503 <body class="@Espresso.Item.CustomClasses"> 504 505 @if ( string.IsNullOrEmpty( Espresso.Area.GoogleTagManagerID ) == false && Espresso.Area.GoogleTagManagerID != "GTM-XXXX" ) 506 { 507 <!-- Google Tag Manager (noscript) --> 508 <noscript> 509 <iframe src="https://www.googletagmanager.com/ns.html?id=@Espresso.Area.GoogleTagManagerID" height="0" width="0" style="display:none;visibility:hidden"></iframe> 510 </noscript> 511 <!-- End Google Tag Manager (noscript) --> 512 } 513 514 @using Co3.Ambu.Dw.Services 515 @{ 516 if( Espresso.Canvas.ClassList.ToString().Contains("e-page-is-loading") == true ){ 517 Espresso.Canvas.ClassList.RemoveClasses("e-page-is-loading"); 518 Espresso.Canvas.ClassList.AddClasses("is-loading"); 519 } 520 } 521 522 @if( Espresso.Area.Item.OptimizedLoading == "True" ){ 523 <div id="js-e-page-loading-overlay" class="e-page-loading-overlay e-loading-overlay is-loading"><div class="e-loading-spinner"></div></div> 524 } 525 526 <div class="@Espresso.Canvas.ClassList" id="js-e-canvas"> 527 @{ 528 string Logo = Espresso.Area.Item.Logo; string Tagline = Espresso.Area.Item.Tagline; 529 } 530 @if( Espresso.Item.HeaderHide != "True" ){ 531 <header class="e-header e-header-mastersite js-e-header is-sticky"> 532 <div class="e-header-container"> 533 <div class="container-fluid"> 534 <div class="row"> 535 <div class="col-xs-12"> 536 <article class="e-header-wrapper"> 537 <div class="e-logo hidden-lg-up"> 538 <a href="/" class="e-logo-link"> 539 <img src="@Logo" class="e-logo-img" alt="@Tagline"> 540 @if( string.IsNullOrEmpty( Tagline ) == false ){ 541 <p class="e-logo-tagline">@Tagline</p> 542 } 543 </a> 544 </div> 545 @if( Espresso.Item.NavigationHide != "True" ){ 546 @GetValue("DwNavigation(dwnavheadercta)") 547 if( Espresso.Area.Item.Search == "True" ){ 548 <div class="e-search-toggle e-header-btn"> 549 <a data-toggle="modal" data-target=".modal.e-search" class="btn text-auto"> 550 <i class="material-icons m-a-0">search</i> 551 </a> 552 </div> 553 } 554 if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity"))) { 555 if( Espresso.Area.Item.Shop == "True" ){ 556 <div class="e-header-btn e-cart-mini"> 557 <a href="/quote/cart/" class="btn text-auto"> 558 <i class="material-icons m-a-0">shopping_basket</i> 559 <span class="e-cart-count js-e-cart-count">@GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity")</span> 560 </a> 561 </div> 562 } 563 } 564 <div class="e-header-btn e-nav-toggle"> 565 <a data-toggle="modal" data-target=".modal.e-nav-container" class="btn text-auto"> 566 <i class="material-icons">menu</i> @Translate("Header menu button text", "Menu") 567 </a> 568 </div> 569 <div class="e-nav-container modal js-e-nav-container" data-backdrop="false"> 570 <nav class="e-nav"> 571 <div class="e-nav-masthead"> 572 <div class="e-logo"> 573 <a href="/" class="e-logo-link"> 574 <img src="@Logo" class="e-logo-img" alt="@Tagline"> @if( string.IsNullOrEmpty( Tagline ) == false ){ 575 <p class="e-logo-tagline">@Tagline</p> 576 } 577 </a> 578 </div> 579 <div class="e-nav-toggle e-header-btn"> 580 <button type="button" data-toggle="modal" data-target=".modal.e-nav-container" class="btn text-auto"> 581 <i class="material-icons">close</i> 582 </button> 583 </div> 584 @if( Espresso.Area.Item.Search == "True" ){ 585 <div class="e-search-toggle e-header-btn"> 586 <button type="button" data-toggle="modal" data-target=".modal.e-search" class="btn text-auto"> 587 <i class="material-icons">search</i> 588 </button> 589 </div> 590 } 591 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity"))) { 592 if( Espresso.Area.Item.Shop == "True" ){ 593 <div class="e-header-btn e-cart-mini"> 594 <a href="/quote/cart/" class="btn text-auto"> 595 <i class="material-icons m-a-0">shopping_basket</i> 596 <span class="e-cart-count js-e-cart-count">@GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity")</span> 597 </a> 598 </div> 599 } 600 } 601 </div> 602 <section class="e-nav-global"> 603 <ul class="nav"> 604 @GetValue("DwNavigation(dwnavglobal)") 605 </ul> 606 @if( Espresso.Area.Item.Search == "True" ){ 607 <div class="e-search-toggle"> 608 <button type="button" data-toggle="modal" data-target=".modal.e-search" class="btn text-auto"> 609 <i class="material-icons">search</i> 610 </button> 611 </div> 612 } 613 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity"))) { 614 if( Espresso.Area.Item.Shop == "True" ){ 615 <div class="e-cart-mini"> 616 <a href="/quote/cart/" class="btn text-auto"> 617 <i class="material-icons m-a-0">shopping_basket</i> 618 <span class="e-cart-count js-e-cart-count">@GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity")</span> 619 </a> 620 </div> 621 }} 622 </section> 623 @*@if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavcta)") ) == false ){ 624 <section class="e-nav-cta"> 625 <ul class="nav"> 626 @GetValue("DwNavigation(dwnavcta)") 627 </ul> 628 </section> 629 }*@ 630 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiesprimary)") ) == false ){ 631 <section class="e-nav-utilities-primary"> 632 <div class="e-logo"> 633 <a href="/" class="e-logo-link hidden-md-down"> 634 <img src="@Logo" class="e-logo-img" alt="@Tagline"> 635 @if( string.IsNullOrEmpty( Tagline ) == false ){ 636 <p class="e-logo-tagline">@Tagline</p> 637 } 638 </a> 639 </div> 640 <ul class="nav"> 641 @if( Espresso.Item.NavigationHide != "True" ){ 642 @GetValue("DwNavigation(dwnavutilitiesprimary)") 643 } 644 </ul> 645 </section> 646 } 647 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiessecondaryheader)") ) == false ){ 648 <section class="e-nav-utilities-secondary"> 649 <ul class="nav"> 650 @GetValue("DwNavigation(dwnavutilitiessecondaryheader)") 651 </ul> 652 </section> 653 } 654 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavcontext)") ) == false ){ 655 <section class="e-nav-context"> 656 <ul class="nav"> 657 @GetValue("DwNavigation(dwnavcontext)") 658 </ul> 659 </section> 660 } 661 </nav> 662 663 </div> 664 } 665 </article> 666 </div> 667 </div> 668 </div> 669 </div> 670 </header> 671 } 672 673 <main class="e-content"> 674 @{ 675 string eBreadcrumbClasslist = "e-breadcrumb js-e-breadcrumb"; 676 if( String.IsNullOrEmpty( Espresso.Item.BreadcrumbColor ) == false && Espresso.Item.BreadcrumbColor != "auto"){ 677 eBreadcrumbClasslist += string.Format(" e-breadcrumb-{0}", Espresso.Item.BreadcrumbColor); 678 } 679 } 680 @if( Espresso.Item.BreadcrumbShow == "True" ){ 681 <nav class="@eBreadcrumbClasslist"> 682 <div class="container-fluid"> 683 <div class="row"> 684 <div class="col-xs-12"> 685 @GetValue("DwNavigation(dwnavbreadcrumb)") 686 </div> 687 </div> 688 </div> 689 </nav> 690 } 691 692 <article id="dwcontentmain" class="e-content-main @Espresso.ContentArea.ClassList"> 693 @using Dynamicweb.Admin.dk.dynamicweb.templates 694 @{ 695 string NavigationLocalHorizontalClassList = "e-nav-local e-nav-local-horizontal js-e-nav-local-horizontal"; 696 @* reset-animate *@ 697 string NavigationLocalHorizontalContainerClassList = "e-nav-local-container"; 698 if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "horizontal" ) { 699 NavigationLocalHorizontalClassList += " " + Espresso.Item.NavigationLocalCustomClasses; 700 if( Espresso.Item.NavigationLocalSticky == "True" ) { 701 NavigationLocalHorizontalClassList += " is-sticky"; 702 } 703 if( Espresso.Item.NavigationLocalAbsolute == "True" ) { 704 NavigationLocalHorizontalClassList += " is-absolute"; 705 } 706 else{ 707 if( Espresso.Item.NavigationLocalMarginTop != "0" && Espresso.Item.NavigationLocalMarginTop != "" ) { 708 NavigationLocalHorizontalClassList += " m-t-" + Espresso.Item.NavigationLocalMarginTop; 709 } 710 if( Espresso.Item.NavigationLocalMarginBottom != "0" && Espresso.Item.NavigationLocalMarginBottom != "" ) { 711 NavigationLocalHorizontalClassList += " m-b-" + Espresso.Item.NavigationLocalMarginBottom; 712 } 713 } 714 } 715 } 716 717 @if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "horizontal" ) 718 { 719 string navigation = RenderNavigation( new 720 { 721 id = "dwnav-local-" + Espresso.DynamicwebPage.ID, 722 parentid = string.IsNullOrEmpty( Espresso.Item.NavigationLocalParentPage ) == false ? Espresso.Item.NavigationLocalParentPage : Espresso.DynamicwebPage.ID, 723 template = string.IsNullOrEmpty( Espresso.Item.NavigationLocalTemplate ) == false ? Espresso.Item.NavigationLocalTemplate : "local-" + Espresso.Item.NavigationLocalLayout + ".xslt", 724 startlevel = Espresso.Item.NavigationLocalLevelStart, 725 endlevel = Espresso.Item.NavigationLocalLevelEnd, 726 expandmode = Espresso.Item.NavigationLocalExpandMode, 727 } ); 728 if(!string.IsNullOrEmpty(navigation)) 729 { 730 <section class="e-section @NavigationLocalHorizontalClassList"> 731 <div class="container-fluid"> 732 <div class="row"> 733 <div class="col-xs-12"> 734 <div class="row"> 735 736 <div class="col-xs-12"> 737 <nav id="dwnav-local-@Espresso.DynamicwebPage.ID" class="@NavigationLocalHorizontalContainerClassList"> 738 <ul class="nav"> 739 @if( Espresso.Item.NavigationLocalHeading != "" ){ 740 <li class="e-nav-local-heading"><h2><a class="e-nav-local-heading-link" href="/default.aspx?ID=@Espresso.Item.NavigationLocalParentPage">@Espresso.Item.NavigationLocalHeading</a></h2></li> 741 } 742 @navigation 743 </ul> 744 </nav> 745 </div> 746 747 </div> 748 </div> 749 </div> 750 </div> 751 </section> 752 } 753 } 754 755 @{ 756 string NavigationLocalVerticalClassList = "e-nav-local e-nav-local-vertical js-e-nav-local-vertical reset-animate"; 757 string NavigationLocalVerticalContainerClassList = "e-nav-local-container"; 758 if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "vertical" ) { 759 NavigationLocalVerticalClassList += " " + Espresso.Item.NavigationLocalCustomClasses; 760 //NavigationLocalVerticalClassList += " col-xs-3"; 761 762 if( Espresso.Item.NavigationLocalMarginTop != "0" && Espresso.Item.NavigationLocalMarginTop != "" ) { 763 NavigationLocalVerticalClassList += " p-t-" + Espresso.Item.NavigationLocalMarginTop; 764 } 765 if( Espresso.Item.NavigationLocalMarginBottom != "0" && Espresso.Item.NavigationLocalMarginBottom != "" ) { 766 NavigationLocalVerticalClassList += " p-b-" + Espresso.Item.NavigationLocalMarginBottom; 767 } 768 769 if( Espresso.Item.NavigationLocalSticky == "True" ) { 770 NavigationLocalVerticalClassList += " is-sticky"; 771 } 772 if( Espresso.Item.NavigationLocalAbsolute == "True" ) { 773 NavigationLocalVerticalClassList += " is-absolute"; 774 } 775 else{ 776 Espresso.ContentSection.ClassList.RemoveClasses("col-xs-12 col-md-12 col-lg-12 col-md-10 col-md-11 col-lg-8 col-md-offset-1 col-lg-offset-2"); 777 Espresso.ContentSection.ClassList.AddClasses("col-xs-12 col-lg-9 col-lg-offset-3"); 778 } 779 } 780 } 781 782 @if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "vertical" ) 783 { 784 string navigation = RenderNavigation( new 785 { 786 id = "dwnav-local-" + Espresso.DynamicwebPage.ID, 787 parentid = string.IsNullOrEmpty( Espresso.Item.NavigationLocalParentPage ) == false ? Espresso.Item.NavigationLocalParentPage : Espresso.DynamicwebPage.ID, 788 template = string.IsNullOrEmpty( Espresso.Item.NavigationLocalTemplate ) == false ? Espresso.Item.NavigationLocalTemplate : "local-" + Espresso.Item.NavigationLocalLayout + ".xslt", 789 startlevel = Espresso.Item.NavigationLocalLevelStart, 790 endlevel = Espresso.Item.NavigationLocalLevelEnd, 791 expandmode = Espresso.Item.NavigationLocalExpandMode, 792 } ); 793 794 if ( !string.IsNullOrEmpty( navigation ) ) 795 { 796 <section class="e-section @NavigationLocalVerticalClassList"> 797 <div class="container-fluid"> 798 <div class="row"> 799 <div class="col-xs-12"> 800 <div class="row"> 801 802 <div class="col-xs-3"> 803 <nav id="dwnav-local-@Espresso.DynamicwebPage.ID" class="@NavigationLocalVerticalContainerClassList"> 804 <ul class="nav"> 805 @if ( Espresso.Item.NavigationLocalHeading != "" ) 806 { 807 <li class="e-nav-local-heading"> 808 <h2><a class="e-nav-local-heading-link" href="/default.aspx?ID=@Espresso.Item.NavigationLocalParentPage">@Espresso.Item.NavigationLocalHeading</a></h2> 809 </li> 810 } 811 @navigation 812 </ul> 813 </nav> 814 </div> 815 816 </div> 817 </div> 818 </div> 819 </div> 820 </section> 821 } 822 } 823 824 825 <section class="e-section"> 826 <div class="container-fluid"> 827 <div class="row"> 828 <div class="@Espresso.ContentSection.ClassList"> 829 <div class="row"> 830 @GetValue("DwContent(dwcontentmain)") 831 </div> 832 </div> 833 </div> 834 </div> 835 </section> 836 </article> 837 </main> 838 <footer class="e-footer"> 839 <article class="e-footer-wrapper"> 840 @if( Espresso.Item.FooterHide != "True" ){ 841 <section class="e-footer-content e-section"> 842 <div class="container-fluid"> 843 <div class="row"> 844 @if( string.IsNullOrEmpty( Espresso.Area.Item.FooterParagraphs ) == false ){ 845 foreach( string paragraphID in Espresso.Area.Item.FooterParagraphs.Split( new char[]{','}, StringSplitOptions.None ) ){ 846 @RenderParagraphContent( int.Parse( paragraphID ) ); 847 } 848 } 849 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiessecondaryfooter)") ) == false ){ 850 <div class="col-xs-12"> 851 <aside class="e-nav-utilities-secondary"> 852 <ul class="nav nav-inline"> 853 @GetValue("DwNavigation(dwnavutilitiessecondaryfooter)") 854 </ul> 855 </aside> 856 </div> 857 } 858 </div> 859 </div> 860 </section> 861 } 862 <section class="e-footer-copyright e-section"> 863 <div class="container-fluid"> 864 <div class="row p-t-1"> 865 @if( string.IsNullOrEmpty( Espresso.Area.Item.FooterParagraphsUtility ) == false ){ 866 foreach( string paragraphID in Espresso.Area.Item.FooterParagraphsUtility.Split( new char[]{','}, StringSplitOptions.None ) ){ 867 @RenderParagraphContent( int.Parse( paragraphID ) ); 868 } 869 } 870 <div class="p p-imagetext col-xs-12 text-xs-center"> 871 <p class="e-copyright p-t-2"> 872 @Translate("Footer CopyrightText", "Copyright &copy;") 873 @GetGlobalValue("Global:Server.Date.Year") 874 @Espresso.Area.Item.CompanyName. 875 </p> 876 </div> 877 </div> 878 </div> 879 </section> 880 </article> 881 </footer> 882 883 </div> 884 @using Dynamicweb.Admin.dk.dynamicweb.templates @using Dynamicweb.Ecommerce.Products <div class="e-cart-msg" id="js-e-cart-msg"> <button class="close" data-dismiss="msg" type="button"> <i class="material-icons">close</i> </button> <section class="e-section p-b-3 p-t-3"> <div class="container-fluid"> <div class="row"> <div class="col-xs-12"> <div class="js-e-cart-msg-content"> <script id="js-handlebars-tmpl-cart-msg-content" type="text/x-handlebars-template"> <div class="row"> <div class="col-xs-12"> <div class="e-cart-msg-last-added p-t-1"> <div class="row"> <div class="col-xs-12"> <div class="row"> <div class="col-xs-12"> @if ( GetInteger( "Ecom:Order.OrderLines.TotalProductQuantity" ) > 1 ) { <h2 class="m-b-0">{{totalProductQuantity}} @Translate( "Quote requests in your basket", "Quote requests in your basket" )</h2> } else { <h2 class="m-b-0"><i class="material-icons text-success">check</i> {{lastAdded.quantity}} @Translate( "Quote request in your basket", "Quote request in your basket" )</h2> } </div> </div> <div class="row"> <div class="col-xs-12 m-t-3"> <div class=""> <div class="row"> <div class="col-xs-5 col-sm-7"> <h3>@Translate( "Product", "Product" )</h3></div> <div class="col-xs-4 col-sm-3"> <h3>@Translate( "Product no.", "Product no." )</h3></div> <div class="col-xs-3 col-sm-2 text-xs-center"> <h3>@Translate( "QTY", "QTY" )</h3></div> </div> <hr class="m-t-1"> <div class="js-e-cart-orderlines"> {{#each orderlines}} <div class="js-e-orderline e-orderline" id="{{id}}"> <div class="row"> <div class="col-xs-5 col-sm-7 e-orderline-product-text"> <p class="m-b-0"> <strong>{{{product.name}}}</strong> </p> </div> <div class="col-xs-4 col-sm-3"> {{{product.number}}} </div> <div class="col-xs-3 col-sm-2"> <div class="row row-xs-center"> <div class="col-xs-12"> <input class="form-control text-xs-center js-e-orderline-quantity" type="number" value="{{quantity}}" name="QuantityOrderLine{{id}}" data-rule-min="0" data-rule-digits="true"> </div> </div> </div> </div> <hr> </div> {{/each}} </div> </div> </div> </div> </div> </div> </div> </div> </div> </script> </div> <div class="col-xs-6 col-xs-offset-6 e-cart-actions m-b-1 text-xs-right"> <div class="row"> <div class="col-xs-6 hidden-sm-down m-b-1"> <a class="btn btn-block btn-outline-success" href="javascript:history.back();">@Translate( "Continue shopping", "Continue shopping" )</a> </div> <div class="col-md-6 col-xs-12 m-b-1"> <a class="btn btn-block btn-success" href="/quote/cart">@Translate( "Request Quote", "Request Quote" )</a> </div> </div> </div> </div> </div> </div> </section> </div> 885 @if( Espresso.Area.Item.Search == "True" ){ 886 <div class="modal fade e-search js-e-search js-e-search-modal modal-fullscreen" data-backdrop="false"> 887 <div class="modal-dialog"> 888 <div class="modal-content"> 889 <div class="modal-body"> 890 <button type="button" class="close" data-dismiss="modal"> 891 <i class="material-icons">close</i> 892 </button> 893 <div class="container-fluid"> 894 895 <div class="e-search-form-container"> 896 <div class="row"> 897 <div class="col-xs-12 col-md-10 col-lg-8 col-xl-6 col-md-offset-1 col-lg-offset-2 col-xl-offset-3 m-t-3"> 898 <form action="" class="e-search-form js-e-search-form"> 899 <div class="js-e-search-input-group e-search-input-group is-empty"> 900 <label class="e-search-label" for="e-search-input"><i class="material-icons">search</i></label> 901 @{ string Translate_Search_InputDefaultText = Translate("Search InputDefaultText", "Søgning"); } 902 <input type="text" class="js-e-search-input e-search-input form-control" name="q" id="e-search-input" placeholder="@Translate_Search_InputDefaultText"> 903 <span class="js-e-search-clear e-search-clear"><i class="material-icons">close</i></span> 904 <button class="e-search-submit btn btn-primary" type="submit"><i class="material-icons p-a-0">search</i></button> 905 </div> 906 </form> 907 </div> 908 </div> 909 </div> 910 911 <div class="js-e-search-result-container e-search-result-container"> 912 <div class="row"> 913 914 <div class="col-xs-12 col-md-10 col-lg-8 col-xl-6 col-md-offset-1 col-lg-offset-2 col-xl-offset-3"> 915 <p class="e-search-result-info small text-muted m-t-1 m-b-3"><span class="js-e-search-result-count">0</span> @Translate("Search ResultCountText", "resultater")</p> 916 </div> 917 918 <div class="col-xs-12 col-xl-10 col-xl-offset-1" style="z-index: 0;"> 919 <div class="js-e-search-result-products e-search-result-products is-empty m-b-4"> 920 <script id="js-handlebars-tmpl-search-result-item-product" type="text/x-handlebars-template"> 921 <div class="e-products"> 922 <ul class="e-grid"> 923 {{#loop products}} 924 <li class="col-xs-6 col-md-3 m-b-4"> 925 <div class="e-product-container"> 926 <div class="ambu-products-image-box"> 927 <a href="{{{url}}}"> 928 <img src="{{imageLarge}}" alt="{{primaryImageAltText}}"> 929 </a> 930 </div> 931 <div class="e-product-text-container text-xs-center"> 932 <h3 class="e-product-name m-b-0 m-t-2"><a href="{{{url}}}">{{name}}</a></h3> 933 <p class="e-product-text"> 934 <a href="{{{url}}}">{{descriptionShortExtra01}}</a> 935 </p> 936 </div> 937 </div> 938 </li> 939 {{/loop}} 940 </ul> 941 <p class="js-e-search-products-show-all text-xs-center"><a href="" class="btn btn-secondary p-x-6">@Translate("Search ViewAllProductsButtonText", "Vis alle produkter")</a></p> 942 </div> 943 </script> 944 </div> 945 </div> 946 947 <div class="col-xs-12 col-md-10 col-lg-8 col-xl-6 col-md-offset-1 col-lg-offset-2 col-xl-offset-3"> 948 <div class="js-e-search-result-pages e-search-result-pages is-empty m-b-3"> 949 <script id="js-handlebars-tmpl-search-result-item-page" type="text/x-handlebars-template"> 950 <div class="row"> 951 {{#loop pages}} 952 <div class="col-xs-12"> 953 <p class="m-b-0"><a href="{{{url}}}" class="text-bold">{{{title}}}</a></p> 954 <p class="m-b-0 small text-truncate"> 955 <a href="{{{url}}}" class="text-auto text-muted"><span class="hidden-xs-down">@GetGlobalValue( "Global:Request.Host" )</span>{{{url}}}</a></p> 956 <p class="small">{{{text}}}...</p> 957 </div> 958 {{/loop}} 959 </div> 960 </script> 961 </div> 962 </div> 963 964 </div> 965 966 <div class="js-e-search-loading-overlay e-loading-overlay e-search-loading-overlay"> 967 <div class="e-loading-spinner"></div> 968 </div> 969 970 </div> 971 972 </div> 973 </div> 974 </div> 975 </div> 976 </div> 977 } 978 979 @if( Espresso.Area.Item.BackToTopLink == "True" ){ 980 <a href="#top" class="e-back-to-top js-e-back-to-top"><i class="material-icons">keyboard_arrow_up</i></a> 981 } 982 983 @RenderingService.Instance.PartialView( "_partials/redirect.cshtml" ) 984 985 986 <script async="" src="/Files/Templates/Designs/ambu/assets/_dist/js/default.js?v=4.004"></script> 987 988 @{ 989 SidebarPopup sidebarPopupModel = new SidebarPopup() 990 { 991 SidebarPopupContent = Pageview.Area.Item.GetValue<string>("SidebarPopupContent"), 992 SidebarPopupButtonIcon = Pageview.Area.Item.GetValue<string>("SidebarPopupButtonIcon"), 993 SidebarPopupLandingPage = Pageview.Area.Item.GetValue<string>("SidebarPopupLandingPage") 994 }; 995 } 996 997 @RenderingService.Instance.PartialView("../_partials/ambu-sidebar-popup.cshtml", sidebarPopupModel) 998 999 <div aria-hidden="true" class="ambu-languages fade modal" data-backdrop="true" id="ambu-languages" role="dialog" tabindex="-1"> 1000 <button aria-label="Close" class="close" data-dismiss="modal" type="button"> 1001 <span aria-hidden="true">&times;</span> 1002 </button> 1003 <div class="modal-dialog"> 1004 <div class="modal-content"> 1005 <section class="p-b-3 p-t-3"> 1006 <div class="container-fluid"> 1007 <div class="row"> 1008 <div class="col-xs-12"> 1009 <div class="row"> 1010 <div class="col-xs-12 m-b-2 text-xs-center"> 1011 <img class="col-xs-4 m-b-1" src="/Files/Images/worldmap.svg"> 1012 </div> 1013 <div class="col-md-10 col-md-offset-1 col-xs-12"> 1014 <p class="h2 text-xs-center">@Translate( "Choose your country", "Find your local Ambu website" )</p> 1015 <ul class="nav small"> 1016 @GetValue("DwNavigation(dwnavambulanguages)") 1017 </ul> 1018 <p class="modal-text text-xs-center">@Translate( "Choose your country additional text", "Looking for a local Ambu representative in your country?<br><a href='/Default.aspx?Id=12845'>Go to our local distributors page</a>" )</p> 1019 </div> 1020 </div> 1021 </div> 1022 </div> 1023 </div> 1024 </section> 1025 </div> 1026 </div> 1027 </div> 1028 1029 <script type="text/javascript"> 1030 window.dataLayer = window.dataLayer || []; 1031 var regexname = 1032 /^77\.243\.43\.128$|^194\.182\.2\.128$|^87\.128\.25\.218$|^212\.118\.223\.24$|^195\.77\.35\.160$|^80\.14\.131\.94$|^93\.51\.217\.48$|^78\.156\.74\.88$|^207\.10\.193\.160$|^71\.16\.198\.32$|^50\.203\.113\.0$|^202\.68\.175\.148$|^59\.60\.7\.48$|^118\.101\.192\.0$|^59\.167\.228\.249$|^59\.167\.228\.250$|^59\.60\.7\.48$|^87\.128\.25\.218$|^212\.118\.223\.24$|^212\.98\.112\.128$|^62\.82\.131\.0$|^80\.14\.131\.94$|^93\.51\.217\.48$|^121\.121\.43\.200$|^118\.101\.192\.2$|^77\.243\.43\.128$|^78\.156\.74\.88$|^207\.10\.193\.160$|^71\.16\.198\.32$|^50\.203\.113\.1$|^71\.16\.198\.34$|^77\.243\.43\.130$|^78\.156\.74\.90$|^195\.77\.35\.162$|^202\.68\.175\.150$/; 1033 var visitorIp = "@HttpContext.Current.Request.UserHostAddress"; 1034 if (visitorIp.match(regexname)) { 1035 window.dataLayer.push({ 1036 'Ambu_Internal': 'true' //if IP address is belonging to ambu variable has value 'true' 1037 }); 1038 } else { 1039 window.dataLayer.push({ 1040 'Ambu_Internal': 'false' //if IP address is *NOT* belonging to ambu value is 'false' 1041 }); 1042 } 1043 </script> 1044 <!-- Google reCAPTCHA --> 1045 <script async="" defer="" src="https://www.google.com/recaptcha/api.js"></script> 1046 <!-- End Google reCAPTCHA --> 1047 </body> 1048 @GetValue( "CopyRightNotice" ) 1049 </html> 1050