Browse Source

changed printing url and started working on the mobile css

master
Your Name 3 years ago
parent
commit
7b84e6f2f8
  1. 2
      print/start.py
  2. 6
      print/static/stylesheet.css
  3. 1
      print/templates/print.html

2
print/start.py

@ -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', '')

6
print/static/stylesheet.css

@ -41,3 +41,9 @@ textarea#big{
line-height: 1;
word-break: break-all;
}
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}

1
print/templates/print.html

@ -4,6 +4,7 @@
<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">

Loading…
Cancel
Save