changed printing url and started working on the mobile css

This commit is contained in:
Your Name 2021-05-08 17:36:16 +02:00
parent f17663ec09
commit 7b84e6f2f8
3 changed files with 10 additions and 3 deletions

View File

@ -49,7 +49,7 @@ def check():
def index():
return flask.render_template('index.html')
@APP.route('/print/', methods=['GET', 'POST'])
@APP.route('/southexplorer/', methods=['GET', 'POST'])
def print():
txt_normal = request.args.get('normal', '')
txt_big = request.args.get('big', '')

View File

@ -40,4 +40,10 @@ textarea#big{
font-size: 72px;
line-height: 1;
word-break: break-all;
}
}
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}

View File

@ -4,12 +4,13 @@
<meta charset="utf-8" />
<title>TeleVex (print)</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='stylesheet.css')}}">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="main">
<h1>print, <a href="/printed/">printed</a></h1>
<div id="print">
<h2>Plain Text Printing Point (ASCII only)</h2>
<form action="" method="GET">