${this.collInfo.title}
-
+
`;
@@ -473,19 +555,6 @@ class WrCuratedPages extends LitElement
}
}
- static get styles() {
- return css`
- .column {
- max-height: calc(100vh - 145px);
- }
-
- #content {
- margin-top: 10px;
- max-height: calc(100vh - 155px);
- }
- `;
- }
-
firstUpdated() {
this.doLoadCurated();
}
@@ -516,6 +585,19 @@ class WrCuratedPages extends LitElement
}
}
+ static get styles() {
+ return css`
+ .column {
+ max-height: calc(100vh - 145px);
+ }
+
+ #content {
+ margin-top: 10px;
+ max-height: calc(100vh - 155px);
+ }
+ `;
+ }
+
render() {
return html`
@@ -548,16 +630,6 @@ class WrCuratedPages extends LitElement
`;
}
- onReplay(event) {
- event.preventDefault();
- const detail = {replayUrl: event.currentTarget.getAttribute("data-url"),
- replayTS: event.currentTarget.getAttribute("data-ts"),
- currTab: "replay"
- }
- this.dispatchEvent(new CustomEvent("coll-tab-nav", {detail}));
- return false;
- }
-
renderContent() {
return html`
${this.collInfo.lists.map((list, i) => html`
@@ -586,6 +658,16 @@ class WrCuratedPages extends LitElement
`;
}
+ onReplay(event) {
+ event.preventDefault();
+ const detail = {replayUrl: event.currentTarget.getAttribute("data-url"),
+ replayTS: event.currentTarget.getAttribute("data-ts"),
+ currTab: "replay"
+ }
+ this.dispatchEvent(new CustomEvent("coll-tab-nav", {detail}));
+ return false;
+ }
+
onClickScroll(event) {
event.preventDefault();
this.scrollToList(event.currentTarget.getAttribute("data-list"));
@@ -678,54 +760,6 @@ class WrResources extends LitElement
}
}
- static get styles() {
- return css`
- :host {
- display: flex;
- flex-direction: column;
- }
- .notification {
- width: 100%;
- }
- .main-scroll {
- max-height: calc(100vh - 295px);
- width: 100vw;
- }
- table {
- table-layout: fixed;
- word-wrap: break-word;
- text-overflow: ellipsis;
- }
- tbody > tr {
- display: table;
- width: 100%;
- }
- .col-url {
- width: 66%;
- max-width: 66%;
- min-width: 66%;
- word-break: break-word;
- }
- .col-ts {
- width: 16%;
- max-width: 16%;
- min-width: 16%;
- word-break: break-word;
- }
- td.col-mime {
- width: 10%;
- word-break: break-word;
- }
- td.col-status {
- text-align: center;
- }
- .loading-cog {
- width: 100vw;
- display: flex;
- }
- `;
- }
-
firstUpdated() {
this.doLoadResources();
}
@@ -823,6 +857,54 @@ class WrResources extends LitElement
}
}
+ static get styles() {
+ return css`
+ :host {
+ display: flex;
+ flex-direction: column;
+ }
+ .notification {
+ width: 100%;
+ }
+ .main-scroll {
+ max-height: calc(100vh - 295px);
+ width: 100vw;
+ }
+ table {
+ table-layout: fixed;
+ word-wrap: break-word;
+ text-overflow: ellipsis;
+ }
+ tbody > tr {
+ display: table;
+ width: 100%;
+ }
+ .col-url {
+ width: 66%;
+ max-width: 66%;
+ min-width: 66%;
+ word-break: break-word;
+ }
+ .col-ts {
+ width: 16%;
+ max-width: 16%;
+ min-width: 16%;
+ word-break: break-word;
+ }
+ td.col-mime {
+ width: 10%;
+ word-break: break-word;
+ }
+ td.col-status {
+ text-align: center;
+ }
+ .loading-cog {
+ width: 100vw;
+ display: flex;
+ }
+ `;
+ }
+
render() {
return html`
@@ -977,12 +1059,12 @@ class WrGdrive extends LitElement
return html`
${this.script()}
${!this.manual ? html`
-
Authorizing Google Drive...
+
Connecting to Google Drive...
` : html`
-