aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
Commit message (Collapse)AuthorAgeFilesLines
* Add option to enable or disable swagger endpoints (#3502)Piotr Orzechowski2018-02-141-1/+1
|
* Emoji Autocomplete (#3433)modmew82018-02-031-0/+32
| | | | | | | | | | | | * Implemented emoji autocomplete. * Changed emoji access url. * Reverted vendor css to default, moved all style changes to _tribute.less * Made no-results overwriteable, added missing autocomplete to edit issue field. Signed-off-by: modmew8 <modmew8@gmail.com>
* Templates for extra links in top navbar and repo tool tabs. (#3308)Alberto González Palomo2018-01-101-0/+3
| | | | | | | | | These templates add content to the top navbar and to the repository page. This way we do not have to copy and modify the whole template, and re-modify it after upgrading Gitea if it changes. Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
* Add more additional template snippets (#3286)Thomas Boerger2018-01-022-0/+10
|
* Responsive view (#2750)Morgan Bazalgette2017-12-301-111/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Use correct camel casing for JavaScript (#3224)Jesstern Rays2017-12-181-1/+1
| | | JavaScript should be spelt with an uppercase 'S' as per seen in [Mozilla](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
* Mention completion for issue editor. (#3136)harry2017-12-112-0/+30
| | | | | | | | | | * new issue mention * Mention completion on new issue and view issue page. * Code format. * Require tribute in pull request page.
* Reduce overhead of upgrades for users with custom stylesheets/JS (#3051)techknowlogick2017-12-032-0/+2
|
* Add Safari pinned tab icon (#2799)Bastian Rinsche2017-10-281-0/+1
| | | | | Closes #2753 Signed-off-by: Bastian Rinsche <bastian.rinsche@gmail.com>
* Move swagger-ui under /api/v1 (#2746)Antoine GIRARD2017-10-211-1/+1
| | | | | | | | | | | | * Move swagger interface under /api/v1 * Update swagger-ui * Add /api/swagger and prepare for multiple api version * Update test links * Fix footer link
* Fix duplicated rel attribute (#2549)Jorge Maldonado Ventura2017-09-201-2/+2
| | | | | | According to the HTML 5.1 recommendation "The rel attribute on a and area elements controls what kinds of links the elements create. The attribute’s value must be a set of space-separated tokens." (source https://www.w3.org/TR/html51/links.html#links-created-by-a-and-area-elements)
* Make basic functionality work without JavaScript (#2541)Jorge Maldonado Ventura2017-09-191-1/+7
|
* Convert spaces to tabs in footer.tmpl (#2520)Ethan Koenig2017-09-161-3/+3
|
* Moved vendored js/css into `public/vendor` and documented sources (#1484) ↵Michael Lustfield2017-08-232-31/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#2241) * Cleaning up public/ and documenting js/css libs. This commit mostly addresses #1484 by moving vendor'ed plugins into a vendor/ directory and documenting their upstream source and license in vendor/librejs.html. This also proves gitea is using only open source js/css libraries which helps toward reaching #1524. * Removing unused css file. The version of this file in use is located at: vendor/plugins/highlight/github.css * Cleaned up librejs.html and added javascript header A SafeJS function was added to templates/helper.go to allow keeping comments inside of javascript. A javascript comment was added in the header of templates/base/head.tmpl to mark all non-inline source as free. The librejs.html file was updated to meet the current librejs spec. I have now verified that the librejs plugin detects most of the scripts included in gitea and suspect the non-free detections are the result of a bug in the plugin. I believe this commit is enough to meet the C0.0 requirement of #1534. * Updating SafeJS function per lint suggestion * Added VERSIONS file, per request
* Fix and improve dashboard repo UI (#2285)Morlinest2017-08-172-4/+7
| | | | | | | | | | | | | | | | * 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
* Add task to generate images from SVG and change to new logo (#2194)Lauris BH2017-07-281-1/+1
| | | | | | * Add makefile task to generate images from SVG and change to new logo * use absolute path on generate-images
* Keep sort when switching page (#2013)iszla2017-06-221-5/+5
|
* Use production version of vuejs. (#1869)Antoine GIRARD2017-06-041-1/+1
|
* Fix FOUC on Firefox (#1728)Sondre Nilsen2017-05-311-2/+4
| | | | | | | | | Firefox users will experience a flash of unstyled content on loading various pages, this patch will fix this issue using Filament Groups loadCSS library to asynchronously load the CSS responsible for the FOUC. Will fix #1698. Signed-off-by: Sondre Nilsen <nilsen.sondre@gmail.com>
* Merge pull request #1750 from andreynering/dashboard-search-org-reposAndrey Nering2017-05-271-0/+3
|\ | | | | More fixes for dashboard search
| * Show repos acording to user/organizationAndrey Nering2017-05-181-0/+3
| |
* | Update HighlightJS and fix YAML files highlighting (#1764)Andrey Nering2017-05-202-2/+2
|/ | | | | | * Update HighlightJS to 9.11.0 * Fix YAML files highlighting
* Improve dashboard repo search (#1652)Andrey Nering2017-05-092-0/+4
| | | | | | | | | | * Add VueJS * Improve dashboard search * Fix tab switching * Fix input autofocus
* Generate swagger json (#1402)Antoine GIRARD2017-05-021-0/+1
| | | | | | | - Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
* Support for custom html meta (#1423)Jonas2017-03-311-4/+4
| | | | | | * Support for custom html meta * Changed html meta description default
* Remove href on first/last link when on first/last page (#1345)aloupfor2017-03-221-2/+2
| | | Signed-off-by: Arthur Loupforest <arthur.loupforest@outlook.fr>
* Add LibreJS support (#1201)Sandro Santilli2017-03-121-0/+1
| | | | | See See https://www.gnu.org/software/librejs/ Closes #1200
* Removed footer copyright year (#829)Lunny Xiao2017-02-241-1/+1
| | | | | | | | * change footer copyright year from 2016 to 2017 * add 2016 copyright back * remove the copyright year
* Security: fix XSS attack on alert (#973)Lunny Xiao2017-02-191-3/+3
|
* feat: support search bar on star tab of user profile. (#917)Bo-Yi Wu2017-02-141-5/+5
| | | | | | | | | | | | | | * feat: support search bar on star tab of user profile. * fix: update testing. * fix: Using loadAttributes * fix: remove empty line. * remove LOWER Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Markdown rendering overhaul (#186)Andrew Boyarshin2017-02-141-0/+1
| | | | | | | | | | | | * Markdown rendering overhaul Cleaned up and squashed commits into single one. Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com> * Fix markdown API, add markdown module and API tests, improve code coverage Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* Implement basic Open Graph support. (#901)Andrew2017-02-111-0/+24
|
* feat: support paginater on star tab of user profile. (#845)Bo-Yi Wu2017-02-071-4/+4
|
* feat: add search repository on dashboard. (#773)Bo-Yi Wu2017-01-301-0/+1
|
* refactor: move js to bottom and move css to top. (#689)Bo-Yi Wu2017-01-252-38/+48
|
* Notifications: trying to get a better layout (#660)Andrey Nering2017-01-181-1/+1
| | | | | | | | | | | | | | * i18n button titles * Improvements on notification page layout * Notification count badge fixes * Make table <tr> clickable * Fix octicon aligment * Fix use of AppSubUrl
* Notifications: mark as read/unread and pin (#629)Andrey Nering2017-01-121-1/+1
| | | | | | | | | | * Use relative URLs * Notifications - Mark as read/unread * Feature of pinning a notification * On view issue, do not mark as read a pinned notification
* Merge pull request #539 from andreynering/notifications-step-2Andrey Nering2017-01-051-0/+12
|\ | | | | Notifications - Step 2
| * Notifications - Step 2Andrey Nering2016-12-301-0/+12
| |
* | Restrict creating organisations by user (#193)Schwobaland2016-12-311-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | * restrict creating organizations based on right on user * revert bindata.go * reverse vendor lib * revert goimports change * set AllowCreateOrganization default value to true * revert locale * added default value for AllowCreateOrganization * fix typo in migration-comment * fix comment * add coments in migration
* Tab on user profile to show starred repos (#519)Andrey Nering2016-12-291-0/+4
| | | | | | | | | | | | | | * Tab on user profile to show starred repos * Make golint happy and use transactions on StarRepo function * x -> sess * Use sess.Close() instead of sess.Rollback() * Add copyright * Fix lint
* commithgraph / timeline (#428)Kjell Kvinge2016-12-291-0/+7
| | | | | | | | | | * Add model and tests for graph * Add route and router for graph * Add assets for graph * Add template for graph
* Replace Gogs with Gitea (#520)Bwko2016-12-281-1/+1
|
* Fixed project name on base template headAvelino2016-12-021-2/+2
|
* Added rel="noopener" to target="_blank" hrefs (#327)Bwko2016-12-022-6/+4
| | | | | | * Added rel="noopener" to target="_blank" hrefs * Replaced gogs.io/docs with docs.gitea.io
* replace footer gogs to gitea (#157)Lunny Xiao2016-11-121-2/+2
|
* Merge all pagination-templates into 'base/paginate'Kim "BKC" Carlbäcker2016-11-071-0/+23
| | | | to reduce code-duplicity
* Set default less and css to new default nameJoubert RedRat2016-11-041-2/+2
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-1/+1
|
* Feature #3492: Add option to hide footer load times (#3562)Thibault Meyer2016-09-011-2/+2
| | | | | | * Add option to hide footer load times * Rename option variable + minor changes