Install form layout is broken #550

Closed
opened 2025-11-02 03:27:50 -06:00 by GiteaMirror · 15 comments
Owner

Originally created by @aloupfor on GitHub (Mar 20, 2017).

  • Gitea version (or commit ref): 1.1.0+61-g888dee3
  • Git version: 2.10.1
  • Operating system: Ubuntu 14.04.5 LTS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I'm installing gitea using this documentation: https://docs.gitea.io/en-us/install-from-source/.
Since this commit: a9de85d31d, the layout on the install form seems broken.
If I'am not wrong the fields were previously centred on the page.

Screenshot

screen shot 2017-03-20 at 20 15 08

Originally created by @aloupfor on GitHub (Mar 20, 2017). - Gitea version (or commit ref): 1.1.0+61-g888dee3 - Git version: 2.10.1 - Operating system: Ubuntu 14.04.5 LTS - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: ## Description I'm installing gitea using this documentation: https://docs.gitea.io/en-us/install-from-source/. Since this commit: https://github.com/go-gitea/gitea/commit/a9de85d31d8ba3ce8801d03e66866e527f5f39d7, the layout on the install form seems broken. If I'am not wrong the fields were previously centred on the page. ## Screenshot ![screen shot 2017-03-20 at 20 15 08](https://cloud.githubusercontent.com/assets/11750180/24117578/06d271e6-0dab-11e7-9f67-56eecb11baea.png)
GiteaMirror added the type/bug label 2025-11-02 03:27:50 -06:00
Author
Owner

@Fastidious commented on GitHub (Mar 20, 2017):

AFAIK, the master holds daily changes, and can be broken at times. If you can't bare with that, stick to releases.

That been said, it is good to know when things are broken. The commit you mention was sent in by @strk, maybe he will take a look at it, and fix it.

@Fastidious commented on GitHub (Mar 20, 2017): AFAIK, the `master` holds daily changes, and can be broken at times. If you can't bare with that, stick to [releases](https://github.com/go-gitea/gitea/releases). That been said, it is good to know when things are broken. The commit you mention was sent in by @strk, maybe he will take a look at it, and fix it.
Author
Owner

@tboerger commented on GitHub (Mar 20, 2017):

I wouldn't directly call it broken as still seems to work, but it looks bad/ugly.

@tboerger commented on GitHub (Mar 20, 2017): I wouldn't directly call it broken as still seems to work, but it looks bad/ugly.
Author
Owner

@Fastidious commented on GitHub (Mar 20, 2017):

@tboerger semantics. It looks pretty broken to me. Usable, but broken.

@Fastidious commented on GitHub (Mar 20, 2017): @tboerger semantics. It looks pretty broken to me. Usable, but broken.
Author
Owner

@lunny commented on GitHub (Mar 21, 2017):

It's broken I think. @strk

@lunny commented on GitHub (Mar 21, 2017): It's broken I think. @strk
Author
Owner

@strk commented on GitHub (Mar 21, 2017):

Tge only change in a9de85d31d is adding !important to some CSS and was done by less compiler. Are you sure that revertig that fixes the issue ? (Watch out for browser cache)

@strk commented on GitHub (Mar 21, 2017): Tge only change in https://github.com/go-gitea/gitea/commit/a9de85d31d8ba3ce8801d03e66866e527f5f39d7 is adding !important to some CSS and was done by `less` compiler. Are you sure that revertig that fixes the issue ? (Watch out for browser cache)
Author
Owner

@aloupfor commented on GitHub (Mar 21, 2017):

Here is what make think that it was since a9de85d31d.

