Changes for page ExternalApps
Last modified by bougault on 2019/09/12 12:46
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,462 +1,104 @@ 1 -{{include reference="Collaboratory.Collaboratory\.Apps.Apps.Code.AppsMacros"/}} 1 +{{velocity}} 2 +{{html clean="false"}} 3 +## space: $spaceDoc <br /> 4 +## children: $spaceDoc.getChildren() 2 2 3 -(% class="applications" %) 4 -((( 5 -(% class="application" %) 6 -((( 7 -(% class="application-content" %) 8 -((( 9 -(% class="app-logo" %) 10 -((( 11 - 12 -))) 6 +#set($query = 'select doc from Document doc, doc.object(ExternalApps.Code.ExternalAppsClass) as app') 7 +#set($applications = $services.query.xwql($query).addFilter('hidden').execute()) 13 13 14 -(% class="tags" %) 15 -((( 16 -Brain Simulation Platform 17 -))) 9 +<style> 10 +.applications { 11 + display: grid; 12 + grid-gap: 10px; 13 +} 18 18 19 -(% class="title" %) 20 -=== Model Catalog === 15 +@media screen and (min-width: 640px) { 16 + .applications { 17 + grid-template-columns: 1fr 1fr; 18 + } 19 +} 20 +/* 21 +@media screen and (min-width: 900px) { 22 + .applications { 23 + grid-template-columns: 1fr 1fr 1fr; 24 + } 25 +} 26 +*/ 21 21 22 -(% class="description" %) 23 -A catalog of models developed and/or used in HBP 28 +@media screen and (min-width: 1200px) { 29 + .applications { 30 + grid-template-columns: 1fr 1fr 1fr; 31 + } 32 +} 24 24 25 -(% class="application-buttons" %) 26 -((( 27 - 28 -))) 34 +@media screen and (min-width: 1800px) { 35 + .applications { 36 + grid-template-columns: 1fr 1fr 1fr 1fr; 37 + } 38 +} 29 29 30 -(% class="details" %) 31 -((( 32 -==== Maintainers ==== 40 +.application { 41 + border: 1px solid var(--color-support-light); 42 + padding: 1rem; 43 + height: 100%; 44 +} 33 33 34 -* [[$user.getValue('first_name') $user.getValue('last_name')>>path:/bin/view/ExternalApps/]] 46 +.application img { 47 + display: block; 48 + margin: 0 auto 1.5rem auto; 49 +} 35 35 36 -==== Documentation ==== 51 +.application .title { 52 + text-align: center; 53 + height: 3em; 54 +} 37 37 38 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 56 +.application .tags { 57 + display: flex; 58 + justify-content: space-around; 59 + margin-bottom: 1.5rem; 60 +} 39 39 40 -==== URL ==== 62 +.application .tags span { 63 + font-size: .8rem; 64 + border: 1px solid var(--color-support-dark); 65 + padding: .2rem .3rem; 66 + border-radius: var(--border-radius-default); 67 +} 41 41 42 - [[https:~~/~~/validation-v1.brainsimulation.eu/>>url:https://validation-v1.brainsimulation.eu/]]43 - )))44 - )))45 - )))69 +.application .description { 70 + text-align: center; 71 +} 72 +</style> 46 46 47 -(% class="application" %) 48 -((( 49 -(% class="application-content" %) 50 -((( 51 -(% class="app-logo" %) 52 -((( 53 - 54 -))) 55 55 56 -(% class="tags" %) 57 -((( 58 -Neuromorphic 59 -))) 75 +<div class="applications"> 76 + #foreach($application in $applications) 77 + #set($app = $xwiki.getDocument($application)) 78 + #set($URL = $app.getValue('url')) 79 + #set($title = $app.getDisplayTitle()) 80 + #set($category = $app.display('category')) 81 + <div> 82 + <div class="application"> 83 + #if($app.getAttachment('logo.png').isImage()) 84 + <img src="$app.getAttachmentURL('logo.png')" width="75" height="75" alt="$title.replace('"', '\"')"> 85 + #else 86 + <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mN89x8AAuEB74Y0o2cAAAAASUVORK5CYII=" width="75" height="75" alt=""> 87 + #end 88 + <div class="tags"><span>$category</span></div> 89 + <h3 class="title">$title</h3> 90 + <a href="$URL">$URL</a> 91 + <p class="description">$!app.getValue('description')</p> 92 + ##<input id="$application.concat('-visibility')" type="checkbox" #if($app.getValue('private') == 1)checked#end disabled /><label for="$application.concat('-visibility')">Private</label> 60 60 61 -(% class="title" %) 62 -=== PyNN model builder (staging) === 94 + <div> 95 + ##$app.getValue('maintainers') 96 + ##$app.display('maintainers') 97 + </div> 63 63 64 -(% class="description" %) 65 -A graphical interface for building and simulating spiking network models 66 - 67 -(% class="application-buttons" %) 68 -((( 69 - 70 -))) 71 - 72 -(% class="details" %) 73 -((( 74 -==== Maintainers ==== 75 - 76 -* [[$user.getValue('first_name') $user.getValue('last_name')>>path:/bin/view/ExternalApps/]] 77 - 78 -==== Documentation ==== 79 - 80 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 81 - 82 -==== URL ==== 83 - 84 -[[https:~~/~~/nmpi-staging.hbpneuromorphic.eu/gui/app.html#!/home>>url:https://nmpi-staging.hbpneuromorphic.eu/gui/app.html#!/home]] 85 -))) 86 -))) 87 -))) 88 - 89 -(% class="application" %) 90 -((( 91 -(% class="application-content" %) 92 -((( 93 -(% class="app-logo" %) 94 -((( 95 - 96 -))) 97 - 98 -(% class="tags" %) 99 -((( 100 -Neuromorphic 101 -))) 102 - 103 -(% class="title" %) 104 -=== Neuromorphic Computing Platform Resource Manager === 105 - 106 -(% class="description" %) 107 -An application for requesting access to the HBP Neuromorphic Computing Systems and for tracking quota usage once access is granted. 108 - 109 -(% class="application-buttons" %) 110 -((( 111 - 112 -))) 113 - 114 -(% class="details" %) 115 -((( 116 -==== Maintainers ==== 117 - 118 -* [[$user.getValue('first_name') $user.getValue('last_name')>>path:/bin/view/ExternalApps/]] 119 - 120 -==== Documentation ==== 121 - 122 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 123 - 124 -==== URL ==== 125 - 126 -[[https:~~/~~/quotas.hbpneuromorphic.eu/app/>>url:https://quotas.hbpneuromorphic.eu/app/]] 127 -))) 128 -))) 129 -))) 130 - 131 -(% class="application" %) 132 -((( 133 -(% class="application-content" %) 134 -((( 135 -(% class="app-logo" %) 136 -((( 137 - 138 -))) 139 - 140 -(% class="tags" %) 141 -((( 142 -Neuromorphic 143 -))) 144 - 145 -(% class="title" %) 146 -=== Neuromorphic Computing Platform Job Manager (staging) === 147 - 148 -(% class="description" %) 149 -Staging version of Job Manager app 150 - 151 -(% class="application-buttons" %) 152 -((( 153 - 154 -))) 155 - 156 -(% class="details" %) 157 -((( 158 -==== Maintainers ==== 159 - 160 -* [[$user.getValue('first_name') $user.getValue('last_name')>>path:/bin/view/ExternalApps/]] 161 - 162 -==== Documentation ==== 163 - 164 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 165 - 166 -==== URL ==== 167 - 168 -[[https:~~/~~/nmpi-staging.hbpneuromorphic.eu/app/#/queue>>url:https://nmpi-staging.hbpneuromorphic.eu/app/#/queue]] 169 -))) 170 -))) 171 -))) 172 - 173 -(% class="application" %) 174 -((( 175 -(% class="application-content" %) 176 -((( 177 -(% class="app-logo" %) 178 -((( 179 - 180 -))) 181 - 182 -(% class="tags" %) 183 -((( 184 - 185 -))) 186 - 187 -(% class="title" %) 188 -=== TestNewApp === 189 - 190 - 191 -(% class="application-buttons" %) 192 -((( 193 - 194 -))) 195 - 196 -(% class="details" %) 197 -((( 198 -==== Maintainers ==== 199 - 200 -* [[$user.getValue('first_name') $user.getValue('last_name')>>path:/bin/view/ExternalApps/]] 201 - 202 -==== Documentation ==== 203 - 204 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 205 - 206 -==== URL ==== 207 -))) 208 -))) 209 -))) 210 - 211 -(% class="application" %) 212 -((( 213 -(% class="application-content" %) 214 -((( 215 -(% class="app-logo" style="background-image:url('/bin/download/ExternalApps/Unicorn%20App/logo.png')" %) 216 -((( 217 - 218 -))) 219 - 220 -(% class="tags" %) 221 -((( 222 -Tasks 223 -))) 224 - 225 -(% class="title" %) 226 -=== Dragon App === 227 - 228 -(% class="description" %) 229 -This is a fake app for testing purpose. 230 - 231 -(% class="application-buttons" %) 232 -((( 233 - 234 -))) 235 - 236 -(% class="details" %) 237 -((( 238 -==== Maintainers ==== 239 - 240 -* [[François Bougault>>path:/bin/view/XWiki/bougault]] 241 - 242 -==== Documentation ==== 243 - 244 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 245 - 246 -==== URL ==== 247 - 248 -[[something that should not be display as an iframe>>path:something that should not be display as an iframe]] 249 -))) 250 -))) 251 -))) 252 - 253 -(% class="application" %) 254 -((( 255 -(% class="application-content" %) 256 -((( 257 -(% class="app-logo" %) 258 -((( 259 - 260 -))) 261 - 262 -(% class="tags" %) 263 -((( 264 - 265 -))) 266 - 267 -(% class="title" %) 268 -=== Toto === 269 - 270 -(% class="description" %) 271 -Lorem ipsim 272 - 273 -(% class="application-buttons" %) 274 -((( 275 - 276 -))) 277 - 278 -(% class="details" %) 279 -((( 280 -==== Maintainers ==== 281 - 282 -* [[$user.getValue('first_name') $user.getValue('last_name')>>path:/bin/view/ExternalApps/]] 283 - 284 -==== Documentation ==== 285 - 286 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 287 - 288 -==== URL ==== 289 -))) 290 -))) 291 -))) 292 - 293 -(% class="application" %) 294 -((( 295 -(% class="application-content" %) 296 -((( 297 -(% class="app-logo" %) 298 -((( 299 - 300 -))) 301 - 302 -(% class="tags" %) 303 -((( 304 -Neuroinformatics 305 -))) 306 - 307 -(% class="title" %) 308 -=== Neural Activity Resource === 309 - 310 -(% class="description" %) 311 -An app for browsing, viewing and searching neural activity datasets (e.g. electrophysiology, calcium imaging, simulation results, etc.) 312 - 313 -(% class="application-buttons" %) 314 -((( 315 - 316 -))) 317 - 318 -(% class="details" %) 319 -((( 320 -==== Maintainers ==== 321 - 322 -* [[$user.getValue('first_name') $user.getValue('last_name')>>path:/bin/view/ExternalApps/]] 323 - 324 -==== Documentation ==== 325 - 326 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 327 - 328 -==== URL ==== 329 - 330 -[[https:~~/~~/nar-browser-app.brainsimulation.eu/app/>>url:https://nar-browser-app.brainsimulation.eu/app/]] 331 -))) 332 -))) 333 -))) 334 - 335 -(% class="application" %) 336 -((( 337 -(% class="application-content" %) 338 -((( 339 -(% class="app-logo" %) 340 -((( 341 - 342 -))) 343 - 344 -(% class="tags" %) 345 -((( 346 -Neuromorphic 347 -))) 348 - 349 -(% class="title" %) 350 -=== Neuromorphic Computing Platform Job Manager v2 === 351 - 352 -(% class="description" %) 353 -Neuromorphic Computing Platform Job Manager (version 2) 354 - 355 -(% class="application-buttons" %) 356 -((( 357 - 358 -))) 359 - 360 -(% class="details" %) 361 -((( 362 -==== Maintainers ==== 363 - 364 -* [[$user.getValue('first_name') $user.getValue('last_name')>>path:/bin/view/ExternalApps/]] 365 - 366 -==== Documentation ==== 367 - 368 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 369 - 370 -==== URL ==== 371 - 372 -[[https:~~/~~/nmpi.hbpneuromorphic.eu/app/#/queue>>url:https://nmpi.hbpneuromorphic.eu/app/#/queue]] 373 -))) 374 -))) 375 -))) 376 - 377 -(% class="application" %) 378 -((( 379 -(% class="application-content" %) 380 -((( 381 -(% class="app-logo" %) 382 -((( 383 - 384 -))) 385 - 386 -(% class="tags" %) 387 -((( 388 -Neuromorphic 389 -))) 390 - 391 -(% class="title" %) 392 -=== Neuromorphic Computing Platform Guidebook === 393 - 394 -(% class="description" %) 395 -A manual for users of the HBP Neuromorphic Computing Platform 396 - 397 -(% class="application-buttons" %) 398 -((( 399 - 400 -))) 401 - 402 -(% class="details" %) 403 -((( 404 -==== Maintainers ==== 405 - 406 -* [[$user.getValue('first_name') $user.getValue('last_name')>>path:/bin/view/ExternalApps/]] 407 - 408 -==== Documentation ==== 409 - 410 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 411 - 412 -==== URL ==== 413 - 414 -[[https:~~/~~/electronicvisions.github.io/hbp-sp9-guidebook/>>url:https://electronicvisions.github.io/hbp-sp9-guidebook/]] 415 -))) 416 -))) 417 -))) 418 - 419 -(% class="application" %) 420 -((( 421 -(% class="application-content" %) 422 -((( 423 -(% class="app-logo" %) 424 -((( 425 - 426 -))) 427 - 428 -(% class="tags" %) 429 -((( 430 -Neuroinformatics 431 -))) 432 - 433 -(% class="title" %) 434 -=== KnowledgeSpace === 435 - 436 -(% class="description" %) 437 -A community encyclopedia linking brain research concepts to data, models, and literature. 438 - 439 -(% class="application-buttons" %) 440 -((( 441 - 442 -))) 443 - 444 -(% class="details" %) 445 -((( 446 -==== Maintainers ==== 447 - 448 -* [[$user.getValue('first_name') $user.getValue('last_name')>>path:/bin/view/ExternalApps/]] 449 - 450 -==== Documentation ==== 451 - 452 -[[$app.getValue('documentation')>>path:$app.getValue('documentation')]] 453 - 454 -==== URL ==== 455 - 456 -[[https:~~/~~/knowledge-space.org/>>url:https://knowledge-space.org/]] 457 -))) 458 -))) 459 -))) 460 -))) 461 - 462 - 99 + </div> 100 + </div> 101 + #end 102 +</div> 103 +{{/html}} 104 +{{/velocity}}