Skip to content

Commit

Permalink
Merge pull request #8 from sunbird-content-plugins/release-1.10.2
Browse files Browse the repository at this point in the history
Release 1.10.2
  • Loading branch information
ramj-funtoot authored Oct 20, 2018
2 parents 83993aa + fabcf7d commit 0354051
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 42 deletions.
96 changes: 56 additions & 40 deletions editor/question-ctrl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions editor/question.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@
</div>
</div>
<div class="five wide column previewArea" ng-show="!templatesScreen">

<div class="previewAreaHead">
<div class="template-warning-Message" ng-show="templateChanged">
<div class="ui yellow message">
<p><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> Please check preview before saving. Entire question might not fit in the layout selected.</p>
</div>
</div>
<div class="preview-heading">
<h3 class="ui left floated previewHeading">Preview</h3>
<i class="icon undo ui right-floated replayIcon" ng-click="showPreview();generateTelemetry({type: 'TOUCH', id: 'button', target: {id: 'question-preview', ver: '', type: 'button'}})"></i>
Expand Down
13 changes: 11 additions & 2 deletions editor/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ color: white;
.preview-heading {
padding: 0;
width: 480px;
margin: auto;
text-align: center;
}

Expand Down Expand Up @@ -301,4 +300,14 @@ color: white;

.text-left{
text-align:left;
}
}

.template-warning-Message{
position: absolute;
width: 480px;
font-size: 11px;
margin-bottom: 15px;
}
.qc-show-preview{
margin-top: 15px;
}

0 comments on commit 0354051

Please sign in to comment.