$git log --oneline
888dee3 fix delete user failed on sqlite (#1321)
bd8fe49 fix wiki bugs (#1294)
dbabc35 Delete the useless code (#1335)
5586445 LFS: Return 404 for unimplemented endpoints (#1330)
9182a35 Show user OpenID URIs in their profile (#1314)
e158689 Add change-password admin command (#1304)
97ee889 Add captcha support to OpenID based signup
f00a4c8 Gitea OpenID-2.0 login has been tested with livejournal.com too
a9de85d Improve style of user OpenID setting page (#1324)
608cd54 fix gpg wrong column types

Before a9de85d31d commit:

$ git checkout 608cd54
$ make generate build
$ ./gitea web

screen shot 2017-03-21 at 19 54 55

After a9de85d31d commit:

$ git checkout a9de85d
$ make generate build
$ ./gitea web

screen shot 2017-03-21 at 20 00 11

@aloupfor commented on GitHub (Mar 21, 2017): Here is what make think that it was since https://github.com/go-gitea/gitea/commit/a9de85d31d8ba3ce8801d03e66866e527f5f39d7. ``` $git log --oneline 888dee3 fix delete user failed on sqlite (#1321) bd8fe49 fix wiki bugs (#1294) dbabc35 Delete the useless code (#1335) 5586445 LFS: Return 404 for unimplemented endpoints (#1330) 9182a35 Show user OpenID URIs in their profile (#1314) e158689 Add change-password admin command (#1304) 97ee889 Add captcha support to OpenID based signup f00a4c8 Gitea OpenID-2.0 login has been tested with livejournal.com too a9de85d Improve style of user OpenID setting page (#1324) 608cd54 fix gpg wrong column types ``` **Before https://github.com/go-gitea/gitea/commit/a9de85d31d8ba3ce8801d03e66866e527f5f39d7 commit:** ``` $ git checkout 608cd54 $ make generate build $ ./gitea web ``` ![screen shot 2017-03-21 at 19 54 55](https://cloud.githubusercontent.com/assets/11750180/24165625/2db0420e-0e71-11e7-87a5-d3eadc74c9a1.png) **After https://github.com/go-gitea/gitea/commit/a9de85d31d8ba3ce8801d03e66866e527f5f39d7 commit:** ``` $ git checkout a9de85d $ make generate build $ ./gitea web ``` ![screen shot 2017-03-21 at 20 00 11](https://cloud.githubusercontent.com/assets/11750180/24165638/330ba6a8-0e71-11e7-834a-37b9b2c4f5ea.png)
Author
Owner

@strk commented on GitHub (Mar 22, 2017):

So it looks like the .css generated by my version of less compiler isn't good, if that's the case we should make the Makefile rule refuse to update index.css with an unexpected .css.

Can you please try to git revert a9de85d31d8ba3ce8801d03e66866e527f5f39d7 from master and try again ?
The only thing I really needed in that commit was the public/less/_user.less patch adding .openid.list selector beside .email.list one.

Can you help checking this @geek1011 ? (as my favorite resident CSS guy :)

@strk commented on GitHub (Mar 22, 2017): So it looks like the .css generated by my version of less compiler isn't good, if that's the case we should make the Makefile rule refuse to update index.css with an unexpected .css. Can you please try to `git revert a9de85d31d8ba3ce8801d03e66866e527f5f39d7` from master and try again ? The only thing I really needed in that commit was the `public/less/_user.less` patch adding `.openid.list` selector beside `.email.list` one. Can you help checking this @geek1011 ? (as my favorite resident CSS guy :)
Author
Owner

@lunny commented on GitHub (Apr 20, 2017):

@strk is this resolved?

@lunny commented on GitHub (Apr 20, 2017): @strk is this resolved?
Author
Owner

@strk commented on GitHub (Apr 20, 2017):

As of current master (bb14c97d40) it seems to be fixed, yes. Feel free to close (I don't have a close button)

@strk commented on GitHub (Apr 20, 2017): As of current master (bb14c97d406e5ed49863c666897da890e600a3f3) it seems to be fixed, yes. Feel free to close (I don't have a close button)
Author
Owner

@lunny commented on GitHub (Apr 20, 2017):

@aloupfor please confirm what @strk said.

@lunny commented on GitHub (Apr 20, 2017): @aloupfor please confirm what @strk said.
Author
Owner

@sapk commented on GitHub (Apr 21, 2017):

Change made by less version of @strk was revert in one of my commit @912b340d0d674b35ef04e66d00a10a8e4a02e82c (in master) because of re-generation of the file by less (maybe not the same version). So if it was the source of the bug it's corrected in master.

@sapk commented on GitHub (Apr 21, 2017): Change made by less version of @strk was revert in one of my commit @912b340d0d674b35ef04e66d00a10a8e4a02e82c (in master) because of re-generation of the file by less (maybe not the same version). So if it was the source of the bug it's corrected in master.
Author
Owner

@lunny commented on GitHub (Apr 21, 2017):

So let's close this. @aloupfor please feel free to reopen it.

@lunny commented on GitHub (Apr 21, 2017): So let's close this. @aloupfor please feel free to reopen it.
Author
Owner

@strk commented on GitHub (Apr 21, 2017):

@sapk here I have lessc 1.6.3 (LESS Compiler) [JavaScript] - we'd need a check in the Makefile rule to make sure a specific version (range?) is used to recompile (or a "test-lessc" rule to make sure it matches the expected)

@strk commented on GitHub (Apr 21, 2017): @sapk here I have `lessc 1.6.3 (LESS Compiler) [JavaScript]` - we'd need a check in the Makefile rule to make sure a specific version (range?) is used to recompile (or a "test-lessc" rule to make sure it matches the expected)
Author
Owner

@lunny commented on GitHub (Apr 21, 2017):

Maybe we need a command make less to compile the less to css and confirm it on make test. I think that will also ask all less file have been converted to .css and no .css have been changed with no .less change.

@lunny commented on GitHub (Apr 21, 2017): Maybe we need a command `make less` to compile the less to css and confirm it on `make test`. I think that will also ask all less file have been converted to .css and no .css have been changed with no .less change.
Author
Owner

@strk commented on GitHub (Apr 21, 2017):

One rule to generate the css exists:

make public/css/index.css

Having a "css" alias sounds good to me, and "test-css" to go with it
(invoked as a dependency of "test" so we dont' have to change Drone).

Note this is similar to what I tried to achieve with #1366, which was
also affected by different versions of tooling...

@strk commented on GitHub (Apr 21, 2017): One rule to generate the css exists: make public/css/index.css Having a "css" alias sounds good to me, and "test-css" to go with it (invoked as a dependency of "test" so we dont' have to change Drone). Note this is similar to what I tried to achieve with #1366, which was also affected by different versions of tooling...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#550