diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
commit | 63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch) | |
tree | 555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/default_print.html | |
download | Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2 Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip |
Initial commit
First public commit
Diffstat (limited to 'servo/templates/default_print.html')
-rwxr-xr-x | servo/templates/default_print.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/servo/templates/default_print.html b/servo/templates/default_print.html new file mode 100755 index 0000000..ed3f4de --- /dev/null +++ b/servo/templates/default_print.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> +<head> + <title>{{ title }}</title> + <meta charset="utf-8"> + <link rel="icon" type="image/png" href="{{ STATIC_URL }}images/favicon.png"> + <link href="{{ STATIC_URL }}js/bootstrap/css/bootstrap.min.css" rel="stylesheet"> +</head> +<body> + <div class="container"> + {% block content %} + {% endblock content %} + </div> + <script src="{{ STATIC_URL }}js/jquery.min.js"></script> + {% if request.user.autoprint %} + <script type="text/javascript"> + $(function() { + window.print(); + }); + </script> + {% endif %} +</body> +</html> |