Commit bd7a0ec2 authored by JOE XMG's avatar JOE XMG
Browse files

update

parent cbc4fb8a
Pipeline #5886 passed with stage
in 25 seconds
...@@ -231,7 +231,8 @@ ...@@ -231,7 +231,8 @@
"links": { "links": {
"demo": "https://steinbeis-3dps.eu/3DGeoVolumes/", "demo": "https://steinbeis-3dps.eu/3DGeoVolumes/",
"publication":"https://docs.ogc.org/per/20-030.html", "publication":"https://docs.ogc.org/per/20-030.html",
"project":"https://www.hft-stuttgart.de/forschung/i-city" "project":"https://www.hft-stuttgart.de/forschung/i-city",
"repo":"https://transfer.hft-stuttgart.de/gitlab/ogc/3dgeovolumesapi"
}, },
"refIndex": 5 "refIndex": 5
}, },
......
...@@ -53,6 +53,11 @@ function addcontent(item) { ...@@ -53,6 +53,11 @@ function addcontent(item) {
var presentationLink = item.links.presentation var presentationLink = item.links.presentation
presentationHTML = `<a class="btn btn-sm btn-outline-warning mt-1" href="${presentationLink}" target="_blank"> <i class="fas fa-file-powerpoint"></i> Presentation</a>` presentationHTML = `<a class="btn btn-sm btn-outline-warning mt-1" href="${presentationLink}" target="_blank"> <i class="fas fa-file-powerpoint"></i> Presentation</a>`
} }
var repoHTML = ''
if ('repo' in item.links) {
var repoLink = item.links.repo
repoHTML = `<a class="btn btn-sm btn-outline-info mt-1" href="${repoLink}" target="_blank"> <i class="fa fa-gitlab"></i> Git/Repository </a>`
}
new_row.innerHTML = new_row.innerHTML + '<div class="col-lg-4">' + new_row.innerHTML = new_row.innerHTML + '<div class="col-lg-4">' +
'<div class="card mb-4 shadow-sm extension overflow-auto">' + '<div class="card mb-4 shadow-sm extension overflow-auto">' +
...@@ -71,6 +76,7 @@ function addcontent(item) { ...@@ -71,6 +76,7 @@ function addcontent(item) {
publicationHTML + '&nbsp;' + publicationHTML + '&nbsp;' +
projectHTML + '&nbsp;' + projectHTML + '&nbsp;' +
presentationHTML + '&nbsp;' + presentationHTML + '&nbsp;' +
repoHTML + '&nbsp;' +
'</p>' + '</p>' +
'</div>' + '</div>' +
'</div>' + '</div>' +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment