Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated track query styling to be more compact.
Browse files Browse the repository at this point in the history
sarahboyce committed Jun 24, 2023
1 parent c557e59 commit dab1f86
Showing 4 changed files with 31 additions and 5 deletions.
28 changes: 26 additions & 2 deletions scss/trachacks.scss
Original file line number Diff line number Diff line change
@@ -108,8 +108,27 @@ pre.wiki {
white-space: pre-wrap;
}

#content.ticket {
width: auto;
#generic:has(#guest) {
// Reduce the options available to guests.
#query .option {
display: none;
}
}
#content {
margin-top: 1em;
.ticket {
width: auto;
}
.report-result {
margin-top: 1em;
}
.paging {
margin: 0;
}
// Hide the first paging options as also available at the bottom.
.report-result + .paging {
display: none;
}
}

.foldable {
@@ -199,6 +218,7 @@ div[role="main"]{
li {
border-right: 0;
padding: 1em;
margin-top: 0;

a {
font-size: 16px;
@@ -232,6 +252,10 @@ div[role="main"]{
}
}

#ctxtnav {
display: none;
}

#mainnav {
border: 0;
border-radius: 0;
4 changes: 2 additions & 2 deletions trac-env/conf/trac.ini
Original file line number Diff line number Diff line change
@@ -139,8 +139,8 @@ name = Django
url = https://code.djangoproject.com/

[query]
default_anonymous_query = status!=closed&desc=1&order=id
default_query = status!=closed&desc=1&order=id
default_anonymous_query = description~=&status!=closed&desc=1&order=id&col=id&col=summary&col=type&col=owner&col=component
default_query = description~=&status!=closed&desc=1&order=id&col=id&col=summary&col=type&col=owner&col=component

[repositories]
.dir = /django-mirror
2 changes: 1 addition & 1 deletion trac-env/htdocs/css/output.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions trac-env/templates/site.html
Original file line number Diff line number Diff line change
@@ -53,6 +53,8 @@ <h1>Issues</h1>
</div>
</div>

<py:if test="req.authname == 'anonymous' or req.authname == ''"><div id="guest"></div></py:if>

<py:if test="req.environ['PATH_INFO'] == '/'">
<div class="container sidebar-right">
<div role="main">

0 comments on commit dab1f86

Please sign in to comment.