1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/web_src/css
wxiaoguang fa0b5b14c2
Make "install page" respect environment config (#25648)
Replace #25580

Fix #19453

The problem was: when users set "GITEA__XXX__YYY" , the "install page"
doesn't respect it.

So, to make the result consistent and avoid surprising end users, now
the "install page" also writes the environment variables to the config
file.

And, to make things clear, there are enough messages on the UI to tell
users what will happen.

There are some necessary/related changes to `environment-to-ini.go`:

* The "--clear" flag is removed and it was incorrectly written there.
The "clear" operation should be done if INSTALL_LOCK=true
* The "--prefix" flag is removed because it's never used, never
documented and it only causes inconsistent behavior.


![image](https://github.com/go-gitea/gitea/assets/2114189/12778ee4-3fb5-4664-a73a-41ebbd77cd5b)
2023-07-09 22:43:37 +00:00
..
chroma Change --font-weight-bold to --font-weight-semibold and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Several fixes for mobile UI (#25634) 2023-07-04 17:45:45 +00:00
features Add custom ansi colors and CSS variables for them (#25546) 2023-06-28 15:38:55 +02:00
markup Improve wiki sidebar and TOC (#25460) 2023-06-23 15:51:43 -04:00
modules Prevent SVG shrinking (#25652) 2023-07-04 02:15:06 +00:00
repo Improve wiki sidebar and TOC (#25460) 2023-06-23 15:51:43 -04:00
shared Restructure issue list template, styles (#25750) 2023-07-09 19:38:01 +00:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Add custom ansi colors and CSS variables for them (#25546) 2023-06-28 15:38:55 +02:00
actions.css Reorganize CSS files (#24739) 2023-05-16 00:13:30 -04:00
admin.css Several fixes for mobile UI (#25634) 2023-07-04 17:45:45 +00:00
base.css Actions list enhancements (#25601) 2023-07-04 09:59:47 +00:00
dashboard.css Fix mobile navbar and misc cleanups (#25134) 2023-06-09 09:10:51 +00:00
explore.css fix tags line no margin see #25255 (#25280) 2023-06-24 20:30:46 +08:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Fix mobile navbar and misc cleanups (#25134) 2023-06-09 09:10:51 +00:00
helpers.css Clarify "text-align" CSS helpers, fix clone button padding (#25763) 2023-07-08 11:53:56 +02:00
home.css Align language menu icon and fit the footer area (#25556) 2023-06-28 14:57:50 +00:00
index.css Prevent SVG shrinking (#25652) 2023-07-04 02:15:06 +00:00
install.css Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
org.css Fix position of org follow button (#25688) 2023-07-04 23:41:46 -04:00
repo.css Tweak repo topics bar (#25769) 2023-07-08 18:12:30 +00:00
review.css Diff page enhancements (#25398) 2023-06-22 11:05:22 +00:00
user.css Fix mobile navbar and misc cleanups (#25134) 2023-06-09 09:10:51 +00:00