Skip to content

Commit

Permalink
refined navigation page and finished unit tests and user stories
Browse files Browse the repository at this point in the history
  • Loading branch information
mdk6jd committed Oct 7, 2016
1 parent a58da3e commit 7d6978e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
12 changes: 6 additions & 6 deletions web/daasapp/templates/web/lets-grade.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ <h1>ISA Project 3 Let's Grade</h1>
<li class="list-group-item list-group-item-success">
<h3 class="list-group-item-heading">Navigating</h3>
<p class="list-group-item-text">
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
<p> User Page - Click on 'User Profiles' on the home page to access user page. We currently have 200 users on the site. Find them by putting a monotically increasing user id number at the end of the url. e.g /user/64. If you request a user id above the number of fixtures we have installed, you will be redirected to a custom 404 error page. </p>
<a href = "{% url 'userprofile_noargs' %} " > Click here to take you to User Profiles. </a>
<p> Product Page - Click on 'woa, c00l dr0n35' on the home page to access product page. We currently have 200 drones on the site. Find them by putting a monotically increasing user id number at the end of the url. e.g /product-details/64. If you request a drone id above the number of fixtures we have installed, you will be redirected to a custom 404 error page.</p>
<a href = "{% url 'product-details_noargs' %} " > Click here to take you to Product Page. </a>
</p>
</li>

Expand All @@ -33,9 +32,10 @@ <h3 class="list-group-item-heading">User Stories</h3>
<li class="list-group-item list-group-item-warning">
<h3 class="list-group-item-heading">Unit Tests</h3>
<p class="list-group-item-text">
<p> Each number for the unit tests corresponds to the respective user story above. </p>
<p> 1. <a href = "https://github.com/samuelhavron/daas/blob/master/models/daasapp/tests/test_users.py#L14-L24"> See code that creates user profile using UserForm. </a> </p>
<p> 2. <a href = "https://github.com/samuelhavron/daas/blob/master/models/daasapp/tests/test_users.py#L27-L68"> See code that inspects users and gets user attributes. </a> </p>
<p> 3. <a href = "https://github.com/samuelhavron/daas/blob/master/models/daasapp/tests/test_drones.py#L10-L52"> See code that creates drones, gets drone attributes and tests invalid drone ids. </a> </p>
<p> 3. <a href = "https://github.com/samuelhavron/daas/blob/master/models/daasapp/tests/test_drones.py#L10-L48"> See code that creates drones, gets drone attributes and tests invalid drone ids. </a> </p>
<p> 4. <a href = "https://github.com/samuelhavron/daas/blob/master/models/daasapp/tests/test_users.py#L53-L54" > See code that inspects biography. </a> </p>
<p> 5. <a href = "https://github.com/samuelhavron/daas/blob/master/models/daasapp/tests/test_users.py#L55-L57" > See code that inspects when the user signed up. </a> </p>
<p> 6. <a href = "https://github.com/samuelhavron/daas/blob/master/models/daasapp/tests/test_drones.py#L50-L55" > See code that tests 3 most recent drones available. </a> </p>
Expand Down
3 changes: 0 additions & 3 deletions web/daasapp/templates/web/product-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
{% load staticfiles %}
{% block title_block %} daas product details {% endblock %}
{% block headtag_block %}
{{resp}}



<link href="{% static "css/zoom.css" %}" rel="stylesheet">
}
}
{% endblock %}
{% block body_block %}

Expand Down

0 comments on commit 7d6978e

Please sign in to comment.