From d5e5e357d2cd0143d8ad5870bdf4eec24f9338b9 Mon Sep 17 00:00:00 2001 From: Rohit Awate Date: Tue, 14 Aug 2018 20:01:10 +0530 Subject: [PATCH] Minor fixes for HistoryItem's method font --- .../controllers/HistoryItemController.java | 20 +++++++---- src/main/resources/css/Adreana.css | 9 +++-- .../fxml/homewindow/HistoryItem.fxml | 35 +++++++++---------- .../fxml/homewindow/HistoryPane.fxml | 15 ++++---- 4 files changed, 45 insertions(+), 34 deletions(-) diff --git a/src/main/java/com/rohitawate/everest/controllers/HistoryItemController.java b/src/main/java/com/rohitawate/everest/controllers/HistoryItemController.java index a37b6a3..edbe3e7 100644 --- a/src/main/java/com/rohitawate/everest/controllers/HistoryItemController.java +++ b/src/main/java/com/rohitawate/everest/controllers/HistoryItemController.java @@ -34,10 +34,16 @@ import java.util.ResourceBundle; public class HistoryItemController implements Initializable, Searchable { @FXML - private Label requestType, address; + private Label methodLabel, address; @FXML private Tooltip tooltip; + private static final String GETStyle = "-fx-text-fill: orangered"; + private static final String POSTStyle = "-fx-text-fill: cornflowerblue"; + private static final String PUTStyle = "-fx-text-fill: deeppink"; + private static final String PATCHStyle = "-fx-text-fill: teal"; + private static final String DELETEStyle = "-fx-text-fill: limegreen"; + private ComposerState state; @Override @@ -51,22 +57,22 @@ public class HistoryItemController implements Initializable, Searchable - - - - - - - + + + + + + + diff --git a/src/main/resources/fxml/homewindow/HistoryPane.fxml b/src/main/resources/fxml/homewindow/HistoryPane.fxml index 5650838..90e6205 100644 --- a/src/main/resources/fxml/homewindow/HistoryPane.fxml +++ b/src/main/resources/fxml/homewindow/HistoryPane.fxml @@ -23,7 +23,7 @@ @@ -31,7 +31,7 @@ - @@ -42,6 +42,9 @@ + + + @@ -54,7 +57,7 @@ - + @@ -87,9 +90,9 @@ - + - - +