ongoing page management changes
This commit is contained in:
parent
346e84b164
commit
db90acd8de
3 changed files with 19 additions and 6 deletions
|
@ -31,6 +31,12 @@ table#pageList th {
|
||||||
table#pageList th {
|
table#pageList th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
} /*Fix for IE8 and 9, force text in a cell to be aligned to the 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 {
|
table#pageList td {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
|
|
BIN
webapp/web/images/profile-page-icon.png
Normal file
BIN
webapp/web/images/profile-page-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
|
@ -4,7 +4,6 @@
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<h2>Page Management</h2>
|
<h2>Page Management</h2>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
|
|
||||||
|
|
||||||
<#if pages?has_content >
|
<#if pages?has_content >
|
||||||
|
@ -15,8 +14,9 @@
|
||||||
<th scope="col">Title</th>
|
<th scope="col">Title</th>
|
||||||
<!--th scope="col">Type</th-->
|
<!--th scope="col">Type</th-->
|
||||||
<th scope="col">URL</th>
|
<th scope="col">URL</th>
|
||||||
<th scope="col">Template</th>
|
<th scope="col">Custom Template</th>
|
||||||
<th scope="col">Menu Page</th>
|
<th id="isMenuPage" scope="col" >Menu Page</th>
|
||||||
|
<th id="iconColumns" scope="col"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
@ -25,9 +25,11 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<#if pagex.listedPageUri?has_content>
|
<#if pagex.listedPageUri?has_content>
|
||||||
<a href="${urls.base}/individual?uri=${pagex.listedPageUri?url}&switchToDisplayModel=1">${(pagex.listedPageTitle)!'-untitled-'}</a>
|
<#if pagex.listedPageTitle == "Home" >
|
||||||
|
${pagex.listedPageTitle!}
|
||||||
<a href="${urls.base}/editRequestDispatch?subjectUri=${pagex.listedPageUri?url}&switchToDisplayModel=1&editForm=edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.ManagePageGenerator">Edit</a>
|
<#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>
|
<#else>
|
||||||
No URI defined for page.
|
No URI defined for page.
|
||||||
|
@ -41,6 +43,11 @@
|
||||||
<div class="menuFlag"></div>
|
<div class="menuFlag"></div>
|
||||||
</#if>
|
</#if>
|
||||||
</td>
|
</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>
|
||||||
|
|
||||||
|
<a href="#"><img src="${urls.images!}/individual/deleteIcon.gif" title="delete this page" alt="delete"></a>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue