Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Parajuli
website
Commits
9160a0c0
Commit
9160a0c0
authored
May 28, 2021
by
Joe TS Dell
Browse files
update
parent
58513163
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/content/content.json
View file @
9160a0c0
...
...
@@ -41,7 +41,10 @@
},
"links"
:
{
"youtube"
:
"https://www.youtube.com/watch?v=T5jF20yXcWw"
,
"demo"
:
"http://193.196.37.89:8083/visionzero/"
"demo"
:
"http://193.196.37.89:8083/visionzero/"
,
"publication"
:
"https://doi.org/10.5194/isprs-annals-VI-4-W2-2020-143-2020"
,
"project"
:
"https://www.hft-stuttgart.de/forschung/i-city"
,
},
"refIndex"
:
2
},
...
...
public/js/add_content.js
View file @
9160a0c0
...
...
@@ -39,6 +39,16 @@ function addcontent(item) {
var
publicationLink
=
item
.
links
.
publication
publicationHTML
=
`<a class="btn btn-sm btn-outline-primary" href="
${
publicationLink
}
" target="_blank"> <i class="fas fa-book"></i> Publication</a>`
}
var
projectHTML
=
''
if
(
'
project
'
in
item
.
links
)
{
var
projectLink
=
item
.
links
.
project
projectHTML
=
`<a class="btn btn-sm btn-outline-primary" href="
${
projectLink
}
" target="_blank"> <i class="fas fa-project-diagram"></i> Project</a>`
}
var
presentationHTML
=
''
if
(
'
presentation
'
in
item
.
links
)
{
var
presentationLink
=
item
.
links
.
presentation
presentationHTML
=
`<a class="btn btn-sm btn-outline-primary" href="
${
presentationLink
}
" target="_blank"> <i class="fas fa-file-powerpoint"></i> Presentation</a>`
}
new_row
.
innerHTML
=
new_row
.
innerHTML
+
'
<div class="col-lg-4">
'
+
'
<div class="card mb-4 shadow-sm extension overflow-auto">
'
+
...
...
@@ -55,6 +65,8 @@ function addcontent(item) {
ExploreHTML
+
'
'
+
YouTubeHTML
+
'
'
+
publicationHTML
+
'
'
+
projectHTML
+
'
'
+
presentationHTML
+
'
'
+
'
</p>
'
+
'
</div>
'
+
'
</div>
'
+
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment