44 Commits (0d35ef5b439623774d1adddf7071d744b1116809)

Author SHA1 Message Date
silverwind b1cf7f4df1
Add class to page content to unify top margin (#13766)
* Add class to page content to unify top margin

Previously pages would individually set this margin but some didn't so
content would stick to the header without any space. Resolve this by
adding a new class that is added on all pages. The only place where we
remove this margin again is on the pages with menu or wrapper in the
header.

* fix admin notices

* fix team pages

* fix loading segment on gitgraph for arc-green

* fix last missing case

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
John Olheiser 26c4a049da
Issue templates directory (#11450)
* Issue templates

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add some comments, appease the linter

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add docs and re-use dir candidates

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add default labels to issue templates

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Generate swagger

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Suggested changes

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Update issue.go

* Suggestions

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Extract metadata from legacy if possible

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
Sorien 1982194dc5
Prettify timeline 3 (#11139)
* Fix timeline comments sections borders

* Fix files dropzone right alignment

* Update review comment form and controls

* Clear segment style from comment form tabs

* Remove segment class from pulls tab

* Fix Time Tracker - Add Time button border

* Fix buttons right alignment

* Markdown tab minimal height

* Fix DropZone hover effect

* Fix Lint + remove unused controls class

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
4 years ago
kolaente 0b510725c9 Feature: Archive repos (#5009) 6 years ago
nubenum 756eafaaf6 Fix some issues with special chars in branch names (#3767)
Signed-off-by: Robin Durner <github@nubenum.de>
6 years ago
Morgan Bazalgette 3d3faa2624 Responsive view (#2750)
* Viewport meta tag

* responsive: dashboard

* responsive: issues page

* responsive: Explore page

* responsive: navbar, and some navbar css refactoring

* responsive: button for collapsing navbar in mobile view

* Mark the hamburger button as active when pressed

* better homepage for responsive views

* Bring back jump class in navbar

The class was necessary, because this way the
dropdown doesn't assume the contents of the
selected item.

* make repository homes responsive

* Make file view page responsive

* Make forms look good on responsive views

* make commits and commit diff view responsive

* issues and PRs

* responsive wiki

* Don't place auto-init far off the page

* Minor changes to amend broken stuff

minor improvements

- make login/sign up in navbar stackable
- make navbar in explore and sign in not stackable

Change selected class in TestPullCompare

Fix typo that happened when rebasing

fix dashboard on org view

improve profile UI

Use clearing on file diff to fix broken UI caused by floating elements

remove unresolved merge conflict, and | Sanitize

Fix repo home not loading
7 years ago
Unknwon fdcca9292e #2458 fix emoji been rendered inside raw content area 8 years ago
Unknwon 0e9bc2d410 Fix pull request availability check 8 years ago
Andrey Nering 13e71acadf Render emojis in more places. 8 years ago
Adam Strzelecki da2585c11e Indent all templates with tabs
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.

1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
   such as {{if}} {{with}}

2. Cleans all trailing white-space

3. Adds trailing last line-break to each file
9 years ago
Unknwon d370effca5 minor fix for #1961 9 years ago
Unknwon 37e0cee877 finish PR UI 9 years ago
Unknwon ebf1bd4f51 add view pull desc 9 years ago
Unknwon 8c046073a8 work on PR conversation 9 years ago
Unknwon b4c0b7b98b finish view issue without comments and ops 9 years ago
Unknwon 34f6cbfc2a finish attachments when create issue 9 years ago
Unknwon 7372042441 list view: issue, label, milestone 9 years ago
James Anderson fc63422caf Add check to see if comments on an issue are by the repo owner 9 years ago
Unknwon 0705f55ce0 finish new milestone page 9 years ago
Unknwon e7f015db8c fix template 9 years ago
Unknwon ac95f6d50f UI: basic label list
- create new label
9 years ago
Unknwon 75cbb32b1e UI compatibility 9 years ago
Unknwon 8e384ce46c fix #828, may cause unintentional break in other features, but security is no.1 10 years ago
James Cracknell 4d123d0a93 Fix user links 10 years ago
Vyacheslav Bakhmutov ce7422473a add omitted lang 10 years ago
Unknwon 7ba9257a7f Add suburl support 10 years ago
Martin van Beurden 0055cbd365 Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
10 years ago
Tristan Storch 69e332f432 Removed trailing white spaces
Removed trailing whitespaces with

```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```

and some handwork.
10 years ago
Unknwon 3428baa3b5 Mirror fix on template 10 years ago
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 10 years ago
Justin Nuß 12fb42de5a Fix IE bug and show errors. 10 years ago
Justin Nuß 4e2477a1a5 Fix #318. Switch to JS(ON) implementation for issue/comment creation. 10 years ago
Justin Nuß dedb156d4a Fix #321. Allow empty comments as long as there are attachments. 10 years ago
Justin Nuß 4d702eb345 Allow disabling uploads 10 years ago
Justin Nuß bfe5b86004 Add file upload for attachments 10 years ago
Justin Nuß 43e5de7f83 Show attachments in issues/comments and add preview for images 10 years ago
Justin Nuß 1129f756c8 Fix missing . (dot) in issue templates 10 years ago
Justin Nuß 967856f36e Merge branch 'dev' into feature/attachments
Conflicts:
	models/issue.go
	routers/repo/issue.go
10 years ago
Justin Nuß d43c5895bc Update template and style, only close commit if commit is in same repository 10 years ago
Justin Nuß 3c025b3950 Add delete route for attachments, remove upload buttons from issues/comments 10 years ago
Justin Nuß 34304e6a0c WIP: Allow attachments for issues, not only comments 10 years ago
Justin Nuß 4617bef895 WIP: Allow attachments for comments 10 years ago
Unknown be8ac7fb75 fix #273 10 years ago
Unknown 9924e65ca1 In progress of name template name constant 10 years ago