-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathbug-report.html
102 lines (84 loc) · 4.18 KB
/
bug-report.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Report an Issue</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"
integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ=="
crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"
integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ=="
crossorigin="anonymous"></script>
<link href="css/main.bootstrap.css" rel="stylesheet">
<script type="text/javascript"
src="https://cytoscape.atlassian.net/s/d41d8cd98f00b204e9800998ecf8427e-T/o2joag/b/24/a44af77267a987a660377e5c46e0fb64/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?locale=en-US&collectorId=45488c8f"></script>
<script type="text/javascript">
var urlVars = undefined;
function getUrlVars() {
if (urlVars == undefined) {
urlVars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function (m, key, value) {
urlVars[key] = value;
});
}
return urlVars;
}
function getIssueEnvironment() {
const cyVersion = getUrlVars()['cyversion'];
const os = getUrlVars()['os'];
const javaversion = getUrlVars()['javaversion']
return "Cytoscape Version: " + (cyVersion ? cyVersion : "") + "\n\nOperating System: " + (os ? os : "") + "\n\nJava Version: " + (javaversion ? javaversion : "");
}
window.ATL_JQ_PAGE_PROPS = {
"triggerFunction": function (showCollectorDialog) {
//Requires that jQuery is available!
jQuery("#myCustomTrigger").click(function (e) {
e.preventDefault();
showCollectorDialog();
});
},
// ==== we add the code below to set the field values ====
fieldValues: {
summary: "",
description: "How to reproduce the bug in Cytoscape:\n\n" + getIssueEnvironment()
}
};</script>
</head>
<!-- path args: ?cyversion=3.8.2&os=Windows_10_10.0 -->
<body>
<div class="narrow white">
<div class="container">
<h2 class="centering">Report a Bug</h2>
<p class="lead">
<b>TELL US: 1)</b> How to reproduce the bug. <b>2)</b> What operating system you're using <b>3)</b> What
Cytoscape version you're using. <b>4)</b> What Java Version you're using. Try to reproduce the bug
yourself <b>before</b> you report it. Be sure to include any data we may need to reproduce the bug.
</p>
<p class="lead">
For general questions about Cytoscape installation and usage, visit our
<a href="documentation_users.html">user documention page</a>.
</p>
<div class="row">
<div class="col-xs-12 col-md-offset-4 col-md-4">
<div id="myCustomTrigger" class="nav centering">
<button class="btn btn-warning btn-lg btn-block ml-auto">
Click here to report a bug
</button>
</div>
</div>
</div>
<p>
<br />
<b>NOTE:</b> File attachment does not work for <a
href="https://manual.cytoscape.org/en/latest/CyBrowser.html" target="_blank">Cytoscape Web
Browser</a>. As a workaround, click "Open" button (Cytoscape 3.9+) or open this page directly in a
native browser.
</p>
</div>
</div>
<footer></footer>
<script src="js/setup_page.js"></script>
</body>
</html>