-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (100 loc) · 6.06 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Banned drugs combination in India</title>
<meta charset="UTF-8" />
<meta name="author" content="@Prabusah" />
<meta name="theme-color" content="#006cb4" id="themeColor">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, user-scalable=no">
<link href="/static/assets/css/bootstrap.min.css" rel="stylesheet">
<style>body{padding-top:50px}.helpCustom{color:#ff0}.bodyCustom,.templateCustom{position:relative;color:#fff}.bodyCustom{background:#027cd5;z-index:1}.templateCustom{width:100%;padding:30px;text-shadow:0 1px 0 rgba(0,0,0,.1);background-color:#6f5499;background-repeat:repeat-x}.tt-menu,.typeahead{background-color:#fff}.tt-hint,.tt-query,.typeahead{width:354px;height:34px;padding:8px 12px;line-height:30px;border:2px solid #ccc;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;outline:0}.typeahead:focus{border:2px solid #3879D9}.tt-query{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.tt-hint{color:#999}.tt-menu{color:#000;width:450px;margin:12px 0;padding:8px 0;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.tt-suggestion.tt-cursor,.tt-suggestion:hover{color:#fff;background-color:#3879D9}.tt-suggestion{padding:3px 20px;line-height:24px}.tt-suggestion:hover{cursor:pointer}.tt-suggestion p{margin:0}.spinner{display:none;position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:1001;-moz-opacity:.8;opacity:.8;filter:alpha(opacity=80)}.found{color: #F08080; font-size: 16px; display:none;}.notfound{color: #7FFF00; font-size: 16px; display:none;}
</style>
<link rel="manifest" href="/static/assets/manifest.json">
<link rel="icon" href="/static/assets/images/banned.png" type="image/png">
</head>
<body class="container bodyCustom">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar" aria-expanded="true" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Banned Drugs</a>
</div>
<div id="navbar" class="navbar-collapse collapse" aria-expanded="true">
<ul class="nav navbar-nav">
<li class="active"><a class="home" href="/">Home</a></li>
<li><a class="contact" href="/static/contact.html">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container-fluid -->
</nav>
<div class="starter-template">
<h3>Banned drugs composition in India</h3>
<p class="lead helpCustom">Disclaimer: Website author is not responsible for any errors / illness / loss from use of this site.</p>
</div>
<form class="form-horizontal" action="/twitterSignIn" method="post">
<div class="form-group">
<label for="ingredient" class="col-sm-5 control-label">Search Ingredient</label>
<div class="col-sm-7">
<input type="text" id="ingredient" class="typeahead form-control" style="vertical-align: middle;" id="exampleInputAmount" placeholder="Type in the Ingredient (one at a time) " autocomplete="off" spellcheck="false" required>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" id="addlist" class="btn btn-default center-block has-spinner">
Add to below List
</button>
</div>
</div>
<div class="form-group">
<label for="dlist" class="col-sm-5 control-label">Ingredients List</label>
<div class="col-sm-7">
<textarea id="dlist" name="dlist" class="form-control" rows="3" maxlength="140" readonly="true"></textarea>
</div>
</div>
<div class="form-group">
<div class="rcontainer ow">
<div class="col-xs-6 center-blocks">
<button id="verify" class="btn btn-default btn-block">
Verify
</button>
</div>
<div class="col-xs-6">
<button id="clear" class="btn btn-default btn-block">
Clear
</button>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<div class="found text-center">
<img src="/static/assets/images/banned.png"/>
<span>Ingredients combination provided is found in banned drug combinations list<a class="found" target="_blank" href="http://indianexpress.com/article/india/india-news-india/do-you-take-one-of-these-300-banned-drugs/">list</a></span>
</div>
<p class="notfound text-center">Ingredients combination provided is Not in banned drugs list<span><a target="_blank" href="http://indianexpress.com/article/india/india-news-india/do-you-take-one-of-these-300-banned-drugs/">list</a></span></p>
</div>
</div>
</form>
<script type="text/javascript">
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js').then(function(registration) {
// Registration was successful
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}).catch(function(err) {
// registration failed :(
console.log('ServiceWorker registration failed: ', err);
});
}
</script>
<script src="/static/assets/js/jquery.min.js"></script>
<script src="/static/assets/js/typeahead.bundle.min.js"></script>
<script src="/static/assets/js/bootstrap.min.js"></script>
<script src="/static/assets/js/common.js"></script>
<script src="/static/assets/js/underscore-min.js"></script>
</body>
</html>