You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ui.tmpl 960 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>OpenI API</title>
  6. <link href="{{StaticUrlPrefix}}/css/swagger.css?v={{MD5 AppVer}}" rel="stylesheet">
  7. <style>
  8. html {
  9. box-sizing: border-box;
  10. overflow-y: scroll;
  11. }
  12. *, *:before, *:after {
  13. box-sizing: inherit;
  14. }
  15. body {
  16. margin: 0;
  17. background: #fff;
  18. }
  19. .swagger-back-link {
  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;
  32. }
  33. </style>
  34. </head>
  35. <body>
  36. <a class="swagger-back-link" href="{{AppUrl}}">{{svg "octicon-reply" 16}}{{.i18n.Tr "return"}}</a>
  37. <div id="swagger-ui" data-source="{{AppUrl}}swagger.{{.APIJSONVersion}}.json"></div>
  38. <script src="{{StaticUrlPrefix}}/js/swagger.js?v={{MD5 AppVer}}"></script>
  39. </body>
  40. </html>