kcc-gem-theme 1.65.61 → 1.65.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_data/cache_bust_css.yml +1 -1
- data/_data/navigation.yml +64 -50
- data/_data/theme_hash.yml +1 -1
- data/_includes/body.html +10 -8
- data/_includes/card-section.html +24 -25
- data/_includes/contacts.html +90 -90
- data/_includes/document-head.html +5 -3
- data/_includes/emergency-alerts.html +21 -21
- data/_includes/foot.html +1 -1
- data/_includes/footer.html +306 -163
- data/_includes/header-global.html +49 -25
- data/_includes/hero-slider.html +29 -23
- data/_includes/nav-global-bottom.html +45 -30
- data/_includes/nav-global-top.html +19 -14
- data/_includes/scripts/custom.html +2 -2
- data/_includes/scripts/emergency-alerts.html +2 -2
- data/_includes/scripts/google-api.html +2 -2
- data/_includes/scripts/google-noscript.html +5 -2
- data/_includes/scripts/google-tag.html +23 -24
- data/_includes/scripts/kcc-alerts.html +2 -2
- data/_includes/scripts/kcc-mega-nav.html +2 -2
- data/_includes/scripts/kcc-theme.html +2 -2
- data/_includes/scripts/translate.html +11 -11
- data/_includes/scripts/vendor-cdn.html +1 -1
- data/_includes/styles/fonts.html +2 -9
- data/_includes/styles/main.html +2 -2
- data/_includes/styles/vendor.html +1 -1
- data/_includes/svg/kcc.html +69 -59
- data/_includes/translate.html +3 -3
- data/_layouts/default-core.html +29 -30
- data/assets/css/kcc-theme.css +1 -1
- data/assets/js/theme/dist/kcc-theme.bundle.js +1 -1
- data/assets/js/theme/src/addClassToOpenNavbar.js +20 -0
- data/assets/js/theme/src/all.js +2 -0
- data/assets/scss/1-base/_header-global.scss +6 -3
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58c6d97c4256c6608c67894969e3f2e33087ba8d9a82556882add0fde9ef3a49
|
4
|
+
data.tar.gz: 49ad20ec7fdf465764d3874af1286a3df40e08e89768572f1542677e575da436
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27de5de6bb0ed96f80317a000e22e5e392eb29f98e1847c31e302e4911ca26c34702eb8ed355a3fa44c213f5757b69f20c2e754a97b33c881a4d5e3f616d178b
|
7
|
+
data.tar.gz: 192e71b9d72a731b879ce4e0e528e22ebd0ecebab182fd2ca16b3a742646eb5db656910b9ac75f805a1548d669fff52d1063d54b45451d561341fe5a91197c10
|
data/_data/cache_bust_css.yml
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
dd2fe029ff6cd2bc6218baffc7ecb712 ../assets/scss/kcc-theme.css
|
data/_data/navigation.yml
CHANGED
@@ -4,8 +4,6 @@
|
|
4
4
|
source: 'assets/img/e-tech_a-roberts_mar2016_D41_6690.jpg'
|
5
5
|
alt: 'Student working in an electrical technology lab'
|
6
6
|
dropdown:
|
7
|
-
- text: Register for Classes
|
8
|
-
href: 'register'
|
9
7
|
- text: Courses & Areas of Study
|
10
8
|
href: 'courses'
|
11
9
|
- text: Class Schedule
|
@@ -20,12 +18,16 @@
|
|
20
18
|
href: 'commencement'
|
21
19
|
- text: Final Exam Schedule
|
22
20
|
href: 'final-exams'
|
21
|
+
- text: Register for Classes
|
22
|
+
href: 'register'
|
23
23
|
- link_text: Admissions
|
24
24
|
link_href: admissions
|
25
25
|
image:
|
26
26
|
source: 'assets/img/2016-senior-viewbook.jpg'
|
27
|
-
alt: 'Take the first step to
|
27
|
+
alt: 'Take the first step to achieving your goals, dreams & ambitions'
|
28
28
|
dropdown:
|
29
|
+
- text: Placement Testing
|
30
|
+
href: 'testing'
|
29
31
|
- text: Apply
|
30
32
|
href: 'https://kccedu.force.com/portal/TX_SiteLogin?startURL=%2Fportal%2FTargetX_Base__Portal'
|
31
33
|
- text: Request Information
|
@@ -34,69 +36,81 @@
|
|
34
36
|
href: 'https://visit.kcc.edu'
|
35
37
|
- text: Cav Day
|
36
38
|
href: 'cav-day'
|
37
|
-
- text: '
|
38
|
-
href: '
|
39
|
+
- text: 'Start in High School'
|
40
|
+
href: 'high-school'
|
41
|
+
- text: Veteran Services
|
42
|
+
href: 'veterans'
|
39
43
|
- link_text: Tuition & Aid
|
44
|
+
link_href: 'tuition-and-aid'
|
40
45
|
image:
|
41
46
|
source: 'assets/img/fafsa-early-bird-banner-18.jpg'
|
42
47
|
alt: 'The early bird gets the money. FAFSA available Oct. 1. Apply at fafsa.gov. More details and workshop info at www.kcc.edu/finaid'
|
43
48
|
dropdown:
|
44
|
-
- text:
|
45
|
-
href: '
|
46
|
-
- text:
|
47
|
-
href: '
|
48
|
-
- text: Another action
|
49
|
-
href: '#'
|
50
|
-
- text: Another action
|
51
|
-
href: '#'
|
52
|
-
- text: dropdown-divider
|
53
|
-
- text: Something else here
|
54
|
-
href: '#'
|
49
|
+
- text: Financial Aid
|
50
|
+
href: 'financial-aid'
|
51
|
+
- text: Net Price Calculator
|
52
|
+
href: 'net-price-calculator'
|
55
53
|
- link_text: Student Resources
|
54
|
+
link_href: 'student-resources'
|
56
55
|
image:
|
57
56
|
source: 'assets/img/DSC_5650_helpful.jpg'
|
58
57
|
alt: 'Receptionist answering the phone'
|
59
58
|
dropdown:
|
60
|
-
- text:
|
61
|
-
href: '
|
62
|
-
- text:
|
63
|
-
href: '
|
64
|
-
- text:
|
65
|
-
href: '
|
66
|
-
- text:
|
67
|
-
href: '
|
68
|
-
- text:
|
69
|
-
href: '
|
70
|
-
- text:
|
71
|
-
|
72
|
-
|
59
|
+
- text: Bookstore
|
60
|
+
href: 'http://books.kcc.edu'
|
61
|
+
- text: Clubs & Organizations
|
62
|
+
href: 'clubs'
|
63
|
+
- text: Fitness Center
|
64
|
+
href: 'https://athletics.kcc.edu/facilities/fitness-center'
|
65
|
+
- text: Advising
|
66
|
+
href: 'advising'
|
67
|
+
- text: 'Counseling & Referral Services'
|
68
|
+
href: 'counseling-and-referral-services'
|
69
|
+
- text: Social Services
|
70
|
+
href: 'social-services'
|
71
|
+
- text: Disability Services
|
72
|
+
href: 'disability-services'
|
73
|
+
- text: Student Representatives
|
74
|
+
href: 'student-representatives'
|
75
|
+
- text: Student Complaint Policy
|
76
|
+
href: 'student-complaint-policy'
|
77
|
+
- text: Career Resources
|
78
|
+
href: 'career-resources'
|
79
|
+
- text: Food Pantry
|
80
|
+
href: 'food-pantry'
|
73
81
|
- link_text: Community
|
82
|
+
link_href: 'community'
|
74
83
|
image:
|
75
84
|
source: 'assets/img/go_cavs_20171002_193828-web.jpg'
|
76
85
|
alt: 'Group photo of students holding Cavalier signs'
|
77
86
|
dropdown:
|
78
|
-
- text:
|
79
|
-
href: '
|
80
|
-
- text:
|
81
|
-
href: '
|
82
|
-
- text:
|
83
|
-
href: '
|
84
|
-
- text:
|
85
|
-
|
86
|
-
|
87
|
-
|
87
|
+
- text: Testing Services
|
88
|
+
href: 'testing-services'
|
89
|
+
- text: Continuing Education
|
90
|
+
href: 'https://continuinged.kcc.edu'
|
91
|
+
- text: Sustainability
|
92
|
+
href: 'sustainability'
|
93
|
+
- text: Speakers Bureau
|
94
|
+
href: 'speakers-bureau'
|
95
|
+
- text: Arts & Culture
|
96
|
+
href: 'arts-and-culture'
|
97
|
+
- link_text: About KCC
|
98
|
+
link_href: 'about'
|
88
99
|
image:
|
89
100
|
source: 'assets/img/ATEC-DSC_1033.jpeg'
|
90
101
|
alt: 'The new Advanced Technology Education Center building'
|
91
102
|
dropdown:
|
92
|
-
- text:
|
93
|
-
href: '
|
94
|
-
- text:
|
95
|
-
href: '
|
96
|
-
- text:
|
97
|
-
href: '
|
98
|
-
- text:
|
99
|
-
href: '
|
100
|
-
- text:
|
101
|
-
|
102
|
-
|
103
|
+
- text: Newsroom
|
104
|
+
href: 'https://newsroom.kcc.edu'
|
105
|
+
- text: Leadership
|
106
|
+
href: 'leadership'
|
107
|
+
- text: 'Police & Safety'
|
108
|
+
href: 'police-and-safety'
|
109
|
+
- text: Human Resources
|
110
|
+
href: 'human-resources'
|
111
|
+
- text: ITS
|
112
|
+
href: 'its'
|
113
|
+
- text: Marketing
|
114
|
+
href: 'marketing'
|
115
|
+
- text: 'Institutional Effectiveness'
|
116
|
+
href: 'institutional-effectiveness'
|
data/_data/theme_hash.yml
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
cfc37d41b1592bfba0cc
|
data/_includes/body.html
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
<!-- Custom CSS Stylesheet for CloudCannon -->
|
2
|
+
<link rel="stylesheet" href="{{page.baseurl}}assets/css/content.css">
|
3
|
+
{%- comment -%}
|
4
|
+
<!-- Uncomment to prevent IE-11 caching (for IE testing) -->
|
5
|
+
<!-- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
6
|
+
<META HTTP-EQUIV="Expires" CONTENT="-1"> -->
|
7
|
+
{% endcomment %}
|
8
|
+
</head>
|
9
|
+
<body{% if page.homepage == true %} id="homePage"{% endif %}>
|
10
|
+
<h1 class="sr-only">{%- if page.outline_title -%}{{ page.outline_title }}{% else %}{{ page.title }}{%- endif -%}</h1>
|
data/_includes/card-section.html
CHANGED
@@ -1,27 +1,26 @@
|
|
1
|
-
<section>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
1
|
+
<section>
|
2
|
+
<div class="container">
|
3
|
+
<div class="row">
|
4
|
+
<div class="col margins__col--top section__heading-underline">
|
5
|
+
<h3 class="typography__section--heading margins__heading--btm">{{ page.card_section }}</h3>
|
6
|
+
</div>
|
7
|
+
</div>
|
8
|
+
<div class="row">{% for card in page.cards %}
|
9
|
+
<div class="col-md-6 col-lg-4 text-center mx-auto card-section__col--margin-btm">
|
10
|
+
<div class="mb-3">
|
11
|
+
<a href="{{ card.link }}" class="links__block"><img alt="{{ card.thumb_alt_text }}" class="img-fluid rounded-circle w-50 img__shadow--border" src="{{ page.baseurl }}assets/img/kcc-placeholder-square.png" data-src="{{ page.baseurl }}{{ card.thumb }}" /></a>
|
12
|
+
</div>
|
13
|
+
<a class="links__no-underline" href="{{ card.link }}">
|
14
|
+
<h4 class="typography__orange-h4">{{ card.name }}</h4>
|
15
|
+
</a>
|
16
|
+
<div class="row card-section__text-wrapper">
|
17
|
+
<div class="col align-self-start">
|
18
|
+
<p class="typography__p--bold">{{ card.description }}</p>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
<a href="{{ card.link }}" class="btn btn-primary">{{ card.button_text }}</a>
|
22
|
+
</div>
|
23
|
+
{%- endfor -%}
|
20
24
|
</div>
|
21
25
|
</div>
|
22
|
-
|
23
|
-
</div>
|
24
|
-
{% endfor %}
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
</section>
|
26
|
+
</section>
|
data/_includes/contacts.html
CHANGED
@@ -1,96 +1,96 @@
|
|
1
|
-
{
|
2
|
-
<section>
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
</div>
|
9
|
-
<div class="row editor-link">
|
10
|
-
<div class="col editor-link mb-3">
|
11
|
-
<a href="cloudcannon:collections/_contacts/" class="btn btn-success editor-button">Edit Contacts</a>
|
12
|
-
</div>
|
13
|
-
</div>
|
14
|
-
<div class="row">
|
15
|
-
{% for contact in sorted_contacts %}
|
16
|
-
{% assign contact_name = contact.name | split: " " %}
|
17
|
-
{% assign first = contact_name[0] %}
|
18
|
-
{% assign last = contact_name[1] %}
|
19
|
-
{% if contact.portrait != "For departments with no contact photos, do not change this field." and contact.portrait != 'none' %}
|
20
|
-
<div class="col-md-6 contacts__col-bottom-margin">
|
21
|
-
<div class="row">
|
22
|
-
<div class="col-4 contacts__col--img">
|
23
|
-
<img src="{{ page.baseurl }}assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" alt="Photo of {{ contact.name }}" class="img-fluid contacts__portrait" />
|
1
|
+
{%- assign sorted_contacts = site.contacts | sort: "display_order" -%}
|
2
|
+
<section>
|
3
|
+
<div class="container">
|
4
|
+
<div class="row">
|
5
|
+
<div class="col mt-1 home__col--heading-underline">
|
6
|
+
<h3 id="contact" class="typography__section--heading margins__heading--btm links__offset">Contacts</h3>
|
7
|
+
</div>
|
24
8
|
</div>
|
25
|
-
<div class="
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
{% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
|
30
|
-
{% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&to[last]={{ last }}&submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
|
31
|
-
{% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
|
32
|
-
{% if contact.bio == true %}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
|
33
|
-
</p>
|
9
|
+
<div class="row editor-link">
|
10
|
+
<div class="col editor-link mb-3">
|
11
|
+
<a href="cloudcannon:collections/_contacts/" class="btn btn-success editor-button">Edit Contacts</a>
|
12
|
+
</div>
|
34
13
|
</div>
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
14
|
+
<div class="row">
|
15
|
+
{%- for contact in sorted_contacts -%}
|
16
|
+
{%- assign contact_name = contact.name | split: " " -%}
|
17
|
+
{%- assign first = contact_name[0] -%}
|
18
|
+
{%- assign last = contact_name[1] -%}
|
19
|
+
{% if contact.portrait != "For departments with no contact photos, do not change this field." and contact.portrait != 'none' %}
|
20
|
+
<div class="col-md-6 contacts__col-bottom-margin">
|
21
|
+
<div class="row">
|
22
|
+
<div class="col-4 contacts__col--img">
|
23
|
+
<img src="{{ page.baseurl }}assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" alt="Photo of {{ contact.name }}" class="img-fluid contacts__portrait" />
|
24
|
+
</div>
|
25
|
+
<div class="col-8 float-right">
|
26
|
+
<h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
|
27
|
+
{% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
|
28
|
+
<p class="notranslate">
|
29
|
+
{% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
|
30
|
+
{% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&to[last]={{ last }}&submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
|
31
|
+
{%- if contact.fax -%}Fax: {{ contact.fax }}{% endif %}
|
32
|
+
{%- if contact.bio == true -%}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
|
33
|
+
</p>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
{% elsif contact.portrait == 'none' %}
|
38
|
+
<div class="col-md-6 contacts__col-bottom-margin">
|
39
|
+
<div class="row">
|
40
|
+
<div class="col-4 contacts__col--img">
|
41
|
+
<!-- No contact portrait -->
|
42
|
+
</div>
|
43
|
+
<div class="col-8 float-right">
|
44
|
+
<h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
|
45
|
+
{% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
|
46
|
+
<p class="notranslate">
|
47
|
+
{% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
|
48
|
+
{% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&to[last]={{ last }}&submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
|
49
|
+
{%- if contact.fax -%}Fax: {{ contact.fax }}{% endif %}
|
50
|
+
{%- if contact.bio == true -%}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
|
51
|
+
</p>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
{% else %}
|
56
|
+
<div class="col-sm-6 col-md-4 mb-3">
|
57
|
+
<h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
|
58
|
+
{% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
|
59
|
+
<p class="notranslate">
|
60
|
+
{% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
|
61
|
+
{% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&to[last]={{ last }}&submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
|
62
|
+
{% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
|
63
|
+
{% if contact.bio == true %}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
|
64
|
+
</p>
|
65
|
+
</div>
|
66
|
+
{%- endif -%}
|
67
|
+
{%- endfor -%}
|
42
68
|
</div>
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
69
|
+
</div>
|
70
|
+
</section>
|
71
|
+
{% for contact in sorted_contacts %}
|
72
|
+
{%- if contact.bio == true -%}
|
73
|
+
<!-- Modal -->
|
74
|
+
<div class="modal fade" id="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}" tabindex="-1" aria-labelledby="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}-label" aria-hidden="true">
|
75
|
+
<div class="modal-dialog">
|
76
|
+
<div class="modal-content">
|
77
|
+
<div class="modal-header">
|
78
|
+
<h5 class="typography__h6" id="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}-label">{{ contact.name }} Bio</h5>
|
79
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
80
|
+
<span aria-hidden="true">×</span>
|
81
|
+
</button>
|
82
|
+
</div>
|
83
|
+
<div class="modal-body">
|
84
|
+
{% if contact.portrait %}<img src="{{ page.baseurl }}assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" class="img-fluid float-left mr-2 mb-2" alt="Photo of {{ contact.name }} KCC's {{ contact.contacts_title }}">{% endif %}
|
85
|
+
<h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
|
86
|
+
{% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
|
87
|
+
{{ contact.content }}
|
88
|
+
</div>
|
89
|
+
<div class="modal-footer">
|
90
|
+
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
91
|
+
</div>
|
52
92
|
</div>
|
53
93
|
</div>
|
54
94
|
</div>
|
55
|
-
{
|
56
|
-
|
57
|
-
<h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
|
58
|
-
{% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
|
59
|
-
<p class="notranslate">
|
60
|
-
{% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
|
61
|
-
{% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&to[last]={{ last }}&submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
|
62
|
-
{% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
|
63
|
-
{% if contact.bio == true %}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
|
64
|
-
</p>
|
65
|
-
</div>
|
66
|
-
{% endif %}
|
67
|
-
{% endfor %}
|
68
|
-
</div>
|
69
|
-
</div>
|
70
|
-
</section>
|
71
|
-
{% for contact in sorted_contacts %}
|
72
|
-
{% if contact.bio == true %}
|
73
|
-
<!-- Modal -->
|
74
|
-
<div class="modal fade" id="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}" tabindex="-1" aria-labelledby="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}-label" aria-hidden="true">
|
75
|
-
<div class="modal-dialog">
|
76
|
-
<div class="modal-content">
|
77
|
-
<div class="modal-header">
|
78
|
-
<h5 class="typography__h6" id="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}-label">{{ contact.name }} Bio</h5>
|
79
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
80
|
-
<span aria-hidden="true">×</span>
|
81
|
-
</button>
|
82
|
-
</div>
|
83
|
-
<div class="modal-body">
|
84
|
-
{% if contact.portrait %}<img src="{{ page.baseurl }}assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" class="img-fluid float-left mr-2 mb-2" alt="Photo of {{ contact.name }} KCC's {{ contact.contacts_title }}">{% endif %}
|
85
|
-
<h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
|
86
|
-
{% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
|
87
|
-
{{ contact.content }}
|
88
|
-
</div>
|
89
|
-
<div class="modal-footer">
|
90
|
-
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
91
|
-
</div>
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
</div>
|
95
|
-
{% endif %}
|
96
|
-
{% endfor %}
|
95
|
+
{%- endif -%}
|
96
|
+
{% endfor %}
|
@@ -13,7 +13,9 @@
|
|
13
13
|
Theme & theme's build-process coded and developed by Wesley Zajicek for KCC 2019-2020
|
14
14
|
Author: Wesley Zajicek | https://github.com/wdzajicek
|
15
15
|
-->
|
16
|
-
{% if site.humans_file == true %}
|
17
|
-
|
16
|
+
{% if site.humans_file == true %}
|
17
|
+
<!-- The human's, the human's!! -->
|
18
|
+
<link rel="author" type="text/plain" href="/humans.txt" />
|
19
|
+
{%- endif -%}
|
18
20
|
<!-- Standard Favicon -->
|
19
|
-
<link rel="icon" type="image/x-icon" href="{{page.baseurl}}favicon.ico"/>
|
21
|
+
<link rel="icon" type="image/x-icon" href="{{page.baseurl}}favicon.ico"/>
|
@@ -1,29 +1,29 @@
|
|
1
|
-
<div id="emergencyAlerts" class="position__offset-alert{% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
<div id="emergencyAlerts" class="position__offset-alert{% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}">
|
2
|
+
<!-- Alerts get built here via JS if they are set to be active -->
|
3
|
+
{%- comment -%}
|
4
|
+
<div class="container position__offset-alert">
|
5
|
+
<div class="row">
|
6
|
+
<div class="col">
|
7
|
+
<div class="alert alert-warning">
|
8
|
+
<p class="typography__alert mb-0"><strong>Alert</strong>: All KCC facilities will be closed March 18-30. Credit classes resume online March 23. <a href="https://coronavirus.kcc.edu/" target="_blank" rel="noopener noreferrer">coronavirus.kcc.edu</a> has details.</p>
|
9
|
+
</div>
|
10
|
+
</div>
|
9
11
|
</div>
|
10
12
|
</div>
|
13
|
+
{% endcomment %}
|
11
14
|
</div>
|
12
|
-
|
13
|
-
{% endcomment %}
|
14
|
-
</div>
|
15
|
-
{% comment %}
|
15
|
+
{%- comment -%}
|
16
16
|
|
17
|
-
<!-- TODO:
|
17
|
+
<!-- TODO:
|
18
18
|
|
19
|
-
|
19
|
+
AFTER CORE IS LAUNCHED
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
REMOVE:
|
22
|
+
```
|
23
|
+
{% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}
|
24
|
+
```
|
25
|
+
(ALSO REMOVE FROM CONFIG)
|
26
26
|
|
27
|
-
ENDTODO -->
|
27
|
+
ENDTODO -->
|
28
28
|
|
29
|
-
{
|
29
|
+
{%- endcomment -%}
|