mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 14:56:37 +00:00
Improve "Full Log" button on Dev Info panel (#2590)
This commit is contained in:
parent
6b8e90ce67
commit
7dda98f139
@ -56,6 +56,7 @@ class HaPanelDevInfo extends EventsMixin(LocalizeMixin(PolymerElement)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.error-log-intro {
|
.error-log-intro {
|
||||||
|
text-align: center;
|
||||||
margin: 16px;
|
margin: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -210,8 +211,12 @@ class HaPanelDevInfo extends EventsMixin(LocalizeMixin(PolymerElement)) {
|
|||||||
</paper-card>
|
</paper-card>
|
||||||
</div>
|
</div>
|
||||||
<p class='error-log-intro'>
|
<p class='error-log-intro'>
|
||||||
Press the button to load the full Home Assistant log.
|
<template is='dom-if' if='[[!errorLog]]'>
|
||||||
<paper-icon-button icon='hass:refresh' on-click='refreshErrorLog'></paper-icon-button>
|
<paper-button raised on-click='refreshErrorLog'>Load Full Home Assistant Log</paper-button>
|
||||||
|
</template>
|
||||||
|
<template is='dom-if' if='[[errorLog]]'>
|
||||||
|
<paper-icon-button icon='hass:refresh' on-click='refreshErrorLog'></paper-icon-button>
|
||||||
|
</template>
|
||||||
</p>
|
</p>
|
||||||
<div class='error-log'>[[errorLog]]</div>
|
<div class='error-log'>[[errorLog]]</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user