Skip to content

Commit e695d47

Browse files
author
Kishore kumar J
committed
Added jqueryui and custom theme
1 parent 62efa98 commit e695d47

21 files changed

+1682
-2
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

static/css/custom-theme/jquery-ui-1.8.2.custom.css

+489
Large diffs are not rendered by default.

static/js/jquery-1.4.2.min.js

+154
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/js/jquery-ui-1.8.2.custom.min.js

+1,012
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/js/main.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
$(document).ready( function() {
2+
$('#datepicker').datepicker({
3+
inline: true
4+
});
5+
});
6+

templates/base.html

+21-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,33 @@
88
<meta http-equiv="X-XRDS-Location" content="http://{{ request.get_host }}{% url oid_xrdf %}" />
99
{% endif %}
1010
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/css/base.css" />
11+
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/css/custom-theme/jquery-ui-1.8.2.custom.css" />
12+
<script type="text/javascript" src="{{ MEDIA_URL }}/js/jquery-1.4.2.min.js">
13+
</script>
14+
<script type="text/javascript" src="{{ MEDIA_URL }}/js/jquery-ui-1.8.2.custom.min.js">
15+
</script>
16+
<script type="text/javascript" src="{{ MEDIA_URL }}/js/main.js">
17+
</script>
18+
<style type="text/css">
19+
body{ font: 62.5% "Trebuchet MS", sans-serif; margin: 50px;
20+
background-color:#100; color:#fff;}
21+
a { color: #5ff; }
22+
a:hover { color: #0f0; }
23+
a:visited { color: #099; }
24+
.demoHeaders { margin-top: 2em; }
25+
#dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
26+
#dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
27+
ul#icons {margin: 0; padding: 0;}
28+
ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left; list-style: none;}
29+
ul#icons span.ui-icon {float: left; margin: 0 4px;}
30+
</style>
1131
{% block head %}
1232
{% endblock %}
1333
</head>
1434
<body>
1535
<div class="user_info">
1636
{% if request.user.is_authenticated %}
17-
Hello {{ request.user }}, <a href="{% url user_signout %}">Sign out</a>
37+
Hello {{ request.user }}, <a href="{% url user_signout %}?next=/">Sign out</a>
1838
{% else %}
1939
<a href="{% url user_signin %}?next={{request.get_full_path}}">Log In</a> | <a href="{% url registration_register %}?next={{request.get_full_path}}">Register</a>
2040
{% endif %}
@@ -23,7 +43,6 @@
2343
{% block content %}
2444
This website is under construction
2545
{% endblock %}
26-
</div>
2746
</body>
2847
</html>
2948

0 commit comments

Comments
 (0)