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
8708b685
Commit
8708b685
authored
Oct 28, 2015
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include CSS from pure.css and update styles and markup a bit.
parent
857a2e4c
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1516 additions
and
31 deletions
+1516
-31
css/converse.css
css/converse.css
+1497
-9
mockup/index.html
mockup/index.html
+6
-5
sass/_chatbox.scss
sass/_chatbox.scss
+1
-1
sass/_controlbox.scss
sass/_controlbox.scss
+1
-11
sass/_normalize.scss
sass/_normalize.scss
+6
-0
src/templates/login_panel.html
src/templates/login_panel.html
+3
-3
src/templates/register_panel.html
src/templates/register_panel.html
+2
-2
No files found.
css/converse.css
View file @
8708b685
This diff is collapsed.
Click to expand it.
mockup/index.html
View file @
8708b685
...
...
@@ -38,17 +38,18 @@
<a
class=
"chatbox-btn close-chatbox-button icon-close"
></a>
</div>
<div
class=
"controlbox-panes"
>
<div
id=
"login-dialog"
class=
"controlbox-pane"
><form
id=
"converse-login"
method=
"post"
>
<div
id=
"login-dialog"
class=
"controlbox-pane"
>
<form
class=
"pure-form pure-form-stacked"
id=
"converse-login"
method=
"post"
>
<label>
XMPP Username:
</label>
<input
type=
"
username
"
name=
"jid"
placeholder=
"user@server"
>
<input
type=
"
text
"
name=
"jid"
placeholder=
"user@server"
>
<label>
Password:
</label>
<input
type=
"password"
name=
"password"
placeholder=
"password"
>
<input
class=
"submit"
type=
"submit"
value=
"Log In"
>
<input
class=
"
pure-button
submit"
type=
"submit"
value=
"Log In"
>
<span
class=
"conn-feedback"
></span>
</form>
</div>
<div
id=
"register"
class=
"controlbox-pane"
style=
"display: none;"
>
<form
id=
"converse-register"
>
<form
id=
"converse-register"
class=
"pure-form"
>
<span
class=
"reg-feedback"
></span>
<label>
Your XMPP provider's domain name:
</label>
<input
type=
"text"
name=
"domain"
placeholder=
" e.g. conversejs.org"
>
...
...
@@ -56,7 +57,7 @@
Tip: A list of public XMPP providers is available
<a
href=
"https://xmpp.net/directory.php"
class=
"url"
target=
"_blank"
>
here
</a>
.
</p>
<input
class=
"submit"
type=
"submit"
value=
"Fetch registration form"
>
<input
class=
"
pure-button
submit"
type=
"submit"
value=
"Fetch registration form"
>
</form>
</div>
</div>
...
...
sass/_chatbox.scss
View file @
8708b685
...
...
@@ -86,7 +86,7 @@
span
{
display
:
inline-block
;
&
.chat-msg-author
{
max-width
:
100
px
;
max-width
:
100
%
;
font-weight
:
bold
;
white-space
:
nowrap
;
float
:
left
;
...
...
sass/_controlbox.scss
View file @
8708b685
...
...
@@ -75,15 +75,6 @@
#converse-register
,
#converse-login
{
margin
:
2em
1em
1em
1em
;
background
:
white
;
.login-submit
,
.submit
{
height
:
30px
;
padding
:
0px
;
font-size
:
$font-size
;
}
.submit
{
margin
:
1em
0
;
}
.login-anon
{
height
:
auto
;
white-space
:
normal
;
...
...
@@ -101,8 +92,7 @@
input
{
width
:
100%
;
height
:
30px
;
margin
:
5px
0
10px
0
;
padding-left
:
0
.5em
;
margin
:
1em
0
;
}
}
#users
{
...
...
sass/_normalize.scss
View file @
8708b685
#conversejs
{
@import
"pure/base"
;
@import
"pure/grids"
;
@import
"pure/forms"
;
@import
"pure/buttons"
;
@import
"pure/menus"
;
@include
box-sizing
(
border-box
);
*,
*
:before
,
*
:after
{
@include
box-sizing
(
border-box
);
...
...
src/templates/login_panel.html
View file @
8708b685
<form
id=
"converse-login"
method=
"post"
>
<form
class=
"pure-form pure-form-stacked"
id=
"converse-login"
method=
"post"
>
{[ if (auto_login) { ]}
<span
class=
"spinner login-submit"
/>
{[ } ]}
{[ if (!auto_login) { ]}
{[ if (authentication == LOGIN) { ]}
<label>
{{label_username}}
</label>
<input
name=
"jid"
placeholder=
"{{placeholder_username}}"
>
<input
type=
"text"
name=
"jid"
placeholder=
"{{placeholder_username}}"
>
<label>
{{label_password}}
</label>
<input
type=
"password"
name=
"password"
placeholder=
"{{placeholder_password}}"
>
<input
class=
"submit"
type=
"submit"
value=
"{{label_login}}"
>
<span
class=
"conn-feedback"
></span>
{[ } ]}
{[ if (authentication == ANONYMOUS) { ]}
<input
type=
"submit"
class=
"submit login-anon"
value=
"{{label_anon_login}}"
/>
<input
type=
"
pure-button
submit"
class=
"submit login-anon"
value=
"{{label_anon_login}}"
/>
{[ } ]}
{[ if (authentication == PREBIND) { ]}
<p>
Disconnected.
</p>
...
...
src/templates/register_panel.html
View file @
8708b685
<form
id=
"converse-register"
>
<form
id=
"converse-register"
class=
"pure-form"
>
<span
class=
"reg-feedback"
></span>
<label>
{{label_domain}}
</label>
<input
type=
"text"
name=
"domain"
placeholder=
"{{domain_placeholder}}"
>
<p
class=
"form-help"
>
{{help_providers}}
<a
href=
"{{href_providers}}"
class=
"url"
target=
"_blank"
>
{{help_providers_link}}
</a>
.
</p>
<input
class=
"submit"
type=
"submit"
value=
"{{label_register}}"
>
<input
class=
"
pure-button
submit"
type=
"submit"
value=
"{{label_register}}"
>
</form>
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