Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
6739b508
Commit
6739b508
authored
Jan 04, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small css and text fixes
parent
f7cf1fb7
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
5 deletions
+19
-5
css/converse.css
css/converse.css
+2
-1
css/inverse.css
css/inverse.css
+5
-1
sass/_controlbox.scss
sass/_controlbox.scss
+1
-0
sass/inverse/_roster.scss
sass/inverse/_roster.scss
+3
-0
sass/inverse/inverse.scss
sass/inverse/inverse.scss
+1
-0
src/converse-muc.js
src/converse-muc.js
+6
-3
src/templates/no_rooms.html
src/templates/no_rooms.html
+1
-0
No files found.
css/converse.css
View file @
6739b508
...
...
@@ -2037,7 +2037,8 @@
font-weight
:
normal
;
padding
:
0
;
padding-bottom
:
0.5em
;
text-shadow
:
0
1px
0
#FAFAFA
;
}
text-shadow
:
0
1px
0
#FAFAFA
;
word-wrap
:
break-word
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
{
border
:
none
;
...
...
css/inverse.css
View file @
6739b508
...
...
@@ -2123,7 +2123,8 @@ body {
font-weight
:
normal
;
padding
:
0
;
padding-bottom
:
0.5em
;
text-shadow
:
0
1px
0
#FAFAFA
;
}
text-shadow
:
0
1px
0
#FAFAFA
;
word-wrap
:
break-word
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
{
border
:
none
;
...
...
@@ -2633,6 +2634,9 @@ body {
line-height
:
22px
;
width
:
100%
;
}
#conversejs
#converse-roster
{
padding-bottom
:
3em
;
}
#conversejs
#controlbox
#chatrooms
.bookmarks-list
dl
.rooms-list.bookmarks
dd
.available-chatroom
a
.open-room
{
width
:
80%
;
}
...
...
sass/_controlbox.scss
View file @
6739b508
...
...
@@ -205,6 +205,7 @@
padding
:
0
;
padding-bottom
:
0
.5em
;
text-shadow
:
0
1px
0
$text-shadow-color
;
word-wrap
:
break-word
;
}
.available-chatroom
,
.open-chatroom
{
...
...
sass/inverse/_roster.scss
0 → 100644
View file @
6739b508
#conversejs
#converse-roster
{
padding-bottom
:
3em
;
}
sass/inverse/inverse.scss
View file @
6739b508
...
...
@@ -17,6 +17,7 @@
@import
"../controlbox"
;
@import
"controlbox"
;
@import
"../roster"
;
@import
"roster"
;
@import
"../bookmarks"
;
@import
"bookmarks"
;
@import
"../chatrooms"
;
...
...
src/converse-muc.js
View file @
6739b508
...
...
@@ -28,6 +28,7 @@
"
tpl!chatroom_toolbar
"
,
"
tpl!chatrooms_tab
"
,
"
tpl!info
"
,
"
tpl!no_rooms
"
,
"
tpl!occupant
"
,
"
tpl!room_description
"
,
"
tpl!room_item
"
,
...
...
@@ -58,6 +59,7 @@
tpl_chatroom_toolbar
,
tpl_chatrooms_tab
,
tpl_info
,
tpl_no_rooms
,
tpl_occupant
,
tpl_room_description
,
tpl_room_item
,
...
...
@@ -2633,8 +2635,9 @@
informNoRoomsFound
()
{
const
chatrooms_el
=
this
.
el
.
querySelector
(
'
#available-chatrooms
'
);
// For translators: %1$s is a variable and will be replaced with the XMPP server name
chatrooms_el
.
innerHTML
=
`<dt>
${
__
(
'
No rooms on %1$s
'
,
this
.
model
.
get
(
'
muc_domain
'
))}
</dt>`
;
chatrooms_el
.
innerHTML
=
tpl_no_rooms
({
'
no_rooms_text
'
:
__
(
'
No rooms found
'
)
});
const
input_el
=
this
.
el
.
querySelector
(
'
input#show-rooms
'
);
input_el
.
classList
.
remove
(
'
hidden
'
)
this
.
removeSpinner
();
...
...
@@ -2677,7 +2680,7 @@
},
updateRoomsList
()
{
/* Send an
d
IQ stanza to the server asking for all rooms
/* Send an IQ stanza to the server asking for all rooms
*/
_converse
.
connection
.
sendIQ
(
$iq
({
...
...
src/templates/no_rooms.html
0 → 100644
View file @
6739b508
<dt
class=
"centered"
>
{{{ o.no_rooms_text }}}
</dt>
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