Skip to content

Commit

Permalink
Add users details page.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stratehm committed Aug 26, 2014
1 parent 0701e55 commit 739dd58
Show file tree
Hide file tree
Showing 2 changed files with 571 additions and 5 deletions.
58 changes: 55 additions & 3 deletions src/main/resources/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,20 @@ <h1>Pool list</h1>
</div>

<div id="usersPage" class="container" style="display: none;">
<div>
<h1>Not yet available</h1>
<div class="listContainer"></div>
<div class="container container-sm-height">
<div class="row row-sm-height">
<div class="col-sm-3 col-sm-height col-middle">
<h1>User list</h1>
</div>
<div
class="col-sm-9 autoRefreshContainer col-sm-height col-middle text-right">
<span class="h6 autoRefreshCountDown"></span><a
class="btn btn-default btn-mini refreshButton"><i
class="icon-black glyphicon glyphicon-refresh"></i> Refresh</a>
</div>
</div>
</div>
<div class="row userItemContainer"></div>
</div>

<div id="connectionsPage" class="container" style="display: none;">
Expand Down Expand Up @@ -222,6 +232,48 @@ <h3 class="panel-title"></h3>
</div>
</div>
</div>

<div id="templateUserItem"
class="listItem userItem panel panel-default row"
style="display: none;">
<div class="panel-heading">
<h3 class="panel-title"></h3>
</div>
<div class="panel-body">
<div class="row">
<label class="col-sm-3 control-label">First connetion date</label>
<div class="col-sm-3 firstConnectionDateValue tooltipOnOverflow"></div>
<label class="col-sm-3 control-label">Last share submitted</label>
<div class="col-sm-3 lastShareSubmittedValue tooltipOnOverflow"></div>
</div>
<div class="row">
<label class="col-sm-3 control-label">Accepted hashrate</label>
<div class="col-sm-3 acceptedHashrateValue tooltipOnOverflow"></div>
<label class="col-sm-3 control-label">Rejected hashrate</label>
<div class="col-sm-3 rejectedHashrateValue tooltipOnOverflow"></div>
</div>
<div class="row">
<label class="col-sm-3 control-label">Number of connections</label>
<div class="col-sm-3 numberOfConnectionsValue tooltipOnOverflow"></div>
<!-- <label class="col-sm-3 control-label">Rejected hashrate</label> -->
<!-- <div class="col-sm-3 rejectedHashrateValue tooltipOnOverflow"></div> -->
</div>

<div class="row top20 bottom20">
<div class="text-center">
<div class="btn-group">
<a class="btn btn-warning kickUser">Kick</a><a
class="btn btn-danger banUser">Ban</a>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="hashrateChart" style="width: 100%;">
<div class="chartLoader"></div>
</div>
</div>
</div>
</div>

<div id="confirmationModal"
class="modal fade bs-example-modal-sm removePoolConfirmation"
Expand Down
Loading

0 comments on commit 739dd58

Please sign in to comment.