Skip to content

Commit

Permalink
SAM-2934 Option overlaps with Link/Help buttons in the Print assesment (
Browse files Browse the repository at this point in the history
sakaiproject#2885)

screen

The label and dropdown for "Font size" were shown on separate lines
depending on screen size.
  • Loading branch information
alejandrogj authored and juanjmerono committed Jun 21, 2016
1 parent 29849ed commit bb0a62d
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions samigo/samigo-app/src/webapp/jsf/print/printAssessment.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ document.links[newindex].onclick();
<h:messages/>

<div id="header">
<p class="navModeAction">
<div class="navModeAction">

<label>
<h:selectBooleanCheckbox id="showKeys" value="#{printSettings.showKeys}" />
Expand Down Expand Up @@ -140,22 +140,24 @@ document.links[newindex].onclick();
</label>

&nbsp;&nbsp;&nbsp;

<h:outputLabel for="fontSize" value="#{printMessages.font_size}:" />
<h:selectOneMenu id="fontSize" value="#{printSettings.fontSize}">
<f:selectItem itemLabel="#{printMessages.size_xsmall}" itemValue="1" />
<f:selectItem itemLabel="#{printMessages.size_small}" itemValue="2" />
<f:selectItem itemLabel="#{printMessages.size_medium}" itemValue="3" />
<f:selectItem itemLabel="#{printMessages.size_large}" itemValue="4" />
<f:selectItem itemLabel="#{printMessages.size_xlarge}" itemValue="5" />
</h:selectOneMenu>

<div>
<h:outputLabel for="fontSize" value="#{printMessages.font_size}:" />
<h:selectOneMenu id="fontSize" value="#{printSettings.fontSize}">
<f:selectItem itemLabel="#{printMessages.size_xsmall}" itemValue="1" />
<f:selectItem itemLabel="#{printMessages.size_small}" itemValue="2" />
<f:selectItem itemLabel="#{printMessages.size_medium}" itemValue="3" />
<f:selectItem itemLabel="#{printMessages.size_large}" itemValue="4" />
<f:selectItem itemLabel="#{printMessages.size_xlarge}" itemValue="5" />
</h:selectOneMenu>
</div>

<br />

<h:commandButton action="#{pdfAssessment.prepDocumentPDF}" value="#{printMessages.apply_settings}" styleClass="noActionButton" />
<h:outputText value="<input type='button' onclick='print(); return false;' value='#{printMessages.print_html}' class='noActionButton' />" escape="false" />
<h:commandButton action="#{pdfAssessment.getPDFAttachment}" value="#{printMessages.print_pdf}" styleClass="noActionButton" />
</p>
</div>
</div>
<!-- END HEADINGS -->

Expand Down

0 comments on commit bb0a62d

Please sign in to comment.