Skip to content

Commit

Permalink
Move app-bar to main panel (#239)
Browse files Browse the repository at this point in the history
* Move app-bar to main panel

* Update pom.xml

Co-authored-by: Alexander Brandes <brandes.alexander@web.de>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
  • Loading branch information
3 people committed Oct 22, 2022
1 parent 4f59508 commit 6e2785f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

<properties>
<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.346.1</jenkins.version>
<jenkins.version>2.374</jenkins.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<maven-surefire-report-plugin.version>${maven-surefire-plugin.version}</maven-surefire-report-plugin.version>
<maven-hpi-plugin.injectedTestName>InjectedIT</maven-hpi-plugin.injectedTestName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="stylesheet" type="text/css" href="${rootURL}/plugin/jobConfigHistory/css/style.css" />

<st:include it="${it.project}" page="sidepanel.jelly" />
<l:app-bar title="${%Job Configuration History}"/>
<l:main-panel>
<l:app-bar title="${%Job Configuration History}"/>
<div>
<script src="${rootURL}/plugin/jobConfigHistory/deleteRevisionAndTableEntry.js" />
<j:set var="defaultEntriesPerPage" value="${it.getMaxEntriesPerPage()}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,24 @@
<j:set var="filter" value="${request.getParameter('filter')}" />
<j:set var="filter" value="${filter == null ? 'system' : filter}" />

<j:choose>
<j:when test="${filter == 'all'}">
<l:app-bar title="${%All Configuration History}"></l:app-bar>
</j:when>
<j:when test="${filter == 'jobs'}">
<l:app-bar title="${%Job Configuration History}"></l:app-bar>
</j:when>
<j:when test="${filter == 'created'}">
<l:app-bar title="${%Job Creation History}"></l:app-bar>
</j:when>
<j:when test="${filter == 'deleted'}">
<l:app-bar title="${%Job Deletion History}"></l:app-bar>
</j:when>
<j:otherwise>
<l:app-bar title="${%All Configuration History}"></l:app-bar>
</j:otherwise>
</j:choose>

<l:main-panel>
<j:choose>
<j:when test="${filter == 'all'}">
<l:app-bar title="${%All Configuration History}" />
</j:when>
<j:when test="${filter == 'jobs'}">
<l:app-bar title="${%Job Configuration History}" />
</j:when>
<j:when test="${filter == 'created'}">
<l:app-bar title="${%Job Creation History}" />
</j:when>
<j:when test="${filter == 'deleted'}">
<l:app-bar title="${%Job Deletion History}" />
</j:when>
<j:otherwise>
<l:app-bar title="${%All Configuration History}" />
</j:otherwise>
</j:choose>

<j:set var="defaultEntriesPerPage" value="${it.getMaxEntriesPerPage()}" />
<j:set var="pageNum" value="${request.getParameter('pageNum')}" />
Expand Down

0 comments on commit 6e2785f

Please sign in to comment.