Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed all other inline styles
  • Loading branch information
keul committed Jul 31, 2013
1 parent 1c4dfb3 commit 925feb3
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 8 deletions.
6 changes: 5 additions & 1 deletion CHANGES.rst
Expand Up @@ -5,8 +5,12 @@ Changelog for Poi
2.2.5 (unreleased)
------------------

- Fixed mail templates styles for new issue and new response [cekk]
- Fixed mail templates styles for new issue and new response
[cekk]

- Some style fixes; removed all inline styles left, translated to
CSS rules.
[keul]

2.2.4 (2013-07-02)
------------------
Expand Down
4 changes: 2 additions & 2 deletions Products/Poi/browser/response.pt
Expand Up @@ -154,9 +154,9 @@
upload unnecessarily large files.
</div>

<div style="padding-top: 1em;">
<div class="responseAttachment">

<div style="padding-left: 1.5em; padding-top: 0.5em;">
<div>

<input size="30" name="attachment" id="attachment" type="file" />

Expand Down
21 changes: 20 additions & 1 deletion Products/Poi/skins/Poi/poi.css.dtml
Expand Up @@ -35,7 +35,7 @@
}

#poi-watch-tracker-form {
display: inline;
display: inline;
}

/* Search table */
Expand Down Expand Up @@ -141,6 +141,17 @@ ul.issue-tags-tags a {

}

#poi-watch-issue-form {
display: inline;
}

.issue-info-box .unassigned {
text-align: center;
}

.formControls .editIssue {
display: inline;
}

/* Different response types */

Expand Down Expand Up @@ -178,6 +189,14 @@ ul.issue-tags-tags a {
text-transform: lowercase;
}

#poi-fieldname-attachment .responseAttachment {
padding-top: 1em;
}
#poi-fieldname-attachment .responseAttachment div {
padding-left: 1.5em;
padding-top: 0.5em;
}

/* Response actions box */
.response-actions {
float: right;
Expand Down
9 changes: 5 additions & 4 deletions Products/Poi/skins/Poi/poi_issue_view.pt
Expand Up @@ -123,8 +123,8 @@
tal:define="manager python:pas_member.info(responsibleManager)"
tal:attributes="href string:${issueQueryString}&amp;responsible=${responsibleManager};"
tal:content="manager/name_or_id" />
<div tal:condition="python:responsibleManager == '(UNASSIGNED)'"
style="text-align:center">&#8212;</div>
<div class="unassigned" tal:condition="python:responsibleManager == '(UNASSIGNED)'"
>&#8212;</div>
</td>
</tr>
<tr tal:condition="here/isUsingReleases">
Expand Down Expand Up @@ -169,7 +169,7 @@
</li>
</ul>
</div>
<form style="display: inline" action="@@toggle_watching"
<form action="@@toggle_watching"
id="poi-watch-issue-form"
tal:condition="python:not isAnon and not isManager and not isSubmitter">
<div class="formControls">
Expand Down Expand Up @@ -200,7 +200,8 @@
</div>

<div class="formControls">
<form style="display: inline" action="edit"
<form action="edit"
class="editIssue"
tal:condition="python: user.has_permission('Modify portal content', here)">
<input class="context"
type="submit"
Expand Down

0 comments on commit 925feb3

Please sign in to comment.