add_content.js 6.75 KB
Newer Older
Patrick's avatar
Patrick committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
function addcontent(item){

    var new_row = document.getElementById("row_main")

    new_row.innerHTML = new_row.innerHTML + '<div class="col-lg-4">' +
    '<div class="card mb-4 shadow-sm extension">' +
      '<h5>'+ item.item.title +' <span class="lead text-muted"> ' + item.item.project + '</span></h5>' +
      '<img class="thumbimg" src="' + item.item.imageLink + '" alt="">' +
      '<div class="card-body">' +
        '<p class="card-text-lg small">' +
          item.item.description +
          '<br>' +
          '<b><i class="fas fa-user"></i> Contact Person</b>: <a' +
          'href="https://www.hft-stuttgart.de/p/thunyathep-santhanavanich"> ' + item.item.author.firstName +
          ' ' + item.item.author.lastName + '</a> <br>' +
          '<b><i class="fas fa-star"></i> Keywords</b>: ' + item.item.keywords.join(', ') +
        '<form action="iStoeckHM.html" class="form-signin" method="GET">' +
          '<button type="submit" class="btn btn-sm btn-outline-secondary">Explore</button>' +
        '</form>' +
        '</p>' +
      '</div>' +
    '</div>' +
  '</div>'

//   new_row.innerHTML = new_row.innerHTML + '<div class="col-lg-4">' +
//   '<div class="card mb-4 shadow-sm extension">' +
//     '<h5>' + item.item.title + ' <span class="lead text-muted"> ' + item.item.project + '</span></h5>' +
//     '<img class="thumbimg" src="imgs/thumbnails/visionZero.jpeg" alt="">' +
//     '<div class="card-body">' +
//       '<p class="card-text-lg small">' +
//         'The <b>VISION ZERO </b> is an application for safety routing with the' +
//         'visualization of 3D grid and heatmap. Developed at hackathon event "Neue Wege für die Mobilität in' +
//         'Augsburg". (24 hours time limited)' +
//         '<br>' +
//         '<b><i class="fas fa-user"></i> Contact Person</b>: <a' +
//           'href="https://www.hft-stuttgart.de/p/thunyathep-santhanavanich"> ' + item.item.author.firstName +
//           ' ' + item.item.author.lastName + '</a> <br>' +
//         '<b><i class="fas fa-star"></i> Keywords</b>: ' + item.item.keywords.join(' ') +
//       '<form action="iStoeckHM.html" class="form-signin" method="GET">' +
//         '<button type="submit" class="btn btn-sm btn-outline-secondary">Explore</button>' +
//       '</form>' +
//       '</p>' +
//     '</div>' +
//   '</div>' +
// '</div>'
// new_row.innerHTML = new_row.innerHTML + '<div class="col-lg-4">' +
// '<div class="card mb-4 shadow-sm extension">' +
//   '<h5>Vision Zero <span class="lead text-muted"> Hackathon</span></h5>' +
//   '<img class="thumbimg" src="imgs/thumbnails/visionZero.jpeg" alt="">' +
//   '<div class="card-body">' +
//     '<p class="card-text-lg small">' +
//       'The <b>VISION ZERO </b> is an application for safety routing with the' +
//       'visualization of 3D grid and heatmap. Developed at hackathon event "Neue Wege für die Mobilität in' +
//       'Augsburg". (24 hours time limited)' +
//       '<br>' +
//       '<b><i class="fas fa-user"></i> Contact Person</b>: <a' +
//         'href="https://www.hft-stuttgart.de/p/thunyathep-santhanavanich">Joe' +
//         'T.S.</a> <br>' +
//       '<b><i class="fas fa-star"></i> Keywords</b>: CityGML, 3D GIS, GIS Analyst, Urban Analytics' +
//     '<form action="iStoeckHM.html" class="form-signin" method="GET">' +
//       '<button type="submit" class="btn btn-sm btn-outline-secondary">Explore</button>' +
//     '</form>' +
//     '</p>' +
//   '</div>' +
// '</div>' +
// '</div>'
// new_row.innerHTML = new_row.innerHTML + '<div class="col-lg-4">' +
// '<div class="card mb-4 shadow-sm extension">' +
//   '<h5>Vision Zero <span class="lead text-muted"> Hackathon</span></h5>' +
//   '<img class="thumbimg" src="imgs/thumbnails/visionZero.jpeg" alt="">' +
//   '<div class="card-body">' +
//     '<p class="card-text-lg small">' +
//       'The <b>VISION ZERO </b> is an application for safety routing with the' +
//       'visualization of 3D grid and heatmap. Developed at hackathon event "Neue Wege für die Mobilität in' +
//       'Augsburg". (24 hours time limited)' +
//       '<br>' +
//       '<b><i class="fas fa-user"></i> Contact Person</b>: <a' +
//         'href="https://www.hft-stuttgart.de/p/thunyathep-santhanavanich">Joe' +
//         'T.S.</a> <br>' +
//       '<b><i class="fas fa-star"></i> Keywords</b>: CityGML, 3D GIS, GIS Analyst, Urban Analytics' +
//     '<form action="iStoeckHM.html" class="form-signin" method="GET">' +
//       '<button type="submit" class="btn btn-sm btn-outline-secondary">Explore</button>' +
//     '</form>' +
//     '</p>' +
//   '</div>' +
// '</div>' +
// '</div>'
// new_row.innerHTML = new_row.innerHTML + '<div class="col-lg-4">' +
// '<div class="card mb-4 shadow-sm extension">' +
//   '<h5>Vision Zero <span class="lead text-muted"> Hackathon</span></h5>' +
//   '<img class="thumbimg" src="imgs/thumbnails/visionZero.jpeg" alt="">' +
//   '<div class="card-body">' +
//     '<p class="card-text-lg small">' +
//       'The <b>VISION ZERO </b> is an application for safety routing with the' +
//       'visualization of 3D grid and heatmap. Developed at hackathon event "Neue Wege für die Mobilität in' +
//       'Augsburg". (24 hours time limited)' +
//       '<br>' +
//       '<b><i class="fas fa-user"></i> Contact Person</b>: <a' +
//         'href="https://www.hft-stuttgart.de/p/thunyathep-santhanavanich">Joe' +
//         'T.S.</a> <br>' +
//       '<b><i class="fas fa-star"></i> Keywords</b>: CityGML, 3D GIS, GIS Analyst, Urban Analytics' +
//     '<form action="iStoeckHM.html" class="form-signin" method="GET">' +
//       '<button type="submit" class="btn btn-sm btn-outline-secondary">Explore</button>' +
//     '</form>' +
//     '</p>' +
//   '</div>' +
// '</div>' +
// '</div>'
// new_row.innerHTML = new_row.innerHTML + '<div class="col-lg-4">' +
// '<div class="card mb-4 shadow-sm extension">' +
//   '<h5>Vision Zero <span class="lead text-muted"> Hackathon</span></h5>' +
//   '<img class="thumbimg" src="imgs/thumbnails/visionZero.jpeg" alt="">' +
//   '<div class="card-body">' +
//     '<p class="card-text-lg small">' +
//       'The <b>VISION ZERO </b> is an application for safety routing with the' +
//       'visualization of 3D grid and heatmap. Developed at hackathon event "Neue Wege für die Mobilität in' +
//       'Augsburg". (24 hours time limited)' +
//       '<br>' +
//       '<b><i class="fas fa-user"></i> Contact Person</b>: <a' +
//         'href="https://www.hft-stuttgart.de/p/thunyathep-santhanavanich">Joe' +
//         'T.S.</a> <br>' +
//       '<b><i class="fas fa-star"></i> Keywords</b>: CityGML, 3D GIS, GIS Analyst, Urban Analytics' +
//     '<form action="iStoeckHM.html" class="form-signin" method="GET">' +
//       '<button type="submit" class="btn btn-sm btn-outline-secondary">Explore</button>' +
//     '</form>' +
//     '</p>' +
//   '</div>' +
// '</div>' +
// '</div>'
}