Browse Source

mobile version for southexplorer

master
Your Name 4 years ago
parent
commit
e7a14352be
  1. 7
      print/static/stylesheet.css
  2. 6
      print/templates/print.html

7
print/static/stylesheet.css

@ -37,7 +37,7 @@ textarea#normal{
textarea#big{ textarea#big{
background-color: black; background-color: black;
color: white; color: white;
font-size: 72px; /* font-size: 72px; */
line-height: 1; line-height: 1;
word-break: break-all; word-break: break-all;
} }
@ -46,4 +46,9 @@ textarea#big{
body { body {
background-color: lightblue; background-color: lightblue;
} }
textarea {
width: 100%;
height: 15em;
}
} }

6
print/templates/print.html

@ -9,19 +9,19 @@
<body> <body>
<div id="main"> <div id="main">
<h1>print, <a href="/printed/">printed</a></h1> <!-- <h1>print, <a href="/printed/">printed</a></h1> -->
<div id="print"> <div id="print">
<h2>Plain Text Printing Point (ASCII only)</h2> <h2>Plain Text Printing Point (ASCII only)</h2>
<form action="" method="GET"> <form action="" method="GET">
<textarea id="normal" name="normal" cols="48" rows="30">{{ plaintext }}</textarea> <textarea id="normal" name="normal" cols="48">{{ plaintext }}</textarea>
<br> <br>
<br> <br>
<input class="submit" type="submit" value="print"/> <input class="submit" type="submit" value="print"/>
</form> </form>
<form action="" method="GET"> <form action="" method="GET">
<textarea id="big" name="big" cols="8" rows="10">{{ plaintext }}</textarea> <textarea id="big" name="big" cols="48">{{ plaintext }}</textarea>
<br> <br>
<br> <br>
<input class="submit" type="submit" value="print"/> <input class="submit" type="submit" value="print"/>

Loading…
Cancel
Save