-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
114 lines (96 loc) · 14.9 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
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="en" xmlns:m="http://www.w3.org/1998/Math/MathML">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kinome Toolbox</title>
<link rel="stylesheet" href="css/bootstrap-theme.min.css"/>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<!-- Custom styles for this template -->
<style>
body {
min-height: 100px;
padding-top: 70px;
}
.scrollable-menu {
height: auto;
max-height: 200px;
overflow-x: hidden;
}
</style>
</head>
<body class=" hasGoogleVoiceExt">
<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="toHome navbar-brand" href="#">Kinome Toolbox</a>
</div>
</div>
</nav>
<div id="status" class="container">
</div> <!-- /container -->
<div id="main_page" class="container">
<div id="text_for_link" class="text-center alert alert-info"><h2>This is the short URL generator for kinomecore.com</h2><h3>In <span id="count">5</span> seconds you will be taken to your redirect <span id="link">link</span>.</h3></div>
</div> <!-- /container -->
</body>
<div>
<script src="./js/client/general/jquery-3.1.0.min.js"></script>
<script src="./js/client/general/bootstrap.min.js"></script>
<script type="text/javascript">
(function () {
'use strict';
//bad practice, but the JS for this page is all here
var shortenedURLs = {
//figure 1, original paper, background normalization
//'fig1': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.1/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.1/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.1/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.1/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
//'fig2a': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
//'fig2b': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
//'fig3': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
'fig3': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.1/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.1/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.1/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.1/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
'fig4a': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
'fig4b': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
'fig5': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
'tab1a': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.0.1/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
'tab1b': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
'tab2': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
'p1_1.0.0': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.0/73da1ee2-b131-4f39-b9a3-6732671e371b|5fc638d5-4f30-4ede-95e7-39604484f2e7|980cea72-aac2-4449-be32-34e298aeae50]*&data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.0/701c1a18-9186-489c-885b-814971026293|8f04e89f-9bf8-458d-ab66-e29a9625502f|cc67029c-632b-430a-8f0c-093f6ff35d6e]*&data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.0/d4079f36-44bb-410f-b44f-8d3c9e43fe73|cae11fa3-4271-4ec0-ac04-a7164c4b715a|deac26e4-9637-4e50-b8c3-728b609456ab]*&data=*[http://db.kinomecore.com/1.0.0/lvl_1.0.0/07ad4ee1-4492-4a4b-8742-7448bdb9bd05|1bd412c2-d06f-437d-a104-08f8ad385c69|29b90f03-f9bd-43c9-8997-daab3406e07c]*',
'playlist': 'https://www.youtube.com/playlist?list=PLNVs4qb7h7g4TS-oqxZ4nyh9pPU9BWkgo',
'siac_demo': 'http://toolbox.kinomecore.com/?data=*%5Bhttp://db.kinomecore.com/1.0.0/lvl_2.1.2/7564f6c4-635c-47f7-a3cd-7d91df8bd379%7C5c997bc3-919d-4f5d-9d36-57d4592b29ca%7C521d7e30-f194-4017-8b25-0f33bc814ec4%5D*&data=*%5Bhttp://db.kinomecore.com/1.0.0/lvl_2.1.2/3b1796e0-9453-4f01-a807-485e2a34d57a%7C98076d35-3adb-4191-bb3c-a4e3a1fd9a38%7C93b5bbc0-1957-48f6-aae5-e29860267d2b%5D*&data=*%5Bhttp://db.kinomecore.com/1.0.0/lvl_2.1.2/0356d13a-6c54-4010-9d5d-ffe02603df65%7C68399b24-5838-4439-ac28-eef4052c8123%7Cc847a01a-b097-4781-b074-ec10194acfdd%5D*&data=*%5Bhttp://db.kinomecore.com/1.0.0/lvl_2.1.2/5c50f7eb-4f98-4986-bda7-21320f1d822f%7C2c73c6dd-f2a6-4fad-a02b-2d2e83e94574%7Ca62e75e4-b011-4bd8-845b-03da626cb3a3%5D*&data=*%5Bhttp://db.kinomecore.com/1.0.0/lvl_2.1.2/7c1324ec-4d11-4e38-aa08-bcb799ae1ce4%7C8c85d4ac-4973-4af0-ae74-07aab66fa75e%7C2ef2d720-a376-4d0d-93aa-7e398dfc3e55%5D*&data=*%5Bhttp://db.kinomecore.com/1.0.0/lvl_2.1.2/33e204c6-eee6-4023-ba7d-2de29a3e2e59%7C2b760a4c-1409-4353-935f-7247879d12fa%7C25c6468b-793c-40b6-a21a-a9a73ae28397%5D*&data=*%5Bhttp://db.kinomecore.com/1.0.0/lvl_2.1.2/1dee435f-b42b-4f9f-9dc8-488ab1600803%7C1b9acc27-9617-4bce-9428-784001f2d4a8%7C5bc5037a-c374-45c1-a522-18f692c2c121%5D*&data=*%5Bhttp://db.kinomecore.com/1.0.0/lvl_2.1.2/84cc68c0-3144-4491-be1a-320ea87bf7b6%7Cfa2f0442-ecb6-40d4-949e-e7373fac5ff4%7Cf48633d8-64ec-472b-93e9-3e9c157d2403%5D*&data=*%5Bhttp://db.kinomecore.com/1.0.0/lvl_2.1.2/d62df0ee-1ff1-4d37-87a0-67b24e60ff1e%7Cfd133b2d-0686-46a9-9cbf-c3cbebe21d7a%7Ca714b0d1-ad3e-49e8-8e0d-d9426adab93e%5D*&data=*%5Bhttp://db.kinomecore.com/1.0.0/lvl_2.1.2/4b916253-e655-4fbd-8e12-d22a0e6781e3%7C093fdf9e-be6a-4727-adab-4a873245b534%7C7b4c4b25-8966-414c-9d04-d4f2fdd48fda%5D*',
'siac_stk': 'http://toolbox.kinomecore.com/?data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/bc951bba-9748-470a-ad59-fe70ec545fcf|7ae6cf41-361d-4dfc-b0d2-8b1a3c870699|45a53317-0930-4f93-a160-eae4a11caa1b]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/faa348ca-c4e6-45a2-b72c-fbfcaa7adcee|4d3c0892-11a8-4da4-a1f3-8118a92d2e88|f00ba3de-f0b6-4d04-ac16-f06b082634c1]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/fdd10137-46bc-4aba-88b7-537c11493463|bbaa82b1-3bcc-4a7e-bd09-89072f434eb6|3454dc6b-7ab2-4a21-a80d-d4969b107864]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/02d2b939-3e5c-4a8f-a145-f435940718e1|bf0dad54-6fbd-4ff2-8905-f3abd89f8f9b|9ea01de6-8161-462e-9dd2-5a570ddd0cd4]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/380f4985-73d8-4da7-aa1e-1cdf2f300848|a4f88e31-78d6-4e4f-bda0-120033a72139|a96c38ff-431d-4020-b244-e394e7dd8286]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/870e1489-6213-4547-99f4-a80f60fcec56|2a06e2d8-6d09-41bd-baa4-200d8c9e93e0|0f93fd78-2db6-4e26-9e8d-2a1411996e07]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/2c0da759-f6c9-4909-b0c5-ca97f3cbd03e|61439ec0-3adb-4147-859b-b2543854372f|1aa66a6f-1066-46e3-8155-3ce4c054a7fa]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/142f7ad7-74d5-43fa-9bd9-756731bb894f|be749908-ef12-425b-85eb-25927e7ebb7c|970cf655-8fd6-4364-83dd-9e38b1bbb485]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/96a828c8-3dd4-413f-92f0-1d41a33d17b7|36ae895e-22de-40dc-a13c-19e8fd73d2e1|b2e0aa03-58eb-44bb-a5d6-e6d1ed081812]*&data=*[http://db.kinomecore.com/1.0.0/lvl_2.1.2/02443c3c-55c0-4723-abd0-24615d692509|f16cad16-c6b9-4ad7-8fc7-fcf03014a2c1|445d819b-74f8-4ba0-bb8d-7de002863cc8]*'
}
var secondCount = 0, maxSeconds = 5;
var urlKey = window.location.search.replace(/^\?/, '');
var urlArr = urlKey.split('&');
var params = "";
if (urlArr.length > 1) {
urlKey = urlArr.shift();
params = urlArr.join('&');
}
var myURL = shortenedURLs[urlKey];
if (shortenedURLs.hasOwnProperty(urlKey)) {
//add in params
if (params && myURL.match(/\?/)) {
myURL = myURL + '&' + params;
} else if (params) {
myURL = myURL + '?' + params;
}
//Set clickable link
$('#link').html('<a href="' + myURL + '">link</a>');
//start count down
var myInterval = setInterval(function () {
secondCount += 1;
if (secondCount >= maxSeconds) {
clearInterval(myInterval);
window.location.href = myURL;
}
$('#count').text(maxSeconds - secondCount);
}, 1000);
} else {
$('#text_for_link').html('That shortcut was not found.');
}
}());
</script>
</div>
</html>