committing before scrapping; i came to realize just how much of a bad idea it is to have this as a website app instead of a local one.
This commit is contained in:
17
app/templates/storage/disk.html
Normal file
17
app/templates/storage/disk.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends "base.html" %}{% block title %}AIF-NG Configurator | Disks{% endblock %}{% block body %}
|
||||
<div class="jumbotron">
|
||||
<h1>Disks</h1>
|
||||
<p class="lead"><a href="/generator">Generator</a> > <a href="generator/storage">Storage</a> > <a
|
||||
href="generator/storage/disk">Disk</a></p>
|
||||
</div>
|
||||
<h1>Disks</h1>
|
||||
<p>In this section, you must specify device path names of the target disk(s) to install to. It is <b>highly</b>
|
||||
recommended to use actual device paths, but you can specify ONE entry as "auto" which will use the first
|
||||
available unformatted disk. It is not recommended to combine "auto" and actual device path(s).</p>
|
||||
<p>DISK FORM</p>
|
||||
<div class="text-center">
|
||||
<button class="btn btn-primary" onclick="window.location.href = '/generator/storage';">Back</button>
|
||||
<button class="btn btn-primary" onclick="window.location.href = '/generator';">Up</button>
|
||||
<button class="btn btn-primary" onclick="window.location.href = '/generator/filesystem';">Next</button>
|
||||
</div>
|
||||
{% endblock %}
|
||||
0
app/templates/storage/filesystem.html
Normal file
0
app/templates/storage/filesystem.html
Normal file
30
app/templates/storage/index.html
Normal file
30
app/templates/storage/index.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{% extends "base.html" %}{% block title %}AIF-NG Configurator | Storage{% endblock %}{% block body %}
|
||||
<div class="jumbotron">
|
||||
<h1>Storage</h1>
|
||||
<p class="lead"><a href="/generator">Generator</a> > <a href="generator/storage">Storage</a></p>
|
||||
</div>
|
||||
<h1>Storage</h1>
|
||||
<p>In this section, you will configure disks/partitions and filesystems to use for your installation. Optionally, you
|
||||
can also add support for <a href="https://sourceware.org/lvm2/">LVM</a>, <a
|
||||
href="https://gitlab.com/cryptsetup/cryptsetup/-/wiki_pages/home">LUKS</a>, and/or <a
|
||||
href="https://raid.wiki.kernel.org/index.php/Linux_Raid">mdadm</a>.</p>
|
||||
|
||||
<!-- <table class="statustbl">
|
||||
{% for f in (('Disk', 'disk'), ('Filesystem', 'filesystem'), ('LUKS', 'luks'), ('LVM', 'lvm'), ('MD', 'mdadm')) %}
|
||||
<tr>
|
||||
{%- set status = true %}
|
||||
{%- if status == true %}
|
||||
{% set chkbox = ' checked' %}
|
||||
{% else %}
|
||||
{% set chkbox = '' %}
|
||||
{%- endif %}
|
||||
<td><a href="/generator/storage/{{ f[1] }}">{{ f[0] }}</a></td>
|
||||
{#
|
||||
<td>{% '<input type="checkbox" onclick="return false;" disabled="disabled">' if status else
|
||||
'<input type="checkbox" onclick="return false;" disabled="disabled">' %}</td>
|
||||
#}
|
||||
<td><input type="checkbox" onclick="return false;" disabled="disabled"{{ chkbox }}></td>
|
||||
</tr>
|
||||
{%- endfor %}
|
||||
</table> -->
|
||||
{% endblock %}
|
||||
0
app/templates/storage/luks.html
Normal file
0
app/templates/storage/luks.html
Normal file
0
app/templates/storage/lvm.py
Normal file
0
app/templates/storage/lvm.py
Normal file
0
app/templates/storage/mdadm.html
Normal file
0
app/templates/storage/mdadm.html
Normal file
Reference in New Issue
Block a user