add supported operating systems to pricing page
This commit is contained in:
parent
a5024913cf
commit
4b5ca4a89c
@ -2,6 +2,8 @@ from flask import Blueprint
|
|||||||
from flask import render_template
|
from flask import render_template
|
||||||
from flask import current_app
|
from flask import current_app
|
||||||
|
|
||||||
|
from capsulflask.db import get_model
|
||||||
|
|
||||||
bp = Blueprint("landing", __name__, url_prefix="/")
|
bp = Blueprint("landing", __name__, url_prefix="/")
|
||||||
|
|
||||||
@bp.route("/")
|
@bp.route("/")
|
||||||
@ -10,7 +12,11 @@ def index():
|
|||||||
|
|
||||||
@bp.route("/pricing")
|
@bp.route("/pricing")
|
||||||
def pricing():
|
def pricing():
|
||||||
return render_template("pricing.html")
|
operating_systems = get_model().operating_systems_dict()
|
||||||
|
return render_template(
|
||||||
|
"pricing.html",
|
||||||
|
operating_systems=operating_systems
|
||||||
|
)
|
||||||
|
|
||||||
@bp.route("/faq")
|
@bp.route("/faq")
|
||||||
def faq():
|
def faq():
|
||||||
|
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
* 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 address</pre>
|
* all VMs come standard with one public IPv4 address
|
||||||
|
|
||||||
|
|
||||||
|
SUPPORTED OPERATING SYSTEMS:
|
||||||
|
|
||||||
|
|
||||||
|
{% for os_id, os in operating_systems.items() %} - {{ os.description }}
|
||||||
|
{% endfor %}
|
||||||
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user