Skip to content

Commit

Permalink
#963 apply span styles from lucas
Browse files Browse the repository at this point in the history
  • Loading branch information
pliablepixels committed Sep 6, 2020
1 parent 1bd8fd4 commit 47a8f79
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
8 changes: 4 additions & 4 deletions www/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1920,12 +1920,12 @@ fill-opacity: 0.8;

flex-wrap:wrap;
float:right;


}


span.smallThumbsSpan {
display: table;
}

.no-padding {
padding: 0px !important;
}
Expand Down
17 changes: 10 additions & 7 deletions www/templates/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<div class="item-text-wrap">
<!-- this ngswitch displays different icons
depending on the cause of the event -->
<span ng-switch on="event.Event.Cause">
<span ng-switch on="event.Event.Cause" ng-class="::{'largeThumbsSpan': thumbClass=='large', 'smallThumbsSpan': thumbClass=='small'}">
<span ng-switch-when="Motion">
<i class="ion-android-walk" style="font-size:150%;"></i>&nbsp;
<!-- <i ng-class="(event.Event.DefaultVideo !== undefined && event.Event.DefaultVideo!='')? 'ion-ios-videocam':'ion-images'" style="float:left; padding-left:5px; font-size:100%;"></i>-->
Expand All @@ -80,25 +80,28 @@


</span>
<b><i ng-if="event.Event.Archived=='1'" class="ion-ios-flag"
style="color:red">&nbsp;</i>{{event.Event.MonitorName}}</b>
</span>

<b>
<i ng-if="event.Event.Archived=='1'" class="ion-ios-flag"
style="color:red">&nbsp;</i>{{event.Event.MonitorName}}</b>
<br /><i class="ion-images"></i> {{event.Event.Frames}} &nbsp;
<span ng-class="::{'largeThumbsSpan': thumbClass=='large', 'smallThumbsSpan': thumbClass=='small'}">
<i class="ion-images"></i> {{event.Event.Frames}} &nbsp;
<i class="ion-ios-bell-outline"></i> {{event.Event.AlarmFrames}} &nbsp;
<span style="font-size:80%; color:rgb(110,110,110)">
{{humanize(event.Event.Length)}} &nbsp;
</span>
</span>

<br /><i class="ion-ios-pricetags-outline"></i>&nbsp; {{event.Event.Name}}
<span ng-class="::{'largeThumbsSpan': thumbClass=='large', 'smallThumbsSpan': thumbClass=='small'}">
<i class="ion-ios-pricetags-outline"></i>&nbsp; {{event.Event.Name}}
</span>



<!-- <br/> Default video:{{event.Event.relativePath}}{{event.Event.DefaultVideo}}-->
</div>
</div> <!-- col-->
<div ng-if="loginData.eventViewThumbs!='none'" class="col">
<div class="col">
<div ng-if="loginData.eventViewThumbs!='none'"
ng-class="::{'largeThumbs': thumbClass=='large', 'smallThumbs': thumbClass=='small'}">
<img bg-color="#6C7A89" ng-src="{{constructThumbnail(event)}}"
Expand Down

0 comments on commit 47a8f79

Please sign in to comment.