Skip to content

Commit 00bc7be

Browse files
authored
Merge pull request #168 from uvarc/staging
Staging
2 parents e7c28a9 + 71982ac commit 00bc7be

File tree

812 files changed

+2981
-10085
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

812 files changed

+2981
-10085
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.DS_Store
22
Thumbs.db
3+
a.out
34
public/
45
.*.swp
56
resources/
6-
venv/
7+
venv/

assets/js/academic-search.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ function initSearch(force, fuse) {
5454

5555
// If query deleted, clear results.
5656
if ( query.length < 1) {
57+
$('#search-result-count').empty();
5758
$('#search-hits').empty();
5859
}
5960

@@ -62,6 +63,7 @@ function initSearch(force, fuse) {
6263
return;
6364

6465
// Do search.
66+
$('#search-result-count').empty();
6567
$('#search-hits').empty();
6668
searchAcademic(query, fuse);
6769
let newURL = window.location.protocol + "//" + window.location.host + window.location.pathname + '?q=' + encodeURIComponent(query) + window.location.hash;
@@ -74,11 +76,12 @@ function searchAcademic(query, fuse) {
7476
// console.log({"results": results});
7577

7678
if (results.length > 0) {
77-
$('#search-hits').append('<h2 class="mt-0">' + results.length + ' ' + i18n.results + '</h2>');
79+
$('#search-result-count').html('<h2 class="mt-0">' + results.length + ' ' + i18n.results + '</h2>');
7880
parseResults(query, results);
7981
} else {
80-
$('#search-hits').append('<div class="search-no-results">' + i18n.no_results + '</div>');
82+
$('#search-result-count').html('<div class="search-no-results">' + i18n.no_results + '</div>');
8183
}
84+
// document.querySelector(".search-results").showModal()
8285
}
8386

8487
// Parse search results.

assets/scss/custom.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,23 @@ h6 {
7272
font-size: 1rem;
7373
}
7474

75+
.search-header {
76+
z-index: 1032;
77+
}
7578

7679
html {
7780
scroll-behavior: smooth;
7881
scroll-padding-top: 100px;
7982
}
8083

84+
.close-search-btn {
85+
background: none;
86+
border: none;
87+
padding: 0;
88+
cursor: pointer;
89+
line-height: 1;
90+
}
91+
8192
/* Change the colors for the "light" button */
8293

8394
.btn-light {
@@ -121,6 +132,11 @@ html {
121132
box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
122133
}
123134

135+
#hero {
136+
background-color: rgba(0, 0, 0, 0.45);
137+
background-blend-mode: multiply; // darken background (blend the above color with background image) to improve legibility of white text
138+
}
139+
124140
.hero-title {
125141
font-size: 2.5rem;
126142
}

config/_default/menus.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
weight = 10
1010

1111
[[main]]
12-
name = "Short Courses"
12+
name = "Programming Courses"
1313
url = "courses/"
1414
weight = 20
1515

@@ -20,10 +20,10 @@
2020

2121
[[main]]
2222
name = "People"
23-
url = "authors/"
23+
url = "#people"
2424
weight = 50
2525

2626
[[main]]
2727
name = "Contact"
28-
url = "https://www.rc.virginia.edu/support/"
28+
url = "#slider"
2929
weight = 60

content/authors/abd/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ authors:
99
# Is this the primary user of the site?
1010
superuser: false
1111

12+
user_groups:
13+
- DAC
14+
1215
# Role/position
1316
role: Research Computing Scientist
1417

content/authors/as/_index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ authors:
1010
superuser: false
1111

1212
# Role/position
13-
role: Research Computing Consultant
13+
role: Technical Support Manager
14+
15+
user_groups:
16+
- RC
1417

1518
# Organizations/Affiliations
1619
organizations:

content/authors/bmr/_index.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
# Display name
3+
title: Bruce Rushing
4+
5+
# Username (this should match the folder name)
6+
authors:
7+
- bmr
8+
9+
# Is this the primary user of the site?
10+
superuser: false
11+
12+
user_groups:
13+
- DAC
14+
15+
# Role/position
16+
role: Research Computing Scientist
17+
18+
# Organizations/Affiliations
19+
organizations:
20+
- name: University of Virginia Research Computing
21+
url: "https://www.rc.virginia.edu"
22+
23+
# Short bio (displayed in user profile at end of posts)
24+
#bio:
25+
26+
interests:
27+
- Machine Learning/Deep Learning
28+
- LLMs
29+
30+
---

content/authors/bmr/avatar.jpg

187 KB
Loading

content/authors/cag/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ authors:
1010
superuser: false
1111

1212
# Role/position
13-
role: Research Computing Consultant
13+
role: Former Employee
14+
15+
user_groups:
16+
- Former
1417

1518
# Organizations/Affiliations
16-
organizations:
17-
- name: University of Virginia Research Computing
18-
url: "https://www.rc.virginia.edu"
1919

2020
# Short bio (displayed in user profile at end of posts)
2121
#bio:

content/authors/cmd/_index.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
# Display name
3+
title: Camden Duy
4+
5+
# Username (this should match the folder name)
6+
authors:
7+
- cmd
8+
9+
# Is this the primary user of the site?
10+
superuser: false
11+
12+
# Role/position
13+
role: Research Computing Associate
14+
15+
user_groups:
16+
- RC
17+
18+
# Organizations/Affiliations
19+
organizations:
20+
- name: University of Virginia Research Computing
21+
url: "https://www.rc.virginia.edu"
22+
23+
# Short bio (displayed in user profile at end of posts)
24+
#bio:
25+
26+
interests:
27+
- High Peformance Computing
28+
- GPU computing
29+
30+
---

0 commit comments

Comments
 (0)