SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a2cfca4186b8d29f6d3e5d2b5b7858aec71c6bce
parent c19edfb549084be1eb329357c627708bc1145804
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Thu, 24 Dec 2020 19:23:29 +1100

Remove old files, change filenames.

Diffstat:
Mserver.py | 2+-
Rmain.py -> ssh_tunnel.py | 0
Dtemplates/payment.html | 30------------------------------
3 files changed, 1 insertion(+), 31 deletions(-)

diff --git a/server.py b/server.py @@ -3,7 +3,7 @@ from flask_socketio import SocketIO, emit, disconnect from markupsafe import escape import time -import main +import ssh_tunnel import config import invoice from pay import bitcoind diff --git a/main.py b/ssh_tunnel.py diff --git a/templates/payment.html b/templates/payment.html @@ -1,30 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <script src="https://cdn.jsdelivr.net/npm/socket.io-client@3/dist/socket.io.js" crossorigin="anonymous"></script> - <script type="text/javascript" charset="utf-8"> - var socket = io(); - socket.on('connect', function() { - socket.emit('my event', {data: 'I\'m connected!'}); - }); - </script> - <script type=text/javascript> - $SCRIPT_ROOT = {{ request.script_root|tojson|safe }}; - </script> -</head> -<body> - -<h1>Payment</h1> - -<script type=text/javascript> - - -</script> - -<h1>Pay {{ amount }}</h1> -<p><input type=text size=5 name=amount> + - <span id=result>?</span> -<p><a href=# id=calculate>calculate server side</a> - -</body> -</html>