commit 49eba63d5a14b7565849131fe2b498b36113792b
parent 68345c167c414ebbf4b7037c1fc15f077b782730
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Fri, 10 Jan 2025 13:13:51 +0100
prettify
Diffstat:
4 files changed, 29 insertions(+), 10 deletions(-)
diff --git a/web/templates/landing.html b/web/templates/landing.html
@@ -22,7 +22,7 @@
<div id="ebanner" class="alert alert-info" role="alert">
<h4 class="alert-heading">Look up or register</h4>
<hr>
- <p class="mb-0">Select a type of address that you want to look up or register.</p>
+ <p class="mb-0">Select a type of alias that you want to look up or link to a payment system address.</p>
</div>
<hr>
{{range .validators}}
diff --git a/web/templates/landing_email.html b/web/templates/landing_email.html
@@ -22,7 +22,7 @@
<div id="ebanner" class="alert alert-info" role="alert">
<h4 class="alert-heading">Look up email address</h4>
<hr>
- <p class="mb-0">Enter an email address (e.g. <i>jdoe@example.com</i>) to look up the associated target URI or register a target URI if it is still availialbe.</p>
+ <p class="mb-0">Enter an email address (e.g. <i>jdoe@example.com</i>) to look up the associated Payment System Address. If it is still unlinked and under your control you will be given the option to link it with a Payment System Address after lookup.</p>
</div>
<hr>
<form method="get" action="/lookup/email">
diff --git a/web/templates/landing_phone.html b/web/templates/landing_phone.html
@@ -22,7 +22,7 @@
<div id="ebanner" class="alert alert-info" role="alert">
<h4 class="alert-heading">Look up phone number</h4>
<hr>
- <p class="mb-0">Enter a phone number without the `+` and no spaces (e.g. <i>49123456789</i>) to look up the associated target URI. If it is still available you will be able to register it.</p>
+ <p class="mb-0">Enter a phone number without the `+` and no spaces (e.g. <i>49123456789</i>) to look up the associated Payment System Address. If it is still unlinked and under your control you will be given the option to link it with a Payment System Address after lookup.</p>
</div>
<form method="get" action="/lookup/phone">
<div class="row">
diff --git a/web/templates/lookup_result.html b/web/templates/lookup_result.html
@@ -21,17 +21,17 @@
{{end}}
<div id="sbanner" class="container pt-5" hidden>
<div class="alert alert-success" role="alert">
- <h4 class="alert-heading">Registration initiated!</h4>
+ <h4 class="alert-heading">Alias validation initiated.</h4>
<hr>
- Please complete your registration according to the instructions sent to you.
+ Please complete your alias validation according to the instructions sent to you so that we can be sure it is really you!
</div>
</div>
{{if .available}}
<div class="container pt-5">
<div id="ebanner" class="alert alert-info" role="alert">
- <h4 class="alert-heading">Availiable!</h4>
+ <h4 class="alert-heading">Available!</h4>
<hr>
- <p class="mb-0">`{{.address}}` is not yet registered.</p>
+ <p class="mb-0">`{{.address}}` is not yet linked with any Payment System Address.</p>
</div>
</div>
<hr>
@@ -42,7 +42,7 @@
<div class="col-lg-6 offset-lg-3 text-center">
<div class="input-group mb-3">
<div class="input-group-prepend">
- <span class="input-group-text" id="inputGroup-sizing-default">Target URI</span>
+ <span class="input-group-text" id="inputGroup-sizing-default">Payment System Address</span>
</div>
<input id="uriInput" name="target_uri" type="text" class="form-control" aria-label="Default" aria-describedby="inputGroup-sizing-default">
</div>
@@ -50,12 +50,31 @@
</div>
<div class="row">
<div class="col-lg-6 offset-lg-3 text-center">
- <input class="btn btn-primary" type="submit" value="Register">
+ <input class="btn btn-primary" type="submit" value="Link">
</div>
</div>
</form>
{{else}}
- Lookup result: {{.result}}
+ <div class="container pt-5">
+ <div id="ebanner" class="alert alert-dark" role="alert">
+ <h4 class="alert-heading">Available!</h4>
+ <hr>
+ <p class="mb-0">`{{.address}}` is linked with a Payment System Address.</p>
+ </div>
+ </div>
+ <hr>
+ <div class="container pt-5">
+ <div class="row">
+ <div class="col-lg-6 offset-lg-3 text-center">
+ <div class="input-group mb-3">
+ <div class="input-group-prepend">
+ <span class="input-group-text" id="inputGroup-sizing-default">Payment System Address</span>
+ </div>
+ <input disabled="disabled" name="target_uri" type="text" class="form-control" aria-label="Default" aria-describedby="inputGroup-sizing-default" value="{{.result}}">
+ </div>
+ </div>
+ </div>
+ </div>
{{end}}
</div>
</body>