Initial (overdue) commit
TODO: - enable dynamic loading of button labels and actions
This commit is contained in:
28
CMDRConsole/templates/assault.html
Normal file
28
CMDRConsole/templates/assault.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Assault{% endblock %}
|
||||
|
||||
{% block buttons %}
|
||||
<div class="button-grid">
|
||||
<button class="grid-button">Speed Boost</button>
|
||||
<button class="grid-button">Hardpoints</button>
|
||||
<button class="grid-button">Drop Chaff</button>
|
||||
<button class="grid-button">Frameshift</button>
|
||||
|
||||
<button class="grid-button">75% Throttle</button>
|
||||
<button class="grid-button">Cargo Bay</button>
|
||||
<button class="grid-button">Shield Cell</button>
|
||||
<button class="grid-button">Supercruise</button>
|
||||
|
||||
<button class="grid-button">Full Stop</button>
|
||||
<button class="grid-button">Fuel Scoop</button>
|
||||
<button class="grid-button">Heat Sink</button>
|
||||
<button class="grid-button">Run Silent</button>
|
||||
|
||||
<button class="grid-button">Full Reverse</button>
|
||||
<button class="grid-button">Landing Gear</button>
|
||||
<button class="grid-button">ECM</button>
|
||||
<button class="grid-button">Toggle Lights</button>
|
||||
</container>
|
||||
{% endblock %}
|
||||
|
||||
21
CMDRConsole/templates/base.html
Normal file
21
CMDRConsole/templates/base.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% block title %}{% endblock %} - CMDRConsole</title>
|
||||
|
||||
<link href="{{ url_for('static', filename='CMDRConsole.css') }}" rel="stylesheet">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script src="{{ url_for('static', filename='CMDRConsole.js') }}"></script>
|
||||
|
||||
<div class="container">
|
||||
<div class="header-grid">
|
||||
<a href="/General"><button class="header-button">General</button></a>
|
||||
<a href="/Mining"><button class="header-button">Mining</button></a>
|
||||
<a href="/Exploration"><button class="header-button">Exploration</button></a>
|
||||
<a href="/SRV"><button class="header-button">SRV</button></a>
|
||||
<a href="/Keyboard"><button class="header-button">Keyboard</button></a>
|
||||
</div>
|
||||
{% block buttons %}{% endblock %}
|
||||
</div>
|
||||
|
||||
28
CMDRConsole/templates/exploration.html
Normal file
28
CMDRConsole/templates/exploration.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Exploration{% endblock %}
|
||||
|
||||
{% block buttons %}
|
||||
<div class="button-grid">
|
||||
<button class="grid-button">Speed Boost</button>
|
||||
<button class="grid-button">Hardpoints</button>
|
||||
<button class="grid-button">Drop Chaff</button>
|
||||
<button class="grid-button">Frameshift</button>
|
||||
|
||||
<button class="grid-button">75% Throttle</button>
|
||||
<button class="grid-button">Cargo Bay</button>
|
||||
<button class="grid-button">Shield Cell</button>
|
||||
<button class="grid-button">Supercruise</button>
|
||||
|
||||
<button class="grid-button">Full Stop</button>
|
||||
<button class="grid-button">Fuel Scoop</button>
|
||||
<button class="grid-button">Heat Sink</button>
|
||||
<button class="grid-button">Run Silent</button>
|
||||
|
||||
<button class="grid-button">Full Reverse</button>
|
||||
<button class="grid-button">Landing Gear</button>
|
||||
<button class="grid-button">ECM</button>
|
||||
<button class="grid-button">Toggle Lights</button>
|
||||
</container>
|
||||
{% endblock %}
|
||||
|
||||
27
CMDRConsole/templates/general.html
Normal file
27
CMDRConsole/templates/general.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}General{% endblock %}
|
||||
|
||||
{% block buttons %}
|
||||
<div class="button-grid">
|
||||
<button class="grid-button">Speed Boost</button>
|
||||
<button class="grid-button">Hardpoints</button>
|
||||
<button class="grid-button">Drop Chaff</button>
|
||||
<button class="grid-button">Frameshift</button>
|
||||
|
||||
<button class="grid-button">75% Throttle</button>
|
||||
<button class="grid-button">Cargo Bay</button>
|
||||
<button class="grid-button">Shield Cell</button>
|
||||
<button class="grid-button">Supercruise</button>
|
||||
|
||||
<button class="grid-button">Full Stop</button>
|
||||
<button class="grid-button">Fuel Scoop</button>
|
||||
<button class="grid-button">Heat Sink</button>
|
||||
<button class="grid-button">Run Silent</button>
|
||||
|
||||
<button class="grid-button">Full Reverse</button>
|
||||
<button class="grid-button">Landing Gear</button>
|
||||
<button class="grid-button">ECM</button>
|
||||
<button class="grid-button">Toggle Lights</button>
|
||||
</container>
|
||||
{% endblock %}
|
||||
87
CMDRConsole/templates/keyboard.html
Normal file
87
CMDRConsole/templates/keyboard.html
Normal file
@@ -0,0 +1,87 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Keyboard{% endblock %}
|
||||
|
||||
{% block buttons %}
|
||||
<div class="track-container">
|
||||
<button class="track-button"></button>
|
||||
</div>
|
||||
<div class="key-container">
|
||||
<button class="grid-key" style="">`</button>
|
||||
<button class="grid-key" style="">1</button>
|
||||
<button class="grid-key" style="">2</button>
|
||||
<button class="grid-key" style="">3</button>
|
||||
<button class="grid-key" style="">4</button>
|
||||
<button class="grid-key" style="">5</button>
|
||||
<button class="grid-key" style="">6</button>
|
||||
<button class="grid-key" style="">7</button>
|
||||
<button class="grid-key" style="">8</button>
|
||||
<button class="grid-key" style="">9</button>
|
||||
<button class="grid-key" style="">0</button>
|
||||
<button class="grid-key" style="">-</button>
|
||||
<button class="grid-key" style="">=</button>
|
||||
<button class="grid-key" style="grid-column-end: span 7">BACK</button>
|
||||
|
||||
|
||||
<button class="grid-key" style="grid-column-end: span 7">TAB</button>
|
||||
<button class="grid-key" style="">q</button>
|
||||
<button class="grid-key" style="">w</button>
|
||||
<button class="grid-key" style="">e</button>
|
||||
<button class="grid-key" style="">r</button>
|
||||
<button class="grid-key" style="">t</button>
|
||||
<button class="grid-key" style="">y</button>
|
||||
<button class="grid-key" style="">u</button>
|
||||
<button class="grid-key" style="">i</button>
|
||||
<button class="grid-key" style="">o</button>
|
||||
<button class="grid-key" style="">p</button>
|
||||
<button class="grid-key" style="">[</button>
|
||||
<button class="grid-key" style="">]</button>
|
||||
<button class="grid-key" style="">\</button>
|
||||
|
||||
<button class="grid-key" style="grid-column-end: span 8">CAPS</button>
|
||||
<button class="grid-key" style="">a</button>
|
||||
<button class="grid-key" style="">s</button>
|
||||
<button class="grid-key" style="">d</button>
|
||||
<button class="grid-key" style="">f</button>
|
||||
<button class="grid-key" style="">g</button>
|
||||
<button class="grid-key" style="">h</button>
|
||||
<button class="grid-key" style="">j</button>
|
||||
<button class="grid-key" style="">k</button>
|
||||
<button class="grid-key" style="">l</button>
|
||||
<button class="grid-key" style="">;</button>
|
||||
<button class="grid-key" style="">'</button>
|
||||
<button class="grid-key" style="grid-column-end: span 7">ENTER</button>
|
||||
|
||||
<!--<button class="grid-key" style="grid-column-end: span 10">SHIFT</button>-->
|
||||
<button class="grid-key-empty" style="grid-column-end: span 2"></button>
|
||||
<button class="grid-key" style="">_</button>
|
||||
<button class="grid-key" style="">|</button>
|
||||
|
||||
<button class="grid-key" style="">z</button>
|
||||
<button class="grid-key" style="">x</button>
|
||||
<button class="grid-key" style="">c</button>
|
||||
<button class="grid-key" style="">v</button>
|
||||
<button class="grid-key" style="">b</button>
|
||||
<button class="grid-key" style="">n</button>
|
||||
<button class="grid-key" style="">m</button>
|
||||
<button class="grid-key" style="">,</button>
|
||||
<button class="grid-key" style="">.</button>
|
||||
<button class="grid-key" style="">/</button>
|
||||
|
||||
<button class="grid-key" style="">:</button>
|
||||
<button class="grid-key" style="">?</button>
|
||||
<button class="grid-key-empty" style="grid-column-end: span 1"></button>
|
||||
<!--<button class="grid-key" style="grid-column-end: span 9">SHIFT</button>-->
|
||||
|
||||
<button class="grid-key" style="grid-column-end: span 5">CTRL</button>
|
||||
<button class="grid-key" style="">ALT</button>
|
||||
<button class="grid-key" style="grid-column-end: span 25">SPACE</button>
|
||||
<button class="grid-key" style="">ALT</button>
|
||||
<button class="grid-key" style="grid-column-end: span 5">CTRL</button>
|
||||
|
||||
<button class="grid-key" style="">LT</button>
|
||||
<button class="grid-key" style="">UP</button>
|
||||
<button class="grid-key" style="">DN</button>
|
||||
<button class="grid-key" style="">RT</button>
|
||||
</div>
|
||||
{% endblock %}
|
||||
27
CMDRConsole/templates/mining.html
Normal file
27
CMDRConsole/templates/mining.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Mining{% endblock %}
|
||||
|
||||
{% block buttons %}
|
||||
<div class="button-grid">
|
||||
<button class="grid-button">Speed Boost</button>
|
||||
<button class="grid-button">Hardpoints</button>
|
||||
<button class="grid-button">Drop Chaff</button>
|
||||
<button class="grid-button">Frameshift</button>
|
||||
|
||||
<button class="grid-button">75% Throttle</button>
|
||||
<button class="grid-button">Cargo Bay</button>
|
||||
<button class="grid-button">Shield Cell</button>
|
||||
<button class="grid-button">Supercruise</button>
|
||||
|
||||
<button class="grid-button">Full Stop</button>
|
||||
<button class="grid-button">Fuel Scoop</button>
|
||||
<button class="grid-button">Heat Sink</button>
|
||||
<button class="grid-button">Run Silent</button>
|
||||
|
||||
<button class="grid-button">Full Reverse</button>
|
||||
<button class="grid-button">Landing Gear</button>
|
||||
<button class="grid-button">ECM</button>
|
||||
<button class="grid-button">Toggle Lights</button>
|
||||
</container>
|
||||
{% endblock %}
|
||||
28
CMDRConsole/templates/srv.html
Normal file
28
CMDRConsole/templates/srv.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}SRV{% endblock %}
|
||||
|
||||
{% block buttons %}
|
||||
<div class="button-grid">
|
||||
<button class="grid-button">Speed Boost</button>
|
||||
<button class="grid-button">Hardpoints</button>
|
||||
<button class="grid-button">Drop Chaff</button>
|
||||
<button class="grid-button">Frameshift</button>
|
||||
|
||||
<button class="grid-button">75% Throttle</button>
|
||||
<button class="grid-button">Cargo Bay</button>
|
||||
<button class="grid-button">Shield Cell</button>
|
||||
<button class="grid-button">Supercruise</button>
|
||||
|
||||
<button class="grid-button">Full Stop</button>
|
||||
<button class="grid-button">Fuel Scoop</button>
|
||||
<button class="grid-button">Heat Sink</button>
|
||||
<button class="grid-button">Run Silent</button>
|
||||
|
||||
<button class="grid-button">Full Reverse</button>
|
||||
<button class="grid-button">Landing Gear</button>
|
||||
<button class="grid-button">ECM</button>
|
||||
<button class="grid-button">Toggle Lights</button>
|
||||
</container>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user