-
Notifications
You must be signed in to change notification settings - Fork 3
/
help.html
118 lines (101 loc) · 4.29 KB
/
help.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
115
116
117
118
<!doctype html>
<html class="no-js" lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DNA Damage and Repair Database</title>
<link rel="stylesheet" href="css/foundation.css">
<link rel="stylesheet" href="css/app.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Font Style -->
<link href="https://fonts.googleapis.com/css?family=Karla" rel="stylesheet">
<script
src="https://code.jquery.com/jquery-2.2.4.min.js"
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
crossorigin="anonymous"></script>
<script src="/pagedown/Markdown.Converter.js"></script>
</head>
<body>
<div class="off-canvas-wrapper">
<div class="off-canvas-wrapper-inner" data-off-canvas-wrapper>
<!-- OFF-CANVAS MENU -->
<div class="off-canvas position-left" id="mobile-menu" data-off-canvas>
<button class="accordion" id="home">HOME</button>
<script type="text/javascript">
document.getElementById("home").onclick = function () {
location.href = "index.html";
};
</script>
<button class="accordion" id="browse">BROWSE</button>
<div class="panel">
<ul style="text-align:left">
<p>
<li>HUMAN</li>
<li>BROWSE</li>
<li>ARABIDOPSIS</li>
<li>PLANT</li>
</p>
</ul>
</div>
<button class="accordion" id="search">SEARCH</button>
<script type="text/javascript">
document.getElementById("search").onclick = function () {
location.href = "search.html";
};
</script>
<button class="accordion" id="download">DOWNLOAD</button>
<script type="text/javascript">
document.getElementById("download").onclick = function () {
location.href = "download.html";
};
</script>
<button class="accordion" id="help">HELP</button>
<script type="text/javascript">
document.getElementById("help").onclick = function () {
location.href = "help.html";
};
</script>
</div>
<!-- KEEP -->
<div class="off-canvas-content" data-off-canvas-content>
<!-- MOBILE NAVIGATION -->
<div class="title-bar show-for-small-only">
<div class="title-bar-left">
<button class="menu-icon" type="button" data-open="mobile-menu"></button>
<!-- <span class="title-bar-title">MENU</span> -->
</div>
<div class="title-bar-center show-for-small-only"><img class="logo-image logo-center" src="img/xr_logo_white.png" width="75" height="92"></img></div>
</div>
<!-- DESKTOP NAVIGATION -->
<div id = "header"></div>
<!-- MAIN SECTION -->
<section class="main">
<div class = "wrap" id = "bodyDiv">
<!-- <a href="help.md.html" target="_blank">test</a>
<object style="overflow:hidden; width: 100%; height: 100%" id="help" data="help.md.html" type="text/html"></object> -->
</div>
</section>
<!-- FOOTER -->
<div id = "footer"></div>
</div>
</div>
</div>
<script src="js/vendor/what-input.js"></script>
<script src="js/vendor/foundation.js"></script>
<script src="js/app.js"></script>
<script src="js/accordion.js"></script>
<script>
$('#header').load('/frontend/header.html');
$('#footer').load('/frontend/footerNew.html');
// Load the Markdown file and convert it to HTML for display
var markdownURL ='https://raw.githubusercontent.com/adebali/repairrepo/develop/help.md';
$.get(markdownURL, function(markdownContent) {
var converter = new Markdown.Converter();
var htmlContent = converter.makeHtml(markdownContent);
$("div#bodyDiv").html(htmlContent);
});
</script>
</body>
</html>