mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 19:35:24 +02:00
Update query parameters form to include iframe
This commit is contained in:
@ -40,6 +40,7 @@
|
||||
<input readonly value="{{ url_for("embed.guild_embed", guild_id=guild['id'], _external=True) }}" id="disabled" type="text" onClick="this.setSelectionRange(0, this.value.length)">
|
||||
<p class="flow-text">iFrame Embed</p>
|
||||
<input readonly value="<iframe src="{{ url_for("embed.guild_embed", guild_id=guild['id'], _external=True) }}" height="600" width="800" frameborder="0"></iframe>" id="disabled" type="text" onClick="this.setSelectionRange(0, this.value.length)">
|
||||
<p>For client side customization (such as setting the Default Channel or a Prefilled Guest Username), see Query Parameters section at the bottom of this page.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -36,7 +36,7 @@
|
||||
</div>
|
||||
{% if "administrate_guild" in request.url %}
|
||||
<div class="col s12 black-text">
|
||||
<p class="flow-text">Copy this URL for your iFrame src (or as a direct link) after entering the parameters in the form.</p>
|
||||
<p class="flow-text">Copy these URL/iframe code after entering the parameters in the form.</p>
|
||||
<ul class="collection">
|
||||
<li class="collection-item">
|
||||
<strong>Embed/Server ID</strong>
|
||||
@ -44,7 +44,11 @@
|
||||
</li>
|
||||
<li class="collection-item">
|
||||
Embed URL after query parameters appled
|
||||
<input id="queryparam_url" readonly value="{{ url_for("embed.guild_embed", guild_id=guild['id'], _external=True) }}" id="disabled" type="text" onclick="this.setSelectionRange(0, this.value.length)">
|
||||
<input id="queryparam_url" readonly value="{{ url_for("embed.guild_embed", guild_id=guild['id'], _external=True) }}" type="text" onclick="this.setSelectionRange(0, this.value.length)">
|
||||
</li>
|
||||
<li class="collection-item">
|
||||
Embed iFrame after query parameters appled
|
||||
<input id="queryparam_iframe" readonly type="text" onclick="this.setSelectionRange(0, this.value.length)">
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user