You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
puni9869 5a56f9699c
Fix UI for release tag page / wiki page / subscription page (#25948)
Agenda:
This PR contains UI fixes for release tag page / wiki page /
subscription page.
Here is the list of changes made in this PR.
1. Release tag page
a. In the New Release page the whole ui got change. Now it is covering
in full page page with mobile view port. Description about the release
the editor preview now has a min-height. and the check boxes for
`Prerelease` and option are left aligned. Couple of divider are added.

2. Subscription page: 
a. In the subscription page the ui was distorted in mobile view. Now its
fix. Couple of unused styles were removed.

3. Create Wiki page:- 
a. In the page the preview of markdown is now contains a fix min-height
so this it will not distorted in desktop view and a divider is added
before action buttons. Couple of unused styles were removed.

# Before

## Release page

<img width="1391" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/319dec2e-08cf-40c5-920a-d651930ee28e">

<img width="494" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/03249f40-2d36-4552-bb93-43832aac2f8b">

<img width="1390" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/bf8b2d31-4857-480b-abd9-66a3ae6e24d8">

<img width="484" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/c3a58210-a337-4c8e-89a6-edb3975986bb">

Editor 
<img width="958" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/3bdd299d-d12b-4774-ace9-7184b1a57b18">

Editor preview
<img width="1293" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2b61c528-c018-4800-ab86-07aae56adecd">

<img width="484" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/ff7bc5ee-9dc0-4f78-a0b1-94277ab27700">

#### After
<img width="1439" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/94f7e073-5977-40bd-98ef-0711ed0815cc">

<img width="1384" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/83e3105f-c1ee-4329-b90f-8bb724dac50f">
<img width="1440" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/05f024a5-52eb-4072-8599-d6ca12f6fad1">
<img width="1387" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/c73f069b-572a-4a13-aaa9-fc5b4dd3420d">

<img width="1440" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2f98f012-8e64-4a12-9595-5acdef18f85c">

Markdown preview change
<img width="1368" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/31e583ec-48f6-4f1a-8b56-0164fcb127a5">


Wiki page

Before
<img width="1393" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/9c9cfdf6-3c2a-4f47-883b-76624d96f9a0">
<img width="499" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/522ad573-1ad2-4fa2-8bf7-48a3dded14e7">


Preview of mark down. 
<img width="488" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/998f3c25-9fca-43c8-b1ff-648aab291727">

Footer 
<img width="490" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/89c6cf4e-4599-4403-bac8-285efdd9361a">

After

<img width="1389" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/1ee0fc72-f864-44c0-b2e4-e0e8a8470204">
<img width="498" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/b35b9a5d-8e26-4869-a6ed-6cef1f4a87a6">
<img width="499" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/b40bcbaa-fca6-42ab-9556-f950811b565d">

Preview tab block has min-height 
<img width="1392" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/4a53d6c2-596c-423a-91b1-533cef734f93">


Mobile view
<img width="496" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/c5ffc4c9-3c21-4cad-bc32-2ea3f0644a08">

<img width="497" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/08dd560f-4333-41ec-95b9-8154910d2254">
<img width="496" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/9fba8f55-727b-4756-a4a6-2070c719b15b">



## Subscription page

### Before

<img width="1393" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/0a7d561b-f56c-4ebe-93bd-952abecd437f">

<img width="492" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/4dc44d0c-ea81-4130-8afb-8f271c029e8a">

After
<img width="1394" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/a3567e30-2b5b-49d6-9ecb-2ab481ea4d36">


<img width="494" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/024da9e2-dfc4-4672-95cc-a6ac034d9712">

<img width="508" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/b748ecea-427c-4f8b-a1bf-08f82f9a42e6">
11 months ago
.devcontainer Add Github related extensions in devcontainer (#25800) 12 months ago
.gitea Issue template form (#16349) 3 years ago
.github Remove `feature` label from `feature request` issue template (#25696) 1 year ago
assets Replace gogs/cron with go-co-op/gocron (#25977) 11 months ago
build Move public asset files to the proper directory (#25907) 12 months ago
cmd Improve "gitea doctor" sub-command and fix "help" commands (#26072) 11 months ago
contrib Refactor to use urfave/cli/v2 (#25959) 12 months ago
custom/conf Refactor to use urfave/cli/v2 (#25959) 12 months ago
docker Fix WORK_DIR for docker (root) image (#25738) 12 months ago
docs added ssh mirror workaround description (#26096) 11 months ago
models Fix wrong commit status in web ui (#26121) 11 months ago
modules Allow Organisations to have a E-Mail (#25082) 11 months ago
options Fix minor capitalization error in string (#26100) 11 months ago
public Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 12 months ago
routers Allow Organisations to have a E-Mail (#25082) 11 months ago
services Allow Organisations to have a E-Mail (#25082) 11 months ago
snap Move public asset files to the proper directory (#25907) 12 months ago
templates Fix UI for release tag page / wiki page / subscription page (#25948) 11 months ago
tests Allow Organisations to have a E-Mail (#25082) 11 months ago
web_src Fix UI for release tag page / wiki page / subscription page (#25948) 11 months ago
.air.toml Reduce verbosity of dev commands (#24917) 1 year ago
.changelog.yml Changelog for v1.15.0-rc1 (#16422) 3 years ago
.dockerignore Move public asset files to the proper directory (#25907) 12 months ago
.drone.yml build nightly docker images (#25317) 1 year ago
.editorconfig Add markdownlint (#20512) 2 years ago
.eslintrc.yaml Update JS dependencies (#26025) 12 months ago
.gitattributes Move public asset files to the proper directory (#25907) 12 months ago
.gitignore Move public asset files to the proper directory (#25907) 12 months ago
.gitpod.yml Add Github related extensions in devcontainer (#25800) 12 months ago
.golangci.yml Update tool dependencies, lock govulncheck and actionlint (#25655) 12 months ago
.ignore Remove the service worker (#25010) 1 year ago
.markdownlint.yaml Add markdownlint (#20512) 2 years ago
.npmrc Upgrade to npm lockfile v3 and explicitely set it (#23561) 1 year ago
.spectral.yaml Add spectral linter for Swagger (#20321) 2 years ago
.stylelintrc.yaml Update JS dependencies (#26025) 12 months ago
BSDmakefile update BSDmakefile to latest version from upstream (#24063) 1 year ago
CHANGELOG.md Add changelog for 1.20.1 (#26015) 12 months ago
CODE_OF_CONDUCT.md Add Gitea Community Code of Conduct (#23188) 1 year ago
CONTRIBUTING.md Update blog links (#25843) 12 months ago
DCO Remove address from DCO (#22595) 1 year ago
Dockerfile Update to Alpine 3.18 (#24700) 1 year ago
Dockerfile.rootless Update to Alpine 3.18 (#24700) 1 year ago
LICENSE Fix typo 8 years ago
MAINTAINERS Apply to became a maintainer. (#25745) 1 year ago
Makefile Move public asset files to the proper directory (#25907) 12 months ago
README.md Move public asset files to the proper directory (#25907) 12 months ago
README_ZH.md Move public asset files to the proper directory (#25907) 12 months ago
SECURITY.md Link to list of vulnerabilities (#25872) 12 months ago
build.go User/Org Feed render description as per web (#23887) 1 year ago
go.mod Replace gogs/cron with go-co-op/gocron (#25977) 11 months ago
go.sum Replace gogs/cron with go-co-op/gocron (#25977) 11 months ago
main.go Refactor to use urfave/cli/v2 (#25959) 12 months ago
package-lock.json Update JS dependencies (#26025) 12 months ago
package.json Update JS dependencies (#26025) 12 months ago
playwright.config.js Update JS dependencies and eslint config (#21388) 2 years ago
poetry.lock Update djlint, enable H026 and T027 (#25980) 12 months ago
poetry.toml Clean up pyproject.toml and package.json, fix poetry options (#25327) 1 year ago
pyproject.toml Update djlint, enable H026 and T027 (#25980) 12 months ago
vitest.config.js Update JS dependencies, misc tweaks (#25768) 12 months ago
webpack.config.js Move public asset files to the proper directory (#25907) 12 months ago

README.md

Gitea

Gitea - Git with a cup of tea

Contribute with Gitpod

View this document in Chinese

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service.

As Gitea is written in Go, it works across all the platforms and architectures that are supported by Go, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. You can try it out using the online demo. This project has been forked from Gogs since November of 2016, but a lot has changed.

Building

From the root of the source tree, run:

TAGS="bindata" make build

or if SQLite support is required:

TAGS="bindata sqlite sqlite_unlock_notify" make build

The build target is split into two sub-targets:

  • make backend which requires Go Stable, required version is defined in go.mod.
  • make frontend which requires Node.js LTS or greater and Internet connectivity to download npm dependencies.

When building from the official source tarballs which include pre-built frontend files, the frontend target will not be triggered, making it possible to build without Node.js and Internet connectivity.

Parallelism (make -j <num>) is not supported.

More info: https://docs.gitea.io/en-us/install-from-source/

Using

./gitea web

NOTE: If you're interested in using our APIs, we have experimental support with documentation.

Contributing

Expected workflow is: Fork -> Patch -> Push -> Pull Request

NOTES:

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to security@gitea.io. Thanks!

Translating

Translations are done through Crowdin. If you want to translate to a new language ask one of the managers in the Crowdin project to add a new language there.

You can also just create an issue for adding a language or ask on discord on the #translation channel. If you need context or find some translation issues, you can leave a comment on the string or ask on Discord. For general translation questions there is a section in the docs. Currently a bit empty but we hope to fill it as questions pop up.

https://docs.gitea.io/en-us/contributing/translation-guidelines/

Crowdin

Further information

For more information and instructions about how to install Gitea, please look at our documentation. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server or create a post in the discourse forum.

We maintain a list of Gitea-related projects at gitea/awesome-gitea.

The Hugo-based documentation theme is hosted at gitea/theme.

The official Gitea CLI is developed at gitea/tea.

Authors

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

FAQ

How do you pronounce Gitea?

Gitea is pronounced /ɡɪti:/ as in "gi-tea" with a hard g.

Why is this not hosted on a Gitea instance?

We're working on it.

License

This project is licensed under the MIT License. See the LICENSE file for the full license text.

Screenshots

Looking for an overview of the interface? Check it out!

Dashboard User Profile Global Issues
Branches Web Editor Activity
New Migration Migrating Pull Request View
Pull Request Dark Diff Review Dark Diff Dark