Commits

Greg Newman committed 80d64e8

adding some media and breadcrumbs

Comments (0)

Files changed (9)

example/static/css/style.css

 	-webkit-border-radius: 4px;
 }
 
-.navbar a {
+.navbar a,
+.navbar {
     text-decoration: none;
     color: #ccc;
 }
 
-.navbar a:hover, {
+.navbar a:hover {
     color: #fff;
 }
 
Add a comment to this file

example/static/images/bullet_feed.png

Added
New image
Add a comment to this file

example/static/images/comment.png

Added
New image
Add a comment to this file

example/static/images/delete.png

Added
New image
Add a comment to this file

example/static/images/note.png

Added
New image

example/templates/site_base.html

 {% block body %}
     <div id="container">
         <div class="navbar">
-            <a href="{% url dashboard %}">Dashboard</a></a>
+            <a href="{% url dashboard %}">Dashboard</a> {% block extranav %}{% endblock %}
         </div>
         {% if messages %}
             <ul id="messages">

loupe/templates/loupe/corkboard_detail.html

 {% extends "site_base.html" %}
 {% load comments %}
 
+{% block extranav %} &bull; Project: <a href="{% url project_detail corkboard.project.slug %}">{{ corkboard.project }}</a> &bull; Corkboard: {{ corkboard }}{% endblock %}
+
 
 {% block content %}
     <h2>{{ corkboard.title }}</h2>
         <div class="image-thumb">
         {% get_comment_count for p as comment_count %}
         <a href="{% url image_detail p.id %}"><img src="{{ p.thumbnail_image.url }}" alt="{{ p.title }}"></a><br />
-        {{ comment_count }} Comments
+        {{ comment_count }} <img src="{{ MEDIA_URL }}images/comment.png" align="absmiddle" />
         {% if user.is_authenticated and user.is_staff %}
         <form action="{% url image_destroy p.id %}" method="POST">
             <input type="hidden" name="next" value="{{ request.path }}" />

loupe/templates/loupe/dashboard.html

         <ul>
         {% for cork in corkboards %}
             {% get_comment_count for cork as comment_count %}
-            <li><a href="{% url corkboard_detail cork.slug %}">{{ cork.title }}</a> {{ comment_count }} Comments</li>
+            <li><a href="{% url corkboard_detail cork.slug %}">{{ cork.title }}</a> {{ comment_count }} <img src="{{ MEDIA_URL }}images/comment.png" align="absmiddle" /></li>
         {% endfor %}
         </ul>
     </div>

loupe/templates/loupe/project_detail.html

 {% extends "site_base.html" %}
 {% load comments %}
 
+{% block extranav %} &bull; Project: <a href="{% url project_detail project.slug %}">{{ project }}</a>{% endblock %}
+
 {% block content %}
     <h2>{{ project.title }}</h2>
     <p>{{ cork.description }}</p>
     <ul>
         {% for cork in corkboards %}
         {% get_comment_count for cork as comment_count %}
-        <li><a href="{% url corkboard_detail cork.slug %}">{{ cork.title }}</a> {{ comment_count }} Comments
-        {% if user.is_authenticated and user.is_staff %}
+        <li>{% if user.is_authenticated and user.is_staff %}
         <form action="{% url corkboard_destroy cork.id %}" method="POST">
-            <input class="delete" type="submit" value="Delete" />
+            <input type="image" src="{{ MEDIA_URL }}images/delete.png" align="right" />
         </form>
-        {% endif %}</li>
+        {% endif %}<a href="{% url corkboard_detail cork.slug %}">{{ cork.title }}</a> {{ comment_count }} <img src="{{ MEDIA_URL }}images/comment.png" align="absmiddle" /></li>
         {% endfor %}
     </ul>
     </div>
 
     {% if user.is_authenticated %}
     <h2>Add New Corkboard</h2>
-    <p>A corkboard is a place to store images for review by client or project team.<br />
+    <p>A corkboard is a place to group images for review by client or project team.<br />
     Example: a home page corkboard will store all screenshots of the home page design revisions.</p>
     <form action="" method="POST">
         <table>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.