2
0
Commit Graph

3247 Commits

Author SHA1 Message Date
Unknwon
32fdf6999a template fix 2015-12-04 21:32:33 -05:00
Unknwon
4b54ceb402 fix #1829 and fix #890 2015-12-04 21:30:33 -05:00
Unknwon
0b69a3cf36 #2045 have fallback but empty value 2015-12-04 19:01:34 -05:00
Unknwon
9d6cc5ecc6 #2045 move fallback to empty string 2015-12-04 18:31:45 -05:00
Unknwon
104ac276a3 fix #2101 2015-12-04 17:30:32 -05:00
Unknwon
5d93d18163 fix panic for #2045 2015-12-04 17:20:23 -05:00
Unknwon
8b49bed230 refactor API routes and some work for #976 2015-12-04 17:16:42 -05:00
Unknwon
69d1f3cf21 more fixes on #2045 2015-12-04 15:41:56 -05:00
Unknwon
50510c920e Merge branch 'develop' of github.com:gogits/gogs into develop 2015-12-03 18:10:54 -05:00
Unknwon
6ae7c300bc fix broken link 2015-12-03 18:10:45 -05:00
Unknwon
dd91baec3d minor JS and UI fix 2015-12-03 15:01:15 -05:00
Unknwon
92a882b6c8 fix #2095 2015-12-03 14:31:31 -05:00
Unknwon
1e14d6e59d Merge pull request #2094 from nanoant/patch/less-pronounced-sha-labels
UI: Use more subtle grey SHA1 labels
2015-12-03 14:28:30 -05:00
Adam Strzelecki
7ef9505a6a UI: More subtle strips on commits list
With grey SHA1 labels, we should consider having also more subtle strips on
commits list. As current strips blend too much with grey SHA1 labels and top
bar, making hard to distinguish headers from content.
2015-12-03 20:26:06 +01:00
Unknwon
cb47be6316 work on #2093 2015-12-03 14:21:13 -05:00
Unknwon
c4be7eca43 Merge pull request #2092 from nanoant/patch/non-bold-last-commit-sha
UI: Remove CSS rule making last-commit SHA bold
2015-12-03 13:14:57 -05:00
Adam Strzelecki
845095560b UI: Use more subtle grey SHA1 labels
Current green SHA1 labels are more pronounced than other UI elements attracting
attention as if they were most important thing in the UI, while they are not as
important, especially without real Git client.

Using grey SHA1 labels makes the UI more balanced, less aggressive and lets
user to focus on other content elements.

NOTE: Neither GitHub or Bitbucket uses so heavy pronunciation as Gogs.
2015-12-03 14:21:20 +01:00
Adam Strzelecki
ea4ffe4581 UI: Remove CSS rule making last-commit SHA bold
This removes remains from old design, that was not cleaned by previous #2068 PR.
2015-12-03 13:30:16 +01:00
Unknwon
180f31db35 500 when wiki not exists 2015-12-03 02:08:25 -05:00
Unknwon
3eb0d5f330 fix #2090 2015-12-03 01:59:32 -05:00
Unknwon
beb649deb4 fix #2087 2015-12-03 01:03:06 -05:00
Unknwon
c211e8ef1a fix #976 2015-12-03 00:24:37 -05:00
Unknwon
4d01e56185 more UI minor fixes 2015-12-02 20:56:26 -05:00
Unknwon
e73e88bcce Merge pull request #2088 from nanoant/patch/further-layout-fixes
Further layout fixes
2015-12-02 20:26:48 -05:00
Adam Strzelecki
4078528925 CSS: Octicons 16px fix outside of _octicons.less
Otherwise the fix will be overwritten by next _octicons.less update.

