summaryrefslogtreecommitdiffstats
path: root/templates/base
Commit message (Collapse)AuthorAgeFilesLines
* Fix user menu item styling (#4985)silverwind2018-09-271-1/+1
|
* Extract header and footer content to separate tmpl (#4797)Lukas Bestle2018-09-074-159/+162
| | | | | This change makes it easier to customize the header and footer content. Before this change, the whole header and footer had to be overridden, including the meta, style and script tags. Signed-off-by: Lukas Bestle <mail@lukasbestle.com>
* Hide home button when landing page is not set to home (#4651)Piotr Orzechowski2018-08-261-7/+11
|
* Swagger.v1.json template (#3572)Piotr Orzechowski2018-07-281-1/+1
| | | | | | * Turn swagger.v1.json into template * Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER
* Add the ability to have built in themes in Gitea (#4198)techknowlogick2018-07-051-0/+3
| | | | | | | | | This makes it easier for user who want to theme but don't have the ability to know how to customize templates all that is required is a change in a config option The reason why I chose the DEFAULT_THEME as variable, as perhaps in the future we will allow users to chose their theme whon logged in just like we do with languages
* Add Recaptcha functionality to Gitea (#4044)Fluf2018-07-051-0/+5
|
* Add `noreferrer` to rel='noopener` for <a> tags (#4328)cezar972018-07-031-2/+2
|
* Update notification icon (#4343)ucodi2018-07-031-1/+1
|
* Remove dupelicate link (#4100)Fluf2018-06-031-1/+1
|
* Add support for FIDO U2F (#3971)Jonas Franz2018-05-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for U2F Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add vendor library Add missing translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Minor improvements Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F support for Firefox, Chrome (Android) by introducing a custom JS library Add U2F error handling Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F login page to OAuth Signed-off-by: Jonas Franz <info@jonasfranz.software> * Move U2F user settings to a separate file Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add unit tests for u2f model Renamed u2f table name Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems caused by refactoring Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F documentation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove not needed console.log-s Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add default values to app.ini.sample Add FIDO U2F to comparison Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Rework special link parsing in the post-processing of markup (#3354)Morgan Bazalgette2018-02-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Get rid of autolink * autolink in markdown * Replace email addresses with mailto links * better handling of links * Remove autolink.js from footer * Refactor entire html.go * fix some bugs * Make tests green, move what we can to html_internal_test, various other changes to processor logic * Make markdown tests work again This is just a description to allow me to force push in order to restart the drone build. * Fix failing markdown tests in routers/api/v1/misc * Add license headers, log errors, future-proof <body> * fix formatting
* 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
| |