diff --git a/index.html b/index.html index eca1052eb..9b3881928 100644 --- a/index.html +++ b/index.html @@ -76,7 +76,7 @@
- Request ⇵ + Request ⭥
-
- Authentication ⇵ +
+ Request Body ⭥ +
+
    +
  • + + +
  • +
+
    +
  1. + + +
  2. +
  3. + + +
  4. +
  5. + + +
  6. +
+
    +
  • + + +
  • +
+
    +
  • + + +
  • +
+
+
+ -
- Parameters ⇵ + -
- Request Body ⇵ -
-
    -
  1. - - -
  2. -
  3. - - -
  4. -
  5. - - -
  6. -
-
    -
  • - - -
  • -
  • - - -
  • -
-
    -
  • - - -
  • -
-
-
- Response ⇵ + Response ⭥
  • - - + +
    @@ -212,13 +214,18 @@
- +
    +
  • + + +
  • +
diff --git a/script.js b/script.js index 544a6e31c..ec81d1c22 100644 --- a/script.js +++ b/script.js @@ -75,7 +75,8 @@ const app = new Vue({ this.$refs.response.scrollIntoView({ behavior: 'smooth' }) - this.response.status = 'Loading...' + this.response.status = 'Fetching...' + this.response.body = 'Loading...' const xhr = new XMLHttpRequest() const user = this.auth === 'Basic' ? this.httpUser : null const pswd = this.auth === 'Basic' ? this.httpPassword : null diff --git a/style.css b/style.css index 82c796871..f1c89a93a 100644 --- a/style.css +++ b/style.css @@ -34,11 +34,9 @@ a { } body { - padding: 0; background-color: var(--bg-color); color: var(--fg-color); font-weight: 500; - font-size: 16px; line-height: 1.5; animation: fadein .2s; -webkit-tap-highlight-color: transparent; @@ -108,21 +106,21 @@ fieldset.request legend { } fieldset.authentication { - border-color: #50E3C2; -} - -fieldset.authentication legend { - color: #50E3C2; -} - -fieldset.parameters { border-color: #B8E986; } -fieldset.parameters legend { +fieldset.authentication legend { color: #B8E986; } +fieldset.parameters { + border-color: #50E3C2; +} + +fieldset.parameters legend { + color: #50E3C2; +} + fieldset.reqbody { border-color: #4A90E2; } diff --git a/sw.js b/sw.js index d788f9e48..95aa8d19f 100644 --- a/sw.js +++ b/sw.js @@ -35,9 +35,8 @@ workbox.routing.registerRoute( }) ); workbox.precaching.precacheAndRoute([ - '/index.css', - '/index.js', - '/manage.js', + '/style.css', + '/script.js', { url: '/index.html', revision: '383676'