Commit graph

69 commits

Author SHA1 Message Date
Henrik Levkowetz 9cb8f65c8e Updated templates to use the static template tag for static files.
- Legacy-Id: 9945
2015-08-01 14:53:59 +00:00
Henrik Levkowetz 9c80868187 Placed stock bootstrap (which we don't use, but bower pulls in as a dependency) and our customized bootstrap in different directories, to avoid confusion.
- Legacy-Id: 9905
2015-07-28 09:54:47 +00:00
Henrik Levkowetz 6605c03f83 Moved our generated bootstrap and bootstrap-theme css files to the CDN area.
- Legacy-Id: 9903
2015-07-27 20:34:25 +00:00
Henrik Levkowetz 54aac4e12a Updated templates to use the 'static' template tag to dynamically point to the correct static files location.
- Legacy-Id: 9889
2015-07-26 18:15:24 +00:00
Henrik Levkowetz 5d8306cfc8 Merged in [9733] from lars@netapp.com:
First round of HTML fixes identified by test-crawl --vnu.
 - Legacy-Id: 9764
Note: SVN reference [9733] has been migrated to Git commit 205df716f8bf4b7dae9e2637f3aa1ba048a158f9
2015-07-18 08:55:30 +00:00
Robert Sparks 8ab624b735 Remove the messages-framework output loop from the base page footer. Fixes #1735. Commit ready for merge.
- Legacy-Id: 9698
2015-06-30 17:54:08 +00:00
Henrik Levkowetz 074a46fca0 Fixed incorrect output of unmatched <div/> closing elements, left after [9643].
- Legacy-Id: 9644
Note: SVN reference [9643] has been migrated to Git commit b768dbbc9a
2015-05-22 20:08:19 +00:00
Henrik Levkowetz b768dbbc9a Added a preference to not display the left-hand menubar. Addresses issues #1659 and #1663.
- Legacy-Id: 9643
2015-05-22 20:03:11 +00:00
Henrik Levkowetz 0d08fff0ac Updated a bunch of links from http: to https: based on a patch from lars@netapp.com.
- Legacy-Id: 9555
2015-04-24 21:45:04 +00:00
Henrik Levkowetz ec0321e0da Added copyright lines and template origin to the html templates. Fixed a number of instances of html that didn't validate.
- Legacy-Id: 9551
2015-04-24 20:40:01 +00:00
Henrik Levkowetz c1b86d9ae2 Merged in [9525] from lars@netapp.com:
Make the menu bar search field appear on slightly smaller screen widths.
 - Legacy-Id: 9540
Note: SVN reference [9525] has been migrated to Git commit 651477699b
2015-04-21 21:02:43 +00:00
Henrik Levkowetz 6deac8e06e Merged in [9524] from lars@netapp.com:
Add some shim js libraries for IE8 and earlier
(see http://getbootstrap.com/getting-started/#template)
Fix HTML structural errors in the template.
Wrap some HTML comments into Django comments, so they don't get sent to the
client.
 - Legacy-Id: 9539
Note: SVN reference [9524] has been migrated to Git commit 6f2e9f7c25
2015-04-21 20:28:13 +00:00
Lars Eggert 651477699b Make the menu bar search field appear on slightly smaller screen widths.
- Legacy-Id: 9525
2015-04-20 08:20:40 +00:00
Lars Eggert 6f2e9f7c25 Add some shim js libraries for IE8 and earlier
(see http://getbootstrap.com/getting-started/#template)

Fix HTML structural errors in the template.

Wrap some HTML comments into Django comments, so they don't get sent to the
client.
 - Legacy-Id: 9524
2015-04-20 07:41:21 +00:00
Henrik Levkowetz e843516043 Removed typogrify, which is not in use any more.
- Legacy-Id: 9522
2015-04-17 20:38:09 +00:00
Henrik Levkowetz 66b46ef636 Provided a different shortcut icon for the datatracker when run in development or test mode. Fixes issue #1667.
- Legacy-Id: 9504
2015-04-15 14:43:15 +00:00
Henrik Levkowetz 4e2ee83079 Fixed typo in font stylesheet link elements.
- Legacy-Id: 9490
2015-04-14 14:36:48 +00:00
Henrik Levkowetz d2eb460054 Replaced google-served fonts with self-hosted ones.
- Legacy-Id: 9485
2015-04-14 00:06:12 +00:00
Henrik Levkowetz 576e29e4e6 Turned the dev mode navbar back to red. Added a small IETF logo with transparent background for the navbar, instead of using two with dedicated colour-background.
- Legacy-Id: 9468
2015-04-12 20:27:45 +00:00
Henrik Levkowetz d8350a86bd Footer tweaks.
- Legacy-Id: 9461
2015-04-12 12:19:10 +00:00
Henrik Levkowetz cbc7c7cedf Footer style tweaks.
- Legacy-Id: 9459
2015-04-12 12:10:32 +00:00
Henrik Levkowetz 627ea11ae3 Changed 'Search documents' to 'Document Search' in various places.
- Legacy-Id: 9457
2015-04-12 11:29:00 +00:00
Henrik Levkowetz d4bd6c3775 Renamed the base template file from 'ietf.html' to 'base.html'.
- Legacy-Id: 9427
2015-04-08 19:16:48 +00:00
Ole Laursen 8c8ec56df2 Summary: Remove now unused old base templates
- Legacy-Id: 8953
2015-02-02 17:14:10 +00:00
Henrik Levkowetz be842a6c1f Added a meta tag to the base template, to specify a page character set.
- Legacy-Id: 8125
2014-07-19 17:18:18 +00:00
Henrik Levkowetz 8e9545e23e Tweaked the base template to give a http login link in development mode, instead of relying on the debug setting, which requires a correct INTERNAL_IP setting, too.
- Legacy-Id: 8012
2014-07-02 07:03:34 +00:00
Henrik Levkowetz bfa77959e5 We're now showing the login link with a http:// scheme instead of https:// when in debug mode, in order to be able to log in when using 'python manage.py runserver', which only supports http.
- Legacy-Id: 7636
2014-04-24 22:04:52 +00:00
Henrik Levkowetz 53b49d7777 Link the name of a logged-in user to his profile page. Application of patch from production.
- Legacy-Id: 7629
2014-04-22 21:38:43 +00:00
Henrik Levkowetz 156b0d4e3a Changed the code to use django's own authentication, instead of http basic auth. This will let people log out, and will also use stronger password hashing than basic auth. Added a login page, and logout links, and links from the logged in username (in the upper right corner) to the user's profile page.
- Legacy-Id: 7580
2014-04-07 18:56:44 +00:00
Henrik Levkowetz 721b9a5cd7 Login/logout style tweaks.
- Legacy-Id: 7537
2014-03-23 19:18:02 +00:00
Henrik Levkowetz 475bcbbd30 Working django-auth login and logout views. Password import from htpasswd file still needed.
- Legacy-Id: 7536
2014-03-23 18:27:14 +00:00
Ole Laursen 42ade6273c Turn on CSRF protection - all forms must from now on have a {% csrf_token %}
- Legacy-Id: 6963
2013-12-17 12:50:24 +00:00
Ole Laursen 36dd439027 Rewrite ifequal/endifequal template tags to if tags with ==/!=
- Legacy-Id: 6961
2013-12-17 10:42:34 +00:00
Ole Laursen 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Markus Stenberg b60865b3c5 Took care of #841 by moving <span> correctly outside <a> altogether.
It used to be unbalanced:
 <a><span></a></span>, but now 
 <span><a></a></span>
 - Legacy-Id: 6614
2013-11-02 19:56:16 +00:00
Henrik Levkowetz a7838d8765 Cleanup action: replaced screaming html id with non-screaming version;
replaced the noTable block construct with start/end table_content blocks
in order to not have to open and close tables in different blocks, and
not have empty tables lying about.
 - Legacy-Id: 6439
2013-10-13 21:09:32 +00:00
Henrik Levkowetz 08e90fd63f Enabling jquery again in template base.html. Moving library pack jquery-1.8.2 from /static/js/ to /static/js/lib/. Replacing jquery-1.5.1 with 1.8.2 in some places; the incompatibilities listed on the jquery pages seem to be small, and on a cursory inspection not present in the current usage.
- Legacy-Id: 6342
2013-10-02 15:44:50 +00:00
Henrik Levkowetz 6154b9922d This commit isn't tested. It captures the state after merging in branch/ssw/agenda/v4.70.
- Legacy-Id: 6273
2013-09-26 19:56:17 +00:00
Ole Laursen 2d902e28d1 Add stream edit page for setting delegates instead of page in
ietfworkflows, add streams_menu template tag for outputting the
streams menu instead of the one in ietfworkflows, move
base_wgmenu.html and base_leftmenu.html templates to base/ (together
with base/streams_menu.html), get rid of "first" madness in
base/left_menu.html which is now obsolete anyway because we have a
Settings headline which is always first
 - Legacy-Id: 6255
2013-09-24 17:25:10 +00:00
Ole Laursen e94d1df549 Clean up search views and remove dead code, port them to the new DB
schema, hack related views in iesg/ and wginfo/ to use the new search
interfaces, avoid camelCase in search GET parameters (with
backwards-compat fallback), add some simple search unit tests, remove
caching from views_search.py index pages as they're now pretty fast to
generate, rewrite ballot popup JS, regularize some CSS classes to use
hyphen-notation rather than camelCase, move some of the search
templates to doc/.

idrfc/ now mostly contains some wrapper code still in use by other
subdirs, some ported code not yet moved, and dead code.
 - Legacy-Id: 5611
2013-04-04 13:42:57 +00:00
Henrik Levkowetz 7e84ccc606 Tweaked the changelog presentation to work irrespective of current directory, and give a sensible 404 if the changelog can't be found.
- Legacy-Id: 4972
2012-10-30 22:13:37 +00:00
Henrik Levkowetz 2eb6e705c2 Added a link from the version information at the bottom of the left-side menubar to the /release/ page. Tweaked the release page.
- Legacy-Id: 4967
2012-10-30 14:19:02 +00:00
Henrik Levkowetz f6c80779f9 Added various things which lets us use Django's messages framework to give feedback to users. This includes adding the messages middleware in settings.py, adding a message display are at the top of the page base template, and adding style setting for message display.
- Legacy-Id: 4964
2012-10-30 13:28:24 +00:00
Dan York 5e9a33a649 Related to #816 - Modified base.html so that the logo is clickable as well as the text.
- Legacy-Id: 4224
2012-03-24 18:27:23 +00:00
Dan York 9ddf4d3656 Fixes #816 - Turns datatracker.ietf.org into a clickable link
- Legacy-Id: 4214
2012-03-24 15:22:06 +00:00
Ole Laursen 9c06587c74 Refactor search logic to trigger with jQuery instead of inserting
attributes directly, moving it to a separate JS file; fixes a bug in
the new schema
 - Legacy-Id: 3927
2012-02-15 15:15:33 +00:00
Ole Laursen 6ae3a906b1 Use request.get_host rather than hardcoded server name
- Legacy-Id: 3876
2012-01-30 19:04:00 +00:00
Ole Laursen 0f6053166e Fix outputted groups in JS
- Legacy-Id: 3840
2012-01-20 16:18:03 +00:00
Henrik Levkowetz 0787ef485a Clean up the display of 'Sign In' and version number when rendering the base template without context (which is the case for the 500 server error template).
- Legacy-Id: 3513
2011-10-25 14:51:49 +00:00
Henrik Levkowetz fbbd111395 Change the 'Sign In' link to be https. Add a 'Report a bug' link in the lefthand column, below the version indication. Tweak the alignment of version and bug report links.
- Legacy-Id: 3509
2011-10-25 14:18:14 +00:00