Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Bug 1092702 - Fix logviewer angular template flicker on page load
Browse files Browse the repository at this point in the history
  • Loading branch information
tojon committed Nov 3, 2014
1 parent 3ccfa74 commit 258448b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 5 additions & 0 deletions webapp/app/css/logviewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ body {
padding-top: 15px;
}

/* Suppress selected angular templates until they compile */
[ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}

/*Log Viewer*/

.lv-line-no {
Expand Down
11 changes: 7 additions & 4 deletions webapp/app/logviewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@
<div class="col-md-6">
<table class="table table-condensed">
<tr ng-repeat="(label, value) in artifact.header">
<th>{{label}}</th>
<th ng-cloak>{{label}}</th>
<td ng-if="label == 'revision'">
<a href="{{logRevisionFilterUrl}}"
title="open resultset in new tab"
target="_blank"
class="repo-link">{{value}}</a>
class="repo-link"
ng-cloak>{{value}}</a>
</td>
<td ng-if="label == 'starttime'">{{logDisplayDate}}</td>
<td ng-if="label != 'revision' && label != 'starttime'">{{value}}</td>
<td ng-if="label == 'starttime'"
ng-cloak>{{logDisplayDate}}</td>
<td ng-if="label != 'revision' && label != 'starttime'"
ng-cloak>{{value}}</td>
</tr>
</table>
</div>
Expand Down

0 comments on commit 258448b

Please sign in to comment.