Skip to content

Commit

Permalink
hotfix plugin editor layout
Browse files Browse the repository at this point in the history
  • Loading branch information
psviderski committed Sep 24, 2014
1 parent 3aa2010 commit 36b672a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions stepic_plugins/dev-server/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ <h2>Log:</h2>
disabled=model.display.disabled}}
{{/if}}
</div>

<div class="plugin-editor">
<div class="plugin-editor__wrapper">
{{quiz-editor viewName='quizEditorInstance'
config=model.config
source=model.editor.source}}
</div>
</div>

<button {{action 'updateSource' target='view'}}>Save Quiz</button>
<br></br>
<button {{action 'attempt'}}>New Attempt</button>
Expand All @@ -67,13 +76,6 @@ <h2>Log:</h2>
</div>
</div>

<div class="plugin-editor">
<div class="plugin-editor__wrapper">
{{quiz-editor viewName='quizEditorInstance'
config=model.config
source=model.editor.source}}
</div>
</div>
</script>
{% endraw %}

Expand Down

0 comments on commit 36b672a

Please sign in to comment.