forked from cal-cs184/hw-webpage-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (50 loc) · 2.57 KB
/
index.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
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body>
<div class="container-fluid">
<div class="row justify-content-md-center" style="padding-top: 20vh;">
<div class="col"></div>
<div class="col">
<h1>CS184/284A - Introduction to Computer Graphics</h1>
<h3>Project Webpages</h3>
</div>
<div class="col"></div>
</div>
<div class="row justify-content-md-center" style="padding-top: 2.5vh;">
<div class="col"></div>
<div class="col-md-auto">
<div class="btn-group-vertical btn-group-lg" role="group" aria-label="...">
<a type="button" class="btn btn-secondary" href="/hw1/index.html">Homework 1</a>
<a type="button" class="btn btn-secondary" href="/hw2/index.html">Homework 2</a>
<a type="button" class="btn btn-secondary" href="/hw3/index.html">Homework 3</a>
<a type="button" class="btn btn-secondary" href="/hw4/index.html">Homework 4</a>
</div>
</div>
<div class="col-md-auto">
<div class="btn-group-vertical btn-group-lg" role="group" aria-label="...">
<a type="button" class="btn btn-secondary" href="/final_proj/index.html">Final Project</a>
<a type="button" class="btn btn-secondary" href="/final_proj_milestone/index.html">Final Project Milestone</a>
<a type="button" class="btn btn-secondary" href="/final_proj_final_report/index.html">Final Project Final Report</a>
</div>
</div>
<div class="col"></div>
</div>
<div class="row"></div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
<script>
var links = document.body.getElementsByTagName("a")
var a = window.location.href.indexOf(".io")
var repo_name = window.location.href.substring(a+3)
for(var i = 0; i < links.length; i++){
var link = links[i]
var actual_name = link.href.substring(link.href.indexOf(".io")+4)
link.href = repo_name + actual_name
}
</script>
</html>