-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
105 lines (83 loc) · 3.92 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
<head>
<meta charset="UTF-8">
<title>Git commit rewrite</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-slider/7.1.0/css/bootstrap-slider.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/noUiSlider/8.5.1/nouislider.min.css">
<style>
#ace-editorid {
font-size: .9em;
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
}
li {
cursor: hand;
}
</style>
</head>
<body>
<script id="commitListTemplate" type="x-tmpl-mustache">
<ul class="list-group" id="commitList">
{{#commits}}
<li class="list-group-item">
<a class="text-muted" href="#!{{html_url}}">{{commit.message}}</a>
<a target="_blank" href="{{html_url}}"><span class="fa fa-github"></span> </a>
</li>
{{/commits}}
</ul>
</script>
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<nav class="navbar navbar-light">
<form class="form-inline pull-md-left">
<input style="width: 500px" class="form-control" type="text" placeholder="Girhub url"
id="githubUrl">
<button id="loadRepo" class="btn btn-success-outline">Load</button>
<button id="random" class="btn btn-primary-outline">Random</button>
<a class="btn btn-primary"
href='javascript:if (window.location.href.indexOf("github.com") > -1) { window.location = "http://localhost:63342/gitwatch/index.html?#!" + window.location}'>
Bookmark
</a>
</form>
</nav>
</div>
<div class="col-md-6">
<form class="form">
<fieldset class="form-group">
<div id="slider"></div>
</fieldset>
</form>
</div>
</div>
<div class="row">
<div class="col-md-3" style="overflow-y: scroll">
<div class="row" id="commitListContainer">
</div>
</div>
<div class="col-md-6" id="editorContainer">
<div id="ace-editorid" class="row"></div>
</div>
<div class="col-md-3">
<div class="row" id="third">
<ul class="list-group" id="notifications"></ul>
</div>
</div>
</div>
</div>
<script type="text/javascript" src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script type="text/javascript" src='//cdnjs.cloudflare.com/ajax/libs/ace/1.2.3/ace.js'></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mustache.js/2.2.1/mustache.min.js"></script>
<script type="text/javascript"
src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-slider/7.1.0/bootstrap-slider.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/noUiSlider/8.5.1/nouislider.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jsdiff/2.2.3/diff.min.js"></script>
<!--<script src="output.min.js"></script>-->
<script src="static/js/parse.js"></script>
<script src="static/js/githubapi.js"></script>
<script src="static/js/editorinterface.js"></script>
<script src="static/js/app.js"></script>
<script src="static/js/init.js"></script>
</body>