Skip to content

Commit

Permalink
Removed meta type column from manage_main, because of also removed icons
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTango committed Feb 4, 2017
1 parent c8b74f5 commit e195ce0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Bugs Fixed

- Use unicode transaction-notes to support ZODB 5.
[pbauer]

- Move _html and _error_html to HTTPBaseResponse to support views that return
a HTML `(title, body)` tuple in WSGIResponses.
[MatthewWilkes]
Expand All @@ -50,6 +50,9 @@ Bugs Fixed
and zope.security (Unauthorized, NotFound, BadRequest, Redirect)
into the corresponding exceptions from zExceptions. [davisagli]

- Removed meta type column from manage_main, because of also removed icons
[MrTango]

Features Added
++++++++++++++

Expand Down
15 changes: 15 additions & 0 deletions src/App/dtml/manage_page_style.css.dtml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,21 @@ form {
font-weight: bold;
}

.object_item_checkbox_col{
width: 25px;
text-align: center;
}

.object_item_name_col{
width: auto;
text-align: left;
}

.object_item_size_col{
width: 15%;
text-align: left;
}

.row-normal {
background-color: #ffffff;
border: none;
Expand Down
12 changes: 4 additions & 8 deletions src/OFS/dtml/main.dtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="form-element">
<form action="<dtml-var "REQUEST.URL1" html_quote>/" method="get">
<dtml-if "_.len(filtered_meta_types) > 1">
<select class="form-element" name=":action"
<select class="form-element" name=":action"
onchange="location.href='<dtml-var "REQUEST.URL1" html_quote>/'+this.options[this.selectedIndex].value">
<option value="manage_workspace" disabled="disabled">Select type to add...</option>
<dtml-in filtered_meta_types mapping sort=name>
Expand Down Expand Up @@ -39,13 +39,12 @@

<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr class="list-header">
<td width="5%" align="right" colspan="2">
<div class="list-item">Type</div>
<td class="object_item_checkbox_col">
</td>
<td width="50%" align="left">
<td class="object_item_name_col">
<div class="list-item">Name</div>
</td>
<td width="15%" align="left">
<td class="object_item_size_col">
<div class="list-item">Size</div>
</td>
</tr>
Expand All @@ -59,9 +58,6 @@
<td align="left" valign="top" width="16">
<input type="checkbox" name="ids:list" value="&dtml-sequence-key;" />
</td>
<td align="left" valign="top" nowrap="nowrap">
<i>&dtml-meta_type;</i>
</td>

<td align="left" valign="top">
<div class="list-item">
Expand Down

0 comments on commit e195ce0

Please sign in to comment.