0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 19:18:52 +01:00
gitea/templates/swagger/ui.tmpl

13 lines
474 B
Handlebars

<!DOCTYPE html>
<html lang="en">
<head>
<title>Gitea API</title>
<link href="{{AssetUrlPrefix}}/css/swagger.css?v={{AssetVersion}}" rel="stylesheet">
</head>
<body>
<a class="swagger-back-link" href="{{AppSubUrl}}/">{{svg "octicon-reply"}}{{ctx.Locale.Tr "return_to_gitea"}}</a>
<div id="swagger-ui" data-source="{{AppSubUrl}}/swagger.{{.APIJSONVersion}}.json"></div>
<script src="{{AssetUrlPrefix}}/js/swagger.js?v={{AssetVersion}}"></script>
</body>
</html>