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 @@ - + - - +