File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ signed_in_as = Signed in as
2121enable_javascript = This website works better with JavaScript.
2222toc = Table of Contents
2323licenses = Licenses
24+ return_to_gitea = Return to Gitea
2425
2526username = Username
2627email = Email Address
Original file line number Diff line number Diff line change 66 <link href= " {{StaticUrlPrefix}}/css/swagger.css?v={{MD5 AppVer}}" rel= " stylesheet" >
77 <style>
88 html {
9- box-sizing: border-box;
10- overflow-y: scroll;
9+ box-sizing: border-box;
10+ overflow-y: scroll;
1111 }
1212 *, *:before, *:after {
13- box-sizing: inherit;
13+ box-sizing: inherit;
1414 }
1515 body {
16- margin: 0;
17- background: #fff;
16+ margin: 0;
17+ background: #fff;
1818 }
1919 .swagger -back-link {
20- position: absolute;
21- right: 3rem;
20+ color: #1f69c0;
21+ text-decoration: none;
22+ position: absolute;
23+ top: 1rem;
24+ right: 1.5rem ;
25+ display: flex;
26+ align-items: center;
27+ }
28+ .swagger -back-link svg {
29+ color: inherit;
30+ fill: currentcolor;
31+ margin-right: .5rem ;
2232 }
2333 </style>
2434 </head>
2535 <body>
26- <h4 class= " swagger-back-link" ><a href= " {{AppUrl}}" >{{.i18n.Tr " home " }}</a></h4 >
36+ <a class= " swagger-back-link" href= " {{AppUrl}}" >{{svg " octicon-reply " 16}}{{ .i18n.Tr " return_to_gitea " }}</a>
2737 <div id= " swagger-ui" data-source= " {{AppUrl}}swagger.{{.APIJSONVersion}}.json" ></div>
2838 <script src= " {{StaticUrlPrefix}}/js/swagger.js?v={{MD5 AppVer}}" ></script>
2939 </body>
You can’t perform that action at this time.
0 commit comments