Files
Gainsight/Custom_Templates/customer_templates/BuilderTrend External/testing-page.html.liquid

136 lines
3.9 KiB
Plaintext

{% include "header" %}
<style>
h2, h3, li, p{
color: #202227;
}
</style>
<main>
<h2>{{ custom_page.headline }}</h2>
<h3>{{ custom_page.subheadline }}</h3>
<div style="display:flex; flex-wrap: wrap;">
{% if courses.enrolled.any? %}
<div class="row row-with-thumbnails" style=" display: grid; grid-template-columns: repeat(3, 1fr);">
{% for course in courses.enrolled %}
<div >
{% include "cards_course" with course %}
</div>
{% endfor %}
</div>
{% else %}
{% capture message %}
{% t shared.zero_state.courses.index,
key: current_school.course_vocabulary
%}
{% endcapture %}
{% include "courses_zero_state", message: message %}
{% endif %}
<h1>Second Piece</h1>
{% assign isCoursesCompleted = false %}
{% assign isCourseHeaderOutput = false %}
{% for course in courses.in_catalog %}
{% unless course.has_certificate? %}
{% if course.progress == 100 %}
{% if isCourseHeaderOutput == false %}
<div class="np-resource-title addWidthMargin">Completed courses</div>
{% assign isCourseHeaderOutput = true %}
{% endif %}
<div class="col-xs-12 col-sm-6 col-lg-4 np-stretch-content catalog-content"
data-categories='{% for category in course.categories %}{{ category.id }},{% endfor %}'>
{% include "cards_course" with course %}
</div>
{% assign isCoursesCompleted = true %}
{% endif %}
{% endunless %}
{% endfor %}
</div>
</main>
{% include "footer" %}
<style>
.card-activity-count{
padding-left: 14px;
margin-top: -70px;
padding-bottom: 35px;
font-family: 'GT WALSHEIM';
color: #666D7C;
font-weight: 700;
font-size: 18px;
}
.activity-label{
font-size: 16px;
font-weight: 400;
}
.circle-progress{
width: 50px;
height: 50px;
border-radius: 50%;
background: conic-gradient(blue 0% var(--percentage), darkgrey var(--percentage) 100%);
border: 1px solid black;
}
.bla-card {
border-radius: 12px;
box-shadow: 2px 2px 20px 0px rgba(0, 17, 44, 0.25);
background-color: #FFFFFF;
}
.bla-header{
background-color: #0763FB;
font-family: 'Inter', sans-serif;
font-size: 18px;
font-weight: 500;
line-height: 24px;
color: #FFFFFF;
padding: 8px 0 8px 19px;
border-radius: 12px 12px 0 0;
}
.bla-content{
text-align: center;
padding: 20px;
}
.bla-title{
font-family: 'GT Walsheim', sans-serif;
font-size: 22px;
font-weight: 500;
}
.bla-date{
font-family: 'Inter', sans-serif;
font-size: 18px;
text-align: center;
}
.bla-cta{
border-radius: 10px;
border: 2px solid rgba(255, 255, 255, 0.10);
background: var(--color-blue-60, #0763FB);
box-shadow: 0px 2px 2px -1px rgba(0, 0, 0, 0.08), 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
padding: 9px 18px;
color: white;
font-size: 18px;
font-weight: 700;
margin: 0 auto;
}
.bla-allsessions{
font-size: 14px;
font-weight: 500;
line-height: 25px;
color: #004FD6;
position: relative;
}
.bla-cta a {
text-decoration: none;
color: #FFFFFF;
}
.bla-allsessions a{
text-decoration: none;
color: #004FD6;
}
.bla-allsessions a::after{
content: url('https://buildertrend.com/wp-content/uploads/2024/12/CTA-Arrow.svg');
margin-left: 7px;
bottom: 10px;
position: absolute;
}
</style>