Tons of Solutions Engineering work done today for the rest of the CS team! Headway, Howard Hanna, Engels, Brighton, etc. Also completed Datasnippers auth flow and worked on Anthology's script. Cloned Anthology's courses (900..) and will clone Full Story on Monday.
This commit is contained in:
@ -0,0 +1,187 @@
|
||||
{% assign rand_realty_groups = "8f637c703ec45ac5dec70ee9517155aa0d9775c2,613932dbeb1595c00b78de8d1860a3bfdb479b22,176629fa82da1d03f3d58c81e751e61b9836a46d,91ee3a2db2f3f8b71a9d6a2d664781c8ed10e5cb,e9d26fef9adb61c4b523a273aba18c35d40b7a94,a468fb6f64f5af9757d7f60891d2240c7ea43c1e,9a70c58d13cabfc6a1b3bf63f14caaaf097fc43e,32ada17825448e171287f0c7625e2ad1ed051b0f" | split:","%}
|
||||
{% assign isAllenTate = false %}
|
||||
{% assign isHowardHanna = false %}
|
||||
{% assign isRandRealty = false %}
|
||||
{% for group in current_person.groups %}
|
||||
{% if group.enrollment_code == "1817d8c96780f13abbf0f2023e3b26b3bd43d248" %}
|
||||
{% assign isAllenTate = true %}
|
||||
{% elsif group.enrollment_code == "ccd2aa2f1e41ebbac8fa878f806e3ccc20ae3f38" or
|
||||
group.enrollment_code == "aa6fe8d22ec1e75d2e8c54c6d5452dcd585e415d" %}
|
||||
{% assign isHowardHanna = true %}
|
||||
{% elsif rand_realty_groups contains group.enrollment_code %}
|
||||
{% assign isRandRealty = true %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if isAllenTate %}
|
||||
{% include "styles_at" %}
|
||||
{% elsif isHowardHanna %}
|
||||
{% include "styles_hh" %}
|
||||
{% elsif isRandRealty %}
|
||||
{% include "styles_rand" %}
|
||||
{% endif %}
|
||||
|
||||
{% if isAllenTate %}
|
||||
<script>
|
||||
var link = document.querySelector("link[rel~='icon']");
|
||||
if (!link) {
|
||||
link = document.createElement('link');
|
||||
link.rel = 'icon';
|
||||
document.getElementsByTagName('head')[0].appendChild(link);
|
||||
}
|
||||
link.href = 'https://s3-us-west-2.amazonaws.com/static.schoolkeep.com/AllenTate/Realtors_1C_burg.png';
|
||||
|
||||
document.title = 'Tate University';
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% unless isRandRealty %}
|
||||
<footer class="uk-padding-large-vertical uk-border-top">
|
||||
<div class="uk-container uk-container-center">
|
||||
{% if isHowardHanna %}
|
||||
<img src="https://s3-us-west-2.amazonaws.com/static.schoolkeep.com/HowardHanna/HannaU-Logo-White.png">
|
||||
{% elsif isAllenTate %}
|
||||
<img src="https://s3.us-west-2.amazonaws.com/static.schoolkeep.com/AllenTate/Tate+Uni+Logo+Lockup+White.png" class="small-height">
|
||||
{% endif %}
|
||||
|
||||
<div class="uk-grid uk-padding-large-left uk-padding-large-right float-right">
|
||||
|
||||
<div class="uk-width-small-1-1 uk-width-medium-7-10 uk-margin-bottom float-right">
|
||||
{% if website_footer.show_customer_service_email? and website_footer.school_customer_service_email %}
|
||||
<p class="uk-text-center-small white-text">
|
||||
{% t .need_help %}
|
||||
{% t .email %}
|
||||
{% if isHowardHanna%}
|
||||
<a class="white-text" href="mailto:{{ website_footer.school_customer_service_email }}">
|
||||
{{ website_footer.school_customer_service_email }}
|
||||
</a>
|
||||
{% elsif isAllenTate %}
|
||||
<a class="white-text" style="color:white !important;" href="mailto:training@allentate.com">
|
||||
training@allentate.com
|
||||
</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{% else %}
|
||||
{% include 'footer_rand' %}
|
||||
{% endunless %}
|
||||
|
||||
<script src="//code.jquery.com/jquery-2.0.3.min.js"></script>
|
||||
|
||||
<script>
|
||||
function filterResourcesByCategory() {
|
||||
$('#hh-dropdown').change(function(){
|
||||
var dropdownValue = this.value;
|
||||
$(this).siblings().each(function() {
|
||||
element = $(this);
|
||||
var id = $(this).attr('id');
|
||||
if (typeof id !== "undefined" ) {
|
||||
if (id !== dropdownValue && id.startsWith("c-")) {
|
||||
element.css('display','none');
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
window.onload = function() {
|
||||
filterResourcesByCategory();
|
||||
var openButton = document.getElementsByClassName('marketing-nav__hamburger')[0];
|
||||
var closeButton = document.getElementsByClassName('drawer__close-button')[0];
|
||||
var mobileNavOverlay = document.getElementsByClassName('mobile-nav__overlay')[0];
|
||||
|
||||
if (typeof(openButton) != 'undefined' && openButton != null) {
|
||||
openButton.addEventListener('click', function() {
|
||||
document.body.classList.add("js-drawer-open");
|
||||
});
|
||||
|
||||
closeButton.addEventListener('click', function() {
|
||||
document.body.classList.remove("js-drawer-open");
|
||||
});
|
||||
|
||||
mobileNavOverlay.addEventListener('click', function() {
|
||||
document.body.classList.remove("js-drawer-open");
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
@font-face {
|
||||
font-family:"avenir";
|
||||
src:url("https://s3-us-west-2.amazonaws.com/static.schoolkeep.com/fonts/Avenir.ttc") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family:"avenir-next";
|
||||
src:url("https://s3-us-west-2.amazonaws.com/static.schoolkeep.com/fonts/Avenir+Next.ttc") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family:"avenir-next-condensed";
|
||||
src:url("https://s3-us-west-2.amazonaws.com/static.schoolkeep.com/fonts/Avenir+Next+Condensed.ttc") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family:"avenir-next-lt-pro-bold";
|
||||
src:url("https://s3-us-west-2.amazonaws.com/static.schoolkeep.com/fonts/AvenirNextLTPro-Bold.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family:"avenir-next-lt-pro-cn-it";
|
||||
src:url("https://s3-us-west-2.amazonaws.com/static.schoolkeep.com/fonts/AvenirNextLTPro-CnIt.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family:"avenir-next-lt-pro-demi";
|
||||
src:url("https://s3-us-west-2.amazonaws.com/static.schoolkeep.com/fonts/AvenirNextLTPro-Demi.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family:"avenir-next-lt-pro-heavy";
|
||||
src:url("https://s3-us-west-2.amazonaws.com/static.schoolkeep.com/fonts/AvenirNextLTPro-Heavy.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family:"avenir-next-lt-pro-regular";
|
||||
src:url("https://s3-us-west-2.amazonaws.com/static.schoolkeep.com/fonts/AvenirNextLTPro-Regular.ttf") format("truetype");
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
font-family: "avenir", sans-serif !important;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: "avenir", sans-serif !important;
|
||||
}
|
||||
|
||||
.uk-navbar-nav>li>a {
|
||||
font-family: "avenir", sans-serif !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
<style>
|
||||
.arrow {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.breadcrumbs {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.breadcrumbs a {
|
||||
color: #0061df;
|
||||
}
|
||||
|
||||
.breadcrumbs p {
|
||||
margin: 40px 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>
|
||||
Reference in New Issue
Block a user