Skip to content

Commit

Permalink
mod_etherpadlite: fix example json in modal template
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Grabs committed Oct 16, 2023
1 parent 4f69de5 commit 8b4112f
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions templates/modal.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,32 @@
{
"id" : 1,
"legacy" : 1,
"name" : "Test pad"
"courseurl" : "https://example.com/course/view.php?id=2",
"name" : "Test pad",
"courseurl" : "https://example.com/course/view.php?id=2"
}

}}

<div class="etherpadmodal modal fade{{#legacy}} legacy{{/legacy}}" id="etherpadmodal_{{id}}">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">

<!-- Modal Header -->
<div class="modal-header">
<h3 class="my-0 py-0">
<button type="button" class="btn btn-primary" data-dismiss="modal" title="{{#str}}restorewindowsize, mod_etherpadlite{{/str}}" >
<i class="fa fa-compress fa-lg" aria-hidden="true"></i>
</button>
{{name}}
</h3>
{{> mod_etherpadlite/closebutton }}
</div>

<!-- Modal body -->
<div class="modal-body">
<iframe class="etherpadiframe2 border" id="etherpadiframe2_{{id}}" src="about:blank" allowFullscreen></iframe>
</div>

<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">

<!-- Modal Header -->
<div class="modal-header">
<h3 class="my-0 py-0">
<button type="button" class="btn btn-primary" data-dismiss="modal" title="{{#str}}restorewindowsize, mod_etherpadlite{{/str}}" >
<i class="fa fa-compress fa-lg" aria-hidden="true"></i>
</button>
{{name}}
</h3>
{{> mod_etherpadlite/closebutton }}
</div>

<!-- Modal body -->
<div class="modal-body">
<iframe class="etherpadiframe2 border" id="etherpadiframe2_{{id}}" src="about:blank" allowFullscreen></iframe>
</div>

</div>
</div>
</div>
</div>

0 comments on commit 8b4112f

Please sign in to comment.