diff --git a/src/applets/disks/disks.html b/src/applets/disks/disks.html index c7d34bd..1cb217f 100644 --- a/src/applets/disks/disks.html +++ b/src/applets/disks/disks.html @@ -1,31 +1,9 @@ {% extends "layout.html" %} {% block body %} -
+
-
- -

  System Installer - Disks and Partitions

-
-
- -
- -
- - - -
- -

How would you like to install Debian?

+

How would you like to install Debian?


@@ -46,42 +24,11 @@
-

There are {{ blockdevs["blockdevices"]|count }} block devices detected.

-

They are

-
- -{% for disk in blockdevs["blockdevices"] %} -

Diskname: {{ disk['name'] }}

-

Model: {{ disk['model'] }}

-

Serial: {{ disk['serial'] }}

-

Removable: {{ disk['rm'] }}

-

Size: {{ (disk['size'] | int) / 1024000000 | round(2) }} GiB

-

ID: {{disk['id'] }}

-

pttype: {{disk['pttype'] }}

-

Maj:min: {{disk['maj:min']}}

-

phy-sec: {{ disk['phy-sec'] }}. log-sec: {{ disk['log-sec'] }}

-

There are {{ disk['children']|count }} Children

-{% for child in disk['children'] %} -
-

Name: {{ child['name'] }}. Path: {{ child['path'] }}. {{ child['size'] }}. Block: {{ child['subsystems'] }} {{ child['maj:min'] }} {{ child['type'] }}

-

Fstype: {{ child['fstype'] }}. Label: {{ child['label'] }}. Rota: {{ child['rota'] }}

-

Parttypename: {{ child['parttypename'] }} -
-{% endfor %} -
-{% endfor %} -

Proposed layout:

- +
- -
- -

Physical disk: TOSHIBA HDWD120 (2000 GB)

@@ -129,11 +76,41 @@
- -

-
+ +
+ +

There are {{ blockdevs["blockdevices"]|count }} block devices detected.

+

They are

+
+ +{% for disk in blockdevs["blockdevices"] %} +

Diskname: {{ disk['name'] }}

+

Model: {{ disk['model'] }}

+

Serial: {{ disk['serial'] }}

+

Removable: {{ disk['rm'] }}

+

Size: {{ (disk['size'] | int) / 1024000000 | round(2) }} GiB

+

ID: {{disk['id'] }}

+

pttype: {{disk['pttype'] }}

+

Maj:min: {{disk['maj:min']}}

+

phy-sec: {{ disk['phy-sec'] }}. log-sec: {{ disk['log-sec'] }}

+

There are {{ disk['children']|count }} Children

+{% for child in disk['children'] %} +
+

Name: {{ child['name'] }}. Path: {{ child['path'] }}. {{ child['size'] }}. Block: {{ child['subsystems'] }} {{ child['maj:min'] }} {{ child['type'] }}

+

Fstype: {{ child['fstype'] }}. Label: {{ child['label'] }}. Rota: {{ child['rota'] }}

+

Parttypename: {{ child['parttypename'] }} +
+{% endfor %} +
+{% endfor %} + + + +



@@ -151,7 +128,6 @@
-
{% endblock %} diff --git a/src/applets/disks/routes.py b/src/applets/disks/routes.py index c9062ee..2022747 100644 --- a/src/applets/disks/routes.py +++ b/src/applets/disks/routes.py @@ -3,7 +3,7 @@ from flask import Flask, request, session, redirect, \ url_for, render_template, flash, Blueprint import dmm.lsblk as lsblk -@bp.route('/disks/') +@bp.route('/disks') def disks(): """ Disks screen for the webui. diff --git a/src/applets/software/software.html b/src/applets/software/software.html index 980d834..3dcfb7a 100644 --- a/src/applets/software/software.html +++ b/src/applets/software/software.html @@ -1,24 +1,9 @@ {% extends "layout.html" %} {% block body %} -

Select Software

+
-
- - -
- -
- -
- -

Would you like fries with that?

+

Would you like fries with that?


diff --git a/src/applets/summary/summary.html b/src/applets/summary/summary.html index ead12cf..ba1b1c0 100644 --- a/src/applets/summary/summary.html +++ b/src/applets/summary/summary.html @@ -1,36 +1,9 @@ - - - - - - - - - +{% extends "layout.html" %} +{% block body %} -
+
-
-
- -

Summary

- -
- - - - -
- -

Ready to install.

+

Ready to install! Please review all changes.


@@ -41,8 +14,8 @@
+
- - +{% endblock %} diff --git a/src/applets/users/users.html b/src/applets/users/users.html index 312b47d..994fc00 100644 --- a/src/applets/users/users.html +++ b/src/applets/users/users.html @@ -1,43 +1,18 @@ - - - - - - - - - +{% extends "layout.html" %} +{% block body %} -
+
-
-
- -

Configure User

+

Let's set up an initial user.


+ - - -
- -

Let's set up an initial user.

- -
+
- -
- +
@@ -69,6 +44,8 @@
+
+

@@ -79,5 +56,6 @@
- - +
+ +{% endblock %} diff --git a/src/applets/welcome/welcome.html b/src/applets/welcome/welcome.html index 5c6c0ad..51caef9 100644 --- a/src/applets/welcome/welcome.html +++ b/src/applets/welcome/welcome.html @@ -1,47 +1,19 @@ - - - - - - - - - +{% extends "layout.html" %} +{% block body %} -
+
- -
-
- -

Welcome to System Installer

+

Welcome! This setup program will install Debian on to your system.


- - - -
- -

Welcome! This setup program will install Debian on to your system.

- -
- -
+
- -