2015-01-25 12:02:20 +00:00
|
|
|
<!DOCTYPE html>
|
2015-02-21 19:50:36 +00:00
|
|
|
<html manifest="phi.appcache" lang="en">
|
2015-01-25 12:02:20 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title>Phi (FI) - The FlightGear User Interface</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
|
|
<meta name="apple-mobile-web-app-title" content="Phi (FI)">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
2015-02-22 20:18:23 +00:00
|
|
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
|
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
|
|
<meta http-equiv="Expires" content="0" />
|
2015-01-25 12:02:20 +00:00
|
|
|
<link rel="manifest" href="manifest.json">
|
2015-02-22 20:18:23 +00:00
|
|
|
<!-- non-retina iPhone pre iOS 7 -->
|
2015-01-25 12:02:20 +00:00
|
|
|
<link rel="apple-touch-icon" href="images/FI_logo-57.png" sizes="57x57">
|
|
|
|
<!-- non-retina iPad vor iOS 7 -->
|
|
|
|
<link rel="apple-touch-icon" href="images/FI_logo-72.png" sizes="72x72">
|
|
|
|
<!-- non-retina iPad iOS 7 -->
|
|
|
|
<link rel="apple-touch-icon" href="images/FI_logo-76.png" sizes="76x76">
|
2015-02-22 20:18:23 +00:00
|
|
|
<!-- retina iPhone pre iOS 7 -->
|
2015-01-25 12:02:20 +00:00
|
|
|
<link rel="apple-touch-icon" href="images/FI_logo-114.png" sizes="114x114">
|
|
|
|
<!-- retina iPhone iOS 7 -->
|
|
|
|
<link rel="apple-touch-icon" href="images/FI_logo-120.png" sizes="120x120">
|
2015-02-22 20:18:23 +00:00
|
|
|
<!-- retina iPad pre iOS 7 -->
|
2015-01-25 12:02:20 +00:00
|
|
|
<link rel="apple-touch-icon" href="images/FI_logo-144.png" sizes="144x144">
|
|
|
|
<!-- retina iPad iOS 7 -->
|
|
|
|
<link rel="apple-touch-icon" href="images/FI_logo-152.png" sizes="152x152">
|
|
|
|
<!--Android-->
|
|
|
|
<link rel="shortcut icon" href="images/FI_logo-196.png" sizes="196x196">
|
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/Fonts/LiberationFonts/LiberationFonts.css">
|
|
|
|
<link rel="stylesheet" href="3rdparty/leaflet-0.7.3/leaflet.css" />
|
2015-02-07 22:16:34 +00:00
|
|
|
<link id="ui-theme" rel="stylesheet" href="3rdparty/jquery-ui-themes-1.11.2/themes/smoothness/jquery-ui.min.css" />
|
2015-01-25 12:02:20 +00:00
|
|
|
|
|
|
|
<style>
|
|
|
|
* {
|
|
|
|
font-family: 'Liberation Sans';
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body, #wrapper {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toolbar {
|
|
|
|
background: url('images/FI_logo.svg') no-repeat left #427ebf;
|
|
|
|
height: 75px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
padding-left: 100px;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#content {
|
|
|
|
position: absolute;
|
|
|
|
top: 75px;
|
|
|
|
bottom: 14pt;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#widgetarea {
|
2015-03-04 11:16:17 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
position: fixed;
|
2015-01-25 12:02:20 +00:00
|
|
|
top: 104px;
|
|
|
|
right: 0;
|
|
|
|
width: 220px;
|
|
|
|
bottom: 14pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
#statusbar {
|
|
|
|
background-color: gray;
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
height: 14pt;
|
|
|
|
bottom: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-03-05 18:41:08 +00:00
|
|
|
#statusbar a {
|
|
|
|
color: black;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#statusbar a:active {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#statusbar a:visited {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#statusbar a:hover {
|
|
|
|
color: black;
|
|
|
|
padding: 0;
|
|
|
|
border: 1px dotted silver;
|
|
|
|
}
|
|
|
|
|
2015-01-25 12:02:20 +00:00
|
|
|
.htabs {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
top: 0px;
|
|
|
|
height: 29px;
|
|
|
|
background: #427ebf;
|
|
|
|
}
|
|
|
|
|
|
|
|
.htabs ul {
|
|
|
|
list-style: none;
|
|
|
|
text-align: left;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 0 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.htabs ul li {
|
|
|
|
background-color: #bbb;
|
|
|
|
background-image: linear-gradient(180deg, #fff, #bbb);
|
|
|
|
float: left;
|
|
|
|
width: 6em;
|
|
|
|
height: 25px;
|
|
|
|
margin-left: 2px;
|
|
|
|
margin-right: 2px;
|
|
|
|
border-left: 2px solid #888;
|
|
|
|
border-right: 2px solid #888;
|
|
|
|
border-top: 2px solid #888;
|
|
|
|
border-bottom: 2px solid #888;
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
color: #888;
|
|
|
|
padding: 5px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.htabs ul li a, .htabs ul li a:visited {
|
|
|
|
text-decoration: none;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
|
|
|
|
.htabs ul li:hover {
|
|
|
|
color: #444;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.htabs ul li.selected {
|
|
|
|
background-color: #eee;
|
|
|
|
background-image: linear-gradient(180deg, #fff, #eee);
|
|
|
|
border-bottom: 2px solid #eee;
|
|
|
|
color: #444;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.htabs ul li a {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 18px;
|
|
|
|
padding-top: 1px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#htabs-content {
|
|
|
|
position: absolute;
|
|
|
|
top: 29px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: #eee;
|
|
|
|
padding: 10px 230px 10px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vtabs {
|
|
|
|
float: left;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
width: 100px;
|
|
|
|
background-color: #eee;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vtabs ul {
|
|
|
|
list-style: none;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vtabs ul li {
|
|
|
|
background: #427ebf;
|
|
|
|
background-image: linear-gradient(to bottom, #d3d9e0, #427ebf);
|
|
|
|
border-radius: 10px;
|
|
|
|
box-shadow: 0px 7px 9px #666666;
|
|
|
|
color: #eee;
|
|
|
|
font-size: 18px;
|
|
|
|
padding: 5px 7px 5px 7px;
|
|
|
|
margin: 10px 0;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vtabs ul li:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
color: #000;
|
|
|
|
background-image: linear-gradient(to bottom, #fcfcf4, #fbfc46);
|
|
|
|
}
|
|
|
|
|
|
|
|
.vtabs ul li.selected {
|
|
|
|
background-image: linear-gradient(to bottom, #fcfcf4, #fbfc46);
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
#vtabs-content {
|
|
|
|
margin-left: 140px;
|
|
|
|
padding: 5px;
|
2015-02-16 14:18:42 +00:00
|
|
|
overflow: auto;
|
|
|
|
height: 100%;
|
2015-01-25 12:02:20 +00:00
|
|
|
}
|
2015-02-07 22:16:34 +00:00
|
|
|
|
2015-02-22 20:18:23 +00:00
|
|
|
#refresh-button {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2015-02-07 22:16:34 +00:00
|
|
|
.switcher_container:before {
|
2015-02-16 14:18:42 +00:00
|
|
|
content: 'Theme';
|
|
|
|
padding-right: 0.5em;
|
|
|
|
color: white;
|
2015-02-07 22:16:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.switcher_container {
|
2015-02-16 14:18:42 +00:00
|
|
|
padding-right: 5px;
|
|
|
|
float: right;
|
2015-02-07 22:16:34 +00:00
|
|
|
}
|
2015-02-16 14:18:42 +00:00
|
|
|
|
2015-02-07 22:16:34 +00:00
|
|
|
.switcher_list {
|
2015-02-16 14:18:42 +00:00
|
|
|
padding: 2px;
|
2015-02-07 22:16:34 +00:00
|
|
|
}
|
2015-02-16 14:18:42 +00:00
|
|
|
|
2015-02-07 22:16:34 +00:00
|
|
|
.switcher_label {
|
2015-02-16 14:18:42 +00:00
|
|
|
display: none;
|
2015-02-07 22:16:34 +00:00
|
|
|
}
|
2015-01-25 12:02:20 +00:00
|
|
|
</style>
|
|
|
|
|
2014-03-14 20:15:51 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2015-01-25 12:02:20 +00:00
|
|
|
<div id="wrapper">
|
|
|
|
<div id="toolbar">
|
|
|
|
<h1>Phi - The FlightGear User Interface</h1>
|
|
|
|
</div>
|
|
|
|
<div id="content">
|
|
|
|
<div class="tabs htabs">
|
|
|
|
<ul data-bind="foreach: topics">
|
|
|
|
<li
|
|
|
|
data-bind="text: $data,
|
|
|
|
css: { selected: $data == $root.selectedTopic() },
|
|
|
|
click: $root.selectTopic">
|
|
|
|
</li>
|
|
|
|
</ul>
|
2015-02-22 20:18:23 +00:00
|
|
|
<button id="refresh-button"
|
|
|
|
data-bind="button: { icons: { primary: 'ui-icon-refresh' }, text: false }, click: refresh">Refresh Page</button>
|
2015-02-07 22:16:34 +00:00
|
|
|
<div id="ui-theme-switcher"></div>
|
2015-01-25 12:02:20 +00:00
|
|
|
</div>
|
2015-03-04 11:16:17 +00:00
|
|
|
<div id="htabs-content" data-bind="component: { name: selectedTopic, params: { topic: selectedSubtopic } }"></div>
|
2015-01-25 12:02:20 +00:00
|
|
|
</div>
|
|
|
|
<div id="widgetarea">
|
|
|
|
<div data-bind="foreach: widgets">
|
|
|
|
<div class="phi-widget" data-bind="component: { name: $data }"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="statusbar">
|
2015-03-05 18:41:08 +00:00
|
|
|
<span>FlightGear. Fly free, be happy. <a href="http://www.flightgear.org/">http://www.flightgear.org/</a></span>
|
2015-01-25 12:02:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-03-14 20:15:51 +00:00
|
|
|
</body>
|
2015-01-25 12:02:20 +00:00
|
|
|
<script type="text/javascript" async="async" data-main="./main" src="3rdparty/require/require.js"></script>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
|
2014-03-14 20:15:51 +00:00
|
|
|
|