diff --git a/app.py b/app.py index 29c3697..cfa1726 100644 --- a/app.py +++ b/app.py @@ -549,11 +549,11 @@ def poll_provisioning(): return ok, failed -# ---------- HydraProxy provider (management-only, manual broker fulfillment) ---------- +# ---------- Mobile proxy tier (4G carrier / static mobile — manually fulfilled) ---------- HYDRA_PRODUCTS = CFG.get("hydraproxy", {}).get("products", {}) -@app.route("/hydraproxy") +@app.route("/mobile") def hydraproxy_page(): account = None err = None @@ -561,7 +561,7 @@ def hydraproxy_page(): account = hydraproxy.get_account_info() except Exception as e: err = str(e) - return render_template("hydraproxy.html", products=HYDRA_PRODUCTS, + return render_template("mobile.html", products=HYDRA_PRODUCTS, account=account, err=err, user=current_user()) @@ -576,7 +576,7 @@ def api_hydraproxy_info(): return jsonify({"error": str(e)}), 502 -@app.route("/hydraproxy/order", methods=["POST"]) +@app.route("/mobile/order", methods=["POST"]) @login_required def hydraproxy_order(): u = current_user() @@ -596,7 +596,7 @@ def hydraproxy_order(): d.commit() d.close() db.add_transaction(u["id"], -price, "hydraproxy", product) - flash("Order placed — our broker fulfills it shortly and delivers your proxy to the dashboard.", "ok") + flash("Order placed — your proxy is provisioned shortly and delivered to the dashboard.", "ok") return redirect(url_for("dashboard")) diff --git a/templates/base.html b/templates/base.html index 9d55006..66bb07b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -39,7 +39,7 @@ Home Residential Dedicated IPs - HydraProxy + Mobile SMS {% if user %}DashboardWalletQualityLogout {% else %}LoginGet proxies{% endif %} diff --git a/templates/dashboard.html b/templates/dashboard.html index 2710848..d4999a0 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -96,7 +96,7 @@ {% if hydra %}
-

HydraProxy orders (broker-fulfilled)

+

Mobile orders (provisioning)

{% for h in hydra %}
@@ -110,7 +110,7 @@
{% elif h.status == 'pending_fulfillment' %} -

Broker is fulfilling your order — your proxy appears here when ready.

+

Your proxy is being provisioned — it appears here when ready.

{% endif %}
{% endfor %} diff --git a/templates/hydraproxy.html b/templates/hydraproxy.html deleted file mode 100644 index 0d83b93..0000000 --- a/templates/hydraproxy.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "base.html" %} -{% block title %}HydraProxy — Clean Proxys{% endblock %} -{% block body %} -
-

HydraProxy tier.

-

Residential, 4G mobile, and static-mobile IPs — brokered and delivered by Clean Proxys. You pay us, we place the order with HydraProxy, you connect.

-
- -{% if err %} -
HydraProxy link is offline right now: {{ err }}
(Usually means the broker IP isn't whitelisted at HydraProxy yet — the catalog below still shows what's offered.)
-{% else %} -
-
${{ account.balance_usd if account else '—' }}
HydraProxy balance
-
{{ account.username if account else '—' }}
Account
-
-{% endif %} - -
- {% for key, p in products.items() %} -
-

{{ p.name }}

-

{{ p.desc }}

-
{{ p.price_sats }} sats / {{ p.unit }}
-

Brokered — we place the order with HydraProxy after payment and hand you the live proxy.

-
- {% endfor %} -
- -

These are broker-fulfilled (order placed manually with HydraProxy). For instant self-serve, see residential plans and dedicated IPs.

-{% endblock %} diff --git a/templates/mobile.html b/templates/mobile.html new file mode 100644 index 0000000..9d5bab9 --- /dev/null +++ b/templates/mobile.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} +{% block title %}Mobile — Clean Proxys{% endblock %} +{% block body %} +
+

Mobile proxies.

+

4G carrier, static mobile, and premium residential IPs — sourced and delivered by Clean Proxys. You pay, we provision, you connect.

+
+ +{% if err %} +
Mobile catalog is temporarily unavailable: {{ err }}
(The catalog below still shows what's offered.)
+{% else %} +
+
${{ account.balance_usd if account else '—' }}
Account balance
+
{{ account.username if account else '—' }}
Account
+
+{% endif %} + +
+ {% for key, p in products.items() %} +
+

{{ p.name }}

+

{{ p.desc }}

+
{{ p.price_sats }} sats / {{ p.unit }}
+

Delivered by Clean Proxys — your live proxy is provisioned after payment.

+
+ {% endfor %} +
+ +

These are fulfilled on request. For instant self-serve, see residential plans and dedicated IPs.

+{% endblock %}