mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
Merge remote-tracking branch 'justin/justin-groups-features' into feature/new-editor
This commit is contained in:
commit
47a048c5e9
@ -7,8 +7,6 @@ import '@vaadin/button';
|
|||||||
import '@polymer/paper-progress/paper-progress.js';
|
import '@polymer/paper-progress/paper-progress.js';
|
||||||
import { cropAddress } from '../../../utils/cropAddress.js';
|
import { cropAddress } from '../../../utils/cropAddress.js';
|
||||||
|
|
||||||
// const parentEpml = new Epml({ type: "WINDOW", source: window.parent });
|
|
||||||
|
|
||||||
export class UserInfo extends LitElement {
|
export class UserInfo extends LitElement {
|
||||||
static get properties() {
|
static get properties() {
|
||||||
return {
|
return {
|
||||||
@ -34,7 +32,6 @@ export class UserInfo extends LitElement {
|
|||||||
const imageHTMLRes = new Image();
|
const imageHTMLRes = new Image();
|
||||||
imageHTMLRes.src = imageUrl;
|
imageHTMLRes.src = imageUrl;
|
||||||
imageHTMLRes.classList.add("user-info-avatar");
|
imageHTMLRes.classList.add("user-info-avatar");
|
||||||
// imageHTMLRes.style= "width:30px; height:30px; float: left; border-radius:50%; font-size:14px";
|
|
||||||
imageHTMLRes.onload = () => {
|
imageHTMLRes.onload = () => {
|
||||||
this.isImageLoaded = true;
|
this.isImageLoaded = true;
|
||||||
}
|
}
|
||||||
|
@ -193,6 +193,23 @@ export const qchatStyles = css`
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.people-list ul::-webkit-scrollbar-track {
|
||||||
|
background-color: whitesmoke;
|
||||||
|
border-radius: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.people-list ul::-webkit-scrollbar {
|
||||||
|
width: 6px;
|
||||||
|
border-radius: 7px;
|
||||||
|
background-color: whitesmoke;
|
||||||
|
}
|
||||||
|
|
||||||
|
.people-list ul::-webkit-scrollbar-thumb {
|
||||||
|
background-color: rgb(180, 176, 176);
|
||||||
|
border-radius: 7px;
|
||||||
|
transition: all 0.3s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
.chat {
|
.chat {
|
||||||
width: 80vw;
|
width: 80vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
@ -163,6 +163,8 @@ class Chat extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
console.log(12, "q-chat here");
|
||||||
|
console.log(window.location.href);
|
||||||
return html`
|
return html`
|
||||||
<div class="container clearfix">
|
<div class="container clearfix">
|
||||||
<div class="people-list" id="people-list">
|
<div class="people-list" id="people-list">
|
||||||
@ -177,12 +179,14 @@ class Chat extends LitElement {
|
|||||||
</ul>
|
</ul>
|
||||||
<div class="blockedusers">
|
<div class="blockedusers">
|
||||||
<div class="groups-button-container">
|
<div class="groups-button-container">
|
||||||
<a href="/app/group-management">
|
<button
|
||||||
<button class="groups-button">
|
@click=${() => {
|
||||||
|
this.redirectToGroups();
|
||||||
|
}}
|
||||||
|
class="groups-button">
|
||||||
<mwc-icon>groups</mwc-icon>
|
<mwc-icon>groups</mwc-icon>
|
||||||
${translate("sidemenu.groupmanagement")}
|
${translate("sidemenu.groupmanagement")}
|
||||||
</button>
|
</button>
|
||||||
</a>
|
|
||||||
${this.groupInvites.length > 0 ? (
|
${this.groupInvites.length > 0 ? (
|
||||||
html`
|
html`
|
||||||
<div class="groups-button-notif">
|
<div class="groups-button-notif">
|
||||||
@ -530,6 +534,10 @@ class Chat extends LitElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
redirectToGroups() {
|
||||||
|
window.location.href = `../../group-management/index.html`
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
async _sendMessage(outSideMsg, msg) {
|
async _sendMessage(outSideMsg, msg) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user