-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (35 loc) · 1.04 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
<!doctype html>
<html>
<head>
<title>Graphlopedia Demo Python 2.6</title>
</head>
<body>
<h1>Graphlopedia</h1>
<h2>A Searchable Online Database of Graphs</h2>
<h3>SITE STILL IN PROGRESS</h3>
<form name="form" method="POST" action="cgi-bin/form.cgi">
<p>
<input type="radio" name="qtype" id="deg_seq" value="deg_seq" checked/> By Degree Sequence
<input type="radio" name="qtype" id="graph" value="graph"/> By Graph ID
<input type="radio" name="qtype" id="ref" value="ref"/> By Citation
</p>
<input type="text" name="query" size=60 id="input" placeholder="4,3,2..."/>
<input type="submit" name="submit" value="Submit" />
</form>
<script>
var deg_seq = document.getElementById("deg_seq")
var graph = document.getElementById("graph")
var ref = document.getElementById("ref")
var input = document.getElementById("input")
deg_seq.onclick = function(){
input.placeholder = "4,3,2..."
}
graph.onclick = function(){
input.placeholder = "G000001"
}
ref.onclick = function(){
input.placeholder = "Stanley, Combinatorics"
}
</script>
</body>
</html>