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
6d356817
Commit
6d356817
authored
Oct 30, 2015
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Found another form that's not a pure-form yet.
The add contact form.
parent
cd4d6a98
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
css/converse.css
css/converse.css
+2
-2
mockup/controlbox.html
mockup/controlbox.html
+2
-2
mockup/index.html
mockup/index.html
+2
-2
sass/_controlbox.scss
sass/_controlbox.scss
+1
-1
sass/_roster.scss
sass/_roster.scss
+1
-1
src/templates/add_contact_form.html
src/templates/add_contact_form.html
+2
-2
No files found.
css/converse.css
View file @
6d356817
...
...
@@ -1720,7 +1720,7 @@
background-color
:
#DCEAC5
;
}
#conversejs
#controlbox
.add-xmpp-contact
{
background
:
none
;
padding
:
5px
;
}
padding
:
1em
;
}
#conversejs
#controlbox
.add-xmpp-contact
input
{
margin
:
0
0
1rem
;
width
:
100%
;
}
...
...
@@ -1786,7 +1786,7 @@
height
:
25px
;
margin
:
0
0
0.5em
7px
;
padding
:
0
;
padding
:
2px
;
padding
-left
:
0.4em
;
width
:
103px
;
}
#conversejs
#converse-roster
.roster-filter.x
{
background-position
:
right
3px
center
;
}
...
...
mockup/controlbox.html
View file @
6d356817
...
...
@@ -126,9 +126,9 @@
<dd
class=
"search-xmpp"
style=
"display:none"
>
<ul>
<li>
<form
class=
"add-xmpp-contact"
>
<form
class=
"
pure-form
add-xmpp-contact"
>
<input
type=
"text"
name=
"identifier"
class=
"username"
placeholder=
"Contact username"
>
<button
type=
"submit"
>
Add
</button>
<button
class=
"pure-button button-primary"
type=
"submit"
>
Add
</button>
</form>
</li>
<li></li>
...
...
mockup/index.html
View file @
6d356817
...
...
@@ -87,9 +87,9 @@
<dd
class=
"search-xmpp"
style=
"display:none"
>
<ul>
<li>
<form
class=
"add-xmpp-contact"
>
<form
class=
"
pure-form
add-xmpp-contact"
>
<input
type=
"text"
name=
"identifier"
class=
"username"
placeholder=
"Contact username"
>
<button
type=
"submit"
>
Add
</button>
<button
class=
"pure-button button-primary"
type=
"submit"
>
Add
</button>
</form>
</li>
<li></li>
...
...
sass/_controlbox.scss
View file @
6d356817
...
...
@@ -330,7 +330,7 @@
.add-xmpp-contact
{
background
:
none
;
padding
:
5px
;
padding
:
1em
;
input
{
margin
:
0
0
1rem
;
width
:
100%
;
...
...
sass/_roster.scss
View file @
6d356817
...
...
@@ -38,7 +38,7 @@
height
:
$controlbox-dropdown-height
;
margin
:
0
0
0
.5em
7px
;
padding
:
0
;
padding
:
2px
;
padding
-left
:
0
.4em
;
width
:
103px
;
}
/* (jQ addClass:) if input has value: */
...
...
src/templates/add_contact_form.html
View file @
6d356817
<li>
<form
class=
"add-xmpp-contact"
>
<form
class=
"
pure-form
add-xmpp-contact"
>
<input
type=
"text"
name=
"identifier"
class=
"username"
placeholder=
"{{label_contact_username}}"
/>
<button
type=
"submit"
>
{{label_add}}
</button>
<button
class=
"pure-button button-primary"
type=
"submit"
>
{{label_add}}
</button>
</form>
</li>
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