Clarify some common workflow confusion

This commit is contained in:
j3s 2020-05-20 23:01:14 -05:00
parent 7f3fb8b898
commit 4b9d56f610
3 changed files with 25 additions and 29 deletions

View File

@ -110,7 +110,7 @@ Generate a private key and the accompanying bitpay SIN for the btcpay API client
I used this code as an example: https://github.com/bitpay/bitpay-python/blob/master/bitpay/key_utils.py#L6 I used this code as an example: https://github.com/bitpay/bitpay-python/blob/master/bitpay/key_utils.py#L6
``` ```
$ python ./readme/generate_btcpay_keys.py $ pipenv run python ./readme/generate_btcpay_keys.py
``` ```
It should output something looking like this: It should output something looking like this:

View File

@ -8,20 +8,6 @@
</div> </div>
<div class="row third-margin"> <div class="row third-margin">
<div> <div>
{% if cant_afford %}
<p>
Your account does not have sufficient funds to create a Capsul.
(Must be funded enough to last at least one month at creation time).
</p>
<p>You must <a href="/console/account-balance">add funds to your account</a> before you can create a Capsul.</p>
{% elif no_ssh_public_keys %}
<p>You don't have any ssh public keys yet.</p>
<p>You must <a href="/console/ssh">upload one</a> before you can create a Capsul.</p>
{% elif not capacity_avaliable %}
<p>Host(s) at capacity. No capsuls can be created at this time. sorry. </p>
{% else %}
<pre> <pre>
CAPSUL SIZES CAPSUL SIZES
============ ============
@ -36,10 +22,19 @@
* net is calculated as a per-month average * net is calculated as a per-month average
* vms are billed for a minimum of 24 hours upon creation * vms are billed for a minimum of 24 hours upon creation
* all VMs come standard with one public IPv4 addr</pre> * all VMs come standard with one public IPv4 address</pre>
<pre> <pre>
Your <a href="/console/account-balance">account balance</a>: ${{ account_balance }} Your <a href="/console/account-balance">account balance</a>: ${{ account_balance }}
</pre> </pre>
{% if cant_afford %}
<p>Please <a href="/console/account-balance">fund your account</a> in order to create Capsuls</p>
<p>(At least one month of funding is required)</p>
{% elif no_ssh_public_keys %}
<p>You don't have any ssh public keys yet.</p>
<p>You must <a href="/console/ssh">upload one</a> before you can create a Capsul.</p>
{% elif not capacity_avaliable %}
<p>Host(s) at capacity. No capsuls can be created at this time. sorry. </p>
{% else %}
<form method="post"> <form method="post">
<div class="row justify-start"> <div class="row justify-start">

View File

@ -1,11 +1,12 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block title %}login{% endblock %} {% block title %}Login/Register{% endblock %}
{% block content %} {% block content %}
<div class="row half-margin"> <div class="row half-margin">
<h1>LOGIN</h1> <h1>LOGIN/REGISTER</h1>
</div> </div>
<p>If you do not already have an account, one will be made for you.</p>
<form method="post" class="half-margin"> <form method="post" class="half-margin">
<div class="row wrap"> <div class="row wrap">
<label for="email">Email Address</label> <label for="email">Email Address</label>