ongoing page management changes

This commit is contained in:
tworrall 2012-06-22 17:21:31 +00:00
parent 346e84b164
commit db90acd8de
3 changed files with 19 additions and 6 deletions

View file

@ -31,6 +31,12 @@ table#pageList th {
table#pageList th {
text-align: left;
} /*Fix for IE8 and 9, force text in a cell to be aligned to the left*/
th#isMenuPage {
width: 86px;
}
th#iconColumns {
width: 56px;
}
table#pageList td {
vertical-align: top;
padding: .5em;

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -4,7 +4,6 @@
<div class="tab">
<h2>Page Management</h2>
</div>
<div>
<#if pages?has_content >
@ -15,8 +14,9 @@
<th scope="col">Title</th>
<!--th scope="col">Type</th-->
<th scope="col">URL</th>
<th scope="col">Template</th>
<th scope="col">Menu Page</th>
<th scope="col">Custom Template</th>
<th id="isMenuPage" scope="col" >Menu Page</th>
<th id="iconColumns" scope="col">&nbsp;</th>
</tr>
</thead>
@ -25,9 +25,11 @@
<tr>
<td>
<#if pagex.listedPageUri?has_content>
<a href="${urls.base}/individual?uri=${pagex.listedPageUri?url}&switchToDisplayModel=1">${(pagex.listedPageTitle)!'-untitled-'}</a>
&nbsp;
<a href="${urls.base}/editRequestDispatch?subjectUri=${pagex.listedPageUri?url}&switchToDisplayModel=1&editForm=edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.ManagePageGenerator">Edit</a>
<#if pagex.listedPageTitle == "Home" >
${pagex.listedPageTitle!}
<#else>
<a href="${urls.base}/editRequestDispatch?subjectUri=${pagex.listedPageUri?url}&switchToDisplayModel=1&editForm=edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.ManagePageGenerator">${(pagex.listedPageTitle)!'-untitled-'}</a>
</#if>
<#else>
No URI defined for page.
@ -41,6 +43,11 @@
<div class="menuFlag"></div>
</#if>
</td>
<td>
<a href="${urls.base}/individual?uri=${pagex.listedPageUri?url}&switchToDisplayModel=1"><img src="${urls.images!}/profile-page-icon.png" title="view the profile properties for this page" alt="profile page"></a>
&nbsp;&nbsp;
<a href="#"><img src="${urls.images!}/individual/deleteIcon.gif" title="delete this page" alt="delete"></a>
</td>
</tr>