فهرست منبع

prettify mailbox detail page

Son NK 5 سال پیش
والد
کامیت
3be593ed09
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      app/dashboard/templates/dashboard/mailbox_detail.html
  2. 1 0
      server.py

+ 1 - 1
app/dashboard/templates/dashboard/mailbox_detail.html

@@ -81,7 +81,7 @@
           <div class="form-group">
             <label class="form-label">PGP Public Key</label>
 
-            <textarea name="pgp" class="form-control" rows=10>{{mailbox.pgp_public_key or ""}}</textarea>
+            <textarea name="pgp" class="form-control" rows=10 placeholder="-----BEGIN PGP PUBLIC KEY BLOCK-----">{{mailbox.pgp_public_key or ""}}</textarea>
           </div>
 
           <button class="btn btn-primary" name="action" value="save">Save</button>

+ 1 - 0
server.py

@@ -131,6 +131,7 @@ def fake_data():
         activated=True,
         is_admin=True,
         otp_secret="base32secret3232",
+        can_use_pgp=True
     )
     db.session.commit()