Compare commits
2 commits
3e28d4b6e1
...
3fc8104bdd
Author | SHA1 | Date | |
---|---|---|---|
3fc8104bdd | |||
c21ab3b90f |
4 changed files with 27 additions and 30 deletions
|
@ -282,7 +282,6 @@ class Timeline extends Subscribable {
|
|||
if (eventData.type === "m.room.message" && eventData.content["m.relates_to"] && eventData.content["m.relates_to"].rel_type === "m.replace") {
|
||||
const replaces = eventData.content["m.relates_to"].event_id
|
||||
if (this.map.has(replaces)) {
|
||||
console.log(eventData)
|
||||
const event = this.map.get(replaces)
|
||||
event.data.content = eventData.content["m.new_content"]
|
||||
event.setEdited(eventData.origin_server_ts)
|
||||
|
|
|
@ -4,26 +4,25 @@ html
|
|||
meta(charset="utf-8")
|
||||
link(rel="stylesheet" type="text/css" href=getStatic("/sass/login.sass"))
|
||||
title Carbon
|
||||
meta(name="viewport" content= "width=device-width, initial-scale=1.0")
|
||||
meta(name="viewport" content="width=device-width, initial-scale=1")
|
||||
|
||||
body
|
||||
main.main
|
||||
div.center-login-container
|
||||
.center-login-container
|
||||
h1 Welcome to the Matrix!
|
||||
form.login-form
|
||||
div.data-input
|
||||
div.form-input-container
|
||||
.data-input
|
||||
.form-input-container
|
||||
label(for="login") Username
|
||||
input(type="text" name="login" autocomplete="username" required)#login
|
||||
div.form-input-container
|
||||
|
||||
.form-input-container
|
||||
label(for="password") Password
|
||||
input(name="password" autocomplete="current-password" type="password" required)#password
|
||||
div.form-input-container
|
||||
|
||||
|
||||
.form-input-container
|
||||
label(for="homeserver") Homeserver
|
||||
input(type="text" name="homeserver" value="matrix.org" required)#homeserver
|
||||
div.form-input-container
|
||||
|
||||
.form-input-container
|
||||
input(type="submit" value="Login")
|
||||
|
|
|
@ -33,6 +33,7 @@ $out-width: $base-width + rooms.$list-width
|
|||
&__container
|
||||
width: $out-width
|
||||
padding: $icon-padding
|
||||
box-sizing: border-box
|
||||
|
||||
.c-group
|
||||
display: flex
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
.data-input
|
||||
width: 100%
|
||||
|
||||
|
||||
.form-input-container
|
||||
width: 100%
|
||||
display: flex
|
||||
|
@ -55,4 +54,3 @@ input[type="submit"]:hover
|
|||
|
||||
label
|
||||
font-size: 1.2em
|
||||
|
||||
|
|
Loading…
Reference in a new issue