changed printing url and started working on the mobile css
This commit is contained in:
parent
f17663ec09
commit
7b84e6f2f8
@ -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', '')
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user