created third perspective
This commit is contained in:
parent
c461877141
commit
8b9db01a45
5
hello.py
5
hello.py
@ -18,7 +18,7 @@ def dated_url_for(endpoint, **values):
|
||||
|
||||
@app.route('/')
|
||||
def hello_world():
|
||||
return 'Hello, World!'
|
||||
return 'VVVW'
|
||||
|
||||
|
||||
# @app.route('/hello/<name>')
|
||||
@ -28,3 +28,6 @@ def perspectiveB():
|
||||
@app.route('/perspectiveA/')
|
||||
def perspectiveA():
|
||||
return render_template('perspectiveA.html')
|
||||
@app.route('/perspectiveC/')
|
||||
def perspectiveC():
|
||||
return render_template('perspectiveC.html')
|
||||
|
@ -1,7 +1,3 @@
|
||||
* {
|
||||
background-color: gray;
|
||||
}
|
||||
|
||||
#video1 {
|
||||
margin-top: 300px;
|
||||
}
|
||||
@ -24,3 +20,25 @@
|
||||
#audio1 {
|
||||
margin-left: 400px;
|
||||
}
|
||||
|
||||
#background_a {
|
||||
background-image: url("../images/map.png");
|
||||
background-repeat: no-repeat;
|
||||
background-color: silver;
|
||||
}
|
||||
|
||||
|
||||
#poem1 {
|
||||
width: 40%;
|
||||
margin-left: 400px;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
#poem1:hover {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#background_c {
|
||||
background-image: url("../images/test2_opacity.jpeg");
|
||||
|
||||
}
|
||||
|
@ -7,7 +7,8 @@
|
||||
<link rel="stylesheet" href="../static/css/style.css?q=1280549780">
|
||||
<title>Perspective A</title>
|
||||
</head>
|
||||
<body>
|
||||
<body id="background_a">
|
||||
<div>
|
||||
<h1>Perspective A</h1>
|
||||
<div id="audio1">
|
||||
<audio controls src="../static/audio/turkish_march.ogg" type="audio/ogg"></audio>
|
||||
@ -19,5 +20,6 @@
|
||||
<div class="draggable">
|
||||
<iframe id="video2" width="120" height="120" src="https://www.youtube.com/embed/5_9PAugYb4s" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
18
templates/perspectiveC.html
Normal file
18
templates/perspectiveC.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
|
||||
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
||||
<script src="../static/js/draggable.js"></script>
|
||||
<head>
|
||||
<link rel="stylesheet" href="../static/css/style.css?q=1280549780">
|
||||
<title>Perspective A</title>
|
||||
</head>
|
||||
<body id="background_c">
|
||||
<div>
|
||||
<h1>Perspective C</h1>
|
||||
<div class="draggable">
|
||||
<img id="poem1" src="../static/images/poem.png" alt="poem">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user