Skip to content

Commit

Permalink
Added screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
aliyarahman committed Dec 7, 2014
1 parent 34c6514 commit 228cfdc
Show file tree
Hide file tree
Showing 16 changed files with 138 additions and 4 deletions.
Binary file added screenshots/backend_interface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/landing_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/manual_employer_entry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions second_chance/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
second_chance/settings_hidden.py
venv
*.pyc
Binary file removed second_chance/app/__init__.pyc
Binary file not shown.
Binary file removed second_chance/app/admin.pyc
Binary file not shown.
Binary file removed second_chance/app/models.pyc
Binary file not shown.
21 changes: 21 additions & 0 deletions second_chance/app/templates/employer_home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{% extends "base.html" %}
{% block container %}
{% load staticfiles %}


<div>
<div class="row">

<div class="col-lg-12">
<h1> Not listed on the site yet? Sign up here.</h1>
<h1> Edit profile.</h1>

</div>

</div>


</div>


{% endblock %}
24 changes: 24 additions & 0 deletions second_chance/app/templates/rate.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{% extends "base.html" %}
{% block container %}
{% load staticfiles %}


<div>
<div class="row">

<div class="col-lg-12">
<h1> Tell us about your experience interviewing for a job as a returning citizen.</h1>
</div>
<div>

<div class="row">
<div class="col-lg 4"><div class="btn btn-lg">Search for a company to rate</div></div>
</div>

</div>


</div>


{% endblock %}
26 changes: 26 additions & 0 deletions second_chance/app/templates/results.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{% extends "base.html" %}
{% block container %}
{% load staticfiles %}


<div>
<div class="row">

<div class="col-lg-12">
<h1> Your results:</h1>
{% for employer in employers %}

{{employer.name}}
{{employer.industry.name}}

{% endfor %}

</div>

</div>


</div>


{% endblock %}
19 changes: 19 additions & 0 deletions second_chance/app/templates/search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% extends "base.html" %}
{% block container %}
{% load staticfiles %}


<div>
<div class="row">

<div class="col-lg-10 col-lg-offset-1">
<h1> This is the search page - there's nothing here yet!</h1>
</div>

</div>


</div>


{% endblock %}
8 changes: 6 additions & 2 deletions second_chance/app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
urlpatterns = patterns('',
url(r'^$', views.index, name='index'),
url(r'^about/$', views.about, name='about'),
url(r'^rate/$', views.rate, name='rate'),
url(r'^search/$', views.search, name='search'),
url(r'^employer/(?P<employer_id>\d+)/edit/$', views.employer, name='employer'),
)
url(r'^results/$', views.results, name='results'),
url(r'^employer_home/$', views.employer_home, name='employer_home'),
url(r'^employer/(?P<employer_id>\d+)/add/$', views.add_employer, name='add_employer'),
url(r'^employer/(?P<employer_id>\d+)/edit/$', views.edit_employer, name='edit_employer'),
)
Binary file removed second_chance/app/urls.pyc
Binary file not shown.
17 changes: 15 additions & 2 deletions second_chance/app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,21 @@ def index(request):
def about(request):
return render(request, "about.html")

def rate(request):
return render(request, "rate.html")

def search(request):
return render(request, "search.html")

def employer(employer, employer_id):
return render(request, "employer.html")
def results(request):
employers = Employer.objects.all()
return render(request, "results.html", {'employers':employers})

def employer_home(employer):
return render(request, "employer_home.html")

def add_employer(employer, employer_id):
return render(request, "add_employer.html")

def edit_employer(employer, employer_id):
return render(request, "edit_employer.html")
Binary file removed second_chance/app/views.pyc
Binary file not shown.
25 changes: 25 additions & 0 deletions second_chance/db_populate.py.save
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Accounting / Finance / Insurance
Administrative / Clerical
Banking / Real Estate / Mortgage Professionals
Building Construction / Skilled Trades
Business / Strategic Management
Creative / Design
Customer Support / Client Care
Editorial / Writing
Education / Training
Engineering
Food Services / Hospitality
Human Resources
IT / Software Development
Installation / Maintenance / Repair
Legal
Logistics / Transportation
Manufacturing / Production / Operations
Marketing / Product
Medical / Health
Other
Project / Program Management
Government/ Public Service
Non-profit/ Community
Sales / Retail / Business Development
Security / Protective Services

0 comments on commit 228cfdc

Please sign in to comment.