Commit d1300884 authored by Daniel W Bond's avatar Daniel W Bond

moved 'settings' to 'advisor'

parent ed76d1eb
......@@ -72,9 +72,9 @@ MIDDLEWARE_CLASSES = (
'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
ROOT_URLCONF = 'settings.urls'
ROOT_URLCONF = 'advisor.urls'
WSGI_APPLICATION = 'settings.wsgi.application'
WSGI_APPLICATION = 'advisor.wsgi.application'
# Database
......
......@@ -3,7 +3,7 @@ import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "advisor.settings")
from django.core.management import execute_from_command_line
......
{% extends 'layouts/base.html' %}
{% block title %}
{% endblock %}
{% block content %}
{% endblock %}
{% extends 'layouts/base.html' %}
{% block title %}
GMU Advisor | Analytics
{% endblock %}
{% block content %}
<div class="page-header" id="banner">
<div class="row">
<div class="col-md-12 text-center">
<h1>Analytics</h1>
<p class="lead">Some information we've discovered from our users.</p>
</div>
</div>
</div>
<div class="row well">
<legend>Popularity</legend>
<p>Most popular classes</p>
<p>Most popular program</p>
<p>Most popular department</p>
<p>Popularity over time</p>
<p>Percentage BS majors | Percentage BA majors</p>
<p>Percentage with minors</p>
<p>Most popular program combinations</p>
</div>
<!-- Our users versus GMU official statistics. -->
<div class="row well">
<legend>You vs. Your Peers</legend>
<div class="col-md-6">
<h3>In your year</h3>
<!-- Similar information as above -->
</div>
<div class="col-md-6">
<h3>With Your Same Major</h3>
<!-- Similar information as above -->
</div>
{% endblock %}
{% extends 'layouts/base.html' %}
{% block title %}
GMU Advisor | Compare
{% endblock %}
{% block content %}
<div class="page-header" id="banner">
<div class="row">
<div class="col-md-12 text-center">
<h2>Compare Trajectories</h2>
</div>
</div>
</div>
<div class="row well">
<legend>Choose up to three</legend>
<div class="col-md-12">
<form class="form-vertical" action="" method="post" role="form" enctype="multipart/form-data">
<!-- learn what enctype does when you have internet -->
<div class="form-group">
<label for "myTrajectories" class="col-md-2">My Trajectories</label>
<div class="col-md-3">
<select class="form-control">
<option>My Trajectory 1</option>
<option>My Trajectory 2</option>
<option>My Trajectory 3</option>
<option>My Trajectory 4</option>
</select>
</div>
<div class="col-md-1">
<button type="button" class="btn btn-primary">+</button>
</div>
</div>
<div class="form-group">
<label for "myTrajectories" class="col-md-2">Public Trajectories</label>
<div class="col-md-3">
<input type"text" class="form-control" id="Trajectory" placeholder="dbond2">
</div>
<div class="col-sm-1">
<button type="button" class="btn btn-primary">+</button>
</div>
</div>
<!-- spacing should be fixed -->
<br />
<br />
<div class="form-group">
<div class="col-md-offset-11 col-md-">
<button type="submit" class="btn btn-primary" value="Submit">Submit</button>
</div>
</div>
</form>
</div>
</div>
<p> This is just what this lower part is going to look like-- it actually needs
to be loaded on submit with JavaScript ;_; </p>
<p> TopTrajectory stuff needed </p>
<!-- have an if statement that will have the courses in two columns if only
two are selected -->
<div class="row">
<div class="col-md-4 well">
<h3>Trajectory One's Name</h3>
<h4><p>Name(s) of the programs</p></h4>
{% for trajectory in previousTrajectories %}
<div class="col-md-4">
{% for course in trajectory %}
{% endfor %}
</div>
{% endfor %}
</div>
<div class="col-md-4 well">
<h3>Trajectory Two's Name</h3>
<h4><p>Name(s) of the programs</p></h4>
{% for trajectory in previousTrajectories %}
<div class="col-md-4">
{% for course in trajectory %}
<div class="col-md-4">
Information about the class
</div>
{% endfor %}
Information about the semester
</div>
{% endfor %}
</div>
<div class="col-md-4 well">
<h3>Trajectory Three's Name</h3>
<h4><p>Name(s) of the programs</p></h4>
{% for trajectory in previousTrajectories %}
<div class="col-md-4">
{% for course in trajectory %}
{% endfor %}
</div>
{% endfor %}
</div>
</div>
<div class="row well">
<legend>Automatic comparisons of your selected trajectories.</legend>
<div class="col-md-12">
<p>Trajectory one will take longer to complete.</p>
<p>Trajectory two has fewer higher-level classes.</p>
<p>Trajectory one has the lightest average courseload.</p>
</div>
<div class="col-md-12">
<p>Common courses between trajectories include:</p>
</div>
<div class="col-md-6">
<p>Additional electives (courses not required for the completion of your
selected program) for trajectory one include:</p>
</div>
<div class="col-md-6">
<p>Additional electives (courses not required for the completion of your
selected program) for trajectory two include:</p>
</div>
</div>
{% endblock %}
{% extends 'layouts/base.html' %}
{% block title %}
GMU Advisor | Name of Course
{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-8">
<h3>Introduction to Computer Science: CS 101</h3>
</div>
</div>
<div class="row">
<div class="col-md-8">
<h4><strong>Department of Computer Science</strong></h4>
</div>
</div>
<div class="row">
<div class="col-md-4">
<h4>Credit Hours: 3</h4>
</div>
</div>
<div class="row">
<div class="col-md-4">
<h4>Prerequisites: None</h4>
</div>
<div class="col-md-4">
<h4>Corequisities: <a href="#">CS 112</a></h4>
</div>
</div>
<div class="row">
<div class="col-md-8">
<h4>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius.</h4>
</div>
</div>
{% endblock %}
{% extends 'layouts/base.html' %}
{% block title %}
GMU Advisor | {{ student.user.first_name }} {{ student.user.last_name }}
{% endblock %}
{% block content %}
{% load gravatar %}
<div class="row">
<div class="col-md-6">
<h3>{{ student.user.first_name }} {{ student.user.last_name }}</h3>
</div>
<div class="col-md-6">
<img class="img-circle img-responsive center-block" src="{% gravatar url 'daniel@dbond.cc' 200 %}">
<!-- don't have a gravatar? make one here! -->
</div>
<h4><strong>My Trajectories</strong></h4>
{% for trajectory in topTrajectories %}
<div class="row">
<div class="col-md-5">
<h4>{{ trajectory.name }}</h4>
</div>
<div class="col-md-1">
<button type="button" class="btn btn-primary">Edit</button>
</div>
<div class="col-md-1">
{% if trajectory.isPublic %}
<button type="button" class="btn btn-success">Public</button>
{% else %}
<button type="button" class="btn btn-default">Private</button>
{% endif %}
</div>
<div class="col-md-1">
<button type="button" class="btn btn-danger">Delete</button>
</div>
</div>
{% endfor %}
<!-- potential issue with naming new trajectories: there will have to be
a way to rename whenever a new branch off is created ->
{% endblock %}
{% extends 'layouts/base.html' %}
{% block title %}
GMU Advisor | Trajectory Name
{% endblock %}
{% block content %}
<div class="page-header" id="banner">
<div class="row">
<div class="col-md-12 text-center">
<h1>Trajectory Name</h1>
<p class="lead">Student Name</p>
</div>
</div>
</div>
<div class="row">
<legend>Trajectories</legend>
{% for trajectory in trajectories %}
<div class="col-md-12">
<!-- the semester -->
{% for course in trajectory %}
<div class="col-md-4">
{{ course.name }}
</div>
{% endfor %}
</div>
{% endfor %}
</div>
</div>
{% endblock %}
{% extends 'layouts/base.html' %}
{% block title %}
GMU Advisor | Search
{% endblock %}
{% block content %}
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12 text-center">
<h1>Search</h1>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<form class="form-horizontal" role="form" method="get">
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-search"></span>
</span>
{{ form.q }}
</div>
</form>
</div>
</div>
{% if query %}
<hr />
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
{% if page.object_list %}
<h3 class="text-center">Search Results</h3>
<div class="list-group">
{% endif %}
{% for result in page.object_list %}
<a class="list-group-item" href="{{ result.object.get_absolute_url }}">
<strong>{{ result.object }}</strong>
</a>
{% empty %}
<h3 class="text-center">No results found.</h3>
{% endfor %}
{% if page.object_list %}
</div>
{% endif %}
</div>
</div>
</div>
<div class="row">
<div class="col-lg-5 col-lg-offset-3">
<ul class="pager">
{% if page.has_previous %}
<li class="previous">
<a href="?q={{ query }}&amp;page={{ page.previous_page_number }}">
&larr; Previous
</a>
</li>
{% else %}
<li class="previous disabled">
<a>
&larr; Previous
</a>
</li>
{% endif %}
{% if page.has_next %}
<li class="next">
<a href="?q={{ query }}&amp;page={{ page.next_page_number }}">
Next &rarr;
</a>
</li>
{% else %}
<li class="next disabled">
<a>
Next &rarr;
</a>
</li>
{% endif %}
</ul>
</div>
</div>
{% endif %}
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment