From 6efef51036f09a62424d1f3b6fde9c5f131fdb65 Mon Sep 17 00:00:00 2001 From: wing328 Date: Tue, 9 Jun 2015 13:01:11 +0800 Subject: [PATCH] rollback validator template --- .../main/resources/validator/index.mustache | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/modules/swagger-codegen/src/main/resources/validator/index.mustache b/modules/swagger-codegen/src/main/resources/validator/index.mustache index 9b469fc8702..2f4c45b32dc 100644 --- a/modules/swagger-codegen/src/main/resources/validator/index.mustache +++ b/modules/swagger-codegen/src/main/resources/validator/index.mustache @@ -33,6 +33,8 @@ font-weight: bold; } + + body { font-family: "Droid Sans", sans-serif; font-size: 0.9em; @@ -153,7 +155,7 @@ margin-bottom: 15px; } - #content .head-info { + #content .head-info{ font-size: 1.2em; } @@ -175,7 +177,6 @@ border-color: gray; background-color: white; } - table#validation-results th { border-width: 1px; padding: 10px; @@ -185,18 +186,15 @@ text-align: left; font-weight: bold;; } - table#validation-results td { border-width: 1px; padding: 10px; border-style: solid; border-color: gray; } - table#validation-results tr:nth-child(even) { background-color: rgb(240, 240, 230); } - table#validation-results tr:nth-child(odd) { background-color: rgb(250, 250, 240); } @@ -249,12 +247,12 @@ {{#messages}} - - {{level}} - {{elementType}} - {{elementId}} - {{message}} - + + {{level}} + {{elementType}} + {{elementId}} + {{message}} + {{/messages}}