-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgenerate_info.html
86 lines (80 loc) · 3.07 KB
/
generate_info.html
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
<!DOCTYPE html>
<html>
<head>
<title>Generate info</title>
<link rel="stylesheet" type="text/css" href="attributes.css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="nav.css">
<link rel="stylesheet" type="text/css" href="convention.css">
<link rel="stylesheet" type="text/css" href="instructions.css">
</head>
<body>
<ul class="nav">
<li class="logo"><a href="index.html" style="padding: 0px;"><img src="./icons/logo_long.png"/></a></li>
<li><a style="display: block; width: 77px;" id="bcredits"></a></li>
<li><a href="" onclick="firebase.auth().signOut();" class="hov" >LOGOUT</a></li>
<li><a href="profile.html" class="hov">PROFILE</a></li>
<li><a href="work.html" class="hov active">WORK</a></li>
<li><a href="request.html" class="hov">REQUEST</a></li>
<li><a href="index.html" class="hov">ABOUT</a></li>
</ul>
<script src="https://www.gstatic.com/firebasejs/4.6.2/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyDeunaXdZRX8Kc960GDhzik2bpNKwN2lDY",
authDomain: "mangosub-kaist.firebaseapp.com",
databaseURL: "https://mangosub-kaist.firebaseio.com",
projectId: "mangosub-kaist",
storageBucket: "mangosub-kaist.appspot.com",
messagingSenderId: "753510490577"
};
firebase.initializeApp(config);
firebase.auth().onAuthStateChanged(function(user) {
if (user) {
// User is signed in.
var displayName = user.displayName;
var email = user.email;
var uid = user.uid;
var db = firebase.database().ref().child("users").child(uid);
db.child("credits").once("value").then(function(snapshot) {
var credits_val = snapshot.val();
document.getElementById("bcredits").innerHTML = "¢ " + String(credits_val);
});
} else {
// User is signed out.
window.location = "index.html";
}
});
</script>
<div style="margin-top: 70px; overflow: auto; height: calc(100vh - 70px);">
<div style="position: static;">
<div class = "instructions_div">
<h1 class="instructions_header">Instructions: GENERATE</h1>
</div>
<div class="info">
<img class="example_img" src="images/inst_generate.png">
<ol class="steps">
<li>
<p class="paragh" >Choose a part of the video that needs to be subtitled. Background noises should also be described.</p>
</li>
<li>
<p class="paragh" >Transcribe the audio for whatever part you have chosen into the text box.</p>
</li>
<li>
<p class="paragh" >Move the START and END flags to whenever the text you entered should enter and exit the video.</p>
</li>
<li>
<p class="paragh" >Click 'Show' to make the text visible on the video during the assigned time.</p>
</li>
<li>
<p class="paragh" >Watch how your subtitle is shown and submit your text to earn credits!</p>
</li>
</ol>
<label><input type="checkbox" name="not_show"> Check if you don't want to see again.</label>
<a href="generate.html"><button style="width: auto; float: right;">Get Working!</button></a>
</div>
</div>
</div>
</body>
</html>