This is follow-up for 218d73f8a2.
2015-12-03 02:18:38 +01:00
Adam Strzelecki
9aeb906ebb UI: Always show menu on repo pages
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
2015-12-03 02:16:18 +01:00
Unknwon
bd82bd8e08 clean test data 2015-12-02 20:10:47 -05:00
Unknwon
f97b4d5191 minor CSS fix 2015-12-02 20:10:00 -05:00
Unknwon
0e8a46fb6d minor CSS fix for #2068 2015-12-02 19:53:39 -05:00
Unknwon
5b451d9975 minor fix for #2086 2015-12-02 19:45:43 -05:00
Unknwon
55671c0b8d Merge pull request #2068 from nanoant/patch/repo-file-list-layout
Repo file list layout & misc fixes
2015-12-02 19:44:16 -05:00
Adam Strzelecki
aa3bef6a16 UI: Display last-commit header without 2nd column
This uses a CSS trick making first th to be relative block with width equal to
first two columns, effectively working around inability to use colspan="2" on
first row that was breaking "fixed-layout" for tables.

Also use grey header for last-commit SHA1 tag.
2015-12-03 01:15:40 +01:00
Unknwon
7d90564d6a fix #2085 2015-12-02 18:58:13 -05:00
Unknwon
c4e6678007 Merge pull request #2086 from nanoant/patch/translation-add-code-entry
Translation: Add missing entry for new "code" tab
2015-12-02 18:53:38 -05:00
Adam Strzelecki
3cfda8aa6a UI: Keep repo URL action right of ref combo & path
Just use secondary menu instead custom ".head.meta", which simplifies code.

Also do not display repo URL action when we are in subdirectory or viewing a
file.
2015-12-02 23:48:36 +01:00
Adam Strzelecki
a0b0513ca0 Translation: Add missing entry for new "code" tab
We have new tab, but we had no entry. That's why it was showing "code"
(lowercase) as this is text id, where we were expecting properly title cased
"Code" to be shown in English version.

Also add Polish translation "code=Kod".
2015-12-02 23:00:23 +01:00
Adam Strzelecki
8a92d376f1 UI: Make repository menu divide header and content
This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.
2015-12-02 22:40:22 +01:00
Adam Strzelecki
3a2e7f489a UI: Keep repository settings menu button right 2015-12-02 22:06:50 +01:00
Adam Strzelecki
121cef9ab4 Commits & files UI: SUI fixed single line table
Instead using own ellipsis, uses Semantic UI fixed single line table which
effectively applies ellipsis to all overflowing table cells.

NOTE: File list cannot use colspan="2" for 1st "Last commit" elements,
otherwise layout breaks with fixed table.
2015-12-02 21:57:39 +01:00
Adam Strzelecki
14dd7bba93 CSS: Reduce .sha.label font size to 13px 2015-12-02 21:43:30 +01:00
Adam Strzelecki
73311e2013 CSS: .repository .sha.label -> .ui .sha.label
This is because SHA1 label is used in many other places, not only inside
.repository container.
2015-12-02 21:42:31 +01:00
Adam Strzelecki
b432825974 UI: Mark top menu icons blue only when non-zero 2015-12-02 21:38:52 +01:00
Adam Strzelecki
218d73f8a2 CSS: Ensure Octicons are used with 16px font size
Semantic UI .icon 1em font-size has priority over .octicon 16px, resulting
octicons rendered at 14px font-size, which is not okay since Octicons are meant
to be shown sizes that are multiples of 16px.
2015-12-02 21:33:32 +01:00
Unknwon
569b30d722 fix #2083 2015-12-02 13:47:22 -05:00
Unknwon
757bdc8ea8 #2071 Diff is not showing full content when has super long one line 2015-12-02 01:10:13 -05:00
Unknwon
9563068a7b Merge pull request #2081 from angus-g/en-trans
Update English translations
2015-12-01 23:46:05 -05:00
Angus Gibson
bb6d4d0baf Fix casing in English translation 2015-12-02 15:43:56 +11:00
Unknwon
2003d25c5f #2052 Ability to batch delete system notices 2015-12-01 23:33:08 -05:00
Angus Gibson
984abd4ff7 Update English translations
Just some phrasing changes to make the English translations sound more natural.
2015-12-02 15:27:08 +11:00
Unknwon
8a1356d86b #2045 add short version as fallback to Slack payload 2015-12-01 21:16:19 -05:00