Skip to content

Commit

Permalink
add scroll,modified roominfo page
Browse files Browse the repository at this point in the history
  • Loading branch information
faireprogram committed Feb 27, 2016
1 parent 47d6f2f commit fafdb8a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 16 deletions.
9 changes: 7 additions & 2 deletions public/stylesheets/chat.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ form > div {

.realContainer {
position: relative;
overflow-y:auto;
}

.absoluteContainer {
Expand Down Expand Up @@ -321,9 +322,9 @@ form > div {


.mogiContainer {
position: absolute;
position: fixed;
right: 0;
bottom: 0;
bottom: 8.3%;
border-radius: 4px;
box-shadow: 0 6px 12px rgba(0,0,0,.175);
background-clip: padding-box;
Expand Down Expand Up @@ -372,6 +373,10 @@ form > div {
padding: 5px ;


}
.chart{
background-color: #68D7FC;

}
/*
.graphContainer .highcharts-container{
Expand Down
31 changes: 17 additions & 14 deletions public/template/roominfos/roomInfos.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<div class="container-fluid">

<h1 class="page-header">Dashboard</h1>
<div class="row">
<div class="row ">
<uib-accordion close-others="oneAtATime">
<uib-accordion-group is-open="status.open">
<uib-accordion-heading>
Weekly statictics
<uib-accordion-heading >
Weekly Statictics
<i class="pull-right glyphicon" ng-class="{'glyphicon-chevron-down': status.open, 'glyphicon-chevron-right': !status.open}"></i>
</uib-accordion-heading>

Expand All @@ -27,27 +27,29 @@ <h1 class="page-header">Dashboard</h1>
<div class="row placeholders">

<div style="position:relative;">
<h2 class="sub-header">Section title</h2>
<button style="position:absolute ;right :0;top:0;" ng-click="openAddRoom()">Create a new room</button>
<h2 class="sub-header">Section Title</h2>
<button class="btn btn-success"style="position:absolute ;right :0;top:0;" ng-click="openAddRoom()">Create a new room</button>
</div>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>description</th>
<th>create date</th>
<th>close date</th>
<th>tags</th>
<th>status</th>
<th>Room Name</th>
<th>Room No.</th>
<th>Description</th>
<th>Created Date</th>
<th>Close Date</th>
<th>Tags</th>
<th>Status</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="roominfo in rooms">
<td>{{roominfo.roomName}}</td>
<td>{{roominfo.rid}}</td>
<td>{{roominfo.description}}</td>
<td>{{roominfo.status.createDate}}</td>
<td>{{roominfo.status.createDate|date:'medium'}}</td>
<td>{{roominfo.status.closeDate}}</td>
<td>

Expand All @@ -56,9 +58,10 @@ <h2 class="sub-header">Section title</h2>

</span>
</td>
<td>{{roominfo.status.open}}</td>
<td ng-if="roominfo.status.open">Alive</td>
<td ng-if="!roominfo.status.open">Closed</td>
<td>
<button>close chat</button>
<button class="btn btn-danger">Close Chat</button>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit fafdb8a

Please sign in to comment.