-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
afe73f3
commit 92a069c
Showing
4 changed files
with
95 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Django==1.4 | ||
django-bootstrapped==0.1.0-dev | ||
django-json-field==0.3 | ||
geopy==0.94.2 | ||
pymongo==2.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,65 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
|
||
<meta charset="utf-8"> | ||
<title>Sketch</title> | ||
{% load bootstrap %} | ||
|
||
<meta name="description" content="Sketch user interface"> | ||
<meta name="author" content="DDLab"> | ||
|
||
<!-- stylesheets here --> | ||
<!-- | ||
<link rel="stylesheet" href="css/styles.css?v=1.0"> | ||
--> | ||
<link rel="stylesheet" href="/static/sketch_ui/css/styles.css"> | ||
<!-- stylesheets end --> | ||
|
||
<!--[if lt IE 9]> | ||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
|
||
{% block css_1 %} | ||
{% endblock %} | ||
<!doctype html> | ||
<html> | ||
<head> | ||
{% bootstrap_css %} | ||
<link rel="stylesheet" href="/static/sketch_ui/css/styles.css"> | ||
|
||
<style> | ||
body { | ||
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ | ||
} | ||
</style> | ||
<title>{% block title %}{% endblock %}</title> | ||
<script src="/static/sketch/js/jquery.js"></script> | ||
|
||
</head> | ||
<body> | ||
|
||
|
||
<div class="navbar navbar-fixed-top"> | ||
<div class="navbar-inner"> | ||
<div class="container"> | ||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</a> | ||
<a class="brand" href="#">Sketch Browser</a> | ||
<div class="nav-collapse"> | ||
<ul class="nav pull-left"> | ||
<li class="active"><a href="#serverpanel">Server info</a></li> | ||
<li><a href="#querypanel">Query</a></li> | ||
<li><a href="#importpanel">Import</a></li> | ||
</ul> | ||
<ul class="nav pull-right"> | ||
<li><p class="navbar-text">Welcome {{ user }} </p></li> | ||
<li> | ||
|
||
</head> | ||
<form class="navbar-form" method="get" action="/logout/"> | ||
<input class="btn" type="submit" name="logout-button" value="Log me out"/> | ||
</form> | ||
|
||
<body> | ||
</li> | ||
|
||
|
||
{% block content %} | ||
{% endblock %} | ||
</ul> | ||
</div><!--/.nav-collapse --> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script src="/static/sketch/js/jquery.js"></script> | ||
<script src="/static/sketch/js/sketch.js"></script> | ||
|
||
{% block js_body %} | ||
{% endblock %} | ||
<div class="container"> | ||
|
||
{% block content %}{% endblock %} | ||
|
||
</body> | ||
</html> | ||
</div> <!-- /container --> | ||
|
||
|
||
{% bootstrap_js all %} | ||
<script src="/static/sketch/js/sketch.js"></script> | ||
{% block js_body %} | ||
{% endblock %} | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,6 +129,7 @@ | |
|
||
#json field | ||
'json_field', | ||
'bootstrapped', | ||
|
||
#our apps | ||
'sketch', | ||
|