Customizing Resource Panels at the Sierra Origin
To customize the Sierra resource panel, edit the resserv_staff_panel.html form. This form is customized in the same way as a WebPAC customizable form. For more information about customizing forms, see Customizable WebPAC Forms.
NOTE
In Sierra , HTML code is rendered by the Java® application. The appearance of identical HTML code can differ depending on the rendering software (e.g., Internet Explorer vs. Java's HTML renderer).
The resserv_staff_panel.html form uses the following tokens:
| Token | Description |
| <!--{ifnoresources}--> | If the list of relevant resources is empty, the system can display a message. |
| <!--{else}--> | If there is a list of relevant resources, use the following tokens. |
| <!--{ifopenurl:<X>}--> | The system performs this block of commands if the OpenURL contains the element specified by <X>. You can follow this with a statement that formats and identifies the OpenURL element (see example). |
| <!--{openurl:<X>}--> | The system replaces the token with an OpenURL element <X>. |
| <!--{xif}--> | Closes the <!--{ifopenurl}--> block. |
| <!--{resourcelist}--> | The system replaces the <!--{resourcelist}--> token with a list of target resources. |
| <!--{xif}--> | Closes the <!--{ifnoresources}--> block. |
An example of a customized resserv_staff_panel.html form is:
<HTML>
<HEAD>
<TITLE>Resolution Server</TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="/stylesheet.css">
</HEAD>
<BODY>
<img src="Resources/Images//map.gif" BORDER="0">
<!--{ifnoresources}-->
<P>
<SPAN STYLE="color: red">No resources available</SPAN>
</P>
<!--{else}-->
<P>
<STRONG>The following resources may provide additional information:</STRONG>
</P>
<!--{ifopenurl:title}-->
<b>Title:</b>
<!--{openurl:title}-->
<!--{xif}-->
<!--{resourcelist}-->
<!--{xif}-->
</BODY>
</HTML>
- See also:
- Maintaining WebPAC