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:
brent s
2019-11-02 01:45:07 -04:00
parent 138d0b44a0
commit b87b147fec
17 changed files with 298 additions and 0 deletions

View 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> &gt; <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 %}