We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b46d46b commit d419e41Copy full SHA for d419e41
5 files changed
index.html
@@ -101,7 +101,7 @@ <h3 class="text-muted">the <span class="text-primary">python</span> programming
101
<div role="tabpanel" class="tab-pane fade in active" id="overview">
102
103
<!-- Start of the Final Project Showcase -->
104
- <!--
+
105
<div class="row">
106
<div>
107
<div class="projects">
@@ -117,13 +117,13 @@ <h4 class="text-primary">Final Project Showcase</h4>
117
<tbody>
118
<!-- Showcase inserted here by resources.js TODO - add closing
119
comment to this when uncommenting the final project showcase
120
- since HTML comments don't nest
+ since HTML comments don't nest -->
121
</tbody>
122
</table>
123
</div>
124
125
126
- -->
127
<!-- End of the Final Project Showcase -->
128
129
js/resources.js
@@ -220,27 +220,29 @@ function create_showcase_tr(project) {
220
$('<td>').append(
221
// $('<center>').attr('scope', 'row').append(
222
$('<b>').append(
223
- project.Title.concat("<br>"))).append(
224
- project.Authors.concat("<br>")).append(
225
- create_anchor(project.href, project.DemoType, "None", gtag_trackShowcaseLink)
226
- // )
+ project.title.concat("<br>"))).append(
+ project.authors.concat("<br>")).append(
+ create_anchor(project.readmeLink, "README", "None", gtag_trackShowcaseLink)
+ ));
227
+ $tr.append($("<br>").append(
228
+ create_anchor(project.codeLink, project.codeSource, "None", gtag_trackShowcaseLink)
229
));
230
231
// Add images if they're applicable
232
if (project.img.length > 0){
233
$tr.append(
234
- '<img src="'.concat(project.img, '"">')
235
+ '<img src="'.concat(project.img, width="200", height="100", '"">')
236
237
}
238
else {
239
// Occupy the right hand column with something.
240
241
- ""
242
+ project.ext
243
244
-
245
+ console.log($tr)
246
return $tr;
247
248
res/.DS_Store
2 KB
res/projectimages/erickha.png
210 KB
res/projects.json
@@ -1,23 +1,24 @@
1
[
2
{
3
"uid": "4d4fd06d-adf8-4161-8fb0-27a9590231c2",
4
- "Title": "Project Title",
5
- "Authors": "Author1, Author2",
6
- "DemoType": "GitHub",
7
- "href": "https://google.com",
+ "title": "TweetInsight",
+ "authors": "AJ Arnolie",
+ "readmeLink": "https://www.github.com",
+ "codeSource": "GitHub",
8
+ "codeLink": "https://www.github.com",
9
"img": "",
- "imgAlt": "altText",
10
+ "imgAlt": "",
11
"ext": ""
12
},
13
14
- "Title": "Project Title2",
15
16
17
18
- "img": "https://www.python.org/static/community_logos/python-logo.png",
19
20
+ "img": "",
21
22
23
24
]
0 commit comments