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
9c80ab5d
Commit
9c80ab5d
authored
Mar 11, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use bootstrap button markup
parent
fa30f936
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
23 deletions
+18
-23
src/templates/add_contact_form.html
src/templates/add_contact_form.html
+1
-1
src/templates/chatroom_bookmark_form.html
src/templates/chatroom_bookmark_form.html
+5
-5
src/templates/chatroom_form.html
src/templates/chatroom_form.html
+2
-2
src/templates/chatroom_nickname_form.html
src/templates/chatroom_nickname_form.html
+4
-6
src/templates/chatroom_password_form.html
src/templates/chatroom_password_form.html
+2
-4
src/templates/login_panel.html
src/templates/login_panel.html
+1
-2
src/templates/registration_form.html
src/templates/registration_form.html
+2
-2
src/templates/registration_request.html
src/templates/registration_request.html
+1
-1
No files found.
src/templates/add_contact_form.html
View file @
9c80ab5d
...
...
@@ -7,5 +7,5 @@
value=
"{{{o.value}}}"
class=
"username {[ if (o.error_message) { ]} error {[ } ]}"
placeholder=
"{{{o.label_contact_username}}}"
/>
<button
class=
"
pure-button butto
n-primary"
type=
"submit"
>
{{{o.label_add}}}
</button>
<button
class=
"
btn bt
n-primary"
type=
"submit"
>
{{{o.label_add}}}
</button>
</form>
src/templates/chatroom_bookmark_form.html
View file @
9c80ab5d
<div
class=
"chatroom-form-container"
>
<form
class=
"
pure-form
converse-form chatroom-form"
>
<fieldset>
<form
class=
"converse-form chatroom-form"
>
<fieldset
class=
"form-group"
>
<legend>
{{{o.heading}}}
</legend>
<label>
{{{o.label_name}}}
</label>
<input
type=
"text"
name=
"name"
required=
"required"
/>
...
...
@@ -9,9 +9,9 @@
<label>
{{{o.label_nick}}}
</label>
<input
type=
"text"
name=
"nick"
value=
"{{{o.default_nick}}}"
/>
</fieldset>
<fieldset>
<input
class=
"
pure-button butto
n-primary"
type=
"submit"
value=
"{{{o.label_submit}}}"
/>
<input
class=
"
pure-button
button-cancel"
type=
"button"
value=
"{{{o.label_cancel}}}"
/>
<fieldset
class=
"form-group"
>
<input
class=
"
btn bt
n-primary"
type=
"submit"
value=
"{{{o.label_submit}}}"
/>
<input
class=
"
btn btn-secondary
button-cancel"
type=
"button"
value=
"{{{o.label_cancel}}}"
/>
</fieldset>
</form>
</div>
src/templates/chatroom_form.html
View file @
9c80ab5d
<div
class=
"chatroom-form-container"
>
<form
class=
"
pure-form pure-form-stacked
converse-form chatroom-form"
>
<fieldset>
<form
class=
"converse-form chatroom-form"
>
<fieldset
class=
"form-group"
>
<span
class=
"spinner centered"
/>
</fieldset>
</form>
...
...
src/templates/chatroom_nickname_form.html
View file @
9c80ab5d
<div
class=
"chatroom-form-container"
>
<form
class=
"
pure-form
converse-form chatroom-form converse-centered-form"
>
<fieldset>
<form
class=
"converse-form chatroom-form converse-centered-form"
>
<fieldset
class=
"form-group"
>
<label>
{{{o.heading}}}
</label>
<p
class=
"validation-message"
>
{{{o.validation_message}}}
</p>
<input
type=
"text"
required=
"required"
name=
"nick"
class=
"new-chatroom-nick"
placeholder=
"{{{o.label_nickname}}}"
/>
</fieldset>
<fieldset>
<input
type=
"submit"
class=
"pure-button button-primary"
name=
"join"
value=
"{{{o.label_join}}}"
/>
<input
type=
"text"
required=
"required"
name=
"nick"
class=
"form-control"
placeholder=
"{{{o.label_nickname}}}"
/>
</fieldset>
<input
type=
"submit"
class=
"btn btn-primary"
name=
"join"
value=
"{{{o.label_join}}}"
/>
</form>
</div>
src/templates/chatroom_password_form.html
View file @
9c80ab5d
<div
class=
"chatroom-form-container"
>
<form
class=
"pure-form converse-form chatroom-form"
>
<fieldset>
<fieldset
class=
"form-group"
>
<legend>
{{{o.heading}}}
</legend>
<label>
{{{o.label_password}}}
</label>
<input
type=
"password"
name=
"password"
/>
</fieldset>
<fieldset>
<input
class=
"pure-button button-primary"
type=
"submit"
value=
"{{{o.label_submit}}}"
/>
</fieldset>
<input
class=
"btn btn-primary"
type=
"submit"
value=
"{{{o.label_submit}}}"
/>
</form>
</div>
src/templates/login_panel.html
View file @
9c80ab5d
...
...
@@ -23,12 +23,11 @@
</fieldset>
{[ } ]}
{[ if (o.authentication == o.ANONYMOUS) { ]}
<input
class=
"
pure-button butto
n-primary login-anon"
type=
"submit"
value=
"{{{o.__('Click here to log in anonymously')}}}"
/>
<input
class=
"
btn bt
n-primary login-anon"
type=
"submit"
value=
"{{{o.__('Click here to log in anonymously')}}}"
/>
{[ } ]}
{[ if (o.authentication == o.PREBIND) { ]}
<p>
Disconnected.
</p>
{[ } ]}
{[ } ]}
</fieldset>
</form>
</div>
src/templates/registration_form.html
View file @
9c80ab5d
...
...
@@ -4,8 +4,8 @@
<div
class=
"form-errors hidden"
></div>
<fieldset
class=
"buttons"
>
<input
type=
"submit"
class=
"
pure-button butto
n-primary"
value=
"{{{o.__('Register')}}}"
/>
<input
type=
"submit"
class=
"
btn bt
n-primary"
value=
"{{{o.__('Register')}}}"
/>
{[ if (!o.registration_domain) { ]}
<input
type=
"button"
class=
"
pure-button
button-cancel"
value=
"{{{o.__('Choose a different provider')}}}"
/>
<input
type=
"button"
class=
"
btn btn-secondary
button-cancel"
value=
"{{{o.__('Choose a different provider')}}}"
/>
{[ } ]}
</fieldset>
src/templates/registration_request.html
View file @
9c80ab5d
<span
class=
"spinner login-submit"
></span>
<p
class=
"info"
>
{{{o.__("Hold tight, we're fetching the registration form…")}}}
</p>
{[ if (o.cancel) { ]}
<button
class=
"
pure-button
button-cancel hor_centered"
>
{{{o.__('Cancel')}}}
</button>
<button
class=
"
btn btn-secondary
button-cancel hor_centered"
>
{{{o.__('Cancel')}}}
</button>
{[ } ]}
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