Commit d30efcb3 authored by JC Brand's avatar JC Brand

Better bootstrap markup for the account registration form

parent 11bd3db8
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
- Bugfix. Handler not triggered when submitting MUC password form 2nd time - Bugfix. Handler not triggered when submitting MUC password form 2nd time
- Bugfix. MUC features weren't being refreshed when saving the config form - Bugfix. MUC features weren't being refreshed when saving the config form
- #1190 MUC Participants column disappears in certain viewport widths
- #1214 Setting `allow_contact_requests` to `false` has no effect - #1214 Setting `allow_contact_requests` to `false` has no effect
- #1222 Adding a bookmark should prefill the room name - #1222 Adding a bookmark should prefill the room name
......
...@@ -10014,6 +10014,7 @@ body.reset { ...@@ -10014,6 +10014,7 @@ body.reset {
#conversejs.converse-mobile #controlbox .brand-heading-container { #conversejs.converse-mobile #controlbox .brand-heading-container {
flex: 0 0 100%; flex: 0 0 100%;
max-width: 100%; max-width: 100%;
margin-bottom: 1em;
text-align: center; } text-align: center; }
#conversejs.converse-fullscreen #controlbox .brand-heading-container .brand-heading, #conversejs.converse-fullscreen #controlbox .brand-heading-container .brand-heading,
#conversejs.converse-mobile #controlbox .brand-heading-container .brand-heading { #conversejs.converse-mobile #controlbox .brand-heading-container .brand-heading {
......
...@@ -79553,13 +79553,13 @@ var _ = {escape:__webpack_require__(/*! ./node_modules/lodash/escape.js */ "./no ...@@ -79553,13 +79553,13 @@ var _ = {escape:__webpack_require__(/*! ./node_modules/lodash/escape.js */ "./no
module.exports = function(o) { module.exports = function(o) {
var __t, __p = '', __e = _.escape, __j = Array.prototype.join; var __t, __p = '', __e = _.escape, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') } function print() { __p += __j.call(arguments, '') }
__p += '<!-- src/templates/form_username.html -->\n'; __p += '<!-- src/templates/form_username.html -->\n<div class="form-group">\n ';
if (o.label) { ; if (o.label) { ;
__p += '\n<label>\n ' + __p += '\n <label>\n ' +
__e(o.label) + __e(o.label) +
'\n</label>\n'; '\n </label>\n ';
} ; } ;
__p += '\n<div class="input-group">\n <input name="' + __p += '\n <div class="input-group">\n <div class="input-group-prepend">\n <input name="' +
__e(o.name) + __e(o.name) +
'" type="' + '" type="' +
__e(o.type) + __e(o.type) +
...@@ -79573,11 +79573,11 @@ __p += '\n '; ...@@ -79573,11 +79573,11 @@ __p += '\n ';
if (o.required) { ; if (o.required) { ;
__p += ' class="required" '; __p += ' class="required" ';
} ; } ;
__p += ' />\n <span title="' + __p += ' />\n <div class="input-group-text col" title="' +
__e(o.domain) + __e(o.domain) +
'">' + '">' +
__e(o.domain) + __e(o.domain) +
'</span>\n</div>\n'; '</div>\n </div>\n </div>\n</div>\n';
return __p return __p
}; };
...@@ -443,6 +443,7 @@ ...@@ -443,6 +443,7 @@
.brand-heading-container { .brand-heading-container {
@include make-col(12); @include make-col(12);
margin-bottom: 1em;
text-align: center; text-align: center;
.brand-heading { .brand-heading {
font-size: 150%; font-size: 150%;
......
{[ if (o.label) { ]} <div class="form-group">
<label> {[ if (o.label) { ]}
<label>
{{{o.label}}} {{{o.label}}}
</label> </label>
{[ } ]} {[ } ]}
<div class="input-group"> <div class="input-group">
<div class="input-group-prepend">
<input name="{{{o.name}}}" type="{{{o.type}}}" <input name="{{{o.name}}}" type="{{{o.type}}}"
{[ if (o.value) { ]} value="{{{o.value}}}" {[ } ]} {[ if (o.value) { ]} value="{{{o.value}}}" {[ } ]}
{[ if (o.required) { ]} class="required" {[ } ]} /> {[ if (o.required) { ]} class="required" {[ } ]} />
<span title="{{{o.domain}}}">{{{o.domain}}}</span> <div class="input-group-text col" title="{{{o.domain}}}">{{{o.domain}}}</div>
</div>
</div>
</div> </div>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment