Error executing template "Designs/skolesites/_parsed/espresso.parsed.cshtml"
System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
   at Dynamicweb.Frontend.XmlNavigation.MakeXml(Int32 parentId, Int32 levelStart, Int32 levelStop, Expand expand, Int32 selectedAreaId)
   at Dynamicweb.Frontend.XmlNavigation.GetNavigationHtml(Int32 parentId, Int32 levelStart, Int32 levelStop, Expand expand, String name, String xsltPath, Int32 selectedAreaId, Boolean sitemapMode, NameValueCollection settings, NameValueCollection attributes, IncludeMode mode)
   at Dynamicweb.Frontend.XmlNavigation.GetNavigationHtml(NameValueCollection settings, NameValueCollection attributes)
   at CompiledRazorTemplates.Dynamic.RazorEngine_f7ee0cd943204fbcab1938bc2b46ef44.Execute() in D:\dynamicweb.net\Solutions\holstebrokommune.espresso4.dk\files\Templates\Designs\skolesites\_parsed\espresso.parsed.cshtml:line 334
   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.<RunCompile>b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
   at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits Co3.Espresso.Website.TemplateBases.Pages.PageBase 2 @using System.Web; 3 @{ 4 string websiteLang = GetGlobalValue( "Global:Area.Lang" ); 5 string websiteID = GetGlobalValue( "Global:Area.ID" ); 6 string pageId = GetGlobalValue( "Global:Page.ID" ); 7 string websiteIntegerSeparator = GetGlobalValue( "Global:eCommerce.Currency.IntegerSeparator" ); 8 string websiteDecimalSeparator = GetGlobalValue( "Global:eCommerce.Currency.DecimalSeparator" ); 9 string pageTitle = GetValue( "Title" ).ToString(); 10 string monsidoToken = Espresso.Area.Item.MonsidoToken; 11 string facebookToken = Espresso.Area.Item.FacebookDomainVerificationToken; 12 } 13 <!DOCTYPE html> 14 <html class="area-@websiteID" lang="@websiteLang" data-integer-seperator="@websiteIntegerSeparator" data-decimal-seperator="@websiteDecimalSeparator"> 15 <head> 16 @GetValue( "CopyRightNotice" ) 17 <meta charset="utf-8"> 18 <meta content="width=device-width, initial-scale=1, shrink-to-fit=no, minimal-ui" name="viewport"> 19 <meta content="ie=edge" http-equiv="x-ua-compatible"> 20 <title>@GetValue("Title")</title> 21 @GetValue("MetaTags") 22 @GetValue("CopyRightNotice") 23 24 @Espresso.CriticalCSS 25 <link href="https://fonts.googleapis.com/css?family=Material+Icons" media="@Espresso.StylesheetAttributeMedia" rel="@Espresso.StylesheetAttributeRel" as="style"> 26 <link href="/Files/Templates/Designs/skolesites/_assets/_dist/css/default.css?v=1.1.0" media="@Espresso.StylesheetAttributeMedia" rel="@Espresso.StylesheetAttributeRel" as="style"> 27 @Espresso.CriticalJS 28 29 <link rel="shortcut icon" href="@Espresso.Area.Item.Favicon"> 30 @GetValue( "MetaTags" ) 31 @{ 32 string OpenGraphURL = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue( "Global:Request.Host" ) + GetGlobalValue( "Global:Pageview.Url" ); 33 string OpenGraphImage = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue( "Global:Request.Host" ) + Espresso.OpenGraphImage; 34 string noImage = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue( "Global:Request.Host" ) + "/Files/Images/hk-logo-normal-og.jpg"; 35 string jobPage = GetGlobalValue( "Global:Pageview.LayoutTemplate" ); 36 string pageID = GetGlobalValue( "Global:Page.ID" ); 37 } 38 39 <meta property="og:url" content="@OpenGraphURL"> 40 <meta content="website" property="og:type"> 41 @if ( jobPage == "holstebro-kommune-job.cshtml" || pageID == "2829" ) 42 { 43 <meta content="https://www.holstebro.dk/job" property="og:url"> 44 <meta content="https://www.holstebro.dk/Files/Images/5-kommunen/nogetfordig.jpg" property="og:image"> 45 } 46 47 @RenderSnippet( "MetaTags" ) 48 49 @if ( !string.IsNullOrEmpty( facebookToken ) ) 50 { 51 <meta name="facebook-domain-verification" content="@facebookToken"> 52 } 53 54 @if ( !string.IsNullOrEmpty( Espresso.OpenGraphTitle ) ) 55 { 56 <meta property="og:title" content="@Espresso.OpenGraphTitle"> 57 } 58 else 59 { 60 <meta property="og:title" content="@pageTitle"> 61 } 62 @if ( !string.IsNullOrEmpty( Espresso.OpenGraphImage ) ) 63 { 64 <meta property="og:image" content="@OpenGraphImage"> 65 } 66 else 67 { 68 <meta property="og:image" content="@noImage"> 69 } 70 71 @if ( !string.IsNullOrEmpty( Espresso.OpenGraphDescription ) ) 72 { 73 <meta property="og:description" content="@Espresso.OpenGraphDescription"> 74 } 75 76 @if ( string.IsNullOrEmpty( Espresso.Area.Item.GoogleSiteVerification ) == false ) 77 { 78 <meta name="google-site-verification" content="@Espresso.Area.Item.GoogleSiteVerification"> 79 } 80 @{ 81 if ( 1 == 2 ) 82 { 83 @GetValue( "Stylesheets" ) 84 } 85 } 86 87 <script id="CookieConsent" src="https://policy.app.cookieinformation.com/uc.js" data-culture="DA" type="text/javascript"></script> 88 89 @GetValue("Stylesheets") 90 @GetValue("Javascripts") 91 </head> 92 93 <body class="@Espresso.Item.CustomClasses"> 94 @using Dynamicweb.Security.UserManagement 95 96 97 98 @{ 99 if( Espresso.Canvas.ClassList.ToString().Contains("e-page-is-loading") == true ){ 100 Espresso.Canvas.ClassList.RemoveClasses("e-page-is-loading"); 101 Espresso.Canvas.ClassList.AddClasses("is-loading"); 102 } 103 bool pageWrapper = false; 104 if(!string.IsNullOrEmpty(Espresso.Item.CustomClasses)){ 105 if(Espresso.Item.CustomClasses.Contains("no-wrapper")){ 106 pageWrapper = true; 107 } 108 } 109 } 110 111 @if( Espresso.Area.Item.OptimizedLoading == "True" ){ 112 <div id="js-e-page-loading-overlay" class="e-page-loading-overlay e-loading-overlay is-loading"><div class="e-loading-spinner"></div></div> 113 } 114 @{ 115 string Logo = Espresso.Area.Item.Logo; 116 string Tagline = Espresso.Area.Item.Tagline; 117 } 118 <nav aria-label="Genvej til indhold" class="hk-skip-to-content" tabindex="0"><a tabindex="1" class="js-hk-skip-to-content-link arrow-right" href="#dwcontentmain">Gå til indhold</a></nav> 119 @if( Espresso.Item.HeaderHide != "True" ){ 120 <header class="e-header js-e-header hidden-print" role="banner"> 121 <div class="col-12 p-0 d-lg-none"> 122 <form action="/search" class="e-search-form js-custom-search-form e-search-hk-mobile"> 123 <div class="form-group d-flex"> 124 125 <input name="q" autocomplete="off" aria-label="search" class="form-control custom-search-input" type="search" placeholder="Hvad kan vi hjælpe dig med?"> 126 @*<button class="btn btn-primary" type="submit"><em class="material-icons">search</em>Søg</button>*@ 127 <button class="btn" type="submit"><em class="material-icons">search</em></button> 128 129 </div> 130 </form> 131 </div> 132 <div class="e-header-container navbar"> 133 <div class="row"> 134 @*d-lg-flex flex-lg-column-reverse*@ 135 <div class="col-12"> 136 <article class="e-header-wrapper"> 137 138 <div class="e-logo"> 139 <a href="/" class="e-logo-link" alt="Gå til forside"> 140 <img src="@Logo" class="e-logo-img" alt="@Tagline"> 141 @if( string.IsNullOrEmpty( Tagline ) == false ){ 142 <p class="e-logo-tagline">@Tagline</p> 143 } 144 </a> 145 </div> 146 <div class="col-4 hk-search-input"> 147 <div class="header-search-input"> 148 <form action="/search" class="e-search-form js-custom-search-form"> 149 <div class="form-group"> 150 <div class="e-search-container"> 151 <input name="q" autocomplete="off" aria-label="search" class="form-control custom-search-input" type="search" placeholder="Hvad kan vi hjælpe dig med?"> 152 <button class="btn" type="submit"><em class="material-icons">search</em></button> 153 </div> 154 </div> 155 </form> 156 </div> 157 </div> 158 @if( Espresso.Item.NavigationHide != "True" ){ 159 160 161 162 163 <div class="e-header-btn e-nav-toggle"> 164 <a data-toggle="modal" data-target=".modal.e-nav-container" class="btn text-auto"> 165 <em class="material-icons">menu</em> 166 167 </a> 168 </div> 169 <div class="e-nav-container modal js-e-nav-container" data-backdrop="false"> 170 <nav class="e-nav"> 171 <div class="e-nav-masthead"> 172 <div class="e-logo"> 173 <a href="/" class="e-logo-link" alt="Gå til forside"> 174 <img src="@Logo" class="e-logo-img" alt="@Tagline"> 175 @if( string.IsNullOrEmpty( Tagline ) == false ){ 176 <p class="e-logo-tagline">@Tagline</p> 177 } 178 </a> 179 </div> 180 <div class="e-nav-toggle e-header-btn"> 181 <button type="button" data-toggle="modal" data-target=".modal.e-nav-container" class="btn text-auto"> 182 <em class="material-icons">close</em> 183 </button> 184 </div> 185 186 </div> 187 <section class="e-nav-global js-e-nav-global"> 188 <ul class="nav"> 189 @GetValue("DwNavigation(dwnavglobal)") 190 </ul> 191 </section> 192 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiesprimary)") ) == false ){ 193 <section class="e-nav-utilities-primary"> 194 <ul class="nav"> 195 @GetValue("DwNavigation(dwnavutilitiesprimary)") 196 </ul> 197 </section> 198 } 199 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiessecondaryheader)") ) == false ){ 200 <section class="e-nav-utilities-secondary"> 201 <ul class="nav"> 202 @GetValue("DwNavigation(dwnavutilitiessecondaryheader)") 203 </ul> 204 </section> 205 } 206 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavcontext)") ) == false ){ 207 <section class="e-nav-context"> 208 <ul class="nav"> 209 @GetValue("DwNavigation(dwnavcontext)") 210 </ul> 211 </section> 212 } 213 </nav> 214 @* @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavlocalhorizontal)") ) == false ){ 215 <section class="e-nav-local-horizontal"> 216 @GetValue("DwNavigation(dwnavlocalhorizontal)") 217 </section> 218 } *@ 219 </div> 220 } 221 </article> 222 </div> 223 </div> 224 </div> 225 </header> 226 } 227 228 <div class="@Espresso.Canvas.ClassList" id="js-e-canvas"> 229 @{ 230 string NavigationLocalHorizontalClassList = "e-nav-global-horizontal reset-animate"; 231 @* reset-animate *@ 232 string NavigationLocalHorizontalContainerClassList = "e-nav-local-container"; 233 if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "horizontal" ) { 234 NavigationLocalHorizontalClassList += " " + Espresso.Item.NavigationLocalCustomClasses; 235 if( Espresso.Item.NavigationLocalAbsolute == "True" ) { 236 NavigationLocalHorizontalClassList += " is-absolute"; 237 } 238 else{ 239 if( Espresso.Item.NavigationLocalMarginTop != "0" && Espresso.Item.NavigationLocalMarginTop != "" ) { 240 NavigationLocalHorizontalClassList += " mt-" + Espresso.Item.NavigationLocalMarginTop; 241 } 242 if( Espresso.Item.NavigationLocalMarginBottom != "0" && Espresso.Item.NavigationLocalMarginBottom != "" ) { 243 NavigationLocalHorizontalClassList += " mb-" + Espresso.Item.NavigationLocalMarginBottom; 244 } 245 } 246 } 247 } 248 <section class="@NavigationLocalHorizontalClassList is-sticky" aria-label="Hjemmeside top"> 249 <div class="nav-global-horizontal-container hidden-print" role="navigation" aria-label="Hoved menu"> 250 <div class="container-fluid"> 251 <div class="row"> 252 <div class="col-12"> 253 <h3 style="display: none;" id="menu">Hovedmenu</h3> 254 <div class="e-nav-global"> 255 <ul class="nav navbar"> 256 @GetValue("DwNavigation(dwnavgloballocal)") 257 @GetValue("DwNavigation(dwnavcta)") 258 </ul> 259 </div> 260 </div> 261 </div> 262 </div> 263 </div> 264 </section> 265 266 <main class="e-content" role="main"> 267 <article id="dwcontentmain" class="e-content-main @Espresso.ContentArea.ClassList"> 268 @using Dynamicweb.Content 269 @{ 270 string eBreadcrumbClasslist = "e-breadcrumb js-e-breadcrumb d-none d-lg-block"; 271 if( Espresso.Item.BreadcrumbColor != "auto" && Espresso.Item.BreadcrumbColor != "none" && String.IsNullOrEmpty( Espresso.Item.Breadcrumb ) == false ){ 272 eBreadcrumbClasslist += string.Format(" e-breadcrumb-{0}", Espresso.Item.Breadcrumb ); 273 } 274 } 275 276 @if( Espresso.Item.Breadcrumb != "none" && String.IsNullOrEmpty( Espresso.Item.Breadcrumb ) == false ){ 277 <section class="e-section @eBreadcrumbClasslist"> 278 <div class="container-fluid"> 279 <div class="row"> 280 <div class="col-12"> 281 <div class="row"> 282 <div class="col-12"> 283 <nav class="e-breadcrumb-container"> 284 @GetValue("DwNavigation(dwnavbreadcrumb)") 285 </nav> 286 </div> 287 </div> 288 </div> 289 </div> 290 </div> 291 </section> 292 } 293 294 @{ 295 string NavigationLocalVerticalClassList = "e-nav-local e-nav-local-vertical js-e-nav-local-vertical reset-animate"; 296 string NavigationLocalVerticalContainerClassList = "e-nav-local-container"; 297 if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "vertical" ) { 298 NavigationLocalVerticalClassList += " " + Espresso.Item.NavigationLocalCustomClasses; 299 //NavigationLocalVerticalClassList += " col-3"; 300 301 if( Espresso.Item.NavigationLocalMarginTop != "0" && Espresso.Item.NavigationLocalMarginTop != "" ) { 302 NavigationLocalVerticalClassList += " mt-" + Espresso.Item.NavigationLocalMarginTop; 303 } 304 if( Espresso.Item.NavigationLocalMarginBottom != "0" && Espresso.Item.NavigationLocalMarginBottom != "" ) { 305 NavigationLocalVerticalClassList += " mb-" + Espresso.Item.NavigationLocalMarginBottom; 306 } 307 308 if( Espresso.Item.NavigationLocalSticky == "True" ) { 309 NavigationLocalVerticalClassList += " is-sticky"; 310 } 311 if( Espresso.Item.NavigationLocalAbsolute == "True" ) { 312 NavigationLocalVerticalClassList += " is-absolute"; 313 } 314 else{ 315 Espresso.ContentSection.ClassList.Clear(); 316 Espresso.ContentSection.ClassList.AddClasses("col-12 col-lg-9 ml-auto"); 317 } 318 } 319 } 320 321 @if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "vertical" ) { 322 <section class="e-section @NavigationLocalVerticalClassList"> 323 <div class="container-fluid"> 324 <div class="row"> 325 <div class="col-12"> 326 <div class="row"> 327 328 <div class="col-3"> 329 <nav id="dwnav-local-@Espresso.DynamicwebPage.ID" class="@NavigationLocalVerticalContainerClassList"> 330 <ul class="nav flex-column"> 331 @if( Espresso.Item.NavigationLocalHeading != "" ){ 332 <li class="e-nav-local-heading"><h2>@Espresso.Item.NavigationLocalHeading</h2></li> 333 } 334 @RenderNavigation( new { 335 id = "dwnav-local-" + Espresso.DynamicwebPage.ID, 336 parentid = string.IsNullOrEmpty( Espresso.Item.NavigationLocalParentPage ) == false ? Espresso.Item.NavigationLocalParentPage : Espresso.DynamicwebPage.ID, 337 template = string.IsNullOrEmpty( Espresso.Item.NavigationLocalTemplate ) == false ? Espresso.Item.NavigationLocalTemplate : "local-" + Espresso.Item.NavigationLocalLayout + ".xslt", 338 startlevel = Espresso.Item.NavigationLocalLevelStart, 339 endlevel = Espresso.Item.NavigationLocalLevelEnd, 340 expandmode = Espresso.Item.NavigationLocalPageTreeExpand == "True" ? "all" : "path", 341 } ) 342 </ul> 343 </nav> 344 </div> 345 346 </div> 347 </div> 348 </div> 349 </div> 350 </section> 351 } 352 353 354 <section class="e-section"> 355 @if(pageWrapper == true){ 356 @:<div class="inner-section-wrapper"> 357 @:<section class="e-section"> 358 } 359 360 <div class="container-fluid"> 361 <div class="row"> 362 <div class="@Espresso.ContentSection.ClassList"> 363 <div class="row"> 364 @GetValue("DwContent(dwcontentmain)") 365 </div> 366 </div> 367 </div> 368 </div> 369 @if(pageWrapper == true){ 370 @:</section> 371 @:</div> 372 } 373 </section> 374 </article> 375 </main> 376 </div> 377 @{ 378 string LogoInverted = Espresso.Area.Item.LogoInverted; 379 string facebookLink = Espresso.Area.Item.FacebookLink; 380 string twitterLink = Espresso.Area.Item.TwitterLink; 381 string linkedinLink = Espresso.Area.Item.LinkedinLink; 382 string instagramLink = Espresso.Area.Item.InstagramLink; 383 string sitemapLink = Espresso.Area.Item.Sitemap; 384 string cookiesLink = Espresso.Area.Item.CookieMessage; 385 } 386 387 <footer class="e-footer hidden-print" role="contentinfo"> 388 <article class="e-footer-wrapper"> 389 @if( Espresso.Item.FooterHide != "True" ){ 390 <section class="e-footer-content e-section"> 391 <div class="footer-container"> 392 <div class="container-fluid"> 393 @*<div class="row"> 394 <div class="col-12 col-sm-6 footer-logo-container"> 395 <img src="@LogoInverted" class="e-logo-img" alt="@Tagline"> 396 </div> 397 <div class="col-12 col-sm-6"> 398 <ul class="social-media-footer float-right"> 399 @if( string.IsNullOrEmpty( instagramLink ) == false ){ 400 <li><a href="@instagramLink" alt="Instagram" target="_blank"><img src="/Files/Templates/Designs/skolesites/assets/img/icons-svg/logo_instagram_simple_inverted.svg" alt="Instagram"></a></li> 401 } 402 @if( string.IsNullOrEmpty( linkedinLink ) == false ){ 403 <li><a href="@linkedinLink" alt="Linkedin" target="_blank"><img src="/Files/Templates/Designs/skolesites/assets/img/icons-svg/logo_linkedin_simple_inverted.svg" alt="Linkedin"></a></li> 404 } 405 @if( string.IsNullOrEmpty( twitterLink ) == false ){ 406 <li><a href="@twitterLink" alt="Twitter" target="_blank"><img src="/Files/Templates/Designs/skolesites/assets/img/icons-svg/logo_twitter_simple_inverted.svg" alt="Twitter"></a></li> 407 } 408 @if( string.IsNullOrEmpty( facebookLink ) == false ){ 409 <li><a href="@facebookLink" alt="FaceBook" target="_blank"><img src="/Files/Templates/Designs/skolesites/assets/img/icons-svg/logo_facebook_simple_inverted.svg" alt="FaceBook"></a></li> 410 } 411 </ul> 412 </div> 413 </div> 414 <div class="row hk-custom-footer-row"> 415 @RenderParagraphContent((26713)) 416 @RenderParagraphContent((8031)) 417 @RenderParagraphContent((8030)) 418 </div>*@ 419 420 <div class="row"> 421 @if( string.IsNullOrEmpty( Espresso.Area.Item.FooterParagraphs ) == false ){ 422 foreach( string paragraphID in Espresso.Area.Item.FooterParagraphs.Split( new char[]{','}, StringSplitOptions.None ) ){ 423 @RenderParagraphContent( int.Parse( paragraphID ) ); 424 } 425 } 426 </div> 427 428 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiessecondaryfooter)") ) == false ){ 429 <div class="col-12"> 430 <aside class="e-nav-utilities-secondary"> 431 <ul class="nav nav-inline"> 432 @GetValue("DwNavigation(dwnavutilitiessecondaryfooter)") 433 </ul> 434 </aside> 435 </div> 436 } 437 </div> 438 </div> 439 </section> 440 } 441 <section class="e-footer-copyright e-section"> 442 <div class="footer-container"> 443 <div class="container-fluid"> 444 <div class="row row-xs-center"> 445 <div class="col-12"> 446 @{ 447 @RenderParagraphContent(36389) 448 } 449 @*<p> 450 <span>Holstebro Kommune</span> 451 <span>7500 Holstebro</span> 452 <span>Tlf: 9611 7500</span> 453 <span>www.holstebro.dk</span> 454 <span>Cookies og privatlivspolitik</span> 455 </p>*@ 456 </div> 457 @*<div class="col-12 col-sm-7"> 458 <p> 459 <a href="@cookiesLink">Cookies</a>&nbsp;&nbsp;&nbsp; 460 <a href="@sitemapLink">Sitemap</a> 461 </p> 462 </div> 463 <div class="col-12 col-sm-5 text-left text-sm-right"> 464 <p class="e-copyright"> 465 Copyright &copy; 466 @GetGlobalValue( "Global:Server.Date.Year" ) 467 @Espresso.Area.Item.CompanyName. Alle rettigheder forbeholdt.</p> 468 469 </div>*@ 470 </div> 471 </div> 472 </div> 473 </section> 474 </article> 475 </footer> 476 477 478 479 <!-- search --> 480 481 @if( Espresso.Area.Item.Search == "True" ){ 482 <div class="modal fade e-search js-e-search js-e-search-modal modal-fullscreen d-print-none" data-backdrop="false" data-keyboard="true" data-focus="true"> 483 <div class="modal-dialog"> 484 <div class="modal-content "> 485 <div class="modal-body"> 486 <button type="button" class="close" data-dismiss="modal"> 487 <em class="material-icons">close</em> 488 </button> 489 <div class="container-fluid"> 490 491 <div class="e-search-form-container"> 492 <div class="row justify-content-center"> 493 <div class="col-12 col-md-10 col-lg-8 col-xl-6 mt-3"> 494 <form action="" class="e-search-form js-e-search-form"> 495 <div class="js-e-search-input-group e-search-input-group is-empty"> 496 <label class="e-search-label" for="e-search-input"><em class="material-icons">search</em></label> 497 @{ string Translate_Search_InputText = Translate("Search - Input Placeholder - Text", "Search"); } 498 <input type="text" class="js-e-search-input e-search-input form-control-plaintext" name="q" id="e-search-input" placeholder="@Translate_Search_InputText"> 499 <span class="js-e-search-clear e-search-clear"><em class="material-icons">close</em></span> 500 <button class="e-search-submit btn btn-primary" type="submit"><i class="material-icons pa-0">search</i></button> 501 </div> 502 </form> 503 </div> 504 </div> 505 </div> 506 507 <div class="js-e-search-result-container e-search-result-container"> 508 509 <div class="row justify-content-center"> 510 <div class="col-12 col-md-10 col-lg-8 col-xl-6"> 511 <p class="e-search-result-info small text-muted mt-1 mb-3"><span class="js-e-search-result-count">0</span> @Translate("Search - Result Count - Text", "results")</p> 512 </div> 513 </div> 514 515 <div class="row justify-content-center"> 516 <div class="col-12 col-xl-10"> 517 <div class="js-e-search-result-products e-search-result-products is-empty mb-4"> 518 <script id="js-e-handlebars-tmpl-search-result-item-product" type="text/x-handlebars-template"> 519 <div class="e-products"> 520 <div class="row"> 521 {{#loop products}} 522 <div class="col-2 col-sm-2 col-md-3 col-lg-4 col-xl-5"> 523 <div class="e-products-item"> 524 <div class="e-products-item-container"> 525 <div class="e-products-item-image-container"> 526 <a class="e-products-item-image-wrapper" href="{{url}}"> 527 <img src="{{imageLarge}}" alt="" class="e-products-item-image"> 528 </a> 529 </div> 530 <div class="e-products-item-text-container text-center small"> 531 <h3 class="e-products-item-name mb-0"><a href="{{url}}">{{name}}</a></h3> 532 {{#if descriptionShortExtra01}} 533 <p class="e-products-item-text mb-0 small"> 534 <a href="{{url}}"> 535 {{descriptionShortExtra01}} 536 </a> 537 </p> 538 {{/if}} 539 <p class="e-products-item-text mb-0 small"> 540 <span class="e-products-item-price"> 541 <a href="{{url}}"> 542 {{{price}}} 543 </a> 544 </span> 545 </p> 546 </div> 547 </div> 548 </div> 549 </div> 550 {{/loop}} 551 </div> 552 <p class="js-e-search-products-show-all text-center"><a href="" class="btn btn-outline-primary px-6">@Translate("Search - View All Products - Button", "View All Products")</a></p> 553 </div> 554 </script> 555 </div> 556 </div> 557 </div> 558 559 <div class="row justify-content-center"> 560 <div class="col-12 col-md-10 col-lg-8 col-xl-6"> 561 <div class="js-e-search-result-pages e-search-result-pages is-empty mb-3"> 562 <script id="js-e-handlebars-tmpl-search-result-item-page" type="text/x-handlebars-template"> 563 <div class="row"> 564 {{#loop pages}} 565 <div class="col-12"> 566 <p class="mb-0"><a href="{{{url}}}" class="text-bold">{{{title}}}</a></p> 567 <p class="mb-0 small text-truncate"> 568 <a href="{{{url}}}" class="text-auto text-muted"><span class="d-none d-sm-inline">@GetGlobalValue( "Global:Request.Host" )</span>{{{url}}}</a></p> 569 <p class="small">{{{text}}}...</p> 570 </div> 571 {{/loop}} 572 </div> 573 </script> 574 </div> 575 </div> 576 </div> 577 578 <div class="js-e-search-loading-overlay e-loading-overlay e-search-loading-overlay"> 579 <div class="e-loading-spinner"></div> 580 </div> 581 582 </div> 583 584 </div> 585 </div> 586 </div> 587 </div> 588 </div> 589 } 590 591 @* 592 @if( Espresso.Area.Item.Search == "True" ){ 593 <div class="modal fade e-search js-e-search js-e-search-modal modal-fullscreen d-print-none" data-backdrop="false" data-keyboard="true" data-focus="true"> 594 <div class="modal-dialog"> 595 <div class="modal-content "> 596 <div class="modal-body"> 597 <button type="button" class="close" data-dismiss="modal"> 598 <em class="material-icons">close</em> 599 </button> 600 <div class="container-fluid"> 601 602 <div class="e-search-form-container"> 603 <div class="row justify-content-center"> 604 <div class="col-12 col-md-10 col-lg-8 col-xl-6 mt-3"> 605 <form action="" class="e-search-form js-e-search-form"> 606 <div class="js-e-search-input-group e-search-input-group is-empty"> 607 <label class="e-search-label" for="e-search-input"><em class="material-icons">search</em></label> 608 @{ string Translate_Search_InputText = Translate("Search - Input Placeholder - Text", "Search"); } 609 <input type="text" class="js-e-search-input e-search-input form-control-plaintext" name="q" id="e-search-input" placeholder="@Translate_Search_InputText"> 610 <span class="js-e-search-clear e-search-clear"><em class="material-icons">close</em></span> 611 <button class="e-search-submit btn btn-primary" type="submit"><i class="material-icons pa-0">search</i></button> 612 </div> 613 </form> 614 </div> 615 </div> 616 </div> 617 618 <div class="js-e-search-result-container e-search-result-container"> 619 620 <div class="row justify-content-center"> 621 <div class="col-12 col-md-10 col-lg-8 col-xl-6"> 622 <p class="e-search-result-info small text-muted mt-1 mb-3"><span class="js-e-search-result-count">0</span> @Translate("Search - Result Count - Text", "results")</p> 623 </div> 624 </div> 625 626 <div class="row justify-content-center"> 627 <div class="col-12 col-xl-10"> 628 <div class="js-e-search-result-products e-search-result-products is-empty mb-4"> 629 <script id="js-e-handlebars-tmpl-search-result-item-product" type="text/x-handlebars-template"> 630 <div class="e-products"> 631 <div class="row"> 632 {{#loop products}} 633 <div class="col-2 col-sm-2 col-md-3 col-lg-4 col-xl-5"> 634 <div class="e-products-item"> 635 <div class="e-products-item-container"> 636 <div class="e-products-item-image-container"> 637 <a class="e-products-item-image-wrapper" href="{{url}}"> 638 <img src="{{imageLarge}}" alt="" class="e-products-item-image"> 639 </a> 640 </div> 641 <div class="e-products-item-text-container text-center small"> 642 <h3 class="e-products-item-name mb-0"><a href="{{url}}">{{name}}</a></h3> 643 {{#if descriptionShortExtra01}} 644 <p class="e-products-item-text mb-0 small"> 645 <a href="{{url}}"> 646 {{descriptionShortExtra01}} 647 </a> 648 </p> 649 {{/if}} 650 <p class="e-products-item-text mb-0 small"> 651 <span class="e-products-item-price"> 652 <a href="{{url}}"> 653 {{{price}}} 654 </a> 655 </span> 656 </p> 657 </div> 658 </div> 659 </div> 660 </div> 661 {{/loop}} 662 </div> 663 <p class="js-e-search-products-show-all text-center"><a href="" class="btn btn-outline-primary px-6">@Translate("Search - View All Products - Button", "View All Products")</a></p> 664 </div> 665 </script> 666 </div> 667 </div> 668 </div> 669 670 <div class="row justify-content-center"> 671 <div class="col-12 col-md-10 col-lg-8 col-xl-6"> 672 <div class="js-e-search-result-pages e-search-result-pages is-empty mb-3"> 673 <script id="js-e-handlebars-tmpl-search-result-item-page" type="text/x-handlebars-template"> 674 <div class="row"> 675 {{#loop pages}} 676 <div class="col-12"> 677 <p class="mb-0"><a href="{{{url}}}" class="text-bold">{{{title}}}</a></p> 678 <p class="mb-0 small text-truncate"> 679 <a href="{{{url}}}" class="text-auto text-muted"><span class="d-none d-sm-inline">@GetGlobalValue( "Global:Request.Host" )</span>{{{url}}}</a></p> 680 <p class="small">{{{text}}}...</p> 681 </div> 682 {{/loop}} 683 </div> 684 </script> 685 </div> 686 </div> 687 </div> 688 689 <div class="js-e-search-loading-overlay e-loading-overlay e-search-loading-overlay"> 690 <div class="e-loading-spinner"></div> 691 </div> 692 693 </div> 694 695 </div> 696 </div> 697 </div> 698 </div> 699 </div> 700 } 701 *@ 702 703 @if( Espresso.Area.Item.BackToTopLink == "True" ){ 704 <a href="#top" class="e-back-to-top js-e-back-to-top d-print-none"><i class="material-icons">keyboard_arrow_up</i></a> 705 } 706 707 708 @{ 709 string responsibleEditor = Espresso.Item.ResponsibleEditor ?? string.Empty; 710 List<User> users = new List<User>(); 711 712 foreach( string user in responsibleEditor.Split( ',' ) ) { 713 int currentId; 714 if( int.TryParse( user, out currentId ) ){ 715 User current = User.GetUserByID( currentId ); 716 if( current != null ){ 717 users.Add( current ); 718 } 719 } 720 } 721 } 722 723 <span style="display: none;"> 724 @Translate("Last_updated","Sidst opdateret") @Espresso.DynamicwebPage.Audit.LastModifiedAt.ToString("dd. MMMM yyyy") af 725 @foreach( User user in users ){<a class="editor-tag" href="mailto:@user.Email">@user.Name</a>} 726 </span> 727 728 <script async="" src="/Files/Templates/Designs/skolesites/_assets/_dist/js/default.js?v=1.4"></script> 729 730 @* @if( Espresso.DynamicwebPage.ID != 1469) { *@ 731 732 <script type="text/javascript"> 733 window.addEventListener('CookieInformationConsentGiven', function (event) { 734 if (CookieInformation.getConsentGivenFor('cookie_cat_statistic')) { 735 736 window._monsido = window._monsido || { 737 token: "@monsidoToken", 738 statistics: { 739 enabled: true, 740 documentTracking: { 741 enabled: true, 742 documentCls: "monsido_download", 743 documentIgnoreCls: "monsido_ignore_download", 744 documentExt: ["pdf","doc","ppt","docx","pptx"], 745 }, 746 }, 747 heatmap: { 748 enabled: true, 749 }, 750 }; 751 752 } 753 }, false); 754 </script> 755 <script type="text/javascript" data-category-consent="cookie_cat_statistic" src="" data-consent-src="https://app-script.monsido.com/v2/monsido-script.js"></script> 756 @*}*@ 757 758 <input type="hidden" id="PageId" value="@pageId"> 759 </body> 760 @GetValue( "CopyRightNotice" ) 761 </html>