Add copy-url button

Took 11 minutes
This commit is contained in:
2020-10-04 22:36:06 +02:00
parent ba664edbdb
commit 9d5d7ab20d
3 changed files with 27 additions and 7 deletions

View File

@ -121,6 +121,7 @@
<div class="modal-body">
<span class="text-danger" id="optionsErrorMsg"></span>
<div class="form-group">
</div>
</div>
<div class="modal-footer">
@ -200,13 +201,13 @@
</div>
<div class="col-lg-6 col-sm-12 col-md-6">
<label class="float-right col-form-label">
<input type="text" class="disabled form-control" disabled value="[[SHARE_URL]]" size="28%">
<input type="text" id="share_url" class="disabled form-control" readonly value="[[SHARE_URL]]" size="28%">
</label>
</div>
<br>
<div class="col-lg-12">
<button type="button" class="btn btn-primary float-left" data-toggle="modal" data-target="#askQuestionModal">Ask a question</button>
<button type="button" class="btn btn-secondary float-right" data-toggle="modal" data-target="#askQuestionModal">Copy-URL</button>
<button type="button" class="btn btn-secondary float-right" onclick="copyShareUrl( this );">Copy-URL</button>
</div>
</div>
</div>