aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard/dashboard.tmpl
Commit message (Collapse)AuthorAgeFilesLines
* Fix flash message for flex-container (#30657)wxiaoguang2024-04-231-1/+1
|
* Fix flash on dashboard (#30572)silverwind2024-04-211-1/+1
| | | | Fixes https://github.com/go-gitea/gitea/issues/30566, regression from https://github.com/go-gitea/gitea/pull/30214.
* Use `flex-container` for dashboard layout (#30214)silverwind2024-04-141-7/+5
| | | | | | | | | | | | | | | | | | | Added new class `flex-container-sidebar` to cover the dashboard sidebar. Previously this was 37.5% with more padding. Now there is less empty space between the two columns and this matches other pages like repo or admin settings page. Desktop: <img width="1345" alt="Screenshot 2024-03-31 at 15 11 36" src="https://github.com/go-gitea/gitea/assets/115237/717389d9-d42c-466e-a8fe-e968f79447fd"> Mobile: <img width="444" alt="Screenshot 2024-03-31 at 15 11 44" src="https://github.com/go-gitea/gitea/assets/115237/7faa840b-513a-411b-bf2d-26d52b9b71a0"> --------- Co-authored-by: Giteabot <teabot@gitea.io>
* Add main landmark to templates and adjust titles (#22670)Felipe Leopoldo Sologuren Gutiérrez2023-02-011-1/+1
| | | | | | | * Add main aria landmark to templates * Adjust some titles to improve understanding of location in navigation Contributed by @Forgejo
* Add class to page content to unify top margin (#13766)silverwind2020-11-301-1/+1
| | | | | | | | | | | | | | | | | | | * 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>
* Remove fetch request from heatmap (#13623)silverwind2020-11-181-4/+1
| | | | | | | | | | | | | | | | | | | * Remove fetch request from heatmap Render heatmap data directly to HTML, eliminating one HTTP request on frontpage and user profile. Also added min-height to the container so the page content will no longer move after loading. * rename and error display * also log the js error * add error handler * remove useless inline style and hide divider on small screens * Update routers/user/home.go * Update routers/user/profile.go
* Insert ui divider directly in templates instead of from inside heatmap vue ↵wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf2020-05-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | component (#11508) * ui: remove the divider between heatmap and feeds in the dashboard view * this commit reverses 6ccd19ef86b3b729a3b6dc35076639db5531550a Signed-off-by: surtur <a_mirre@utb.cz> * add a divider to the default user dashboard view * another one-line change, this time as a direct complement of 2bfc71614c0c5470162825a21c13838e15ccf5a6 to implement a divider of sorts (as per 6ccd19ef86b3b729a3b6dc35076639db5531550a originally) Signed-off-by: surtur <a_mirre@utb.cz> * removed the divider in heatmap.tmpl * the separator is added by partial templates as needed Signed-off-by: surtur <a_mirre@utb.cz> * load proper dashboard template code in profile.tmpl * as discussed in Discord * includes a divider of its own Signed-off-by: surtur <a_mirre@utb.cz>
* Split dashboard elements into separate template files (#10885)mrsdizzie2020-03-301-117/+2
| | | | | | | | | | | | | | * Split dashboard elements into separate template files No code change just Move Heatmap and Repo list/search into separate template files (like feeds and navbar already are). This will let a user more easily replace dashboard.tmpl without regularly becoming out of sync with fixes or changes to the actual code. Fixes #10870 * End file with an empty line Co-authored-by: zeripath <art27@cantab.net>
* Fix JS and Vue (#10328)John Olheiser2020-02-181-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add Octicon SVG spritemap (#10107)John Olheiser2020-02-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add octicon SVG sprite Signed-off-by: jolheiser <john.olheiser@gmail.com> * Static prefix Signed-off-by: jolheiser <john.olheiser@gmail.com> * SVG for all repo icons Signed-off-by: jolheiser <john.olheiser@gmail.com> * make vendor Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swap out octicons Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move octicons to top of less imports Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix JS Signed-off-by: jolheiser <john.olheiser@gmail.com> * Definitely not a search/replace Signed-off-by: jolheiser <john.olheiser@gmail.com> * Missed regex Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move to more generic calls and webpack Signed-off-by: jolheiser <john.olheiser@gmail.com> * make svg -> make webpack Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove svg-sprite Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Missed a test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove svg from makefile Signed-off-by: jolheiser <john.olheiser@gmail.com> * Suggestions Signed-off-by: jolheiser <john.olheiser@gmail.com> * Attempt to fix test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert timetracking test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swap .octicon for .svg in less Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add aria-hidden Signed-off-by: jolheiser <john.olheiser@gmail.com> * Replace mega-octicon Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix webpack globbing on Windows Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert Co-Authored-By: silverwind <me@silverwind.io> * Fix octions from upstream Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix Vue and missed JS function Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add JS helper and PWA Signed-off-by: jolheiser <john.olheiser@gmail.com> * Preload SVG Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <matti@mdranta.net>
* Create repository on organisation by default on its dashboard (#6026)zeripath2019-02-101-1/+3
| | | | | | | | * Create repository on organisation by default on its dashboard * Only show owners the add new repositories to an organisation button. Fix #3253 Signed-off-by: Andrew Thornton <art27@cantab.net>
* UI: Dashboard tweaks (#5974)silverwind2019-02-061-2/+2
| | | | | - Don't show divider below heatmap when it's hidden via media-query - Make divider between user menu adhere to container width - Remove excessiv margins on heatmap
* Feature: Archive repos (#5009)kolaente2019-01-231-0/+1
|
* Refactor heatmap to vue component (#5401)Lauris BH2018-11-271-2/+7
|
* User action heatmap (#5131)kolaente2018-10-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added basic heatmap data * Added extra case for sqlite * Built basic heatmap into user profile * Get contribution data from api & styling * Fixed lint & added extra group by statements for all database types * generated swagger spec * generated swagger spec * generated swagger spec * fixed swagger spec * fmt * Added tests * Added setting to enable/disable user heatmap * Added locale for loading text * Removed UseTiDB * Updated librejs & moment.js * Fixed import order * Fixed heatmap in postgresql * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: kolaente <konrad@kola-entertainments.de> * Added copyright header * Fixed a bug to show the heatmap for the actual user instead of the currently logged in * Added integration test for heatmaps * Added a heatmap on the dashboard * Fixed timestamp parsing * Hide heatmap on mobile * optimized postgresql group by query * Improved sqlite group by statement
* Responsive view (#2750)Morgan Bazalgette2017-12-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove box-shadow from UI, fix dashboard issue (#3065)silverwind2017-12-031-1/+1
|
* Use custom search for each filter type in dashboard (#2343)Morlinest2017-11-011-7/+22
| | | | | | | | | | * Do custom search for each filter in repo-search * Fix search url * Simplify code * Remove loader and reset counts when changing filter
* fix bug on create repo link on dashboard (#2359)Lunny Xiao2017-08-231-1/+1
|
* Remove (almost) server side data rendering from repo-search component (#2317)Morlinest2017-08-221-42/+50
| | | | | | * Rename some shorthands * Remove (almost) server side data rendering from repo-search component template
* Fix order of elements in dashboard html (#2344)Morlinest2017-08-201-2/+2
|
* Fix repo-search template errors for go1.7 (#2336)Morlinest2017-08-191-3/+82
|
* Make use of Vue more universal (#2318)Morlinest2017-08-171-1/+1
|
* Fix and improve dashboard repo UI (#2285)Morlinest2017-08-171-97/+2
| | | | | | | | | | | | | | | | * Fix and improve dashboard repo UI * Change order of scripts loading * Remove "mirror" tab * Remove single tab panel for "org user" * Add localization strings * Create vue component and change event for search * Add "mirrors" filter
* Refactor vue delimeters to use es6 template delimeters (#2171)Lauris BH2017-07-151-2/+2
|
* Merge pull request #1750 from andreynering/dashboard-search-org-reposAndrey Nering2017-05-271-23/+0
|\ | | | | More fixes for dashboard search
| * Remove colaborative repo panelAndrey Nering2017-05-181-23/+0
| |
* | Make side nav on dashboard stackable (#1778)Patrick G2017-05-231-1/+1
|/
* Hide the create organization button (in dashboard/organization section) (#1705)Jun Hsieh ♞2017-05-121-0/+2
| | | when the user has no such permission.
* Improve dashboard repo search (#1652)Andrey Nering2017-05-091-22/+20
| | | | | | | | | | * Add VueJS * Improve dashboard search * Fix tab switching * Fix input autofocus
* Allow rendering alerts in dashboard (#856)Sandro Santilli2017-02-081-0/+1
| | | NOTE: useful when logging in via OpenID and connecting to user
* feat: add search repository on dashboard. (#773)Bo-Yi Wu2017-01-301-4/+7
|
* #1384 add pagination for repositoriesUnknwon2016-07-241-1/+6
|
* Upgrade octicon to 4.3.0Unknwon2016-07-161-8/+8
|
* Use icon repo-forked instead of repo-lock for private, forked reposFlorian Kaiser2016-01-311-1/+1
|
* #2491 minor fix for sr on dashboardUnknwon2016-01-291-3/+12
|
* #2287 Truncate repository name if too longUnknwon2016-01-111-8/+10
|
* #2159 use icon+tooltip to replace textUnknwon2015-12-121-3/+3
|
* #2037 Add "New Mirror" button on DashboardUnknwon2015-12-091-1/+1
|
* Indent all templates with tabsAdam Strzelecki2015-12-081-109/+109
| | | | | | | | | | | | 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
* add new mirror button to dashboardGibheer2015-12-011-0/+3
| | | | | This adds the button to create a new mirror on the dashboard at the same place where "new repository" and "new organization" already exist.
* fix #650Unknwon2015-11-221-1/+1
|
* Show custom avatars in commitsUnknwon2015-11-131-4/+4
|
* new dashboard uiUnknwon2015-11-131-125/+106
|
* #1594 Collaborative Repositories missing suburl on DashboardUnknwon2015-09-071-1/+1
|
* Mirror fix on transfer repoUnknwon2014-09-251-42/+1
|
* Page: User profileUnknwon2014-09-251-1/+1
|
* Fix bug on transfer repoUnknwon2014-09-251-0/+2
|
* Add suburl supportUnknwon2014-09-191-12/+12
|
* Allow Gogs to run from a suburl behind a reverse proxy. e.g. ↵Martin van Beurden2014-09-181-12/+12
| | | | | | | | | | | | | | 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