Updated blacklane, chubb and anthology's templates. Some small script updates. Todos.
This commit is contained in:
@ -10,9 +10,9 @@
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.4/tiny-slider.css">
|
||||
|
||||
<!-- Slick -->
|
||||
<script src=
|
||||
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
||||
</script>
|
||||
<script src=
|
||||
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
||||
</script>
|
||||
<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 -->
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css"/>
|
||||
@ -86,11 +86,11 @@
|
||||
categoryFiltersArray.forEach(function(category, index) {
|
||||
category.textContent = category.textContent.replace('$', '');
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function resultCounter() {
|
||||
if (window.location.pathname.includes('search')) {
|
||||
if (window.location.pathname.includes('search')) {
|
||||
var searchCardsLenght = document.querySelectorAll('.np-search-result').length;
|
||||
var searchNumber = document.getElementById('search-number').innerText = searchCardsLenght;
|
||||
}
|
||||
@ -111,4 +111,4 @@
|
||||
resultCounter();
|
||||
removeCertifacteeVerificationCard();
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
@ -0,0 +1,34 @@
|
||||
{% include "header" %}
|
||||
{% include "account_tabs" %}
|
||||
|
||||
<main class="np-main np-subpage-container np-transcript">
|
||||
{% transcript %}
|
||||
</main>
|
||||
|
||||
{% include "footer" %}
|
||||
|
||||
<style>
|
||||
.mqTXK {
|
||||
display: none;
|
||||
}
|
||||
.hdamrx.hdamrx{
|
||||
color: #6e27c5;
|
||||
}
|
||||
.fyqyDA:focus {
|
||||
box-shadow: rgb(255, 255, 255) 0px 0px 0px 4px, #ffb619 0px 0px 0px 6px;
|
||||
}
|
||||
.fyqyDA.Button-dropdown:active,
|
||||
.fyqyDA.Button-dropdown.Button-active {
|
||||
background-color: #ffb619;
|
||||
border-color: #ffb619;
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$( window ).on( "load", function() {
|
||||
if(document.querySelector('[class="sc-hKpBwk dJbOiC Transcript_Caption"]').innerHTML.includes('Transcript for')) {
|
||||
document.querySelector('[class="sc-hKpBwk dJbOiC Transcript_Caption"]').innerHTML = "<h3 class='sc-hKpBwk dJbOiC Transcript_Caption'>Transcript</h3>";
|
||||
}
|
||||
}
|
||||
);
|
||||
</script>
|
||||
Reference in New Issue
Block a user