Hackerrank moved Sandbox to Production. Chubb upload. Webhook test for Anthology's Workato.

This commit is contained in:
Norm Rasmussen
2024-11-05 16:50:39 -05:00
parent 91834dfcc7
commit 6cd64953bf
8 changed files with 276 additions and 242 deletions

View File

@ -0,0 +1,19 @@
{% if current_school.properties.banner_toggle == true %}
<header class="np-header np-banner-header">
<div class="np-alert">
{{ current_school.properties.banner_text }}
</div>
</header>
{% endif %}
<style>
.np-banner-header {
background-color: green;
color: white;
height: 10%;
font-weight: 800;
padding: 10px 10px 10px 10px;
width: 100%;
}
</style>

View File

@ -7,10 +7,10 @@
style="width: 300px; height: auto;"
/>
</a>
<div class="np-sub-navigation-content">
<div class="np-sub-navigation-content">
<div class="np-sub-navigation-content">
<div class="np-sub-navigation-content-item">
<a class="np-sub-navigation-content-item-link" href="https://hackertest.northpass.com/app/dashboard" style="font-weight: bold;">My courses</a>
<a class="np-sub-navigation-content-item-link" href="https://hackerrank.northpass.com/app/dashboard" style="font-weight: bold;">My courses</a>
</div>
</div>
<div class="np-sub-navigation-content">
@ -24,4 +24,4 @@
</div>
</div>
</div>
</header>
</header>

View File

@ -1,5 +1,5 @@
{% include "header" %}
<main class="np-main np-catalog np-subpage-container np-max-width">
<main class="np-main np-catalog np-subpage-container np-max-width" style="margin-bottom: 0; background-image: url('{{ homepage.artwork_url }}');">
{% include "course_version_outdated_alert", courses: courses.in_catalog %}
<div class="np-catalog-header-wrapper">
<div class="np-catalog-header">

View File

@ -1,4 +1,7 @@
<main class="np-main np-homepage"style="margin-bottom: 0; background-image: url('{{ homepage.artwork_url }}');">
<main class="np-main np-homepage"
style="margin-bottom: 0; background-image: url('{{ homepage.artwork_url }}');">
{% include "banner" %}
{% include "header" %}
<div class="np-homepage-hero" style="padding: 80px;">
<div class="np-homepage-hero-content">

View File

@ -9,7 +9,7 @@
{% if current_school.id == staging_school_id %}
{% comment %} <link rel="stylesheet" href="https://cdn.northpass.io/walmart/staging/walmart-styles_11092023_v1.min.css" /> {% endcomment %}
{% elsif current_school.id == production_sandbox_school_id %}
{% comment %} <link rel="stylesheet" href="https://cdn.northpass.io/walmart/production-sandbox/walmart-styles_11092023_v1.min.css" /> {% endcomment %}
<link rel="stylesheet" href="https://cdn.northpass.io/walmart/production-sandbox/walmart-styles_11092023_v1.min.css" />
{% elsif current_school.id == live_school_id %}
<link rel="stylesheet" href="https://cdn.northpass.io/walmart/live/walmart-styles_11092023_v1.min.css" />
{% endif %}
@ -22,8 +22,8 @@
{% comment %} <script src="https://cdn.northpass.io/walmart/staging/walmart-js_11092023_v1.min.js" defer ></script> {% endcomment %}
{% include "js_scripts" %}
{% elsif current_school.id == production_sandbox_school_id %}
{% comment %} <script src="https://cdn.northpass.io/walmart/production-sandbox/walmart-js_11092023_v1.min.js" defer ></script> {% endcomment %}
{% include "js_scripts" %}
<script src="https://cdn.northpass.io/walmart/production-sandbox/walmart-js_01182024_v1.min.js" defer ></script>
{% comment %} {% include "js_scripts" %} {% endcomment %}
{% elsif current_school.id == live_school_id %}
<script src="https://cdn.northpass.io/walmart/live/walmart-js_11092023_v1.min.js" defer ></script>
<script src="https://cdn.northpass.io/walmart/live/walmart-js_01182024_v1.min.js" defer ></script>
{% endif %}

View File

@ -30,6 +30,11 @@
{% capture icon %}
fa-arrow-left{% endcapture %}
{% include "mobile_header", title: "Resource Center", back_icon: icon, back_link: "javascript:sendMessage();" %}
{% if current_school.properties.banner_toggle == true %}
<div class="np-alert" style="height: 65px; margin-top: 55px; padding: 0 0 5px 5px; color:#000000; font-size: 16px; background-color:#FFC220" >
{{ current_school.properties.banner_text }}
</div>
{% endif %}
{% include "sub_navigation" %}
<main class="np-main np-courses np-subpage-container np-max-width">
{% if current_person.signed_in? %}