forked from caplin/JiraAgileCardMaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (69 loc) · 2.97 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
<!DOCTYPE html>
<html>
<head>
<title>Jira Ticket Generator</title>
<meta charset="utf-8">
<script type="text/javascript" src="src/SelectUtilities.js"></script>
<script type="text/javascript" src="src/CardView.js"></script>
<script type="text/javascript" src="src/App.js"></script>
<script type="text/javascript" src="src/JiraApiHandler.js"></script>
<script type="text/javascript" src="src/JSONPHandler.js"></script>
<script type="text/javascript" src="src/Card.js"></script>
<script type="text/javascript" src="src/IssueChecklistHandler.js"></script>
<script type="text/javascript" src="src/RapidBoardHandler.js"></script>
<script type="text/javascript" src="src/JiraNavigator.js"></script>
<link rel="stylesheet" type="text/css" href="styles/style.css">
<link rel="stylesheet" type="text/css" href="styles/ticket-default.css">
</head>
<body>
<div id="tickets"></div>
<div>
<div style="min-height:100%" id="ticketManager">
<h1>Jira Ticket Generator</h1>
<div id="optionsPanel">
<!--<h2>Wizard</h2>
<input id="wizard" /><button onclick="wizard()">Wizard</button>-->
<div style="width: 50%">
<div id = "example-card">
</div>
</div>
<button id="toggleOptionsButton" onclick="toggleOptions()">Show Options</button>
<div id="stageFour" style="display:none">
<h2>Options</h2>
<ul>
<li>Color Enabled: <input checked type="checkbox" id="color" onclick="drawExampleCard()" /></li>
<li>QR Code Enabled: <input checked type="checkbox" id="qrcode" onclick="drawExampleCard()" /></li>
<li>Show Parent Description: <input checked type="checkbox" id="parentdescription" onclick="drawExampleCard()"/></li>
<li>Show Component Description: <input checked type="checkbox" id="componentdescription" onclick="drawExampleCard()" /></li>
<li>Show Tag Description: <input type="checkbox" id="tagdescription" onclick="drawExampleCard()"/></li>
<li>Show Business Value: <input type="checkbox" id="businessvalue" onclick="drawExampleCard()"/></li>
</ul>
</div>
</div>
<div id="stageOne">
<h2>Set your Jira Location</h2>
Jira Location : <input id="jiraLocation" style="width:300px"/><button onclick="updateJiraNavigator()">Go</button>
<br />
Examples : <button onclick="setJiraLocation('https://jira.caplin.com')">Caplin (private)</button>
<button onclick="setJiraLocation('https://jira.secondlife.com')">Second Life</button>
<button onclick="setJiraLocation('http://jira.codehaus.org')">CodeHaus</button>
</div>
<div id="stageTwo" style="display:none">
<h2>Select Jiras</h2>
<div id="jiraNavigator"></div>
</div>
<div id="stageThree" style="float:left; width: 50%; display:none">
<h1>Jira List</h1>
<div class="list" id="jiraList">
<ul id="jiraListUrl">
</ul>
</div>
<button onClick="generateTickets()">Generate!</button>
</div>
<div id="loading" style="display:none"><br />Loading...</div>
<div style="clear:both"></div>
</div>
</div>
</body>
<script type="text/javascript" src="src/Main.js"></script>
</html>