-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
162 lines (155 loc) · 6.02 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html>
<head>
<title>WorkingLog</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
var Gaze = require('gaze').Gaze;
var gaze = new Gaze(['./*.js', './*.html']);
gaze.on('all', function (event, filepath) {
if (location) {
//FIXME : When event 'all' occurs, *.html is refreshed, but *.js it not. Why?
event === "changed" ? console.log(filepath + " is changed") : null;
//Assign true value at reload option. This stop Cache.
location.reload(true);
}
});
</script>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="js/jquery.fixedheadertable.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body>
<div style="position: absolute; left: 10px; right: 10px; top: 10px; bottom: 10px;">
<div class="well" style="width: 190px; padding: 8px;">
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading">Repository List</div>
<table class="table">
<thead></thead>
<tbody>
<tr>
<td><a href='#' value='maval'><span class='glyphicon glyphicon-book'></span>maname</a></td>
<td><button class='btn btn-default'><span class='glyphicon glyphicon-minus'></span></button></td>
</tr>
</tbody>
</table>
</div>
<a href="#" id='about'><span class="glyphicon glyphicon-info-sign"></span> About</a>
</div>
<div class="editRepository" style="witdh: 160px; padding: 8px;">
<h5>Repository Management</h5>
<div class="btn-group btn-group-sm">
<input type="file" id="addRepoInput" webkitdirectory directory multiple style="visibility: hidden; display: block; width: 0; height: 0;"/>
<button type-"button" class="btn btn-default" id="addRepo">Add</button>
</div>
</div>
<div class="setDuration" style="width: 160px; padding: 8px;">
<h5>Set Duration</h5>
<div class="btn-group btn-group-sm">
<button class="btn btn-default" id="entireBtn">Entire</button>
<button class="btn btn-default" id="thisWeekBtn">ThisWeek</button>
<button class="btn btn-default">FromTo</button>
</div>
</div>
<div class="setInfo" style="float: left; width: 160px; padding: 8px;">
<h5>Set Info</h5>
<div class="btn-group btn-group-sm">
<button type='button' class="btn btn-default" id="editInfoBtn">Set Info</button>
<button type='button' class="btn btn-default" id="initDbBtn">Init Config</button>
</div>
</div>
<div style="float: left; position: absolute; left: 210px; right: 0; top: 0; bottom: 50px">
<div class="row">
<ul id="addressbar" class="breadcrumb" style="display: -webkit-box;">
<li id="selectedProjectName"><p>Not Selected</p></li>
<li>
<div class="btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
Sort By Date
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#" value="Desc">Desc</a></li>
<li><a href="#" value="Asc">Asc</a></li>
</ul>
</div>
</li>
<li>
<button class="btn btn-primay btn-mini">Show All</button>
</li>
</ul>
</div>
<div class="row" style="background: #FFF; -webkit-border-radius: 2px; margin: -5px 1px 0 -19px; height: 100%; overflow: auto">
<ul style="margin: 5px;" id="myLog"></ul>
<table class="table table-bordered">
<thead>
<tr>
<th>
col
</th>
</tr>
</thead>
<tbody>
<tr class="info">
<td>1</td>
</tr>
</tbody>
</table>
<!-- <ul style="margin: 5px;" id="files"></ul> -->
</div>
</div>
</div>
<div id="inputAuthorInfoModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="icon-remove"></i></button>
<h3>VCS Author Name Not Exist!</h3>
</div>
<div class="modal-body">
<form>
<label>Input Your Authour name</label>
<input type="text" name="authorName" placeholder="Type VCS Author name" />
</form>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary" type="submit">Submit</button>
</div>
</div>
<div id="editAuthorInfoModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="icon-remove"></i></button>
<h3>Edit Author Name</h3>
</div>
<div class="modal-body">
<form>
<label>Input Your Authour name</label>
<input type="text" name="authorName" placeholder="Type VCS Author name" />
</form>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary" type="submit">Submit</button>
</div>
</div>
<div id="initConfigurationModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="icon-remove"></i></button>
<h3>Init Configuration</h3>
</div>
<div class="modal-body">
<p>Do you want to init configuration information really?</p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
<button class="btn btn-primary" type="submit">Ok</button>
</div>
</div>
</body>
<script>
// $("div.well div.panel table.table").fixedHeaderTable('show');
</script>
</html>