Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gualter
matrix-sustrares-blog
Commits
056f2444
Commit
056f2444
authored
Aug 31, 2016
by
Gualter
Browse files
Removed host from rendering. Adjusted CSS for more compact design.
parent
eedab97f
Changes
2
Hide whitespace changes
Inline
Side-by-side
index.html
View file @
056f2444
...
...
@@ -12,7 +12,7 @@ body {
font-family
:
"Open Sans"
,
sans-serif
;
font-size
:
12px
;
font-style
:
normal
;
font-weight
:
4
00
;
font-weight
:
2
00
;
line-height
:
14.4px
;
}
#chat
{
...
...
@@ -42,7 +42,7 @@ ul.posts li {
}
h4
{
margin
:
0
0
13px
0
;
font-size
:
12
px
;
font-size
:
9
px
;
}
time
{
color
:
#888
;
...
...
matrix-blog.js
View file @
056f2444
...
...
@@ -116,9 +116,7 @@ MatrixBlog.prototype.processChunk = function(message) {
var
$user
=
$
(
'
<h4 class="user">
'
);
var
info
=
this
.
getUserInfo
(
message
.
getSender
());
$user
.
append
(
$
(
'
<span class="nick">
'
).
text
(
info
.
nick
));
$user
.
append
(
$
(
'
<span class="host">
'
).
text
(
info
.
host
));
var
$time
=
$
(
"
<time>
"
).
text
(
this
.
makeTimeString
(
message
.
getTs
()));
$item
.
append
(
$time
);
$user
.
append
(
$
(
"
<time>
"
).
text
(
this
.
makeTimeString
(
message
.
getTs
()));
}
else
{
var
$item
=
$
(
"
ul.posts li:first
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment