Comparing version 0.9.2 to 0.9.3
@@ -17,2 +17,3 @@ /** | ||
import 'elements-sk/collapse-sk' | ||
import 'elements-sk/icon/launch-icon-sk' | ||
import 'elements-sk/styles/buttons' | ||
@@ -128,2 +129,9 @@ | ||
<div class="horiz duration">${ele._duration(s.started, s.finished)}</div> | ||
${!s.parent && ele.hasAttribute('embedded') ? html` | ||
<div class="horiz"> | ||
<a href="https://task-driver.skia.org/td/${s.id}" target="_blank"> | ||
<launch-icon-sk></launch-icon-sk> | ||
</a> | ||
</div> | ||
` : ""} | ||
</div> | ||
@@ -292,2 +300,12 @@ ${stepInner(ele, s)} | ||
get embedded() { return this.hasAttribute('embedded'); } | ||
set embedded(isEmbedded) { | ||
if (isEmbedded) { | ||
this.setAttribute('embedded', ''); | ||
} else { | ||
this.removeAttribute('embedded'); | ||
} | ||
this._render(); | ||
} | ||
_render() { | ||
@@ -294,0 +312,0 @@ render(template(this), this, {eventContext: this}); |
{ | ||
"name": "infra-sk", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"description": "Common Skia Infra elements and JS.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/google/skia-buildbot/tree/master/infra-sk", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67672
788