From af899a98f4d1598feafe150049e35737ae2096a0 Mon Sep 17 00:00:00 2001 From: Patrick Kuo Date: Fri, 11 Nov 2016 09:31:52 +0000 Subject: [PATCH] Explorer corda branding --- .idea/runConfigurations/explorer.xml | 2 +- .../client/fxutils/ObservableUtilities.kt | 4 + .../corda/client/model/ContractStateModel.kt | 11 +- tools/explorer/build.gradle | 3 + .../main/kotlin/net/corda/explorer/Main.kt | 70 +++++- .../kotlin/net/corda/explorer/MainWindow.kt | 35 --- .../corda/explorer/model/CordaViewModel.kt | 33 +++ .../net/corda/explorer/model/TopLevelModel.kt | 24 -- .../net/corda/explorer/views/CordaView.kt | 13 - .../net/corda/explorer/views/Dashboard.kt | 51 ++++ .../net/corda/explorer/views/Formatter.kt | 33 +++ .../net/corda/explorer/views/GuiUtilities.kt | 25 +- .../kotlin/net/corda/explorer/views/Header.kt | 31 --- .../kotlin/net/corda/explorer/views/Home.kt | 55 ---- .../net/corda/explorer/views/LoginView.kt | 46 ++-- .../net/corda/explorer/views/MainView.kt | 89 +++++++ .../net/corda/explorer/views/Network.kt | 13 + .../corda/explorer/views/NewTransaction.kt | 236 ++++++++++-------- .../net/corda/explorer/views/SearchField.kt | 20 +- .../net/corda/explorer/views/Settings.kt | 12 + .../net/corda/explorer/views/Sidebar.kt | 51 ---- .../net/corda/explorer/views/TopLevel.kt | 63 ----- .../corda/explorer/views/TransactionViewer.kt | 56 +++-- .../views/{ => cordapps}/CashViewer.kt | 146 ++++++----- .../explorer/css/corda-dark-color-scheme.css | 18 ++ .../net/corda/explorer/css/corda.css | 203 +++++++++++++++ .../net/corda/explorer/images/Logo-01.png | Bin 0 -> 23154 bytes .../net/corda/explorer/images/Logo-02.png | Bin 0 -> 30414 bytes .../net/corda/explorer/images/Logo-03.png | Bin 0 -> 19795 bytes .../net/corda/explorer/images/Logo-04.png | Bin 0 -> 26038 bytes .../explorer/views/ContractStatesView.fxml | 8 +- .../net/corda/explorer/views/Dashboard.fxml | 13 + .../net/corda/explorer/views/Header.fxml | 45 ---- .../net/corda/explorer/views/Home.fxml | 22 -- .../net/corda/explorer/views/LoginView.fxml | 41 ++- .../net/corda/explorer/views/MainView.fxml | 42 ++++ .../corda/explorer/views/NewTransaction.fxml | 57 +++-- .../net/corda/explorer/views/SearchField.fxml | 29 ++- .../net/corda/explorer/views/Sidebar.fxml | 9 - .../net/corda/explorer/views/TopLevel.fxml | 12 - .../explorer/views/TransactionViewer.fxml | 4 +- .../views/{ => cordapps}/CashStateViewer.fxml | 0 .../views/{ => cordapps}/CashViewer.fxml | 7 +- .../explorer/views/GuiUtilitiesKtTest.kt | 16 ++ 44 files changed, 991 insertions(+), 657 deletions(-) delete mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/MainWindow.kt create mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/model/CordaViewModel.kt delete mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/model/TopLevelModel.kt delete mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/views/CordaView.kt create mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/views/Dashboard.kt create mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/views/Formatter.kt delete mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/views/Header.kt delete mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/views/Home.kt create mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/views/MainView.kt create mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/views/Network.kt create mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/views/Settings.kt delete mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/views/Sidebar.kt delete mode 100644 tools/explorer/src/main/kotlin/net/corda/explorer/views/TopLevel.kt rename tools/explorer/src/main/kotlin/net/corda/explorer/views/{ => cordapps}/CashViewer.kt (80%) create mode 100644 tools/explorer/src/main/resources/net/corda/explorer/css/corda-dark-color-scheme.css create mode 100644 tools/explorer/src/main/resources/net/corda/explorer/css/corda.css create mode 100644 tools/explorer/src/main/resources/net/corda/explorer/images/Logo-01.png create mode 100644 tools/explorer/src/main/resources/net/corda/explorer/images/Logo-02.png create mode 100644 tools/explorer/src/main/resources/net/corda/explorer/images/Logo-03.png create mode 100644 tools/explorer/src/main/resources/net/corda/explorer/images/Logo-04.png create mode 100644 tools/explorer/src/main/resources/net/corda/explorer/views/Dashboard.fxml delete mode 100644 tools/explorer/src/main/resources/net/corda/explorer/views/Header.fxml delete mode 100644 tools/explorer/src/main/resources/net/corda/explorer/views/Home.fxml create mode 100644 tools/explorer/src/main/resources/net/corda/explorer/views/MainView.fxml delete mode 100644 tools/explorer/src/main/resources/net/corda/explorer/views/Sidebar.fxml delete mode 100644 tools/explorer/src/main/resources/net/corda/explorer/views/TopLevel.fxml rename tools/explorer/src/main/resources/net/corda/explorer/views/{ => cordapps}/CashStateViewer.fxml (100%) rename tools/explorer/src/main/resources/net/corda/explorer/views/{ => cordapps}/CashViewer.fxml (83%) create mode 100644 tools/explorer/src/test/kotlin/net/corda/explorer/views/GuiUtilitiesKtTest.kt diff --git a/.idea/runConfigurations/explorer.xml b/.idea/runConfigurations/explorer.xml index 393a176dc6..df90329e1c 100644 --- a/.idea/runConfigurations/explorer.xml +++ b/.idea/runConfigurations/explorer.xml @@ -6,7 +6,7 @@