22 Commits
Author SHA1 Message Date
Reagan Lopez 554b40f69d gui: Fix rescan media in bg
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-05-28 13:47:21 -07:00
Reagan Lopez a656d4149f gui: Scan Media in the background
In order to avoid delay in loading the installer, scan the media in the
background as a separate go routine.

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-05-28 13:47:21 -07:00
Brian J Lovin cdc969c3b0 syscheck: Localize syscheck and dialog
Add localization strings to proper files and correct calls to insert
these strings where necessary for syscheck and for the dialog when the
user's system fails.

Signed-off-by: Brian J Lovin <brian.j.lovin@intel.com>
2019-05-15 19:01:54 -07:00
Brian J Lovin dbeeda502c gui: Add error popup on syscheck failures
After the user chooses a language (so we can localize the error), pop up
an error if the syscheck fails.

Add a quiet option to syscheck to disable printing to the terminal.

Signed-off-by: Brian J Lovin <brian.j.lovin@intel.com>
2019-05-15 19:01:54 -07:00
Mark D Horn d96230f8d9 tui: gui: Do not display version in Demo mode
For documentation purposes (screen shots), we do not want to
include the version string. Having a version string in the image
requires updating all image each release.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-05-08 16:04:27 -07:00
Reagan Lopez 86b8a0464b gui: Add third set of translations
Add the third set of translations and optimize screen size further.

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-05-02 18:08:00 -07:00
Reagan Lopez 7e0d6fe955 gui: Implements disk encryption
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-05-01 19:11:23 -07:00
Reagan Lopez c336307112 gui: Introduce common functions for Dialog (popup)
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-05-01 19:11:23 -07:00
Reagan Lopez 6f9b0a8d0c gui: Prompts user for confirmation before install
Also disables exit button during installation and
re-enables it after installation is complete.

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-29 19:39:51 -07:00
Mark D Horn 8bfcbe04e5 gui: remove cancel button from telemetry
Some users were confused by having a Cancel button on the
required Telemetry screen. They assumed if the state was
what they already wanted, they could just Cancel.
We want them to Confirm each time if Telemetry is enabled
or disabled.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-26 21:36:24 -07:00
Mark D Horn 9f1de156bd gui: locale: Ensure consistent branding
All occurrences of Clear Linux* OS should be the same.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-24 17:20:01 -07:00
Reagan Lopez dbd0381378 gui: Updates styling and screen size to accommodate translated strings
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-23 18:52:18 -07:00
Reagan Lopez 281449eb17 gui: Applies localization to additional strings
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-23 18:52:18 -07:00
Mark D Horn 6afc47e238 Set Default Application Icon
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-22 12:52:05 -07:00
Reagan Lopez 16ddfc496a gui: Make User Add page as Required
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-22 11:22:15 -07:00
Reagan Lopez 5eb6b7dddb gui: Add the Delete user feature
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-22 09:44:47 -07:00
Reagan Lopez 20369d34f6 gui: Introduces the new User Add page
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-22 09:44:44 -07:00
Reagan Lopez 1d349e0476 gui: Left aligns Back button
Also, fixes a lint issue

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-19 15:06:47 -07:00
Reagan Lopez 4c1f7a9dfe gui: Introduces localization
- Modifies the screen flow to first launch the Welcome (Language) page
- Adds localization package "gotext"
- Enables localization for "en_US", "zh_CN" and "es_MX"
- Modifies the strings to use localized version

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-19 15:04:57 -07:00
Reagan Lopez 0f38516893 gui: Additional gui pages and styling updates
- Introduces new Hostname page
- Uses .css file for styling
- Adds search feature in Language, Keyboard and Timezone pages
- Updates button styles

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-19 14:29:35 -07:00
Reagan Lopez 7acfab2fc5 Fixes lint issues in initial GUI code
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-19 14:29:35 -07:00
Ikey Doherty 2f9461b2e1 gui: Initial introduction of pre-alpha installer GUI (bootstrap)
This GUI has been implemented in GTK+ and is very much a work in
progress. So far, we have a number of initial pages implemented:

 - Disk Configuration
 - Bundles
 - Keyboard
 - Language
 - Timezone
 - Telemetry

Note, some of the pages are quite ugly and basic and will need
some improvements. Additionally, the disk config page is currently
very crude, only supporting automatic installation mode.

Additionally, the use of pkexec will ignore environmental variables
for the proxy, thus, proxy support is a bust in the GUI installer.
Some OS-level work is expected to resolve this magically anyway.

There are some ugly hardcoded elements, such as relying on a system
wallpaper file for CSS, and the cooked-in CSS vs an on-disk .css file
that designers can edit and tweak locally. Note that error handling
is incredibly immature right now, resulting in a panic. Realistically
we need to show a "success" or "failure" page within a stack on the
install page to let the user know what happened, and offer the choice
of a reboot.

As a final note, the UX is still not rock solid, and will need
a design-develop feedback loop to improve. This commit represents
my initial handoff for others to jump in and vastly improve the
GUI.

Signed-off-by: Ikey Doherty <ikey.doherty@intel.com>
2019-04-19 14:25:56 -07:00