Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
quick fix site message just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
potch committed Feb 22, 2012
1 parent b34d408 commit c486615
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 13 deletions.
11 changes: 11 additions & 0 deletions media/css/devreg/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,17 @@ a {
margin-bottom: 5px;
}

#site-notice {
background: @notice-yellow;
border-bottom: 1px solid #ddd;
p {
text-align: center;
padding: 1em;
font-size: 14px;
font-weight: bold;
}
}

.js-hidden, #popup-staging, .hidden {
display: none;
}
1 change: 1 addition & 0 deletions media/css/devreg/lib.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@red: #C63717;
@error-red: #C00000;
@orange: #D16B00;
@notice-yellow: #FAF2BD;
@teal: #5875A0;
@taupe: rgb(215,210,195);
@blue: #258;
Expand Down
28 changes: 15 additions & 13 deletions mkt/developers/templates/developers/skeleton_impala.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,27 @@ <h1 id="masthead" class="site-title prominent">
<small>Marketplace </small>Developer Hub
</a>
</h1>
{% if ADMIN_MESSAGE or settings.READ_ONLY %}
<div class="site-balloon" id="site-notice">
{% if ADMIN_MESSAGE %}
<p>{{ ADMIN_MESSAGE|safe }}</p>
{% endif %}
{% if settings.READ_ONLY %}
<p>{% trans %}
Some features are temporarily disabled while we perform
website maintenance. We'll be back to full capacity shortly.
{% endtrans %}</p>
{% endif %}
</div>
{% endif %}
</div>
{% block site_header_title %}
{% include 'developers/nav.html' %}
{% endblock %}
{% endblock site_header %}
</section>
{% if ADMIN_MESSAGE or settings.READ_ONLY %}
<div id="site-notice">
<div class="pad">
{% if ADMIN_MESSAGE %}
<p>{{ ADMIN_MESSAGE|safe }}</p>
{% endif %}
{% if settings.READ_ONLY %}
<p>{% trans %}
Some features are temporarily disabled while we perform
website maintenance. We'll be back to full capacity shortly.
{% endtrans %}</p>
{% endif %}
</div>
</div>
{% endif %}
<div id="wrap">
<div id="page" class="pad section c">
{# Overridden in base_side_categories, which expands categories
Expand Down

0 comments on commit c486615

Please sign in to comment.