Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Fixed #267 -- updated controller web UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Oct 30, 2013
1 parent c132663 commit b800549
Show file tree
Hide file tree
Showing 25 changed files with 222 additions and 7,331 deletions.
9 changes: 5 additions & 4 deletions api/static/500.html
Expand Up @@ -9,12 +9,13 @@
<meta name="keywords" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" href="/static/css/bootstrap.css" media="screen" type="text/css">
<link rel="stylesheet" href="/static/css/bootstrap-responsive.css" type="text/css">
<link rel="stylesheet" href="/static/css/bootstrap.min.css" media="screen" type="text/css">
<link rel="stylesheet" href="/static/css/bootstrap-responsive.min.css" type="text/css">
<link rel="stylesheet" href="/static/css/main.css" type="text/css">
<link rel="stylesheet" href="/static/css/deis-controller.css" type="text/css">
<link rel="shortcut icon" href="/static/favicon.ico">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.1.min.js"><\/script>')</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
<meta name='robots' content='noindex,nofollow' />
</head>
<body style="zoom: 1;">
Expand Down
9 changes: 9 additions & 0 deletions deis/context_processors.py
@@ -0,0 +1,9 @@

from django.contrib.sites.models import get_current_site
from django.utils.functional import SimpleLazyObject


def site(request):
return {
'site': SimpleLazyObject(lambda: get_current_site(request)),
}
1 change: 1 addition & 0 deletions deis/settings.py
Expand Up @@ -109,6 +109,7 @@
"django.contrib.messages.context_processors.messages",
"allauth.account.context_processors.account",
"allauth.socialaccount.context_processors.socialaccount",
"deis.context_processors.site",
)

MIDDLEWARE_CLASSES = (
Expand Down
8 changes: 4 additions & 4 deletions docs/theme/deis/layout.html
Expand Up @@ -25,15 +25,15 @@
<meta name="keywords" content="{{ meta['keywords'] if meta }}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="msvalidate.01" content="079E754911917142D42AB2A3694F9267" />
<link rel="stylesheet" href="{{ pathto('_static/css/bootstrap.css', 1) }}" type="text/css">
<link rel="stylesheet" href="{{ pathto('_static/css/bootstrap-responsive.css', 1) }}" type="text/css">
<link rel="stylesheet" href="{{ pathto('_static/css/bootstrap.min.css', 1) }}" type="text/css">
<link rel="stylesheet" href="{{ pathto('_static/css/bootstrap-responsive.min.css', 1) }}" type="text/css">
<link rel="stylesheet" href="{{ pathto('_static/css/main.css', 1) }}" type="text/css">
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css">
<link rel="shortcut icon" href="{{ pathto('_static/favicon.ico', 1) }}">
<script
<script src="{{ pathto('_static/js/modernizr-2.6.2-respond-1.1.0.min.js', 1) }}"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.1.min.js"><\/script>')</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
{%- if pagename == 'index' %}
<link rel="canonical" href="http://docs.deis.io/en/latest">
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion docs/theme/deis/static/searchtools.js
Expand Up @@ -471,7 +471,7 @@ var Search = {
$('footer').css('margin-top', '0');
$('.nav-border').css('height', '600');
pageHeight = $(document).height();
console.log(pageHeight);
// console.log(pageHeight);
$('.nav-border').css('height', pageHeight);

var margin = pageHeight - 511 - 158;
Expand Down

0 comments on commit b800549

Please sign in to comment.