Server: Login UI bug with button (alt-login)

Created on 24 Sep 2019  路  5Comments  路  Source: nextcloud/server

hello there. I found a login page UI bug about alt-login button:

my version is 16.0.4 stable

but I found it same in the new versions:

https://github.com/nextcloud/server/blob/61d22ff6cf54af0250a9917ab1b30a5dff1cb236/core/templates/login.php#L11-L13

that I thing we should changed to

<input type="submit" class="login primary" formaction="<?php print_unescaped($login['href']); ?>" value="<?php p($login['name']); ?>" />

(I used formaction for can not to change the js file. but it maybe not work if not support to html5 tags status)

maybe we should put it all in <input> not a <a> link. what's U think?

befor:

TIM鎴浘20190924125841

fix:

TIM鎴浘20190924130033

1. to develop bug design papercut

Most helpful comment

17 is the next major release.
18 means the current development branch.

There is no such thing like a pro version. Feel free to submit a patch with your changes. Should be a few lines of css. I don't think we need to replace the a with an button.

All 5 comments

cc @skjnldsv @GretaD

This has been changed in 18 already.
What is the exact issue, I don't get your explanation :)

Sry I means can't alignment. The button in login page are diff width. And it's only 16.0.4 now at (free) stable version not 18 (maybe it already fixed in Pro 18 version?) I just think we should fix it at 16 version unless all latest update is 18 now :P

17 is the next major release.
18 means the current development branch.

There is no such thing like a pro version. Feel free to submit a patch with your changes. Should be a few lines of css. I don't think we need to replace the a with an button.

Yeah. Fix it whatever way I think is all OK. I just don't wanna send a PR just for this "1 line" UI problem. And if it's already being fixed at 18 then plz just close this issue. And thx for this awesome file-cloud project again. <3

Was this page helpful?
0 / 5 - 0 ratings