Skip to content
Snippets Groups Projects
Commit ced08888 authored by Jeff Sturek's avatar Jeff Sturek
Browse files

Support WDN version 5.3

parent 03453738
No related branches found
No related tags found
1 merge request!20Support WDN version 5.3
<!DOCTYPE html> <!DOCTYPE html>
<% template_dep_version = '5.2.0' %> <% template_dep_version = '5.3.0' %>
<html class="dcf-no-js dcf-no-webp" lang="en"> <html class="dcf-no-js dcf-no-webp" lang="en">
<head> <head>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/head-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/head-1.html"))).result %>
<!-- <!--
Membership and regular participation in the University of Nebraska–Lincoln (UNL) Web Developer Network (WDN) is required to use the UNLedu Web Framework. Visit the WDN site at https://wdn.unl.edu/. Register for our mailing list and add your site or server to UNL Web Audit. Membership and regular participation in the University of Nebraska–Lincoln (UNL) Web Developer Network (WDN) is required to use the UNLedu Web Framework. Visit the WDN site at https://wdn.unl.edu/. Register for our mailing list and add your site or server to UNL Web Audit.
All framework code is the property of the UNL Web Developer Network. The code seen in a source code view is not, and may not be used as, a template. You may not use this code, a reverse-engineered version of this code, or its associated visual presentation in whole or in part to create a derivative work. All framework code is the property of the UNL Web Developer Network. The code seen in a source code view is not, and may not be used as, a template. You may not use this code, a reverse-engineered version of this code, or its associated visual presentation in whole or in part to create a derivative work.
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<!-- TemplateBeginEditable name="doctitle" --> <!-- TemplateBeginEditable name="doctitle" -->
<title><%= @title %> | University of Nebraska&ndash;Lincoln</title> <title><%= @title %> | University of Nebraska&ndash;Lincoln</title>
<!-- TemplateEndEditable --> <!-- TemplateEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/head-2-local.html"))).result.gsub('$DEP_VERSION$', template_dep_version) %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/head-2-local.html"))).result.gsub('$DEP_VERSION$', template_dep_version) %>
<!-- TemplateBeginEditable name="head" --> <!-- TemplateBeginEditable name="head" -->
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="/css/resource_scheduler.css"> <link rel="stylesheet" href="/css/resource_scheduler.css">
...@@ -21,67 +21,67 @@ ...@@ -21,67 +21,67 @@
<% if defined?(kiosk_mode) && kiosk_mode == 'true' %> <% if defined?(kiosk_mode) && kiosk_mode == 'true' %>
<link rel="stylesheet" href="/css/kiosk.css"> <link rel="stylesheet" href="/css/kiosk.css">
<% end %> <% end %>
<link rel="preload" href="/wdn/templates_5.2/css/deprecated.css" as="style" onload="this.onload=null;this.rel='stylesheet'"> <link rel="preload" href="/wdn/templates_5.3/css/deprecated.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="/wdn/templates_5.2/css/deprecated.css"></noscript> <noscript><link rel="stylesheet" href="/wdn/templates_5.3/css/deprecated.css"></noscript>
<link rel="stylesheet" href="/css/jquery.mCustomScrollbar.min.css" /> <link rel="stylesheet" href="/css/jquery.mCustomScrollbar.min.css" />
<!-- TemplateEndEditable --> <!-- TemplateEndEditable -->
<!-- TemplateParam name="class" type="text" value="" --> <!-- TemplateParam name="class" type="text" value="" -->
</head> </head>
<body class="unl" data-version="5.2"> <body class="unl" data-version="5.3">
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/skip-nav.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/skip-nav.html"))).result %>
<header class="dcf-header" id="dcf-header" role="banner"> <header class="dcf-header" id="dcf-header" role="banner">
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/header-global-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/header-global-1.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/cta-header-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/cta-header-1.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/visit-header-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/visit-header-1.html"))).result %>
<!-- InstanceBeginEditable name="headervisit" --> <!-- InstanceBeginEditable name="headervisit" -->
<!-- InstanceEndEditable --> <!-- InstanceEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/visit-header-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/visit-header-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/apply-header-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/apply-header-1.html"))).result %>
<!-- InstanceBeginEditable name="headerapply" --> <!-- InstanceBeginEditable name="headerapply" -->
<!-- InstanceEndEditable --> <!-- InstanceEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/apply-header-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/apply-header-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/give-header-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/give-header-1.html"))).result %>
<!-- InstanceBeginEditable name="headergive" --> <!-- InstanceBeginEditable name="headergive" -->
<!-- InstanceEndEditable --> <!-- InstanceEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/give-header-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/give-header-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/cta-header-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/cta-header-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/idm.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/idm.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/search.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/search.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/header-global-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/header-global-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/logo-lockup-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/logo-lockup-1.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/site-affiliation-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/site-affiliation-1.html"))).result %>
<!-- InstanceBeginEditable name="affiliation" --> <!-- InstanceBeginEditable name="affiliation" -->
<!-- InstanceEndEditable --> <!-- InstanceEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/site-affiliation-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/site-affiliation-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/site-title-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/site-title-1.html"))).result %>
<!-- InstanceBeginEditable name="titlegraphic" --> <!-- InstanceBeginEditable name="titlegraphic" -->
<a class="dcf-txt-h5" href="/">UNL Resource Scheduler</a> <a class="dcf-txt-h5" href="/">UNL Resource Scheduler</a>
<!-- InstanceEndEditable --> <!-- InstanceEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/site-title-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/site-title-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/logo-lockup-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/logo-lockup-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/nav-toggle-group.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/nav-toggle-group.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/nav-menu-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/nav-menu-1.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/nav-toggle-btn.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/nav-toggle-btn.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/nav-menu-child-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/nav-menu-child-1.html"))).result %>
<!-- InstanceBeginEditable name="navlinks" --> <!-- InstanceBeginEditable name="navlinks" -->
<%= erb :'template_partials/navigation' %> <%= erb :'template_partials/navigation' %>
<!-- InstanceEndEditable --> <!-- InstanceEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/cta-nav-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/cta-nav-1.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/visit-nav-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/visit-nav-1.html"))).result %>
<!-- InstanceBeginEditable name="navvisit" --> <!-- InstanceBeginEditable name="navvisit" -->
<!-- InstanceEndEditable --> <!-- InstanceEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/visit-nav-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/visit-nav-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/apply-nav-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/apply-nav-1.html"))).result %>
<!-- InstanceBeginEditable name="navapply" --> <!-- InstanceBeginEditable name="navapply" -->
<!-- InstanceEndEditable --> <!-- InstanceEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/apply-nav-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/apply-nav-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/give-nav-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/give-nav-1.html"))).result %>
<!-- InstanceBeginEditable name="navgive" --> <!-- InstanceBeginEditable name="navgive" -->
<!-- InstanceEndEditable --> <!-- InstanceEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/give-nav-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/give-nav-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/cta-nav-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/cta-nav-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/nav-menu-child-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/nav-menu-child-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/nav-menu-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/nav-menu-2.html"))).result %>
</header> </header>
<main class="dcf-main" id="dcf-main" role="main" tabindex="-1"> <main class="dcf-main" id="dcf-main" role="main" tabindex="-1">
<% unless defined?(kiosk_mode) && kiosk_mode == 'true' %> <% unless defined?(kiosk_mode) && kiosk_mode == 'true' %>
...@@ -165,15 +165,15 @@ ...@@ -165,15 +165,15 @@
<footer class="dcf-footer" id="dcf-footer" role="contentinfo"> <footer class="dcf-footer" id="dcf-footer" role="contentinfo">
<!-- TemplateBeginEditable name="optionalfooter" --> <!-- TemplateBeginEditable name="optionalfooter" -->
<!-- TemplateEndEditable --> <!-- TemplateEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/footer-global-1.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/footer-global-1.html"))).result %>
<!-- TemplateBeginEditable name="contactinfo" --> <!-- TemplateBeginEditable name="contactinfo" -->
<%= erb :'template_partials/footer' %> <%= erb :'template_partials/footer' %>
<!-- TemplateEndEditable --> <!-- TemplateEndEditable -->
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/footer-global-2.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/footer-global-2.html"))).result %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/noscript.html"))).result %>
</footer> </footer>
<% end %> <% end %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/noscript.html"))).result %> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.3/includes/global/js-body-local.html"))).result.gsub('$DEP_VERSION$', template_dep_version) %>
<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.2/includes/global/js-body-local.html"))).result.gsub('$DEP_VERSION$', template_dep_version) %>
<!-- TemplateBeginEditable name="jsbody" --> <!-- TemplateBeginEditable name="jsbody" -->
<!-- Put your custom JavaScript here --> <!-- Put your custom JavaScript here -->
<script type="text/javascript">WDN.initializePlugin("notice");</script> <script type="text/javascript">WDN.initializePlugin("notice");</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment