Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
HomeAssistant
Core
Commits
b0bf775d
Commit
b0bf775d
authored
9 years ago
by
Paulus Schoutsen
Browse files
Options
Downloads
Patches
Plain Diff
Compile new version frontend
parent
e43eee2e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
homeassistant/components/frontend/version.py
+1
-1
1 addition, 1 deletion
homeassistant/components/frontend/version.py
homeassistant/components/frontend/www_static/frontend.html
+2
-2
2 additions, 2 deletions
homeassistant/components/frontend/www_static/frontend.html
with
3 additions
and
3 deletions
homeassistant/components/frontend/version.py
+
1
−
1
View file @
b0bf775d
"""
DO NOT MODIFY. Auto-generated by build_frontend script
"""
VERSION
=
"
b06d3667e9e461173029ded9c0c9b815
"
VERSION
=
"
1e004712440afc642a44ad927559587e
"
This diff is collapsed.
Click to expand it.
homeassistant/components/frontend/www_static/frontend.html
+
2
−
2
View file @
b0bf775d
...
...
@@ -17,7 +17,7 @@ b.events&&Object.keys(a).length>0&&console.log("[%s] addHostListeners:",this.loc
.divider-color { border-color: #B6B6B6; }
/* extra */
.accent-text-colo { color: #FF9800; }
.accent-text-colo
r
{ color: #FF9800; }
body {
color: #212121;
...
...
@@ -213,7 +213,7 @@ return pickBy("isBefore",args)};moment.max=function(){var args=[].slice.call(arg
{{ time }}
</template><script>(function(){var timeFormatOptions={hour:"numeric",minute:"2-digit"};Polymer("display-time",{time:"",dateObjChanged:function(oldVal,newVal){if(!newVal){this.time=""}this.time=newVal.toLocaleTimeString([],timeFormatOptions)}})})();</script></polymer-element><polymer-element name="logbook-entry" attributes="entryObj" assetpath="polymer/components/"><template><core-style ref="ha-main"></core-style><style>.logbook-entry{line-height:2em}.time{width:55px;font-size:.8em}.icon{margin:0 8px 0 16px}.name{text-transform:capitalize}</style><div horizontal="" layout="" class="logbook-entry"><display-time dateobj="{{entryObj.when}}" class="time secondary-text-color"></display-time><domain-icon domain="{{entryObj.domain}}" class="icon primary-text-color"></domain-icon><div class="message primary-text-color" flex=""><template if="{{!entryObj.entityId}}"><span class="name">{{entryObj.name}}</span></template><template if="{{entryObj.entityId}}"><a href="polymer/components/#" on-click="{{entityClicked}}" class="name">{{entryObj.name}}</a></template>
{{entryObj.message}}
</div></div></template><script>(function(){var uiActions=window.hass.uiActions;Polymer("logbook-entry",{entityClicked:function(
){
uiActions.showMoreInfoDialog(this.entryObj.entityId)}})})();</script></polymer-element><polymer-element name="ha-logbook" attributes="entries" assetpath="polymer/components/"><template><style></style><div class="logbook"><template repeat="{{entries as entry}}"><logbook-entry entryobj="{{entry}}"></logbook-entry></template></div></template><script>Polymer("ha-logbook");</script></polymer-element><polymer-element name="partial-logbook" attributes="narrow togglePanel" assetpath="polymer/layouts/"><template><style>.content{background-color:#fff;padding:8px}</style><partial-base narrow="{{narrow}}" togglepanel="{{togglePanel}}"><span header-title="">Logbook</span><span header-buttons=""><paper-icon-button icon="refresh" on-click="{{handleRefreshClick}}"></paper-icon-button></span><div flex="" class="{{ {content: true, narrow: narrow, wide: !narrow} | tokenList }}"><ha-logbook entries="{{entries}}"></ha-logbook></div></partial-base></template><script>var storeListenerMixIn=window.hass.storeListenerMixIn;var logbookActions=window.hass.logbookActions;Polymer(Polymer.mixin({entries:null,attached:function(){this.listenToStores(true)},detached:function(){this.stopListeningToStores()},logbookStoreChanged:function(logbookStore){if(logbookStore.isStale()){logbookActions.fetch()}this.entries=logbookStore.all.toArray()},handleRefreshClick:function(){logbookActions.fetch()}},storeListenerMixIn));</script></polymer-element><polymer-element name="paper-input" assetpath="polymer/bower_components/paper-input/"><template><style>:host{display:inline-block}</style><paper-input-decorator id="decorator" label="{{label}}" floatinglabel="{{floatingLabel}}" value="{{value}}" disabled?="{{disabled}}"><input is="core-input" id="input" value="{{value}}" committedvalue="{{committedValue}}" on-change="{{changeAction}}" disabled?="{{disabled}}"></paper-input-decorator></template><script>Polymer("paper-input",{publish:{label:"",floatingLabel:false,disabled:{value:false,reflect:true},value:"",committedValue:""},focus:function(){this.$.input.focus()},valueChanged:function(){this.$.decorator.updateLabelVisibility(this.value)},changeAction:function(e){this.fire("change",null,this)}});</script></polymer-element><polymer-element name="paper-autogrow-textarea" on-input="{{inputAction}}" assetpath="polymer/bower_components/paper-input/"><template><style>:host{display:inline-block;position:relative;width:400px}.mirror-text{visibility:hidden;word-wrap:break-word}::content textarea{padding:0;margin:0;border:none;outline:0;resize:none;width:100%;height:100%}::content textarea:invalid{box-shadow:none}</style><div id="mirror" class="mirror-text" aria-hidden="true"> </div><div class="textarea-container" fit=""><content></content></div></template><script>Polymer("paper-autogrow-textarea",{publish:{target:null,rows:1,maxRows:0},tokens:null,observe:{rows:"updateCached",maxRows:"updateCached"},constrain:function(tokens){var _tokens;tokens=tokens||[""];if(this.maxRows>0&&tokens.length>this.maxRows){_tokens=tokens.slice(0,this.maxRows)}else{_tokens=tokens.slice(0)}while(this.rows>0&&_tokens.length<this.rows){_tokens.push("")}return _tokens.join("<br>")+" "},valueForMirror:function(input){this.tokens=input&&input.value?input.value.replace(/&/gm,"&").replace(/"/gm,""").replace(/'/gm,"'").replace(/</gm,"<").replace(/>/gm,">").split("\n"):[""];return this.constrain(this.tokens)},update:function(input){this.$.mirror.innerHTML=this.valueForMirror(input)},updateCached:function(){this.$.mirror.innerHTML=this.constrain(this.tokens)},inputAction:function(e){this.update(e.target)}});</script></polymer-element><polymer-element name="events-list" attributes="cbEventClicked" assetpath="polymer/components/"><template><style>:host{display:block}.eventContainer{font-size:1rem}</style><template if="{{cbEventClicked}}"><style>a{text-decoration:underline;cursor:pointer}</style></template><div><template repeat="{{event in events}}"><div class="eventContainer"><a on-click="{{handleClick}}">{{event.event}}</a>
</div></div></template><script>(function(){var uiActions=window.hass.uiActions;Polymer("logbook-entry",{entityClicked:function(
ev){ev.preventDefault();
uiActions.showMoreInfoDialog(this.entryObj.entityId)}})})();</script></polymer-element><polymer-element name="ha-logbook" attributes="entries" assetpath="polymer/components/"><template><style></style><div class="logbook"><template repeat="{{entries as entry}}"><logbook-entry entryobj="{{entry}}"></logbook-entry></template></div></template><script>Polymer("ha-logbook");</script></polymer-element><polymer-element name="partial-logbook" attributes="narrow togglePanel" assetpath="polymer/layouts/"><template><style>.content{background-color:#fff;padding:8px}</style><partial-base narrow="{{narrow}}" togglepanel="{{togglePanel}}"><span header-title="">Logbook</span><span header-buttons=""><paper-icon-button icon="refresh" on-click="{{handleRefreshClick}}"></paper-icon-button></span><div flex="" class="{{ {content: true, narrow: narrow, wide: !narrow} | tokenList }}"><ha-logbook entries="{{entries}}"></ha-logbook></div></partial-base></template><script>var storeListenerMixIn=window.hass.storeListenerMixIn;var logbookActions=window.hass.logbookActions;Polymer(Polymer.mixin({entries:null,attached:function(){this.listenToStores(true)},detached:function(){this.stopListeningToStores()},logbookStoreChanged:function(logbookStore){if(logbookStore.isStale()){logbookActions.fetch()}this.entries=logbookStore.all.toArray()},handleRefreshClick:function(){logbookActions.fetch()}},storeListenerMixIn));</script></polymer-element><polymer-element name="paper-input" assetpath="polymer/bower_components/paper-input/"><template><style>:host{display:inline-block}</style><paper-input-decorator id="decorator" label="{{label}}" floatinglabel="{{floatingLabel}}" value="{{value}}" disabled?="{{disabled}}"><input is="core-input" id="input" value="{{value}}" committedvalue="{{committedValue}}" on-change="{{changeAction}}" disabled?="{{disabled}}"></paper-input-decorator></template><script>Polymer("paper-input",{publish:{label:"",floatingLabel:false,disabled:{value:false,reflect:true},value:"",committedValue:""},focus:function(){this.$.input.focus()},valueChanged:function(){this.$.decorator.updateLabelVisibility(this.value)},changeAction:function(e){this.fire("change",null,this)}});</script></polymer-element><polymer-element name="paper-autogrow-textarea" on-input="{{inputAction}}" assetpath="polymer/bower_components/paper-input/"><template><style>:host{display:inline-block;position:relative;width:400px}.mirror-text{visibility:hidden;word-wrap:break-word}::content textarea{padding:0;margin:0;border:none;outline:0;resize:none;width:100%;height:100%}::content textarea:invalid{box-shadow:none}</style><div id="mirror" class="mirror-text" aria-hidden="true"> </div><div class="textarea-container" fit=""><content></content></div></template><script>Polymer("paper-autogrow-textarea",{publish:{target:null,rows:1,maxRows:0},tokens:null,observe:{rows:"updateCached",maxRows:"updateCached"},constrain:function(tokens){var _tokens;tokens=tokens||[""];if(this.maxRows>0&&tokens.length>this.maxRows){_tokens=tokens.slice(0,this.maxRows)}else{_tokens=tokens.slice(0)}while(this.rows>0&&_tokens.length<this.rows){_tokens.push("")}return _tokens.join("<br>")+" "},valueForMirror:function(input){this.tokens=input&&input.value?input.value.replace(/&/gm,"&").replace(/"/gm,""").replace(/'/gm,"'").replace(/</gm,"<").replace(/>/gm,">").split("\n"):[""];return this.constrain(this.tokens)},update:function(input){this.$.mirror.innerHTML=this.valueForMirror(input)},updateCached:function(){this.$.mirror.innerHTML=this.constrain(this.tokens)},inputAction:function(e){this.update(e.target)}});</script></polymer-element><polymer-element name="events-list" attributes="cbEventClicked" assetpath="polymer/components/"><template><style>:host{display:block}.eventContainer{font-size:1rem}</style><template if="{{cbEventClicked}}"><style>a{text-decoration:underline;cursor:pointer}</style></template><div><template repeat="{{event in events}}"><div class="eventContainer"><a on-click="{{handleClick}}">{{event.event}}</a>
({{event.listener_count}} listeners)
</div></template></div></template><script>var storeListenerMixIn=window.hass.storeListenerMixIn;Polymer(Polymer.mixin({cbEventClicked:null,events:[],attached:function(){this.listenToStores(true)},detached:function(){this.stopListeningToStores()},eventStoreChanged:function(eventStore){this.events=eventStore.all.toArray()},handleClick:function(ev){if(this.cbEventClicked){this.cbEventClicked(ev.path[0].innerHTML)}}},storeListenerMixIn));</script></polymer-element><polymer-element name="partial-dev-fire-event" attributes="narrow togglePanel" assetpath="polymer/layouts/"><template><style>.form{padding:24px;background-color:#fff}</style><partial-base narrow="{{narrow}}" togglepanel="{{togglePanel}}"><span header-title="">Fire Event</span><div class="form" fit=""><p>
Fire an event on the event bus.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment