summaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2019-03-19* Fix introduced typo.Giancarlo Razzolini1-1/+1
2019-03-19* Add the hetzner logo file.Giancarlo Razzolini1-1/+5
* Add the hetzner logo to the sponsors on the main page.
2019-03-17templates: Add tag for d3jsJelle van der Waa3-6/+3
Create a simple tag for outputting the d3js <script> html so updating will be easier and the version has be changed in one file. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-03-17packages: fix <div > extranous spaceJelle van der Waa1-1/+1
2019-03-17public: remove unrequired hardcoded width/heightJelle van der Waa1-2/+2
2019-03-17public: remove extra whitespace in sentenceJelle van der Waa1-1/+1
2019-03-02donate: remove hardcoded width/height from img elements.Jelle van der Waa1-3/+3
2019-03-02templates: remove excessive whitespace after .Jelle van der Waa1-3/+3
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-28templates: get rid of modify_attributesJelle van der Waa1-8/+5
The modify_attributes was used for IE to set attributes on DOM elements, since Archweb no longer supports IE and this can be done easily with plain JavaScript. Also drop non-standard HTML attributes since they aren't worth keeping. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-24public: fix misplaced dot at the end of the </p>Jelle van der Waa1-1/+1
2019-02-24remove kartenzia as commercial sponsorJelle van der Waa1-6/+0
Kartenzia no longer sponsors a dedicated server. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-02-23templates: Add "Getting involved" linkJelle van der Waa1-0/+2
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-22templates: remove deprecated projection propertyJelle van der Waa9-9/+9
The media="projection" property is read by browsers but does not match anything remove it so our site is valid HTML. Closes: #184 Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-22templates: remove JavaScript form login pageJelle van der Waa1-11/+0
Remove setting focus on the username since this already works without Javascript.
2019-02-18mirrors: replace self-written floatvalue with floatformatJelle van der Waa3-7/+7
In 2013 floatformat was very slow in the mirror status page, these days floatformat is not that much slower.
2019-02-18flag: move inline css to a separate fileJelle van der Waa1-6/+1
CSP dissalows inline CSS styles so move the CSS to a separate file.
2019-02-18news: remove archweb.js includeJelle van der Waa1-1/+0
archweb.js supplies no functions required in the news add/edit/delete view.
2019-02-18templates: remove inline stylesJelle van der Waa3-4/+4
Remove inline styles to hide itemprop's and use a global css class for it.
2019-02-18releng: remove inline cssJelle van der Waa1-1/+1
Replace the usage of inline styles with a global css rule.
2019-02-18news: get rid of inline css stylesJelle van der Waa1-2/+16
Remove the usage of an inline style for hiding #news-preview and hide it in our global css. Also move the newspreview function to it's sole user to reduce our global JS size.
2019-02-18Implement CSP for archwebJelle van der Waa21-21/+21
Add django-csp as dependency to be able to set CSP inside django's settings and allow setting a CSP_NONCE for inline <script>'s in templates. Since archweb heavily uses this pattern it's the best compromise.
2019-02-18homepage: use self written typeahead implementationJelle van der Waa1-11/+2
Use a self written typeahead inmplemenation which gets rid of the jQuery requirement. This saves upgrading issues and reduces the amount of data to be loaded for the homepage by half.
2019-02-05public: add paypal donation linkJelle van der Waa1-1/+2
Add a link to the SPI donation page which contains a PayPal donation link. Closes: #180
2019-02-05templates: add missing </a> to Unixstickers entryJelle van der Waa1-1/+1
2019-02-05Merge pull request #163 from SantiagoTorres/remove_unsupported_from_aboutjelle van der Waa1-3/+3
templates/public/about: remove unsupported section
2019-02-05Update grammar for Docker downloadJelle van der Waa1-1/+1
2019-01-23added docker section to /downloadsRowan Ruseler1-0/+5
2018-11-29templates/public/about: remove unsupported sectionSantiago Torres1-3/+3
The [unsupported] section blurb was outdated in both its existence and the fact that there are almost 50k PKGBUILDs inside of it as of $DATE.
2018-11-18differences: remove leftover JavaScript from 373a426cbJelle van der Waa1-8/+0
In 373a426cb we removed the i686/x64_64 differences report and forgot to remove the used JavaScript functions.
2018-10-21Add “rel” attribute to pagination linkscoderkun2-4/+4
Add the “rel” attribute for “prev” and “next” to the pagination links of news and packages.
2018-08-12remove unused signoff reportJelle van der Waa1-41/+0
The signoff report command was removed in 32e3c6f9a76928d0250b55e92 but the template file was kept while it should have been removed.
2018-07-19Remove extra newline after the end span tag and before the li tagnehoffman2-11/+10
Closes: #112
2018-06-08feeds: Add package removal / deletion feedJelle van der Waa1-0/+62
Add new feeds for newly added packages and packages which where removed from the repository's.
2018-05-07public: Add vagrant image link to download pageJelle van der Waa1-0/+7
Mention the official Vagrant image on the download page and where to find it.
2018-04-08templates: fix cycle syntaxJelle van der Waa1-1/+1
According to the docs cycle takes two string arguments.
2018-04-08Stop loading cycle from future everywhereJohannes Löthberg16-16/+0
It's available already since we're no longer in the past, and can't load from future *in* the future. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-03-23FS#51458: Add HELLOTUX to the support section (#89)jelle van der Waa1-0/+2
Include a link to the HELLOTUX t-shirt store, which donates $2 per bought t-shirt to Arch Linux.
2018-03-14Fix a typo in packages/search.html templateFelix Yan1-1/+1
2018-03-13Re-add missing release details viewJelle van der Waa1-0/+49
In 875d50d8f the Iso Model was removed and also the release_detail view which should have stayed since it's still used.
2018-03-13Revert "Remove link to a deprecated view"Jelle van der Waa1-1/+1
This reverts commit 5578d3ac6d0318b9a94713e82044783aa1f5b3b5.
2018-03-12Remove link to a deprecated viewAngel Velasquez1-1/+1
Release details links was removed so it was giving a 500 because the template does not exist anymore, removing the link
2018-02-18Misc fixes (#84)jelle van der Waa2-3/+3
* Update coveragerc to exclude newly located tests There are now tests under main/tests/* etc, which should be omitted for coverage. * omit settings from coverage settings and local_settings aren't interesting for coverage, omit them. * remove leftover secure context processor The secure context processor was used to determine if the cdn served assets should be loaded over https or http. Since assets are no longer served with a cdn and the whole site is loaded over https these days, this code is dead and can be removed. * packages: Add test for flagging packages out of date Add simple test cases for flagging packages out of date, should later be improved to query the Package model for packages and use that data instead of hardcoding.
2018-02-17Remove unused Iso Model (#82)jelle van der Waa1-49/+0
The ISO model was used for the releng feedback form which was removed earlier. All this code is therefore now unused.
2018-01-29More code refactoring / tests (#79)jelle van der Waa6-2/+4
* main: move tests to main/tests Move the templatetags tests to main/tests/test_templatetags. * main: Add test for templatetags country Create a test for the templatetag country_flag. * main: remove duplicate floatvalue floatvalue is only used in the mirrors templates and the same exact function exists in the mirror_status templatetags. * main: Remove duplicate hours filter The hours filter is also defined in the mirror_status and only used in mirrors. * main: move percentage filter to mirrors Move the percentage filter to the only user of it and add a test for basic use cases. * main: remove duplicate duration implementation The duration templatetag filter is also defined in mirror_status.py * templates: remove unrequired import flags * main: Add missing testcase for country_flag Add the None test case, so that the function is fully covered. * todolists: create tests for Todolist model Add basic tests for the Todolist model
2018-01-29Remove old releng feedback form (#80)jelle van der Waa6-197/+0
Remove the old feedback functionality for released iso's. The last submission was in 2012 and it's no longer used by the current released iso's.
2018-01-22Remove Konami code functionality (#77)jelle van der Waa1-2/+1
Remove the easteregg on the home page which shows a tux when a user enters the Konami code. Which reduces maintenance of a non-critical component.
2017-12-28Require mirror.change_mirror perm to see emailsJohannes Löthberg1-0/+2
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-11-16Merge pull request #65 from jelly/update_differencesAngel Velásquez1-54/+4
Update differences
2017-11-15feeds: remove mention of i686Jelle van der Waa1-7/+1
Replace dropped i686 with x86_64
2017-11-15Update differences view for dropping i686Jelle van der Waa1-54/+4
Remove the i686 and x86_64 comparison since i686 is dropped and change the multilib difference to compare against x86_64 instead of i686.