Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rogerly/txt2wrk
Browse files Browse the repository at this point in the history
Conflicts:
	templates/about/homepage_base.html
	templates/base.html
  • Loading branch information
rogerly committed Jan 5, 2012
2 parents 61e0d50 + 6b1732c commit dadda98
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 5 deletions.
13 changes: 13 additions & 0 deletions deploy/wsgi/employers_wsgi.py
@@ -0,0 +1,13 @@
SITE_DIR = '/var/www/employers.txt2wrk.net/src/txt2wrk'
import site
site.addsitedir(SITE_DIR)

import os
import sys
sys.path.append(SITE_DIR)

os.environ['DJANGO_SETTINGS_MODULE'] = 'txt2wrk.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()


13 changes: 13 additions & 0 deletions deploy/wsgi/txt2wrk_wsgi.py
@@ -0,0 +1,13 @@
SITE_DIR = '/var/www/www.txt2wrk.net/src/txt2wrk'
import site
site.addsitedir(SITE_DIR)

import os
import sys
sys.path.append(SITE_DIR)

os.environ['DJANGO_SETTINGS_MODULE'] = 'txt2wrk.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()


2 changes: 1 addition & 1 deletion media/css/loggedin.css
Expand Up @@ -95,4 +95,4 @@ div#demo-header h2 {
font-size: 18px;
font-weight: normal;
color: #fff;
}
}
3 changes: 2 additions & 1 deletion media/css/loggedout.css
Expand Up @@ -16,6 +16,7 @@ body > div > header > h1 {
color: transparent;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
font-size: 80px;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

body > div > header > h1 > a,
Expand Down Expand Up @@ -416,4 +417,4 @@ input.phone_part_last {
.contact label {
font-size: 13px;
line-height: 13px;
}
}
10 changes: 10 additions & 0 deletions templates/500.html
@@ -0,0 +1,10 @@
<html>
<head><title>Whoops</title></head>
<body>

<h1>Whoa, whoa, whoa</h1>

<p>Something bad happened here. We're on it. If you want to <a href="{% url contact %}">contact us</a>, feel free to do so. Otherwise, <a href="/">head on out of here</a> and don't do it again.</p>
</body>
</html>

2 changes: 1 addition & 1 deletion templates/about/about.html
Expand Up @@ -73,7 +73,7 @@ <h3>Contributors</h3>
<dt>Allison McKeever</dt>
<dd>Advisor</dd>
<dt>Alex Tam</dt>
<dd>Advisor</dd>
<dd>Designer</dd>
</dl>
</div>
<div class="clearing"></div>
Expand Down
25 changes: 25 additions & 0 deletions templates/about/homepage_base.html
Expand Up @@ -21,8 +21,33 @@
location.href = $(this).parent().attr('href');
return false;
});
<<<<<<< HEAD
})
</script>
=======
$('form button').click(function() {
if (!$(this).hasClass('no-submit')) {
$(this).closest('form').submit();
return false;
}
});
})
</script>
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-26098347-1']);
_gaq.push(['_setDomainName', '.txt2wrk.net']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
>>>>>>> 6b1732c297e2e0346cf3eb150a5220dd99757b00
</head>
<body class="{% block page_class %}{% endblock %}">
<div>
Expand Down
2 changes: 1 addition & 1 deletion templates/applicant/registration/verify_phone.html
Expand Up @@ -50,4 +50,4 @@ <h2>Problems?</h2>
<button>Sign In</button>
</form>
</section>
{% endblock %}
{% endblock %}
25 changes: 24 additions & 1 deletion templates/base.html
Expand Up @@ -17,10 +17,16 @@
<script type="text/javascript">
$(document).ready(function() {
$('a > button').click(function() {
<<<<<<< HEAD
location.href = $(this).parent().attr('href');
return false;
});

=======
location.href = $(this).parent().attr('href');
return false;
});
>>>>>>> 6b1732c297e2e0346cf3eb150a5220dd99757b00
$('form button').click(function() {
if (!$(this).hasClass('no-submit')) {
$(this).closest('form').submit();
Expand All @@ -29,6 +35,23 @@
});
})
</script>
<<<<<<< HEAD
=======
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-26098347-1']);
_gaq.push(['_setDomainName', '.txt2wrk.net']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
>>>>>>> 6b1732c297e2e0346cf3eb150a5220dd99757b00
</head>
<body class="{% block page_class %}{% endblock %}">
{% if DEMO_ENABLED %}
Expand All @@ -53,4 +76,4 @@ <h5>Thanks for visiting!</h5>
</footer>
</div>
</body>
</html>
</html>

0 comments on commit dadda98

Please sign in to comment.