diff --git a/res/static/res/style/apidoc.css b/res/static/res/style/apidoc.css index 3f217d5..364a7e9 100644 --- a/res/static/res/style/apidoc.css +++ b/res/static/res/style/apidoc.css @@ -5,18 +5,21 @@ /* Global Definitions */ .api_doc_details{ - border: 2px solid; - border-radius: 4px; + border-top: 1px solid; + border-bottom: 1px solid; margin-top: 10px; + margin: 15px -8px 15px -8px; } - .api_doc_details > summary { padding: 2px; font-family: monospace; } - +.api_doc_details > summary > .method { + display: inline-block; + width: 80px; +} .api_doc_details > div { - padding: 5px; + padding: 8px; } table{ @@ -44,46 +47,30 @@ h3{ /* GET requests */ .api_doc_details.request_get{ - border-color: #0000F0; -} - -.api_doc_details.request_get > summary{ - background-color: #000040; + border-color: rgb(54, 54, 255); + background-color: rgba(32, 32, 255, 0.2); } /* POST requests */ .api_doc_details.request_post{ - border-color: #009000; -} - -.api_doc_details.request_post > summary{ - background-color: #004000; + border-color: #00d000; + background-color: rgba(0, 255, 0, 0.05); } /* DELETE requests */ .api_doc_details.request_delete{ border-color: #B00000; -} - -.api_doc_details.request_delete > summary{ - background-color: #400000; + background-color: rgba(255, 0, 0, 0.05); } /* PUT requests */ .api_doc_details.request_put{ border-color: #B06000; -} - -.api_doc_details.request_put > summary{ - background-color: #804000; + background-color: rgba(255, 128, 0, 0.05); } /* PATCH requests */ .api_doc_details.request_patch{ border-color: #6000B0; -} - -.api_doc_details.request_patch > summary{ - background-color: #400080; -} - + background-color: rgba(128, 0, 255, 0.1); +} \ No newline at end of file diff --git a/res/template/file_viewer.html b/res/template/file_viewer.html index 5d08197..93a1211 100644 --- a/res/template/file_viewer.html +++ b/res/template/file_viewer.html @@ -10,7 +10,6 @@ - @@ -20,16 +19,16 @@ {{template "bgpattern"}} - - - - - - - - - - + + + + + + + + + + diff --git a/res/template/fragments/api/file-id-delete.html b/res/template/fragments/api/file-id-delete.html index bc9c137..db4ca9c 100644 --- a/res/template/fragments/api/file-id-delete.html +++ b/res/template/fragments/api/file-id-delete.html @@ -1,6 +1,6 @@ {{define "api-file-id-delete"}}
- DELETE: /file/{id} + DELETE/file/{id}

Description

diff --git a/res/template/fragments/api/file-id-download-get.html b/res/template/fragments/api/file-id-download-get.html index fa8a1f5..8dfc71a 100644 --- a/res/template/fragments/api/file-id-download-get.html +++ b/res/template/fragments/api/file-id-download-get.html @@ -1,6 +1,6 @@ {{define "api-file-id-download-get"}}

- GET: /file/{id}/download + GET/file/{id}/download

Description

diff --git a/res/template/fragments/api/file-id-get.html b/res/template/fragments/api/file-id-get.html index bd50a2b..a6a3781 100644 --- a/res/template/fragments/api/file-id-get.html +++ b/res/template/fragments/api/file-id-get.html @@ -1,6 +1,6 @@ {{define "api-file-id-get"}}

- GET: /file/{id} + GET/file/{id}

Description

diff --git a/res/template/fragments/api/file-id-info-get.html b/res/template/fragments/api/file-id-info-get.html index 0aa9f16..0705059 100644 --- a/res/template/fragments/api/file-id-info-get.html +++ b/res/template/fragments/api/file-id-info-get.html @@ -1,6 +1,6 @@ {{define "api-file-id-info-get"}}

- GET: /file/{id}/info + GET/file/{id}/info

Description

diff --git a/res/template/fragments/api/file-id-thumbnail-get.html b/res/template/fragments/api/file-id-thumbnail-get.html index 34ed8fc..66f2299 100644 --- a/res/template/fragments/api/file-id-thumbnail-get.html +++ b/res/template/fragments/api/file-id-thumbnail-get.html @@ -1,6 +1,6 @@ {{define "api-file-id-thumbnail-get"}}

- GET: /file/{id}/thumbnail + GET/file/{id}/thumbnail

Description

diff --git a/res/template/fragments/api/file-post.html b/res/template/fragments/api/file-post.html index cfeeadb..4030dad 100644 --- a/res/template/fragments/api/file-post.html +++ b/res/template/fragments/api/file-post.html @@ -1,6 +1,6 @@ {{define "api-file-post"}}

- POST: /file + POST/file

Description

diff --git a/res/template/fragments/api/list-post.html b/res/template/fragments/api/list-post.html index a52be0a..c7140c2 100644 --- a/res/template/fragments/api/list-post.html +++ b/res/template/fragments/api/list-post.html @@ -1,6 +1,6 @@ {{define "api-list-post"}}

- POST: /list + POST/list

Description