From 6290e100fa679c9b962ddcf68d00f7b99c063f30 Mon Sep 17 00:00:00 2001 From: Yuuta Liang Date: Thu, 23 Nov 2023 08:15:52 +0800 Subject: Use basic ASCII Signed-off-by: Yuuta Liang --- src/main/ui/MainUI.java | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'src/main/ui/MainUI.java') diff --git a/src/main/ui/MainUI.java b/src/main/ui/MainUI.java index 4735c55..9637d79 100644 --- a/src/main/ui/MainUI.java +++ b/src/main/ui/MainUI.java @@ -37,24 +37,25 @@ import static ui.widgets.UIUtils.*; /** * The main GUI. - * ┌──────────────────────────────┐┌──────────────────────────────┐┌──────────────────────────────┐ - * │ JCA X ││ JCA X ││ JCA X │ - * ├──────────────────────────────┤├──────────────────────────────┤├──────────────────────────────┤ - * │Load Save CSR││Load Save Sign Revoke Export││Load Save New Ena Dis Del│ - * ├────┬───────┬───────────┬─────┤├────┬───────┬──────────┬──────┤├────┬───────┬─────────────────┤ - * │ CA │ Certs │ Templates │ ││ CA │ Certs │ Templates│ ││ CA │ Certs │ Templates │ - * ├────┴───────┴───────────┴─────┤├─┬──┴─────┬─┴────┬─────┼──────┤├─┬──┴───┬───┴─────┬───────────┤ - * │ Welcome to JCA ││ │ Serial │ Subj │ Bef │ To ││ │ Name │ Subj │ Validity │ - * │ │├─┴────────┴──────┴─────┴──────┤├─┴──────┴─────────┴───────────┤ - * │ CA certificate: Install CSR ││ (Issued Certs) ││ (All Templates) │ - * ├──────────────────────────────┤├──────────────────────────────┤├──────────────────────────────┤ - * ├─────┼──────────┼─────────────┤├─────┼──────────┼─────────────┤├─────┼──────────┼─────────────┤ - * │Time │ Operator │ Action ││Time │ Operator │ Action ││Time │ Operator │ Action │ - * ├─────┴──────────┴─────────────┤├─────┴──────────┴─────────────┤├─────┴──────────┴─────────────┤ - * │ (Audit Logs) ││ (Audit Logs) ││ (Audit Logs) │ - * ├──────────────────────────────┤├──────────────────────────────┤├──────────────────────────────┤ - * │ Ready: (Last operation) ││ Unsaved: (Last operation) ││ Ready: (Last Operation) │ - * └──────────────────────────────┘└──────────────────────────────┘└──────────────────────────────┘ + * +------------------------------++------------------------------++------------------------------+ + * | JCA X || JCA X || JCA X | + * +------------------------------++------------------------------++------------------------------+ + * |Load Save CSR||Load Save Sign Revoke Export||Load Save New Ena Dis Del| + * +----+-------+-----------+-----++----+-------+----------+------++----+-------+-----------------+ + * | CA | Certs | Templates | || CA | Certs | Templates| || CA | Certs | Templates | + * +----+-------+-----------+-----++-+--+-----+-+----+-----+------++-+--+---+---+-----+-----------+ + * | Welcome to JCA || | Serial | Subj | Bef | To || | Name | Subj | Validity | + * | |+-+--------+------+-----+------++-+------+---------+-----------+ + * | Private key: Generate || (Issued Certs) || (All Templates) | + * | CA certificate: Install CSR || || | + * +------------------------------++------------------------------++------------------------------+ + * +-----+----------+-------------++-----+----------+-------------++-----+----------+-------------+ + * |Time | Operator | Action ||Time | Operator | Action ||Time | Operator | Action | + * +-----+----------+-------------++-----+----------+-------------++-----+----------+-------------+ + * | (Audit Logs) || (Audit Logs) || (Audit Logs) | + * +------------------------------++------------------------------++------------------------------+ + * | Ready: (Last operation) || Unsaved: (Last operation) || Ready: (Last Operation) | + * +------------------------------++------------------------------++------------------------------+ */ public class MainUI extends JFrame { /** -- cgit v1.2.3