Cin7 templates. Some wonkiness happening with their catalog filters.
This commit is contained in:
BIN
Custom_Templates/customer_templates/Cin7 External/.DS_Store
vendored
Normal file
BIN
Custom_Templates/customer_templates/Cin7 External/.DS_Store
vendored
Normal file
Binary file not shown.
@ -1,28 +1,7 @@
|
|||||||
{% assign log_out = true %}
|
|
||||||
|
|
||||||
{% if current_person.signed_in? %}
|
|
||||||
{% assign log_out = false %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{%comment%}
|
|
||||||
{% unless partners or both_gorups %}
|
|
||||||
{% if core and course.name contains 'Omni' %}
|
|
||||||
{% assign redirect = true %}
|
|
||||||
{% elsif omni and course.name contains 'Core' %}
|
|
||||||
{% assign redirect = true %}
|
|
||||||
{% endif %}
|
|
||||||
{% endunless %}
|
|
||||||
{% endcomment %}
|
|
||||||
|
|
||||||
{% if log_out %}
|
|
||||||
<script>window.location.replace('/app/learners/sign_in')</script>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<div class="np-card-container">
|
<div class="np-card-container">
|
||||||
<div class="lp-header-container">
|
<div class="np-resource-header np-course-header np-card-padding-large">
|
||||||
<div class="lp-heading lora course-name"> {{ course.name }}</div>
|
{% include "course_header" %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="np-divider"></div>
|
<div class="np-divider"></div>
|
||||||
<div class="row np-course-content np-card-padding-dynamic">
|
<div class="row np-course-content np-card-padding-dynamic">
|
||||||
<div class="col-xs-12 col-sm-6">
|
<div class="col-xs-12 col-sm-6">
|
||||||
|
|||||||
@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src=
|
<script src=
|
||||||
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
||||||
</script>
|
</script>
|
||||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css"/>
|
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css"/>
|
||||||
<!-- Add the slick-theme.css if you want default styling -->
|
<!-- Add the slick-theme.css if you want default styling -->
|
||||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css"/>
|
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css"/>
|
||||||
@ -38,4 +38,4 @@
|
|||||||
removeBadgeShadow();
|
removeBadgeShadow();
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@ -229,7 +229,6 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
{%- comment -%}
|
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
var searchIcon = document.getElementById("search-icon");
|
var searchIcon = document.getElementById("search-icon");
|
||||||
@ -252,4 +251,4 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{%- endcomment -%}
|
|
||||||
|
|||||||
@ -33,13 +33,15 @@
|
|||||||
<a class="np-form-link np-button-color" href="{% route forgot_password_new %}">
|
<a class="np-form-link np-button-color" href="{% route forgot_password_new %}">
|
||||||
{% t .forgot_password %}
|
{% t .forgot_password %}
|
||||||
</a>
|
</a>
|
||||||
{% comment %}
|
|
||||||
|
{% comment %}
|
||||||
{% if features.account_creation? %}
|
{% if features.account_creation? %}
|
||||||
<a class="np-form-link np-button-color" href="{% route sign_up %}">
|
<a class="np-form-link np-button-color" href="{% route sign_up %}">
|
||||||
{% t shared.sign_up %}
|
{% t shared.sign_up %}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% if features.request_access? %}
|
{% if features.request_access? %}
|
||||||
<a
|
<a
|
||||||
class="np-form-link np-button-color"
|
class="np-form-link np-button-color"
|
||||||
@ -60,3 +62,11 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
|
const hash = window.location.hash;
|
||||||
|
if (hash === "#invite=true") {
|
||||||
|
window.location.href = "{% route sign_up %}";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|||||||
@ -1,9 +1,3 @@
|
|||||||
{% assign log_out = true %}
|
|
||||||
|
|
||||||
{% if current_person.signed_in? %}
|
|
||||||
{% assign log_out = false %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% include "header" %}
|
{% include "header" %}
|
||||||
<main class="np-main np-search np-subpage-container np-max-width">
|
<main class="np-main np-search np-subpage-container np-max-width">
|
||||||
<div class="np-resource-title">
|
<div class="np-resource-title">
|
||||||
@ -12,13 +6,13 @@
|
|||||||
<div class="np-search-header">
|
<div class="np-search-header">
|
||||||
<div class="np-resource-subtitle">
|
<div class="np-resource-subtitle">
|
||||||
{% t .showing %}
|
{% t .showing %}
|
||||||
{% comment %} <span class="np-resource-subtitle-number">{{ results.count }}</span> {% endcomment %}
|
<span class="np-resource-subtitle-number">{{ results.count }}</span>
|
||||||
{% t .results_for %}
|
{% t .results_for %}
|
||||||
<span class="np-button-color">"{{ results.term }}"</span>
|
<span class="np-button-color">"{{ results.term }}"</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if results.items.any? %}
|
{% if results.items.any? %}
|
||||||
{% render "search_result" for results.items as result %}
|
{% render "search_result" for results.items as result %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% include "search_zero_state" %}
|
{% include "search_zero_state" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
69.121.5.106
|
98.218.160.230
|
||||||
|
|||||||
Reference in New Issue
Block a user