Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Commit 9fbb676

Browse files
committed
more UI tweaks.
1 parent 6e02d6e commit 9fbb676

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

public/css/main.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,10 @@ input#info-string-fleet-key {
235235
}
236236

237237
#hud div {
238-
position: relative; height: 98%; width: 100%; box-sizing: border-box;
238+
padding: 0 !important;
239+
width: 99%;
240+
height: 99%;
241+
margin: 0 auto;
239242
}
240243

241244
#hud .clear {

public/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@
118118
<script type="text/x-handlebars-template" id="hudTemplate">
119119
<div class="{{status}}">
120120
<h2>{{status}}</h2>
121+
{{#each neighbor}}
122+
<h3>{{neighbor.hostiles}} in {{neighbor.name}}</h3>
123+
{{/each}}
121124
</div>
122125
</script>
123126

public/js/UIPanels.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ var UIPanels = {
142142
image: 'panel-scan.png',
143143
title: Data.ui.currentSystem.text(),
144144
formitems: [
145-
{textinput: {label: 'Copy and paste pilots out of local below', id: 'status-data', class: 'status-data'}},
145+
{textinput: {legend: 'Copy and paste pilots out of local below', id: 'status-data', class: 'status-data'}},
146146
{submit: {text: 'Update Status', onClick: 'submitStatusButtonClick(this)'}}
147147
],
148148
closeable: true
@@ -157,7 +157,7 @@ var UIPanels = {
157157
image: 'panel-scan.png',
158158
title: Data.ui.currentSystem.text(),
159159
formitems: [
160-
{textinput: {label: 'Paste scan results below', id: 'scan-data', class: 'scan-data'}},
160+
{textinput: {legend: 'Paste scan results below', id: 'scan-data', class: 'scan-data'}},
161161
{submit: {text: 'Send Scan', onClick: 'submitScanButtonClick(this)'}}
162162
],
163163
closeable: true

0 commit comments

Comments
 (0)