Skip to content

Commit

Permalink
Ran a test to see what it would be like to use the tool with a long
Browse files Browse the repository at this point in the history
document and what broke. I used Middlemarch (700 page). I made the title
a link to the top of the page
  • Loading branch information
jtobin1 committed Oct 28, 2011
1 parent 1c9c4c0 commit f4790e2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
3 changes: 2 additions & 1 deletion deme_django/TODO
Expand Up @@ -70,7 +70,8 @@ Interface
* When viewing a Folio and expanding the Accordion the viewer does not adjust width and overlaps the accordion. Might not be an issue since we're getting rid of the accordion. (Jimmy 10/23/11)
* When viewing all the items (viewing 100 at a time on the item menu) the top banner disappears behind the list viewer. (Jimmy 10/27/11)
* When creating an html document TinyMCE overlaps with the banner when you scroll. (Jimmy 10/27/11)

* In a long document (I tested a 700 page document to see what would break) the line does not show up for located comments. (Jimmy 10/27/11)
* The new edit button does not work and says there is a problem with lock refresh. (Jimmy 10/27/11)
Documentation
-------------
* Document more functions with docstrings more
Expand Down
16 changes: 8 additions & 8 deletions deme_django/cms/templates/default_layout.html
Expand Up @@ -301,14 +301,14 @@ <h3>Permissions</h3>
{# TODO add magnifying glass #}
</form>
<div class="title">
{% block title %}
{% if item %}
<img src="{{ item.actual_item_type|icon_url:24 }}" title="{% item_type_verbose_name item %}" /> {% viewable_name item %}{% if action_title %} &raquo; {{ action_title }}{% endif %}
{% else %}
<img src="{{ accepted_item_type|icon_url:24 }}" title="{% item_type_verbose_name accepted_item_type %}" /> {% if action_title %}{{ action_title }}{% else %}{{ accepted_item_type_name_plural|capfirst }}{% endif %}
{% endif %}
{% endblock title %}
</div>
{% block title %}
{% if item %}
<img src="{{ item.actual_item_type|icon_url:24 }}" title="{% item_type_verbose_name item %}" /> <a href="#">{% viewable_name item %}{% if action_title %} &raquo; {{ action_title }}{% endif %}</a>
{% else %}
<img src="{{ accepted_item_type|icon_url:24 }}" title="{% item_type_verbose_name accepted_item_type %}" /> <a href="#">{% if action_title %}{{ action_title }}{% else %}{{ accepted_item_type_name_plural|capfirst }}{% endif %}</a>
{% endif %}
{% endblock title %}
</div>


</div>
Expand Down
6 changes: 6 additions & 0 deletions deme_django/static/stylesheets/base.css
Expand Up @@ -74,6 +74,12 @@ div.title img {
vertical-align: middle;
}

div.title a {
text-decoration: none;
color: black;

}

div.metadata_content {
border: thin solid #888;
background: #eee;
Expand Down

0 comments on commit f4790e2

Please sign in to comment.