Skip to content

Commit

Permalink
Fixed help page image, now context aware
Browse files Browse the repository at this point in the history
  • Loading branch information
Willem Elbers committed Jan 11, 2021
1 parent 63b57e2 commit 6793456
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h4 class="panel-title">
<h1>Introduction</h1>
</a>
<p>
<img width="200" class="img-responsive pull-right" src="/vcr/images/virtualcollection.png" alt="virtual collections schematic">
<img width="200" class="img-responsive pull-right" alt="virtual collections schematic" wicket:id="img-virtualcollection">
A virtual collection is a coherent set of links to digital objects (e.g. annotated text, video) that can
be easily created, accessed and cited.<br />
The links can originate from different archives, hence the term virtual. A virtual collection is suitable
Expand All @@ -85,7 +85,7 @@ <h2>Browsing Collections</h2>
</a>
<p>
Click on the "Browse" button in the top menu:<br />
<img width="400" src="/vcr/images/help-vcr-menu-browse.png" alt="menu browse item">
<img width="400" alt="menu browse item" wicket:id="img-vcr-menu-browse">
</p>
<p>
The Virtual Collection Registry home page lists all <b>public</b> collections.
Expand All @@ -103,7 +103,7 @@ <h2>Browsing Collections</h2>
The list of collection can be filtered by clicking the <button type="button" class="btn btn-primary btn-xs"><span class="fa fa-filter"></span></button> button.
This will open the filter options:
<br/>
<img width="300" src="/vcr/images/help-vcr-filter.png" alt="menu filter options">
<img width="300" alt="menu filter options" wicket:id="img-vcr-filter">
<br />
After filling in one or more filter options, press the "Filter" button to apply the filter or
use the "Clear" button to clear any applied filter.
Expand All @@ -120,7 +120,7 @@ <h2>Citing Collections</h2>
<p>
Clicking the citation button will show the following dialog providing basic citation information:
<br />
<img width="500" src="/vcr/images/help-vcr-citation-dialog.png" alt="virtual collection citation dialog">
<img width="500" alt="virtual collection citation dialog" wicket:id="img-vcr-citation-dialog">
<br />
Please make sure that you use the assigned persistent identier, shown in the Link field, when citing a virtual
collection. All public collections have been assigned a persistent identifier.
Expand All @@ -131,11 +131,11 @@ <h2>Creating New Collections</h2>
</a>
<p>
Click on the "Create" button in the top menu:<br />
<img width="400" src="/vcr/images/help-vcr-menu-create.png" alt="menu create item">
<img width="400" alt="menu create item" wicket:id="img-vcr-menu-create">
</p>
<p>
By default the collection editor is shown in simple mode. As listed below, a number of fields
<img height="50" class="pull-right" src="/vcr/images/help-vcr-editor-modes.png" alt="editor advanced mode item">
<img height="50" class="pull-right" alt="editor advanced mode item" wicket:id="img-vcr-editor-modes">
are not shown in simple mode and will use the assigned default values. If you want to edit
these fields you can switch over to advanced mode using the checkbo in the upper right corner:
There is also the option to show additional help. If you toggle the checkbox, additional descriptions
Expand Down Expand Up @@ -195,7 +195,7 @@ <h2>Managing Your Collections</h2>
</a>
<p>
When logged in, click on the "My Collections" button in the top menu: <br />
<img width="400" src="/vcr/images/help-vcr-menu-my-collections.png" alt="menu my collections item">
<img width="400" alt="menu my collections item" wicket:id="img-vcr-menu-my-collections">
</p>
<p>
The My Collections page allows you to manage all your collections. This includes both your <b>public</b> and <b>private</b> collections.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
package eu.clarin.cmdi.virtualcollectionregistry.gui.pages;

import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.image.Image;
import org.apache.wicket.markup.html.link.ExternalLink;
import org.apache.wicket.protocol.http.WebApplication;
import org.apache.wicket.request.resource.ContextRelativeResource;

/**
*
Expand All @@ -41,6 +43,13 @@ public HelpPage() {

add(new ExternalLink("wadlLink", String.format("%s/application.wadl", serviceBaseUri)));

add(new Image("img-virtualcollection", new ContextRelativeResource("/images/virtualcollection.png")));
add(new Image("img-vcr-menu-browse", new ContextRelativeResource("/images/help-vcr-menu-browse.png")));
add(new Image("img-vcr-filter", new ContextRelativeResource("/images/help-vcr-filter.png")));
add(new Image("img-vcr-citation-dialog", new ContextRelativeResource("/images/help-vcr-citation-dialog.png")));
add(new Image("img-vcr-menu-create", new ContextRelativeResource("/images/help-vcr-menu-create.png")));
add(new Image("img-vcr-editor-modes", new ContextRelativeResource("/images/help-vcr-editor-modes.png")));
add(new Image("img-vcr-menu-my-collections", new ContextRelativeResource("/images/help-vcr-menu-my-collections.png")));
}

}

0 comments on commit 6793456

Please sign in to comment.