-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathblitzallbranches.html
72 lines (72 loc) · 3.56 KB
/
blitzallbranches.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
<html>
<head>
<script src="https://code.jquery.com/jquery-2.2.3.min.js" integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo=" crossorigin="anonymous"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<!-- Custom Styles for this Extension-->
<link rel="stylesheet" type="text/css" href="styles/blitzallbranches.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="sdk/scripts/VSS.SDK.min.js"></script>
<!-- AppInsights
<script src="scripts/appinsightsblitz.js"></script>-->
</head>
<body>
<div class="row">
<button id="toggleOptions" type="button" class="col-md-1 btn btn-info">Options</button>
<h5 class="col-md-2" align="center">Branch Count: <span id="BranchCountSpan"></span></h5>
<h3 class="col-md-6" align="center">Non-Main Branches</h3>
<h5 class="col-md-3" align="center">Project: <span id="ProjectNameSpan"></span></h5>
</div>
<div class="row bg-info" id="filters" style="display: none;">
<form role="form">
<div class="form-group">
<label for="branchesExcluded">Branches To Exclude (select multiple branches with ctrl or shift)</label>
<select multiple class="form-control" id="branchesExcluded">
</select>
</div>
<div class="form-group">
<label for="excludeBranchesByText">Exclude Branches Containing The Following Text (supports comma separated list of text to exclude)</label>
<input type="text" id="excludeBranchesByText" placeholder="Exclude branches containing this text..." title="Type in all or part of a branch name to exclude">
</div>
<div class="form-group checkbox">
<label><input type="checkbox" value="" id="limitReviewerMe"> Show Only Branches Where I am the Author.</label>
</div>
</form>
</div>
<input type="text" id="filterBranchesByText" placeholder="Search for branches..." title="Type in all or part of a branch name">
<div class="table-responsive" id="branchTableContainer">
<table class="table table-hover table-striped table-condensed" id="branchTable">
<thead>
<tr>
<th onclick="sortTable(0)">
Repository↑
</th>
<th onclick="sortTable(1)">
Title↑
</th>
<th>
Creation Date↑
</th>
<th>
Commits Ahead↑
</th>
<th>
Commits Behind↑
</th>
<th onclick="sortTable(5)">
Author↑
</th>
<th>
To Branch
</th>
</tr>
</thead>
<tbody id="branchTableBody"></tbody>
</table>
</div>
<script src="scripts/blitzallbranches.js"></script>
</body>
</html>