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
f0204dd5
Commit
f0204dd5
authored
Aug 31, 2013
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use class instead of id for controlbox-panes element
parent
fcd488c4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
converse.css
converse.css
+1
-2
converse.js
converse.js
+4
-4
mockup.html
mockup.html
+2
-2
No files found.
converse.css
View file @
f0204dd5
...
@@ -216,7 +216,6 @@ li.chat-info {
...
@@ -216,7 +216,6 @@ li.chat-info {
padding-top
:
10px
;
padding-top
:
10px
;
}
}
div
#settings
,
div
#chatrooms
,
div
#chatrooms
,
div
#login-dialog
{
div
#login-dialog
{
height
:
274px
;
height
:
274px
;
...
@@ -609,7 +608,7 @@ dd.available-chatroom:hover a.room-info {
...
@@ -609,7 +608,7 @@ dd.available-chatroom:hover a.room-info {
background-color
:
#DCEAC5
;
background-color
:
#DCEAC5
;
}
}
div
#
controlbox-panes
{
.
controlbox-panes
{
background
:
-moz-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
1
)
0%
,
rgba
(
240
,
240
,
240
,
1
)
100%
);
/* FF3.6+ */
background
:
-moz-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
1
)
0%
,
rgba
(
240
,
240
,
240
,
1
)
100%
);
/* FF3.6+ */
background
:
-ms-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
1
)
0%
,
rgba
(
240
,
240
,
240
,
1
)
100%
);
/* IE10+ */
background
:
-ms-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
1
)
0%
,
rgba
(
240
,
240
,
240
,
1
)
100%
);
/* IE10+ */
background
:
-o-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
1
)
0%
,
rgba
(
240
,
240
,
240
,
1
)
100%
);
/* Opera 11.10+ */
background
:
-o-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
1
)
0%
,
rgba
(
240
,
240
,
240
,
1
)
100%
);
/* Opera 11.10+ */
...
...
converse.js
View file @
f0204dd5
...
@@ -1318,7 +1318,7 @@
...
@@ -1318,7 +1318,7 @@
'
<ul id="controlbox-tabs"></ul>
'
+
'
<ul id="controlbox-tabs"></ul>
'
+
'
<a class="close-chatbox-button icon-close"></a>
'
+
'
<a class="close-chatbox-button icon-close"></a>
'
+
'
</div>
'
+
'
</div>
'
+
'
<div
id
="controlbox-panes"></div>
'
'
<div
class
="controlbox-panes"></div>
'
),
),
switchTab
:
function
(
ev
)
{
switchTab
:
function
(
ev
)
{
...
@@ -1345,15 +1345,15 @@
...
@@ -1345,15 +1345,15 @@
if
((
!
converse
.
prebind
)
&&
(
!
converse
.
connection
))
{
if
((
!
converse
.
prebind
)
&&
(
!
converse
.
connection
))
{
// Add login panel if the user still has to authenticate
// Add login panel if the user still has to authenticate
this
.
$el
.
html
(
this
.
template
(
this
.
model
.
toJSON
()));
this
.
$el
.
html
(
this
.
template
(
this
.
model
.
toJSON
()));
this
.
loginpanel
=
new
converse
.
LoginPanel
({
'
$parent
'
:
this
.
$el
.
find
(
'
#
controlbox-panes
'
),
'
model
'
:
this
});
this
.
loginpanel
=
new
converse
.
LoginPanel
({
'
$parent
'
:
this
.
$el
.
find
(
'
.
controlbox-panes
'
),
'
model
'
:
this
});
this
.
loginpanel
.
render
();
this
.
loginpanel
.
render
();
}
else
if
(
!
this
.
contactspanel
)
{
}
else
if
(
!
this
.
contactspanel
)
{
this
.
$el
.
html
(
this
.
template
(
this
.
model
.
toJSON
()));
this
.
$el
.
html
(
this
.
template
(
this
.
model
.
toJSON
()));
this
.
contactspanel
=
new
converse
.
ContactsPanel
({
'
$parent
'
:
this
.
$el
.
find
(
'
#
controlbox-panes
'
)});
this
.
contactspanel
=
new
converse
.
ContactsPanel
({
'
$parent
'
:
this
.
$el
.
find
(
'
.
controlbox-panes
'
)});
this
.
contactspanel
.
render
();
this
.
contactspanel
.
render
();
converse
.
xmppstatusview
=
new
converse
.
XMPPStatusView
({
'
model
'
:
converse
.
xmppstatus
});
converse
.
xmppstatusview
=
new
converse
.
XMPPStatusView
({
'
model
'
:
converse
.
xmppstatus
});
converse
.
xmppstatusview
.
render
();
converse
.
xmppstatusview
.
render
();
this
.
roomspanel
=
new
converse
.
RoomsPanel
({
'
$parent
'
:
this
.
$el
.
find
(
'
#
controlbox-panes
'
)});
this
.
roomspanel
=
new
converse
.
RoomsPanel
({
'
$parent
'
:
this
.
$el
.
find
(
'
.
controlbox-panes
'
)});
this
.
roomspanel
.
render
();
this
.
roomspanel
.
render
();
}
}
return
this
;
return
this
;
...
...
mockup.html
View file @
f0204dd5
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<li><a
class=
"current"
href=
"#login"
>
Sign in
</a></li>
<li><a
class=
"current"
href=
"#login"
>
Sign in
</a></li>
</ul>
</ul>
<a
class=
"close-chatbox-button icon-close"
></a></div>
<a
class=
"close-chatbox-button icon-close"
></a></div>
<div
id
=
"controlbox-panes"
>
<div
class
=
"controlbox-panes"
>
<div
id=
"login-dialog"
>
<div
id=
"login-dialog"
>
<form
id=
"converse-login"
>
<form
id=
"converse-login"
>
<label>
XMPP/Jabber Username:
</label><input
type=
"text"
id=
"jid"
>
<label>
XMPP/Jabber Username:
</label><input
type=
"text"
id=
"jid"
>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
</ul>
</ul>
<a
class=
"close-chatbox-button icon-close"
></a>
<a
class=
"close-chatbox-button icon-close"
></a>
</div>
</div>
<div
id
=
"controlbox-panes"
>
<div
class
=
"controlbox-panes"
>
<div
id=
"users"
class=
"oc-chat-content"
style=
"display: block;"
>
<div
id=
"users"
class=
"oc-chat-content"
style=
"display: block;"
>
<form
class=
"set-xmpp-status"
action=
""
method=
"post"
>
<form
class=
"set-xmpp-status"
action=
""
method=
"post"
>
<span
id=
"xmpp-status-holder"
>
<span
id=
"xmpp-status-holder"
>
...
...
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