diff --git a/package.nw/gt_roster.html b/package.nw/gt_roster.html index 8c64a400..d4ad31f2 100644 --- a/package.nw/gt_roster.html +++ b/package.nw/gt_roster.html @@ -356,7 +356,10 @@ -
+
+

Instances

+
+
diff --git a/package.nw/lib/roster.js b/package.nw/lib/roster.js index 14d7ca2b..92615c54 100644 --- a/package.nw/lib/roster.js +++ b/package.nw/lib/roster.js @@ -2404,20 +2404,18 @@ function updateInstances() color = "purple"; } worker += - "
` + + `" + - shortInst + - "
"; + `> ${shortInst}` } instancesDiv.innerHTML = worker; - instancesDiv.style.display = ""; + instancesWrapper.style.display = ""; + } + else { + instancesDiv.innerHTML = ""; + instancesWrapper.style.display = "none"; } - else instancesDiv.style.display = "none"; } function processStatus(newMessage) diff --git a/package.nw/lib/style_roster.css b/package.nw/lib/style_roster.css index 0f19cf79..f8b5c5bb 100644 --- a/package.nw/lib/style_roster.css +++ b/package.nw/lib/style_roster.css @@ -325,7 +325,6 @@ body.roster { padding: 0; } - #huntingMatrixDiv h3 { color: #099; border-bottom: 2px solid #066; @@ -374,6 +373,33 @@ body.roster { padding: 2px; } +#instancesWrapper { + flex: 0 0 auto; + display: flex; + flex-direction: column; + align-items: stretch; + justify-content: flex-start; + min-width: 80px; + max-width: 160px; + margin-top: 22px; + text-align: right; +} +#instancesWrapper h3 { + text-align: left; + font-size: 12px; + margin: 0px; + margin-bottom: 2px; + padding: 0; + text-align: right; +} +#instancesWrapper .button { + display: block; + margin: 1px; + padding: 2px; + border-width: 1px; + text-align: left; +} + #RosterTable > table { width: 100%; } @@ -520,3 +546,4 @@ table.rosterTable thead th:first-child { .rosterTable tr:hover td { box-shadow: inset 0px 11px 6px -8px #888, inset 0px -11px 6px -8px #888; } +