-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (98 loc) · 2.96 KB
/
index.html
File metadata and controls
112 lines (98 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Browser Pub</title>
<script src="js/audiodisplay.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/main.js"></script>
<style>
html { overflow: hidden; }
body {
font: 14pt Arial, sans-serif;
background: lightgrey;
display: flex;
flex-direction: row;
height: 100vh;
width: 100%;
margin: 0 0;
}
canvas {
display: inline-block;
background: #202020;
width: 95%;
height: 45%;
box-shadow: 0px 0px 10px blue;
}
#controls {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: flex-start;
height: 100%;
width: 100%;
}
#record { height: 15vh; }
#record.recording {
background: red;
background: -webkit-radial-gradient(center, ellipse cover, #ff0000 0%,lightgrey 75%,lightgrey 100%,#7db9e8 100%);
background: -moz-radial-gradient(center, ellipse cover, #ff0000 0%,lightgrey 75%,lightgrey 100%,#7db9e8 100%);
background: radial-gradient(center, ellipse cover, #ff0000 0%,lightgrey 75%,lightgrey 100%,#7db9e8 100%);
}
#save, #save img { height: 10vh; }
#save { opacity: 0.25;}
#save[download] { opacity: 1;}
#viz {
max-height: 300px;
width: 100%;
margin-top:100px;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
#messages {
overflow-y:scroll;
margin-top:30px;
min-height:100%;
max-height:"200px";
min-width:100%;
font-size:medium;
}
#lowerPanel {
margin-left:20px;
min-height: 100%;
min-width:90%;
}
@media (orientation: landscape) {
body { flex-direction: row;}
#controls { flex-direction: column; height: 100%; width: 10%;}
#viz { height: 100%; width: 90%;}
}
#title {
min-width:100%;
}
</style>
</head>
<body>
<div id="viz">
<div id="#title" >
<h1>Browser Pub: Urla!<span style="font-size:50%"> v0.2.1 by <a href="http://coderdojotrento.it" target="_blank">CoderDojoTrento</a> Progetto su <a href="http://github.com/CoderDojoTrento/browser-pub" target="_blank">Github</a></span></h1>
</div>
<canvas id="analyser" width="1024" height="500"></canvas>
<div id="lowerPanel">
<div style="min-width:100%; margin-top:30px;">
Nome pubblicazione su dweet: <input id="dweet-name-input" style="min-width:300px" value="">
</div>
<div style="min-width:100%; margin-top:30px;">
Per leggere da dweet: <a id="dweet-read-url" target="_blank"></a>
</div>
<div id="messages" >
</div>
</div>
</div>
<div id="controls">
<img id="record" class="recording" src="img/mic128.png" onclick="toggleRecording(this);">
</div>
</body>
</html>