diff --git a/src/Eagle.ts b/src/Eagle.ts index 2ed8bdcb..5ce8f3b0 100644 --- a/src/Eagle.ts +++ b/src/Eagle.ts @@ -382,7 +382,15 @@ export class Eagle { return ""; } - return fileInfo.getText(); + return fileInfo.getHtml(); + }, this); + + activeConfigHtml : ko.PureComputed = ko.pureComputed(() => { + if (this.logicalGraph().getActiveGraphConfig() === null){ + return ""; + } + + return "Config: " +this.logicalGraph().getActiveGraphConfig().getName() }, this); toggleWindows = () : void => { diff --git a/src/FileInfo.ts b/src/FileInfo.ts index 2ac98bf2..f3418265 100644 --- a/src/FileInfo.ts +++ b/src/FileInfo.ts @@ -380,6 +380,18 @@ export class FileInfo { } } + getHtml = () : string => { + if (this.repositoryName !== ""){ + if (this.path === ""){ + return "" + this.repositoryService + ": " + this.repositoryName + " (" + this.repositoryBranch + "): " + this.name; + } else { + return "" + this.repositoryService + ": " + this.repositoryName + " (" + this.repositoryBranch + "): " + this.path + "/" + this.name; + } + } else { + return this.name; + } + } + toString = () : string => { let s = ""; diff --git a/static/base.css b/static/base.css index b28d2e53..1163e457 100644 --- a/static/base.css +++ b/static/base.css @@ -2057,6 +2057,10 @@ ul.nav.navbar-nav .dropdown-item:hover{ transform: translateY(-50%); } +#activeConfig{ + margin-left:5px; +} + .navbar-light .navbar-nav .nav-link { color: rgba(255, 255, 255, 0.55); } diff --git a/static/tables.css b/static/tables.css index 9b2ea961..5a8280d1 100644 --- a/static/tables.css +++ b/static/tables.css @@ -178,6 +178,7 @@ td:first-child input { #graphConfigurationsTableWrapper thead{ top: 0px; + border-top: 1px white solid; } .eagleTableWrapper th{ diff --git a/templates/inspector.html b/templates/inspector.html index 1985138f..452c82c9 100644 --- a/templates/inspector.html +++ b/templates/inspector.html @@ -271,17 +271,18 @@

Graph Info

- link - sticky_note_2 - menu_book -
-
- folder_open + folder_open account_tree + link + sticky_note_2 + menu_book +
+
+ dns
@@ -310,6 +311,22 @@
Modified Author:
+
+
+
Active Config:
+
+
+ +
+
+
+
+
Config Fields:
+
+
+ +
+
diff --git a/templates/navbar.html b/templates/navbar.html index 59830ce9..abcf5b49 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -226,6 +226,7 @@
- + + draw