|
@@ -17,43 +17,43 @@
|
|
|
}}
|
|
|
<div class="row-fluid">
|
|
|
<div class="top-portion">
|
|
|
- <ul class="breadcrumb">
|
|
|
- <li><a href="#/main/mirroring">{{t mirroring.dataset.AllDataSets}}</a> <span class="divider">/</span></li>
|
|
|
- <li class="active">{{view.dataset.name}}</li>
|
|
|
- </ul>
|
|
|
+ <div class="pull-left">
|
|
|
+ <strong>{{view.dataset.name}}</strong>
|
|
|
+ <a class="pull-left" href="#/main/mirroring">← {{t common.back}}</a>
|
|
|
+ </div>
|
|
|
{{#if App.isAdmin}}
|
|
|
- <div class="mirroring-top-nav button-section pull-right">
|
|
|
- {{#if isScheduled}}
|
|
|
- <span class="label label-success">{{content.status}}</span>
|
|
|
+ <div class="switcher pull-right">
|
|
|
+ {{#if isScheduled}}
|
|
|
+ <span class="heatmap-host">
|
|
|
<a href="javascript:void(null)" data-toggle="modal"
|
|
|
- class="btn btn-danger" {{action "suspend" target="controller"}}>
|
|
|
- <i class="icon-pause"></i>
|
|
|
+ class="btn btn-danger enabled" {{action "suspend" target="controller"}}>
|
|
|
+ <i class="icon-pause"></i>
|
|
|
{{actionDesc}}
|
|
|
</a>
|
|
|
- {{else}}
|
|
|
- <span class="label label-important">{{content.status}}</span>
|
|
|
+ <span>{{content.status}} </span>
|
|
|
+ </span>
|
|
|
+ {{else}}
|
|
|
+ <span>
|
|
|
+ <span> {{content.status}}</span>
|
|
|
<a href="javascript:void(null)" data-toggle="modal"
|
|
|
class="btn btn-success" {{action "schedule" target="controller"}}>
|
|
|
- <i class="icon-play"></i>
|
|
|
+ <i class="icon-play"></i>
|
|
|
{{actionDesc}}
|
|
|
</a>
|
|
|
- {{/if}}
|
|
|
- </div>
|
|
|
+ </span>
|
|
|
+ {{/if}}
|
|
|
+ </div>
|
|
|
{{/if}}
|
|
|
-
|
|
|
+ <br />
|
|
|
</div>
|
|
|
<div class="jobs-sidebar">
|
|
|
- <h5>{{t common.details}} <span class="pull-right"><a
|
|
|
- href="#" {{action gotoEditDataset view.dataset}}>{{t common.edit}}</a></span></h5>
|
|
|
+ <h5>{{t common.details}}
|
|
|
+ </h5>
|
|
|
<hr/>
|
|
|
- <p>{{t mirroring.dataset.source}}: <span class="pull-right">{{view.dataset.sourceClusterName}}</span></p>
|
|
|
+ <p>{{t mirroring.dataset.target}}: <span class="pull-right">{{view.dataset.targetCluster.clusterName}}</span></p>
|
|
|
+ <p>{{t mirroring.dataset.sourceDir}}: <span class="pull-right">{{view.dataset.sourceDir}}</span></p>
|
|
|
+ <p>{{t mirroring.dataset.filespec}}: <span class="pull-right">{{view.dataset.filespec}}</span></p>
|
|
|
|
|
|
- <p>{{t mirroring.dataset.target}}: <span class="pull-right">{{view.dataset.targetClusterName}}</span></p>
|
|
|
- <h5>{{t common.stats}}</h5>
|
|
|
- <hr/>
|
|
|
- <p>{{t mirroring.dataset.avgData}}: <span class="pull-right">{{view.dataset.avgData}}</span></p>
|
|
|
-
|
|
|
- <p>{{t mirroring.dataset.dateCreated}}: <span class="pull-right">{{view.dataset.createdDate}}</span></p>
|
|
|
</div>
|
|
|
<div class="jobs-middleportion">
|
|
|
<div id="mirroring">
|
|
@@ -65,12 +65,6 @@
|
|
|
{{view view.parentView.idSort}}
|
|
|
{{view view.parentView.startSort}}
|
|
|
{{view view.parentView.endSort}}
|
|
|
- {{view view.parentView.durationSort}}
|
|
|
- {{view view.parentView.dataSort}}
|
|
|
- <th>
|
|
|
- {{t common.status}}
|
|
|
- </th>
|
|
|
-
|
|
|
{{/view}}
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -78,8 +72,6 @@
|
|
|
<th>{{view view.idFilterView}}</th>
|
|
|
<th>{{view view.startFilterView}}</th>
|
|
|
<th>{{view view.endFilterView}}</th>
|
|
|
- <th>{{view view.durationFilterView}}</th>
|
|
|
- <th>{{view view.dataFilterView}}</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
@@ -88,41 +80,12 @@
|
|
|
{{#view view.JobView contentBinding="job"}}
|
|
|
|
|
|
<td class="first">
|
|
|
+ <span {{ bindAttr class="job.healthClass"}}></span>
|
|
|
</td>
|
|
|
|
|
|
<td>{{unbound job.id}}</td>
|
|
|
<td>{{view.startFormatted}}</td>
|
|
|
<td>{{view.endFormatted}}</td>
|
|
|
-
|
|
|
- <td>
|
|
|
- {{view.durationFormatted}}
|
|
|
- </td>
|
|
|
-
|
|
|
- <td>{{job.data}}</td>
|
|
|
- <td>
|
|
|
-
|
|
|
- {{#if view.canActionBeTaken}}
|
|
|
- <div class="btn-group">
|
|
|
- <a {{bindAttr class="view.statusClass"}} data-toggle="dropdown" href="#">
|
|
|
- {{view.content.status}}
|
|
|
- <span class="caret"></span>
|
|
|
- </a>
|
|
|
- <ul class="dropdown-menu">
|
|
|
- {{#each view.listOfOptions}}
|
|
|
- <li>
|
|
|
- <a href="#" {{action "changeStatus" this target="view" on="click"}}>{{title}}</a>
|
|
|
- </li>
|
|
|
- {{/each}}
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- {{else}}
|
|
|
- {{#if view.isKilled}}
|
|
|
- <span class="label label-important">{{view.content.status}}</span>
|
|
|
- {{else}}
|
|
|
- <span class="label label-info">{{view.content.status}}</span>
|
|
|
- {{/if}}
|
|
|
- {{/if}}
|
|
|
- </td>
|
|
|
{{/view}}
|
|
|
{{/each}}
|
|
|
{{else}}
|
|
@@ -149,4 +112,4 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-</div>
|
|
|
+</div>
|