Commit 0b5c95e8 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: login_form, add space between the fields

parent a79cbf73
...@@ -40,11 +40,11 @@ ...@@ -40,11 +40,11 @@
<div class="ui-field-contain"> <div class="ui-field-contain">
<label i18n:domain="ui" i18n:translate="" >Login</label> <label i18n:domain="ui" i18n:translate="" >Login</label>
<div><input autofocus type="text" name="__ac_name" value="" required=""></div> <div><input autofocus type="text" name="__ac_name" value="" required=""></div>
</div> </div><br/>
<div class="ui-field-contain"> <div class="ui-field-contain">
<label i18n:domain="ui" i18n:translate="" >Password</label> <label i18n:domain="ui" i18n:translate="" >Password</label>
<div><input type="password" name="__ac_password" value="" required=""></div> <div><input type="password" name="__ac_password" value="" required=""></div>
</div> </div><br/>
<div class="ui-field-contain"> <div class="ui-field-contain">
<label></label> <label></label>
<div tal:define="absolute_url python:context.absolute_url()"> <div tal:define="absolute_url python:context.absolute_url()">
......
  • @romain @frequent @rafael was this discussed for inclusion in default ERP5JS ?

    I feel that by default there are not enough distance between these two fields on desktop:

    image

    ( even though it looks good on mobile )

  • I'm not sure, probably no.

    Probably, I already had this custom login form and I just added myself w/o any discussion.

  • For consistency, it is better to change the page template generated HTML so that it mimic ERP5JS forms, and let the CSS be applied for both

  • Yes, that would be much better, this way it would just look the same. I will try to do this and also integrate the google login button.

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