Phi: some cleanup and a error message
This commit is contained in:
parent
1c55371a56
commit
3c4210a819
4 changed files with 46 additions and 36 deletions
|
@ -1,3 +1,7 @@
|
|||
<div data-bind="if: catalogs().length == 0">
|
||||
<h3>No Catalogs found</h3>
|
||||
Sorry, but no package catalogs were found by your FlightGear instance.
|
||||
</div>
|
||||
<div data-bind="foreach: catalogs">
|
||||
<h3>Package <span data-bind="text: id"></span></h3>
|
||||
<!--
|
||||
|
|
|
@ -6,6 +6,10 @@ define([
|
|||
require : 'topics/Tools/Holding'
|
||||
});
|
||||
|
||||
ko.components.register('Tools/Vertical Navigation', {
|
||||
require : 'topics/Tools/VerticalNavigation'
|
||||
});
|
||||
|
||||
ko.components.register('Tools/Stopwatch', {
|
||||
require : 'topics/Tools/Stopwatch'
|
||||
});
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
.phi-widget {
|
||||
border: 3px ridge silver;
|
||||
|
||||
}
|
||||
|
||||
.phi-radiostack {
|
||||
font-family: "Liberation Mono";
|
||||
font-size: 11px;
|
||||
color: silver;
|
||||
background-color: #101010;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.phi-radiostack input {
|
||||
font-family: "Liberation Mono";
|
||||
}
|
||||
|
||||
.phi-radiostack span {
|
||||
width: 3.5em;
|
||||
display: inline-block;
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
.phi-radiostack input {
|
||||
background-color: #404040;
|
||||
color: red;
|
||||
border: 2px inset silver;
|
||||
width: 8ex;
|
||||
}
|
||||
|
||||
.phi-radiostack button {
|
||||
background-color: white;
|
||||
color: black;
|
||||
border: 2px outset gray;
|
||||
padding: 1px 2px 4px 2px;
|
||||
}
|
|
@ -1,3 +1,41 @@
|
|||
<style>
|
||||
.phi-widget {
|
||||
border: 3px ridge silver;
|
||||
|
||||
}
|
||||
|
||||
.phi-radiostack {
|
||||
font-family: "Liberation Mono";
|
||||
font-size: 11px;
|
||||
color: silver;
|
||||
background-color: #101010;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.phi-radiostack input {
|
||||
font-family: "Liberation Mono";
|
||||
}
|
||||
|
||||
.phi-radiostack span {
|
||||
width: 3.5em;
|
||||
display: inline-block;
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
.phi-radiostack input {
|
||||
background-color: #404040;
|
||||
color: red;
|
||||
border: 2px inset silver;
|
||||
width: 8ex;
|
||||
}
|
||||
|
||||
.phi-radiostack button {
|
||||
background-color: white;
|
||||
color: black;
|
||||
border: 2px outset gray;
|
||||
padding: 1px 2px 4px 2px;
|
||||
}
|
||||
</style>
|
||||
<div class="phi-radiostack" data-bind="foreach: radios">
|
||||
<div class="phi-radio">
|
||||
<span data-bind="text: label"></span>
|
||||
|
|
Loading…
Reference in a new issue