Skip to content
Snippets Groups Projects
Select Git revision
  • 6d9964eba72987eb01897924340f100af7d2beb3
  • master default protected
  • safespring-smallgpu
  • fix/owncloud-missing-safeguard
  • e-infra2
  • ci-megalinter-speedup
  • envri-hub-new-aai
  • egi-b2drop-no-collapse
  • lfs
  • gpu_staging
  • resurrect-testing-ownloud
  • experiments/collab
  • update_claim_group_keys
  • envri-hub
  • enable_rtc
  • eosc-ui
  • future/jupyterhub-5.x
  • versioning
  • eosc-templating
  • staging1-raw-image
  • token-exchange
21 results

hub.yaml

Blame
  • indexTemplate.html 1.93 KiB
    <!DOCTYPE html>
    <html lang="en">
        <head>
            <meta charset="UTF-8">
            <title>Swagger UI</title>
            <link rel="stylesheet" type="text/css" href="${apiPrefix}/swagger-ui.css" >
            ${shortcutIconLink}
    
            <style>
                html
                {
                    box-sizing: border-box;
                    overflow: -moz-scrollbars-vertical;
                    overflow-y: scroll;
                }
                *,
                *:before,
                *:after
                {
                    box-sizing: inherit;
                }
                body
                {
                    margin:0;
                    background: #fafafa;
                }
            </style>
        </head>
    
        <body>
            <div id="swagger-ui"></div>
    
            <script src="${apiPrefix}/swagger-ui-bundle.js"> </script>
            <script src="${apiPrefix}/swagger-ui-standalone-preset.js"> </script>
            <script>
                function HidePlugin() {
                    // this plugin overrides some components to return nothing
                    return {
                        components: {
                            Topbar: function () { return null },
                            Models: function () { return null },
                        }
                    }
                }
                window.onload = function () {
                    var ui = SwaggerUIBundle({
                        url: '${openapiJsonUrl}',
                        validatorUrl: null,
                        docExpansion: 'list',
                        dom_id: '#swagger-ui',
                        deepLinking: true,
                        presets: [
                            SwaggerUIBundle.presets.apis,
                            SwaggerUIStandalonePreset
                        ],
                        plugins: [
                            SwaggerUIBundle.plugins.DownloadUrl,
                            HidePlugin
                        ],
                        layout: 'StandaloneLayout'
                    })
                    window.ui = ui
                }
            </script>
        </body>
    </html>