alicestrt
4 years ago
4 changed files with 71 additions and 23 deletions
@ -0,0 +1,19 @@ |
|||||
|
<!doctype html> |
||||
|
<html> |
||||
|
<head> |
||||
|
{% block head %} |
||||
|
<title>{% block title %}VVVW{% endblock %}</title> |
||||
|
<link rel="stylesheet" href="../static/css/style.css"> |
||||
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> |
||||
|
{% endblock %} |
||||
|
</head> |
||||
|
<body> |
||||
|
<div class="container-fluid"> |
||||
|
{% block body %} {% endblock %} |
||||
|
</div> |
||||
|
|
||||
|
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> |
||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> |
||||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> |
||||
|
</body> |
||||
|
</html> |
@ -1,23 +1,29 @@ |
|||||
<!doctype html> |
{% extends "base.html" %} |
||||
<html> |
{% block title %}Hello{% endblock %} |
||||
<style> |
{% block body %} |
||||
#draggable { |
<div class="row"> |
||||
position: absolute; |
<div class="col-md-9"> |
||||
} |
<div class="map_area">Map area</div> |
||||
</style> |
</div> |
||||
<head> |
<div class="col-md-3"> |
||||
<title>Hello from Flask</title> |
<div class="row"> |
||||
{% if name %} |
<div class="col-md-10"> |
||||
<h1>Hello {{ name }}!</h1> |
<div class="image_area"> |
||||
{% else %} |
<p>image</p> |
||||
<h1>VVVW</h1> |
<img src="../static/images/test_small.jpeg" alt="poem"> |
||||
{% endif %} |
</div> |
||||
</head> |
</div> |
||||
|
|
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-10"> |
||||
|
<div class="iframe_area"> |
||||
|
<p>iframe area</p> |
||||
|
<iframe src="../static/images/abstract.pdf" width="300px" height="500px"></iframe> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
<body> |
|
||||
<div id="draggable"> |
|
||||
<img src="../static/images/test1.jpeg" width='500px' alt="test"> |
|
||||
</div> |
</div> |
||||
<script src="../static/js/draggable.js"></script> |
</div> |
||||
</body> |
</div> |
||||
</html> |
{% endblock %} |
||||
|
Loading…
Reference in new issue