Add tooltips.
This commit is contained in:
+4
-2
@@ -1,7 +1,5 @@
|
|||||||
// TODO Add material tooltips
|
|
||||||
// TODO Action handlers.
|
// TODO Action handlers.
|
||||||
// TODO Make editor work.
|
// TODO Make editor work.
|
||||||
// TODO Try nav popout menu.
|
|
||||||
// TODO Explore webrtc support.
|
// TODO Explore webrtc support.
|
||||||
// TODO Add documentation & screenshots.
|
// TODO Add documentation & screenshots.
|
||||||
|
|
||||||
@@ -345,6 +343,7 @@ export class FrigateCard extends LitElement {
|
|||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
class="button"
|
class="button"
|
||||||
icon="mdi:cctv"
|
icon="mdi:cctv"
|
||||||
|
data-toggle="tooltip" title="View live"
|
||||||
@click=${() => {
|
@click=${() => {
|
||||||
this._controlVideos({stop: true, control_clip: true});
|
this._controlVideos({stop: true, control_clip: true});
|
||||||
this._controlVideos({stop: false, control_live: true});
|
this._controlVideos({stop: false, control_live: true});
|
||||||
@@ -354,6 +353,7 @@ export class FrigateCard extends LitElement {
|
|||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
class="button"
|
class="button"
|
||||||
icon = "mdi:filmstrip"
|
icon = "mdi:filmstrip"
|
||||||
|
data-toggle="tooltip" title="View clips"
|
||||||
@click=${() => {
|
@click=${() => {
|
||||||
this._controlVideos({stop: true, control_live: true});
|
this._controlVideos({stop: true, control_live: true});
|
||||||
this._viewMode = FrigateCardView.CLIPS
|
this._viewMode = FrigateCardView.CLIPS
|
||||||
@@ -362,6 +362,7 @@ export class FrigateCard extends LitElement {
|
|||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
class="button"
|
class="button"
|
||||||
icon = "mdi:camera"
|
icon = "mdi:camera"
|
||||||
|
data-toggle="tooltip" title="View snapshots"
|
||||||
@click=${() => {
|
@click=${() => {
|
||||||
this._controlVideos({stop: true, control_clip: true, control_live: true});
|
this._controlVideos({stop: true, control_clip: true, control_live: true});
|
||||||
this._viewMode = FrigateCardView.SNAPSHOTS
|
this._viewMode = FrigateCardView.SNAPSHOTS
|
||||||
@@ -432,6 +433,7 @@ export class FrigateCard extends LitElement {
|
|||||||
this._viewMode == FrigateCardView.LIVE ? 'visible' : 'invisible'}
|
this._viewMode == FrigateCardView.LIVE ? 'visible' : 'invisible'}
|
||||||
">
|
">
|
||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
|
data-toggle="tooltip" title="View motion sensor"
|
||||||
class="button"
|
class="button"
|
||||||
icon="${icon}"
|
icon="${icon}"
|
||||||
></ha-icon-button>
|
></ha-icon-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user