Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swagger-ui-theme/index.html

40 lines
1.5 KiB
HTML

<!-- Served by the gateway's nginx — one of 3 files (see also
hyperhive-theme.css, swagger-initializer.js) that
nix/packages/swagger-ui-theme.nix overlays onto the plain vendored
dist (swagger-ui-dist.nix), and the whole result is what
vhosts.nix's `swaggerUiLocations` serves at /api/docs/, wholesale,
with NO hive-c0re fallback for any file in the tree. Byte-identical
to the vendored Swagger UI's dist/index.html except two added
<link>s: `colors.css` (same origin as the dashboard, so it carries
the palettes, not a frozen copy) and
hyperhive-theme.css, which consumes its `--baseNN` vars. -->
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" />
<link rel="stylesheet" type="text/css" href="index.css" />
<link rel="stylesheet" type="text/css" href="/static/colors.css" />
<link rel="stylesheet" type="text/css" href="hyperhive-theme.css" />
<link
rel="icon"
type="image/png"
href="./favicon-32x32.png"
sizes="32x32"
/>
<link
rel="icon"
type="image/png"
href="./favicon-16x16.png"
sizes="16x16"
/>
</head>
<body>
<div id="swagger-ui"></div>
<script src="./swagger-ui-bundle.js" charset="UTF-8"></script>
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"></script>
<script src="./swagger-initializer.js" charset="UTF-8"></script>
</body>
</html>