From 47cffb6697caadca5c5629b404e44222a6328a18 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 5 Jul 2020 13:50:25 +0200 Subject: [PATCH] Add profile generator --- assets/styles.css | 6 +++--- views/util/profile-url.php | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 views/util/profile-url.php diff --git a/assets/styles.css b/assets/styles.css index eafa3cd..ab40a53 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -103,6 +103,9 @@ input[type="submit"][disabled="true"] { pointer-events: none; opacity: 0.3; } +select { + margin: 0 0 16px 0; +} .green { color: green; } @@ -113,9 +116,6 @@ input[type="submit"][disabled="true"] { display: inline-block; margin: 0 0 8px; } -.modesContainer { - margin-top: 16px; -} .modes { display: none; } diff --git a/views/util/profile-url.php b/views/util/profile-url.php new file mode 100644 index 0000000..70c3e62 --- /dev/null +++ b/views/util/profile-url.php @@ -0,0 +1,23 @@ +layout('template.base', ['title' => $title]) ?> + +

Profile URL

+
+
+

This tool generates an URL for your Keyoxide profile page.

+

Public key

+ + +
+ +

Profile URL

+ Waiting for input... +

Help

+

When using the Web Key Directory source, the Input looks like username@domain.org.

+

When using the keys.openpgp.org source, the Input is either the fingerprint of your public key, or the main identity's email address.

+

When using the Keybase source, the Input is the URL obtained by going to your Keybase profile page, clicking on the key id of your keypair and copying the URL of the this key link.

+
+