Changeset - a00fc7845e3c
[Not reviewed]
0 3 0
Nick Seidenman (N6) - 7 years ago 2017-02-04 22:45:12
n6151h@gmail.com
Added some css to make text visible on 404 and 404 pages.
Removed references to non-existent content—page-header-panel.html.
3 files changed with 7 insertions and 3 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/403_csrf.html
Show inline comments
...
 
@@ -2,25 +2,24 @@
 
{% load staticfiles %}
 
{% load wagtailcore_tags %}
 

	
 
{% load sitetree %}
 
{% load i18n %}
 

	
 
{% block body_class %}template-blogpage{% endblock %}
 

	
 
{% block head_title %}{{ page.title }}{% endblock %}
 

	
 
{% block body %}
 
  {% block content %}
 
    {% include "cms_pages/content_page_header_panel.html" %}
 
    <div class="l-content-page">
 
      <div class="l-content-page--richtext">
 
        <h2>{{ title }} <span>(403)</span></h2>
 

	
 
        <p>{{ main }}</p>
 

	
 
        {% if bad_token and request.user.is_authenticated %}
 
          <p>You are already logged in. If you saw this issue whilst attempting
 
            to log in, you can to go to the
 
            <a href='{% url "dashboard" %}'>Dashboard</a> and continue using
 
            the site.</p>
 
        {% endif %}
pinaxcon/templates/404.html
Show inline comments
...
 
@@ -2,22 +2,21 @@
 
{% load staticfiles %}
 
{% load wagtailcore_tags %}
 

	
 
{% load sitetree %}
 
{% load i18n %}
 

	
 
{% block body_class %}template-blogpage{% endblock %}
 

	
 
{% block head_title %}{{ page.title }}{% endblock %}
 

	
 
{% block body %}
 
  {% block content %}
 
    {% include "cms_pages/content_page_header_panel.html" %}
 
    <div class="l-content-page">
 
      <div class="l-content-page--richtext">
 
      <div class="l-content-page--richtext ooops-hack">
 
        <h2>Ooops</h2>
 

	
 
        <p>The page you're looking for doesn't exist. Sorry!</p>
 
      </div>
 
    </div>
 
  {% endblock %}
 
{% endblock %}
static/src/pyconau2017/css/app.css
Show inline comments
...
 
@@ -1687,13 +1687,19 @@ Shame
 
  a. 	What part of the codebase does it relate to?
 
  b. 	Why was this needed?
 
  c. 	How does this fix it?
 
  d. 	How might you fix it properly, given more time?
 
3. 	Do not blame the developer; if they explained why they had to do it then their reasons are
 
probably (hopefully) valid.
 
4. 	Try and clean shame.css up when you have some down time.
 

	
 
via: http://csswizardry.com/2013/04/shame-css/
 

	
 
------------------------------------------------------------------------------------------------ */
 

	
 
.ooops-hack {
 
  color: rgb(250,250,200);
 
  background-color: rgba(25,25,25,.8);
 
}
 

	
 

	
 
/*# sourceMappingURL=maps/app.css.map */
0 comments (0 inline, 0 general)