Skip to content

Commit

Permalink
SAK-32396 Restyle top set of next/prev buttons in lessons (sakaiproje…
Browse files Browse the repository at this point in the history
  • Loading branch information
marktriggs authored and ottenhoff committed Apr 14, 2017
1 parent f765555 commit 5db90f1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
16 changes: 16 additions & 0 deletions lessonbuilder/tool/src/webapp/css/Simplepagetool.css
Original file line number Diff line number Diff line change
Expand Up @@ -2011,3 +2011,19 @@ nav.Mrphs-container--toolTitleNav .Mrphs-directUrl__dropDown .active {
margin: .5em 0;
border: 1px solid #ccc;
}

.Mrphs-sakai-lessonbuildertool .navIntraTool.top-next-prev {
margin-top: 20px;
}

.top-next-prev.navIntraTool > li {
display: block;
}

.top-next-prev .nextprev.prev {
float: left;
}

.top-next-prev .nextprev.next {
float: right;
}
8 changes: 7 additions & 1 deletion lessonbuilder/tool/src/webapp/templates/ShowPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h2>
<span rsf:id="gradingSpan" class="gradingarea">
<a role="button" href="#" rsf:id="gradingBack" style="margin-right:2px;background:none" class="usebutton grading-nextprev">&#60;</a><img class="statusImg" src="$context/images/no-status.png" id="statusImg" height="16px" width="16px" alt=""></img><span style="*vertical-align:13%" rsf:id="msg=simplepage.comments-points"></span><span style="display:none" class="uuidBox" rsf:id="commentsUUID"></span><span style="display:none" class="pointsSpan" rsf:id="commentPoints"></span> <input rsf:id="studentPointsBox" id="studentPointsBox" type="text" style="font-size:100%" size="3"></input> / <span rsf:id="topmaxpoints"></span> <a role="button" class="usebutton" href="#" rsf:id="msg=simplepage.submit" style="background:none; width:auto; *vertical-align:13%;margin-right:.5em" id="submit-grading"></a> <a role="button" style="background:none" href="#" rsf:id="gradingForward" class="usebutton grading-nextprev">&#62;</a>
</span>
<span class=""> <a role="button" style="" href="#" rsf:id="prev" class="nexprev menuitem button">next</a> <a role="button" href="#" rsf:id="next" class="nextprev menuitem button">next</a> </span>

<a role="button" aria-haspopup="dialog" aria-controls="direct-dialog" href="#" rsf:id="directurl" id="directurl" class="title-tools tool-directurl Mrphs-toolTitleNav__link Mrphs-toolTitleNav__link--directurl">
<img rsf:id="directimage" src="/library/image/transparent.gif"/>
</a>
Expand Down Expand Up @@ -391,6 +391,12 @@ <h3 id="toolbar-label" rsf:id="msg=simplepage.toolbar" class="offscreen"></h3>
<li id="error-item" rsf:id="error-item:"><span id="error-item-text" rsf:id="error-item-text">missing page</span></li>
</ul>

<ul class="top-next-prev navIntraTool">
<li>
<span><a role="button" href="#" rsf:id="prev" class="nexprev prev menuitem button">prev</a> <a role="button" href="#" rsf:id="next" class="nextprev next menuitem button">next</a> </span>
</li>
</ul>

<div class="itemclass" rsf:id="itemContainer:" role="main" style="z-index: 1;">

<div style="display:none" rsf:id="current-item-id"></div>
Expand Down

0 comments on commit 5db90f1

Please sign in to comment.