AJ ONeal 7 months ago
parent
commit
f2dc3276a1
2 changed files with 20 additions and 3 deletions
  1. 18
    3
      index.html
  2. 2
    0
      js/app.js

+ 18
- 3
index.html View File

@@ -2,7 +2,7 @@
2 2
   <head>
3 3
     <title>Greenlock&trade;</title>
4 4
   </head>
5
-  <body>
5
+  <body hidden>
6 6
     <div>
7 7
       <br>
8 8
       <h3>Greenlock&trade; - Instant, Free SSL Certificates via Let's Encrypt v2</h3>
@@ -14,6 +14,7 @@
14 14
     <!-- Step 1 Choose Domain(s) -->
15 15
     <form class="js-acme-form js-acme-form-domains">
16 16
       <h1><label>What's your domain?</label></h1>
17
+      <h4>Certificates are valid for 90 days. Renewal is free :)</h4>
17 18
       <input class="js-acme-domains" type="text" placeholder="example.com,*.example.com" required>
18 19
       <br>
19 20
       <button type="submit">Next</button>
@@ -198,13 +199,27 @@ var server = https.createServer({
198 199
       -->
199 200
     </form>
200 201
 
202
+      <br>
203
+      <br>
204
+      <br>
205
+      <div><small>
206
+      <h3></h3>
207
+      <a href="https://git.coolaj86.com/coolaj86/greenlock.html">View Source</a> (git)
208
+      <!-- or
209
+      <pre><code>git clone https://git.coolaj86.com/coolaj86/greenlock.html.git</code></pre>
210
+      Or view the live site code (same as live-site branch):
211
+      <pre><code>wget https://greenlock.ppl.family --mirror --convert-links --adjust-extension --page-requisites --no-parent</code></pre>
212
+      </small></div>
213
+      -->
214
+
215
+    <script src="./js/bacme.js"></script>
216
+    <script src="./js/app.js"></script>
217
+
201 218
     <script src="./js/pkijs.org/v1.3.33/common.js"></script>
202 219
     <script src="./js/pkijs.org/v1.3.33/asn1.js"></script>
203 220
     <script src="./js/pkijs.org/v1.3.33/x509_schema.js"></script>
204 221
     <script src="./js/pkijs.org/v1.3.33/x509_simpl.js"></script>
205 222
     <script src="./js/browser-csr/v1.0.0-alpha/csr.js"></script>
206 223
 
207
-    <script src="./js/bacme.js"></script>
208
-    <script src="./js/app.js"></script>
209 224
   </body>
210 225
 </html>

+ 2
- 0
js/app.js View File

@@ -484,4 +484,6 @@
484 484
   }
485 485
 
486 486
   steps[1]();
487
+
488
+  $qs('body').hidden = false;
487 489
 }());