diff --git a/src/applets/disks/disks.html b/src/applets/disks/disks.html index 387cb33..5af5b2f 100644 --- a/src/applets/disks/disks.html +++ b/src/applets/disks/disks.html @@ -10,10 +10,13 @@
Current layout:
Proposed layout:
{{ child['name'] }} ({{ (child['size']/1024000000)|round(2) }} GiB)
-/boot/efi - vfat +
{{ child['mountpoint'] }} + {{ child['fstype'] }}
-Popularity Contest -
The Popularity Contest (popcon) is a programme where anonymous data is sent back to Debian, tracking the number of packages installed. More information can be obtained at https://popcon.debian.org.
Would you like to participate in popcon?
+
The Popularity Contest (popcon) is a programme where anonymous data is sent back to Debian, tracking the number of packages installed. More information can be obtained at https://popcon.debian.org.
Ready to install! Please review all changes.
-This is the last chance to back out before committing to instal, please ensure all the details are correct.
+This is the last chance to back out before committing to install, please ensure all the details are correct.
+ +That username is not available
') + else: + return('That username is available
') + build_summary() + return("bleh") + def build_stringlist(): @@ -55,6 +87,7 @@ def build_stringlist(): string_dict['initial_user_text'] = _("Let's set up an initial user.") string_dict['full_name'] = _("Full Name") string_dict['user_name'] = _("Username") + string_dict['user_name_hint'] = _("One word, all lowercase") string_dict['user_name_available'] = _("This username is available") string_dict['user_name_not_available'] = _("This username is not available") string_dict['user_name_reserved'] = _("This username is reserved by the system") @@ -73,4 +106,16 @@ def build_menu(): current_app.config['CONFIG']['settings']['menu']['users'] = (build_stringlist()['menu_item'], "/users", 20) print(current_app.config['CONFIG']['settings']['menu']) + +def build_summary(): + """ + Write up a summary of what this module will do. + """ + current_app.config['CONFIG']['Summary']['users'] = {} + current_app.config['CONFIG']['Summary']['users']['heading'] = "Users and Identity" + current_app.config['CONFIG']['Summary']['users']['bleh'] = current_app.config['CONFIG']['recipe']['popcon']['enable_popcon'] + current_app.config['CONFIG']['Summary']['users']['settings'] = current_app.config['CONFIG']['recipe']['users']['users'] + current_app.config['CONFIG']['Summary']['users']['text'] = "Add primary user with the username: " + str(current_app.config['CONFIG']['recipe']['users']['users'][0]['username']) + return("ok?") + build_menu() diff --git a/src/applets/users/users.html b/src/applets/users/users.html index b3522e4..c61bad4 100644 --- a/src/applets/users/users.html +++ b/src/applets/users/users.html @@ -5,45 +5,57 @@