Tweak API documentation page design
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
<link rel="stylesheet" href="/res/style/listview.css"/>
|
||||
<link href='https://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'/>
|
||||
<link rel="shortcut icon" href="/res/img/tray32.png"/>
|
||||
<meta name="theme-color" content="#9FCF6C"/>
|
||||
<link rel="icon" sizes="180x180" href="/res/img/pixeldrain.png"/>
|
||||
<link rel="icon" sizes="256x256" href="/res/img/pixeldrain_big.png"/>
|
||||
|
||||
@@ -20,16 +19,16 @@
|
||||
|
||||
{{template "bgpattern"}}
|
||||
|
||||
<meta name="twitter:creator" content="@Fornax96" />
|
||||
<meta name="twitter:image" th:content="*{ogImage}" />
|
||||
<meta property="og:title" th:content="*{ogTitle}" />
|
||||
<meta property="og:type" th:content="*{ogType}" />
|
||||
<meta property="og:site_name" th:content="*{ogSiteName}" />
|
||||
<meta property="og:description" th:content="*{ogDescription}" />
|
||||
<meta property="description" th:content="*{description}" />
|
||||
<meta property="og:url" th:content="*{ogUrl}" />
|
||||
<meta property="og:image" th:content="*{ogImage}" />
|
||||
<meta property="og:image:url" th:content="*{ogImage}" />
|
||||
<meta name="theme-color" content="#202020"/>
|
||||
<meta name="twitter:image" content="*{ogImage}" />
|
||||
<meta property="og:title" content="*{ogTitle}" />
|
||||
<meta property="og:type" content="*{ogType}" />
|
||||
<meta property="og:site_name" content="*{ogSiteName}" />
|
||||
<meta property="og:description" content="*{ogDescription}" />
|
||||
<meta property="description" content="*{description}" />
|
||||
<meta property="og:url" content="*{ogUrl}" />
|
||||
<meta property="og:image" content="*{ogImage}" />
|
||||
<meta property="og:image:url" content="*{ogImage}" />
|
||||
<meta property="article:author" content="Fornax96" />
|
||||
<link rel="image_src" th:href="*{ogImage}" />
|
||||
</head>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{define "api-file-id-delete"}}
|
||||
<details th:fragment="details" class="api_doc_details request_delete">
|
||||
<summary>DELETE: /file/{id}</summary>
|
||||
<summary><span class="method">DELETE</span>/file/{id}</summary>
|
||||
<div>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{define "api-file-id-download-get"}}
|
||||
<details th:fragment="details" class="api_doc_details request_get">
|
||||
<summary>GET: /file/{id}/download</summary>
|
||||
<summary><span class="method">GET</span>/file/{id}/download</summary>
|
||||
<div>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{define "api-file-id-get"}}
|
||||
<details th:fragment="details" class="api_doc_details request_get">
|
||||
<summary>GET: /file/{id}</summary>
|
||||
<summary><span class="method">GET</span>/file/{id}</summary>
|
||||
<div>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{define "api-file-id-info-get"}}
|
||||
<details th:fragment="details" class="api_doc_details request_get">
|
||||
<summary>GET: /file/{id}/info</summary>
|
||||
<summary><span class="method">GET</span>/file/{id}/info</summary>
|
||||
<div>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{define "api-file-id-thumbnail-get"}}
|
||||
<details th:fragment="details" class="api_doc_details request_get">
|
||||
<summary>GET: /file/{id}/thumbnail</summary>
|
||||
<summary><span class="method">GET</span>/file/{id}/thumbnail</summary>
|
||||
<div>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{define "api-file-post"}}
|
||||
<details th:fragment="details" class="api_doc_details request_post">
|
||||
<summary>POST: /file</summary>
|
||||
<summary><span class="method">POST</span>/file</summary>
|
||||
<div>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{define "api-list-post"}}
|
||||
<details class="api_doc_details request_post">
|
||||
<summary>POST: /list</summary>
|
||||
<summary><span class="method">POST</span>/list</summary>
|
||||
<div>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
|
Reference in New Issue
Block a user