This commit is contained in:
parent
82b924c171
commit
5ecaff8c8f
|
@ -291,7 +291,7 @@ var playground = {
|
||||||
|
|
||||||
var url = window.location.protocol + "//" + window.location.host + '/playground/' + data.fileName;
|
var url = window.location.protocol + "//" + window.location.host + '/playground/' + data.fileName;
|
||||||
var html = 'URL: <a href="' + url + '" target="_blank">' + url + "</a><br/>";
|
var html = 'URL: <a href="' + url + '" target="_blank">' + url + "</a><br/>";
|
||||||
html += "Embeded: xxxx";
|
html += 'Embeded: <br/><textarea rows="5" cols="80"><p><iframe src="' + url + '?embed=true" width="100%" height="600"></iframe></p></textarea>';
|
||||||
|
|
||||||
$("#dialogShare").html(html);
|
$("#dialogShare").html(html);
|
||||||
$("#dialogShare").dialog("open");
|
$("#dialogShare").dialog("open");
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="dialogAbout" class="fn-none"></div>
|
<div id="dialogAbout" class="fn-none"></div>
|
||||||
<div id="dialogShare" class="fn-none">share!</div>
|
<div id="dialogShare" class="fn-none"></div>
|
||||||
<script>
|
<script>
|
||||||
var config = {
|
var config = {
|
||||||
"context": "{{.conf.Context}}",
|
"context": "{{.conf.Context}}",
|
||||||
|
|
Loading…
Reference in New Issue