-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNewt-Main.html
107 lines (91 loc) · 4.35 KB
/
Newt-Main.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
!--{% load static %}-->
<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
<title>Note Software - Main</title>
<script src="https://newt.nersc.gov/js/jquery-1.7.2.js"></script>
<script src="https://newt.nersc.gov/js/newt.js"></script>
<script type="text/javascript">
$.newt_ajax({type: "GET",
url: "/login",
success: function(res){
// res is { username: 'xxxxx', auth: true|false }
$("#auth").html("Login Status: "+res.auth);
},
});
</script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="{% static 'forum/css/main.css' %}">
</head>
<body class="bg-ac">
<!-- the below is navbar and href represent the backend api -->
<!-- NAVBAR -->
<nav class="navbar navbar-expand-lg navbar-light bg-light" style="background-color: rgba(0,0,255,0.3)">
<a class="navbar-brand" style="background-color: rgba(0,0,255,0.3)" href="#"><b class=illini>NoteSoftware</b><b class=land></b></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="/user/home/">Home <span class="sr-only">(current)</span></a>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="/square/">Square</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="/login/">Sign In / Register</a>
</li>
</ul>
</div>
</nav>
<!-- body -->
<br>
<div class="main-container center">
<div class="container">
<div class="row text-center justify-content-center section-intro">
<div class="col-12 col-md-10 col-lg-8 center" style="background-color: rgba(220, 220, 220, 0.65)">
<h1 class="display-3"><b class=illini>Note Software</b><b class=land></b></h1>
<span class="lead">
Helping Doctor get better Idea of Medical Notes.</span>
</div>
</div>
</div>
</div>
</br>
<br>
<div class="main-container center">
<div class="container">
<div class="row text-center justify-content-center section-intro">
<form action="/search/" method="POST" class="form-inline my-2 my-lg-0" >
{% csrf_token %}
<input class="form-control mr-sm-2" name ="search_string" type="search" value="Patient ID" aria-label= "Search">
<select class ="form-control" name="search_type">
<option value="hadm1">hadm1</option>
<option value="hadm2">hadm2</option>
<option value="hadm3">hadm3</option>
<option value="hadm4">hadm4</option>
<option value="hadm5">hadm5 </option>
<option value="hadm6">hadm6 </option>
</select>
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</div>
</div>
</br>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
<script type="text/javascript">
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
</html>