Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
advisor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SRCT
advisor
Commits
aac2e7c0
Commit
aac2e7c0
authored
Mar 02, 2014
by
Ben Waters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trying to work on new from
parent
e898b879
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
3 deletions
+79
-3
advisor/mainapp/templates/new-temp.html
advisor/mainapp/templates/new-temp.html
+74
-0
advisor/mainapp/templates/new.html
advisor/mainapp/templates/new.html
+5
-3
No files found.
advisor/mainapp/templates/new-temp.html
0 → 100644
View file @
aac2e7c0
{% extends 'layouts/base.html' %}
{% block title %}
New | MySchool Advisor
{% endblock %}
{% block content %}
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-md-12 text-center"
>
<h1><strong>
New Trajectory
</strong></h1>
<p
class=
"lead"
>
Pick the programs you'd like to visualize completing your degree.
</p>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-offset-1 col-md-10 well"
>
<form
class=
"form-horizontal"
action=
"{% url 'build-me' %}"
method=
"post"
role=
"form"
enctype=
"multipart/form-data"
>
{% csrf_token %}
<fieldset>
<legend>
Select your program(s).
</legend>
<div
class=
"form-group{% if starttrajectoryform.name.errors %} has-error {% endif %}"
>
<label
for
"{{
starttrajectoryform.name.id_for_label
}}"
class=
"col-sm-2"
>
{{ starttrajectoryform.name.id_for_label }}
</label>
<div
class=
"col-sm-8"
>
{{ starttrajectoryform.name }}
{% for error in starttrajectoryform.name.errors %}
<span
class=
"help-block"
>
{{ error }}
</span>
{% endfor %}
<!-- autocompletion would be awesome -->
</div>
<div
class=
"col-sm-offset-1 col-sm-1"
>
<button
type=
"button"
class=
"btn btn-primary"
>
+
</button>
</div>
</div>
<!-- Javascript for adding an additional field -->
<!-- Ensure no more than two majors -->
<legend>
Select your minor(s).
</legend>
<div
class=
"form-group{% if starttrajectoryform.name.errors %} has-error {% endif %}"
>
<label
for
"{{
starttrajectoryform.name.id_for_label
}}"
class=
"col-sm-2"
>
{{ starttrajectoryform.name.id_for_label }}
</label>
<div
class=
"col-sm-8"
>
{{ starttrajectoryform.name }}
{% for error in starttrajectoryform.name.errors %}
<span
class=
"help-block"
>
{{ error }}
</span>
{% endfor %}
<!-- autocompletion would be awesome -->
</div>
<div
class=
"col-sm-offset-1 col-sm-1"
>
<button
type=
"button"
class=
"btn btn-primary"
>
+
</button>
</div>
</div>
<!-- Javascript for adding an additional field -->
<!-- ensure no more than three minors -->
<div
class=
"form-group"
>
<div
class=
"col-sm-offset-10 col-sm-2"
>
<button
type=
"submit"
class=
"btn btn-primary btn-block"
value=
"Submit"
>
Submit
</button>
<!-- find the bar across the top loading js -->
</div>
</div>
</fieldset>
</form>
</div>
</div>
{% endblock %}
advisor/mainapp/templates/new.html
View file @
aac2e7c0
...
...
@@ -32,9 +32,11 @@ New | MySchool Advisor
{% endfor %}
<!-- autocompletion would be awesome -->
</div>
<div
class=
"col-sm-offset-1 col-sm-1"
>
<button
type=
"button"
class=
"btn btn-primary"
>
+
</button>
</div>
<select
multiple
class=
"form-control"
>
{% for major in majors %}
<option
value=
"{{major.id}}"
>
{{major}}
</option>
</select>
{% endfor %}
</div>
<!-- Javascript for adding an additional field -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment