Browse Source

Add privacy warning

Zebulon McCorkle 8 months ago
parent
commit
fa1bccd0e1
No account linked to committer's email address
1 changed files with 36 additions and 20 deletions
  1. 36
    20
      views/user.hbs

+ 36
- 20
views/user.hbs View File

@@ -23,7 +23,8 @@
23 23
 
24 24
 <head>
25 25
     <title>Asymptote Account Manager</title>
26
-    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.2/semantic.min.css" integrity="sha256-Z8Bv3UrxpRsWTfTPIjCojw5CdRNYSPw3TyxoU8WZSrM=" crossorigin="anonymous" />
26
+    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.2/semantic.min.css" integrity="sha256-Z8Bv3UrxpRsWTfTPIjCojw5CdRNYSPw3TyxoU8WZSrM="
27
+        crossorigin="anonymous" />
27 28
 </head>
28 29
 
29 30
 <body>
@@ -37,27 +38,38 @@
37 38
             </div>
38 39
         </h1>
39 40
         {{#if success}}
40
-            <div class="ui success icon message">
41
-                <i class="check icon"></i>
42
-                <div class="content">
43
-                    <div class="header">
44
-                        Your changes have been saved.
45
-                    </div>
46
-                    <p>You might have to wait for up to 5 minutes for caches to expire across the network.</p>
41
+        <div class="ui success icon message">
42
+            <i class="check icon"></i>
43
+            <div class="content">
44
+                <div class="header">
45
+                    Your changes have been saved.
47 46
                 </div>
47
+                <p>You might have to wait for up to 5 minutes for caches to expire across the network.</p>
48 48
             </div>
49
-        {{/if}}
50
-        {{#if error}}
51
-            <div class="ui error icon message">
52
-                <i class="exclamation icon"></i>
53
-                <div class="content">
54
-                    <div class="header">
55
-                        An error occurred.
56
-                    </div>
57
-                    <p>{{ error }}</p>
49
+        </div>
50
+        {{/if}} {{#if error}}
51
+        <div class="ui error icon message">
52
+            <i class="exclamation icon"></i>
53
+            <div class="content">
54
+                <div class="header">
55
+                    An error occurred.
58 56
                 </div>
57
+                <p>{{ error }}</p>
59 58
             </div>
59
+        </div>
60 60
         {{/if}}
61
+        <div class="ui warning icon message">
62
+            <i class="exclamation icon"></i>
63
+            <div class="content">
64
+                <div class="header">
65
+                    This information is public.
66
+                </div>
67
+                <p>
68
+                    Any information entered on this page, except your password, is accessible by anyone via this website or LDAP. If you are
69
+                    privacy-conscious, it is recommended to use a fake name and a new SSH key.
70
+                </p>
71
+            </div>
72
+        </div>
61 73
         <div class="ui secondary pointing menu">
62 74
             <a class="{{#unless newPasswordError}}active {{/unless}}item" data-tab="details">
63 75
                 Basic Details
@@ -136,11 +148,15 @@
136 148
         </form>
137 149
 
138 150
         <div class="ui divider"></div>
139
-        <p>Licensed under the AGPL 3.0 or any later version - <a href="https://git.asymptote.club/asymptote/acam">See source</a></p>
151
+        <p>Licensed under the AGPL 3.0 or any later version -
152
+            <a href="https://git.asymptote.club/asymptote/acam">See source</a>
153
+        </p>
140 154
     </div>
141 155
 
142
-    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
143
-    <script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.2/semantic.min.js" integrity="sha256-/P4bJXh+K+kZ7M5aKUKxAcvN8105oYfKkQ2cgwVZ8r4=" crossorigin="anonymous"></script>
156
+    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
157
+        crossorigin="anonymous"></script>
158
+    <script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.2/semantic.min.js" integrity="sha256-/P4bJXh+K+kZ7M5aKUKxAcvN8105oYfKkQ2cgwVZ8r4="
159
+        crossorigin="anonymous"></script>
144 160
     <script>
145 161
         $('.menu .item').tab();
146 162
         $('.dropdown').dropdown();