From eef564975fdf396652dda763516a8d421da69d8c Mon Sep 17 00:00:00 2001 From: Vincent Fiduccia Date: Wed, 21 May 2014 10:30:59 -0700 Subject: [PATCH] Fix delete, style request dialog --- package.json | 2 +- public/css/main.css | 11 ++++++----- public/view/body.hbs | 2 +- public/view/request.hbs | 6 +++--- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 0dc0120..9d8b366 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gdapi-ui", - "version": "2.0.3", + "version": "2.0.4", "description": "HTML UI for GDAPI-compliant APIs", "author": { "name": "Vincent Fiduccia", diff --git a/public/css/main.css b/public/css/main.css index 220fd63..03656b7 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -157,7 +157,7 @@ LI { } .errormessage { - font-family: "Monaco", "Andale Mono", "Courier New", "Courier", monospace; + font-family: "Monaco", "Andale Mono", "Courier New", "Courier", monospace; } .json { @@ -270,13 +270,14 @@ text-align: left; #curl, #request, #response { - border: 1px solid #555; - background-color: #eee; - padding: 3px; - margin-bottom: 5px; + font-family: "Monaco", "Andale Mono", "Courier New", "Courier", monospace; word-wrap: break-word; } +#response { + margin-bottom: 0; +} + .response-header-name { font-weight: bold; } diff --git a/public/view/body.hbs b/public/view/body.hbs index a7be0f2..eca8831 100644 --- a/public/view/body.hbs +++ b/public/view/body.hbs @@ -12,7 +12,7 @@ {{/if}} {{#if operations.delete}} - + {{/if}}
diff --git a/public/view/request.hbs b/public/view/request.hbs index 4b9fcf0..ea7fc31 100644 --- a/public/view/request.hbs +++ b/public/view/request.hbs @@ -1,6 +1,6 @@ cURL command line:
-
+
curl {{#if curl_user}}-u "{{curl_user}}" \
{{/if}} -X {{method}} \
@@ -25,7 +25,7 @@
HTTP Request:
-
+
HTTP/1.1 {{method}} {{path}}
Host: {{host}}
Accept: application/json
@@ -64,7 +64,7 @@
HTTP Response:
-
+
Click below to send request.