summaryrefslogtreecommitdiffstats
path: root/public/less
Commit message (Collapse)AuthorAgeFilesLines
* Move ref (branch or tag) location on issue list page (#8157)jaqra2019-09-121-1/+14
| | | | | | | | | | | | * Move ref (branch or tag) location on issue list page * Make looks better * move branch label also on milestone/{id} page * [/issues page] Add milestone, Add Ref, Fix Assignees * [repo issues page] reorder tasks, milestone and ref
* Make link last commit massages in repository home page and commit tables (#8006)jaqra2019-09-101-0/+36
| | | | | | | | | | | | | | | | | | | | | * Make link last commit massages in repository home page and commit tables * Use RenderCommitMessageLink instead surround with a * deleted __debug_bin file * Exclude email to link from latest commit title * Exclude email processor from commit table Co-Authored-By: mrsdizzie <info@mrsdizzie.com> * Add class parameter to a html element creator functions. Make links underline dashed that are not commit * fix tests * Show dashed underline when also not hovered
* Fixes deformed emoji in pull request reviews (#8047)Mario Lubenka2019-09-031-0/+3
| | | | | | | | | | * Fixes deformed emoji in pull request comments or reviews Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Generate css via command Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* Add Ability for User to Customize Email Notification Frequency (#7813)Gary Kim2019-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Backend Logic for Toggling Email Notification This commit adds the backend logic for allowing users to enable or disable email notifications. The implementation ensures that only issue notification emails get disabled and important emails are still sent regardless of the setting. The UI to toggle this setting has not yet been implemented. * Add UI and complete user email notification enable This commit completes the functionality to allow users to disable their own email notifications. Signed-off-by: Gary Kim <gary@garykim.dev> * Add Third Option for Only Email on Mention Signed-off-by: Gary Kim <gary@garykim.dev> * Readd NOT NULL to new preference string Signed-off-by: Gary Kim <gary@garykim.dev> * Add Tests and Rewrite Comment Signed-off-by: Gary Kim <gary@garykim.dev> * Allow admin to set default email frequency Signed-off-by: Gary Kim <gary@garykim.dev> * Add new config option to docs Signed-off-by: Gary Kim <gary@garykim.dev> * Fix a few mistakes Signed-off-by: Gary Kim <gary@garykim.dev> * Only update required columns Signed-off-by: Gary Kim <gary@garykim.dev> * Simplify an error check Signed-off-by: Gary Kim <gary@garykim.dev> * Make email_notification_preference column in DB be VARCHAR(20) Signed-off-by: Gary Kim <gary@garykim.dev> * Handle errors Signed-off-by: Gary Kim <gary@garykim.dev> * Update models/migrations/v93.go Co-Authored-By: Lauris BH <lauris@nix.lv>
* Move line number to :before attr to hide from search on browser (#8002)jaqra2019-08-281-4/+7
| | | | | | | | * Move line number to :before attr to hide from search on browser * Use same variable in WriteString Co-Authored-By: Lauris BH <lauris@nix.lv>
* Detect delimiter in CSV rendering (#7869)Norwin2019-08-161-0/+4
| | | | | | | | | | | | | | | | | | | | | * detect csv delimiter in csv rendering fixes #7868 * make linter happy * fix failing testcase & use ints where possible * expose markup type to template previously all markup had the .markdown class, which is incorrect, as it applies markdown CSS & JS logic to CSV rendering * fix build (missing `make css`) * ignore quoted csv content for delimiter scoring also fix html generation
* Prevent Commit Status and Message From Overflowing On Branch Page (#7800)Gary Kim2019-08-091-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prevent Commit Status From Overflowing On Branch Page It is possible for the commit ci status on the branches page for a repository to become an ellipsis due to overflowing. This commit will fix that issue by using flex. Signed-off-by: Gary Kim <gary@garykim.dev> * Fix multiple overflowing issues in commits table It was possible that the commit message would overflow hiding the expand commits button and commit status. This change ensures that the correct elements overflow without hiding anything else. This change also reverts using flex in the commits list because it was causing issues in Blink based browsers. Signed-off-by: Gary Kim <gary@garykim.dev> * Remove unnecessary html element and fix indentation issues
* Fix global search result CSS, misc CSS tweaks (#7789)silverwind2019-08-083-179/+150
| | | | | | | - Fixes double line-numbers and padding in Explore > Code > Search - Moved code-view specific CSS out of their parents to share those styles better. - Fix misc issues discovered in code,diff and blame view, especially for the dark theme.
* Tweak label border CSS (#7739)silverwind2019-08-042-13/+26
| | | | | Also did various tweaks to label hover and dark theme. Fixes: https://github.com/go-gitea/gitea/pull/5487
* Fix create menu item widths (#7708)silverwind2019-08-011-1/+1
| | | Fixes: https://github.com/go-gitea/gitea/issues/7098
* css: use flex to fix floating paginate (#7656)Antoine GIRARD2019-07-291-0/+2
|
* [Branch View] add download button (#7604)65432019-07-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * add download-button info message * add overflow-visible css for table colum class * right colum is always there * add download button for default branch * add download button for all other branchs * resize table colum so two buttons fit in * code indent avter rebase * show commit divergence corect https://github.com/go-gitea/gitea/issues/7625 * changes because of merge master into ... * optimize if statement for protected branches * dont downloat a deleted branch - fix error 404
* fix #7568 (#7587)zeripath2019-07-231-1/+1
|
* Added total count of contributions to heatmap (#7517)kolaente2019-07-181-0/+6
| | | | | | | | | | * Added total count of contributions to heatmap Signed-off-by: kolaente <k@knt.li> * make css Signed-off-by: kolaente <k@knt.li>
* Add Extra Info to Branches Page (#7461)Gary Kim2019-07-171-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add branch protection information to branches page This change will add a tag on the ui that indicates whether a branch is protected on the repository branches page. Signed-off-by: Gary Kim <gary@garykim.dev> * Add last commit information to repo branches page This change adds the ID and commit message of the last commit on a branch to the branches page for repositories. Signed-off-by: Gary Kim <gary@garykim.dev> * Make branch page commit message truncate in css rather then template The truncating of commit messages shown under branches in the repository branches page has been moved to using css rather then the Go template as the template was causing some issues when the commit messaged had a link when rendered. This commit also makes the commit message paragraph itself use flex in order to make managing its elements easier. Signed-off-by: Gary Kim <gary@garykim.dev>
* create class for inlie positioned lists (#7393)Cherrg2019-07-121-1/+16
| | | | | | | replace org create alignment hack fix #6464 Signed-off-by: Michael Gnehr <michael@gnehr.de>
* wiki history improvements (#7391)Cherrg2019-07-111-0/+1
| | | | | | | | | | | | | | | | | * add history comments to detect page delete Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix too much history entries - caused by --follow flag - if files with same contents exists Signed-off-by: Michael Gnehr <michael@gnehr.de> * style imprevements wiki - history - wrap long author names Signed-off-by: Michael Gnehr <michael@gnehr.de>
* wiki - page revisions list (#7369)Cherrg2019-07-081-0/+32
| | | | | | | | | | | | | | fix #7 * add wiki page revision list * mobile improvements * css improvements for long usernames * split renderWikiPage into 3 functions Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Display original author and URL information when showing migrated ↵mrsdizzie2019-07-081-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | issues/comments (#7352) * Store original author info for migrated issues and comments Keep original author name for displaying in Gitea interface and also store original author user ID for potential future use in linking accounts from old location. * Add original_url for repo Store the original URL for a migrated repo Clean up migrations/tests * fix migration * fix golangci-lint * make 'make revive' happy also * Modify templates to use OriginalAuthor if set Use the original author name in templates if it is set rather than the user who migrated/currently owns the issues * formatting fixes * make generate-swagger * Use default avatar for imported comments * Remove no longer used IgnoreIssueAuthor option * Add OriginalAuthorID to swagger also
* dark theme scrollbars (#7269)Cherrg2019-07-061-0/+36
|
* ui - issue view - fix icon position (#7354)Cherrg2019-07-062-8/+50
| | | | | | | | | | | | | | | | | | | | | | | | | * issue view - fix icon position - move style from template to css - add bullets to: key, circle-slash, comment Signed-off-by: Michael Gnehr <michael@gnehr.de> * add border to symbols Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix circle slash position Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix top margin Signed-off-by: Michael Gnehr <michael@gnehr.de> * changed mixed space/tab indent to tabindent only Signed-off-by: Michael Gnehr <michael@gnehr.de>
* ui - cut timeline length with last element on issue view (#7355)Cherrg2019-07-062-3/+25
| | | | | | | | | | | | | | * cut timeline length with last element on issue view fix #7304 - lightly enlight dark theme issue timeline color Signed-off-by: Michael Gnehr <michael@gnehr.de> * remove new container Signed-off-by: Michael Gnehr <michael@gnehr.de>
* wrap long texts on user profile info (#7333)Cherrg2019-06-301-0/+5
| | | | | | | fix #7255 discussed in PR #7254 Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Add commit statuses reports on pull request view (#6845)Lunny Xiao2019-06-302-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add commit statuses reports on pull view * Add some translations * improve the UI * fix fmt * fix tests * add a new test git repo to fix tests * fix bug when headRepo or headBranch missing * fix tests * fix tests * fix consistency * fix tests * fix tests * change the test repo * fix tests * fix tests * fix migration * keep db size consistency * fix translation * change commit hash status table unique index * remove unused table * use char instead varchar * make hashCommitStatusContext private * split merge section with status check on pull view ui * fix tests; fix arc-green theme on pull ui
* Dark theme fixes (#7319)Cherrg2019-06-281-0/+79
| | | | | | | | | | * add dark theme for jquery xdsoft_datetimepicker Signed-off-by: Michael Gnehr <michael@gnehr.de> * add border to dark theme - not checked issue checkboxes Signed-off-by: Michael Gnehr <michael@gnehr.de>
* gitea own dark codemirror theme (#7317)Cherrg2019-06-281-14/+111
| | | | | | | | | | | | * modify dark codemirror theme fix #6573 Signed-off-by: Michael Gnehr <michael@gnehr.de> * add selection color Signed-off-by: Michael Gnehr <michael@gnehr.de>
* replace lesshint with stylelint (#7305)silverwind2019-06-275-100/+37
| | | | | | | | | New CSS linter which is much more powerfull than the previous one. Configuration is default but I had to remove a few rules that were throwing too many or weird errors. More importantly, the linter will exit with code 1 on errors so now our build will fail if the CSS linter fails which should eliminate linter errors being introduced without notice.
* fix extra newlines when copying from diff in Firefox (#7288)silverwind2019-06-263-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix extra newlines when copying from diff See https://bugzilla.mozilla.org/show_bug.cgi?id=1273836 Basically, the <pre><code> seems to add a forced newline that is not possible to get rid of via CSS, so I replaced it with just a <code>. Secondly, .lines-type-marker also forced a newline in the copied text, but that was possible to get rid of via user-select. Safari still has a extraneous newline in the copied text of unknown origin, but this should not block stop this PR. * simplify .line-type-marker * fix selector * remove erronous ^^^ * Fix empty split diff * Fix arc-theme-green * fix add comment * ensure line-num is copied too * Update templates/repo/diff/box.tmpl Co-Authored-By: zeripath <art27@cantab.net> * attempt to fix safari via removing <code> * remove useless whitespace at the end of 'class' * remove inter-tag whitespace for code <td>s * more inter-tag removal * final inter-tag removal * attempt to fix empty line copy * move and comment getLineContent * fix golint * make background grey for missing added code
* Make diff line-marker non-selectable (#7279)zeripath2019-06-241-3/+24
| | | | | | | | * Make diff line-marker non-selectable * Move to use data-* as per @mrsdizzie * fix missing line nums * Add a minimum-width to force right-align of the line num * Move line-type-marker into separate column
* Dark theme markdown fixes (#7260)Cherrg2019-06-211-1/+30
| | | | | | | | | | | | | | | | | | | | | * fix colors in dark theme - tables inside rendered markdown Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix colors in dark theme - simpleMDE rendered preview Signed-off-by: Michael Gnehr <michael@gnehr.de> * Update public/less/themes/arc-green.less remove scroll bar color, to add this globally on additional PR Co-Authored-By: Lauris BH <lauris@nix.lv> Signed-off-by: Michael Gnehr <michael@gnehr.de> * add missing class name Signed-off-by: Michael Gnehr <michael@gnehr.de>
* add .fa margin like .octicon (#7258)Antoine GIRARD2019-06-201-1/+1
|
* UI: Fix overflow issues in repo (#7190)silverwind2019-06-141-0/+13
| | | | | | | | | | | - Fix layout overflow in repo file list. - Fix invisible status icon in file view and commit list. In file view, the icon was moved to the left because I could not figure out a proper fix because of HTML tables. - Added title attribute to commit messages. - Fixed two CSS linter warnings in existing CSS. - Fixed CI variable check in 'make css'. Fixes: https://github.com/go-gitea/gitea/issues/7180
* fix drone build bug (#7192)Cherrg2019-06-131-0/+2
|
* Compare branches, commits and tags with each other (#6991)Mario Lubenka2019-06-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Supports tags when comparing commits or branches Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Hide headline when only comparing and don't load unused data Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Merges compare logics to allow comparing branches, commits and tags with eachother Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Display branch or tag instead of commit when used for comparing Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Show pull request form after click on button Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Transfers relevant pull.go changes from master to compare.go Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Fixes error when comparing forks against a commit or tag Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Removes console.log from JavaScript file Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Show icon next to commit reference when comparing branch or tag Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Updates css file Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Fixes import order * Renames template variable * Update routers/repo/compare.go Co-Authored-By: zeripath <art27@cantab.net> * Update from master Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Allow short-shas in compare * Renames prInfo to compareInfo Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Check PR permissions only if compare is pull request Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adjusts comment Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Use compareInfo instead of prInfo
* Repository avatars (#6986)Sergey Dryabzhinsky2019-05-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Repository avatars - first variant of code from old work for gogs - add migration 87 - add new option in app.ini - add en-US locale string - add new class in repository.less * Add changed index.css, remove unused template name * Update en-us doc about configuration options * Add comments to new functions, add new option to docker app.ini * Add comment for lint * Remove variable, not needed * Fix formatting * Update swagger api template * Check if avatar exists * Fix avatar link/path checks * Typo * TEXT column can't have a default value * Fixes: - remove old avatar file on upload - use ID in name of avatar file - users may upload same files - add simple tests * Fix fmt check * Generate PNG instead of "static" GIF * More informative comment * Fix error message * Update avatar upload checks: - add file size check - add new option - update config docs - add new string to en-us locale * Fixes: - use FileHEader field for check file size - add new test - upload big image * Fix formatting * Update comments * Update log message * Removed wrong style - not needed * Use Sync2 to migrate * Update repos list view - bigger avatar - fix html blocks alignment * A little adjust avatar size * Use small icons for explore/repo list * Use new cool avatar preparation func by @lafriks * Missing changes for new function * Remove unused import, move imports * Missed new option definition in app.ini Add file size check in user/profile avatar upload * Use smaller field length for Avatar * Use session to update repo DB data, update DeleteAvatar - use session too * Fix err variable definition * As suggested @lafriks - return as soon as possible, code readability
* Revert "Bugfix: Align comment label and actions to the right (#7024)" (#7055)Lunny Xiao2019-05-261-2/+2
| | | This reverts commit 0c432d26fe20d3e50da566cf75fa483376ed8bef.
* Bugfix: Align comment label and actions to the right (#7024)Mario Lubenka2019-05-251-2/+2
| | | | | | | | | | * Bugfix: Align comment label and actions to the right Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Restores relative position * CSS autofixer
* Show git-notes (#6984)Vladimir Panteleev2019-05-241-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * Show git-notes * Make git-notes heading text localizable * Refactor git-notes data fetching to a separate function * Display the author and time of git notes * Move note bubble inside the commit bubble * Revert "Move note bubble inside the commit bubble" This reverts commit c0951fe0e3b4dea38064515546b1825c1bcf19e1. * Add test for git-notes * testing ui * Polish CSS * Apply suggestions from code review Co-Authored-By: Lauris BH <lauris@nix.lv>
* Fix code overflow (#6914)Xaver Maierhofer2019-05-141-0/+6
|
* Fix plain text overflow line wrap (#6915)Xaver Maierhofer2019-05-141-0/+5
|
* Add less linter via npx (#6936)Xaver Maierhofer2019-05-1414-305/+494
|
* Style orgs list in user profile (#6911)Xaver Maierhofer2019-05-131-0/+15
|
* Clean less files (#6921)Xaver Maierhofer2019-05-1315-997/+1383
|
* Fix input size for dependency select (#6913)Xaver Maierhofer2019-05-121-2/+11
|
* Refactor table width to have more info shown in file list (#6867)Lauris BH2019-05-061-111/+418
| | | | | | | | * Refactor table width to have more info shown in file list * Remove unnecesary semicolon * Fix tests for changed html structure
* Number of commits ahead/behind in branch overview (#6695)Mario Lubenka2019-05-051-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Call Git API to determine divergence of a branch and its base branch Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Show commit divergance in branch list Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adds missing comment Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adds test for diverging commits Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Try comparing commits instead of branches Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Removes test as CI can't run it Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adjusts signature of percentage function to allow providing multiple integers as numerator Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Moves CountDivergingCommits function into repofiles module Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* Show scrollbar only when needed (#6802)Lauris BH2019-04-291-2/+2
|
* UI: Tweak tab text and icon colors (#6760)silverwind2019-04-291-0/+11
| | | This adds a hover highlight and fades out the icon on inactive tabs.
* README WordPress the code is overflowing #6679 (#6696)Zer00CooL2019-04-271-0/+4
|
* Add option to blame files (#5721)Andrzej Ressel2019-04-191-0/+47
|