mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Cleanup card panels
This commit is contained in:
parent
654dd3faf3
commit
907bb510eb
Binary file not shown.
Before Width: | Height: | Size: 58 KiB |
@ -44,8 +44,6 @@ etc.</p>
|
|||||||
|
|
||||||
{% include 'card_queryparams.html.j2' %}
|
{% include 'card_queryparams.html.j2' %}
|
||||||
|
|
||||||
{% include 'card_webhookmsgs.html.j2' %}
|
|
||||||
|
|
||||||
<h3>Chat with us!</h3>
|
<h3>Chat with us!</h3>
|
||||||
<div class="video-container">
|
<div class="video-container">
|
||||||
<iframe src="https://titanembeds.tk/embed/295085744249110529" frameborder="0"></iframe>
|
<iframe src="https://titanembeds.tk/embed/295085744249110529" frameborder="0"></iframe>
|
||||||
|
@ -191,8 +191,6 @@
|
|||||||
|
|
||||||
{% include 'card_queryparams.html.j2' %}
|
{% include 'card_queryparams.html.j2' %}
|
||||||
|
|
||||||
{% include 'card_webhookmsgs.html.j2' %}
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block script %}
|
{% block script %}
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='js/administrate_guild.js') }}"></script>
|
<script type="text/javascript" src="{{ url_for('static', filename='js/administrate_guild.js') }}"></script>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12 black-text">
|
<div class="col s12 black-text">
|
||||||
<p class="flow-text">Use query parameters to customize your individual embeds out of this world!</p>
|
<p class="flow-text">Use query parameters to customize your individual embeds out of this world!</p>
|
||||||
<p>Query parameters are in the format of key-value pairs. They are appended after your embed url such that it would look like so: <br><em>https://titanembeds.tk/embed/1234567890<strong>?css=1&theme=DiscordDark&forcefocus=1</strong></em></p>
|
<p>Query parameters are in the format of key-value pairs. They are appended after your embed url such that it would look like so: <br><em>https://titanembeds.tk/embed/1234567890<strong>?css=1&theme=DiscordDark&theme=DiscordDark</strong></em></p>
|
||||||
<p>Below is the reference of all the avaliable query parameters that may be used.</p>
|
<p>Below is the reference of all the avaliable query parameters that may be used.</p>
|
||||||
<ul class="collection">
|
<ul class="collection">
|
||||||
<li class="collection-item">
|
<li class="collection-item">
|
||||||
@ -18,18 +18,6 @@
|
|||||||
Instead of having the top channel as the first channel your users see, you may change it. Enable Discord's Developer mode in the Appearances tab of the User Settings and copy the channel ID. <br>
|
Instead of having the top channel as the first channel your users see, you may change it. Enable Discord's Developer mode in the Appearances tab of the User Settings and copy the channel ID. <br>
|
||||||
<em>Eg: defaultchannel=1234567890</em>
|
<em>Eg: defaultchannel=1234567890</em>
|
||||||
</li>
|
</li>
|
||||||
<li class="collection-item">
|
|
||||||
<strong>forcefocus=<integer></strong> <br>
|
|
||||||
Embeds are activated once the frame is loaded. However, if you have more than one embeds on the page, the rate limits might bite your user's toes. Having this setting set means that the embed will not be loaded until the user mouseovers the frame. <br>
|
|
||||||
<hr>
|
|
||||||
<strong>Avaliable Options:</strong>
|
|
||||||
<ul class="browser-default">
|
|
||||||
<li><strong>0</strong> = disabled (default)</li>
|
|
||||||
<li><strong>1</strong> = enabled</li>
|
|
||||||
</ul>
|
|
||||||
<hr>
|
|
||||||
<em>Eg: forcefocus=1</em>
|
|
||||||
</li>
|
|
||||||
<li class="collection-item">
|
<li class="collection-item">
|
||||||
<strong>theme=<string></strong> <br>
|
<strong>theme=<string></strong> <br>
|
||||||
Want your embed to use one of our premade themes? Look no further! <br>
|
Want your embed to use one of our premade themes? Look no further! <br>
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
<h3><strong>NEW!</strong> Webhook Messages</h3>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col s12">
|
|
||||||
<div class="card-panel indigo lighten-5 z-depth-1">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col s12 black-text">
|
|
||||||
<p class="flow-text">Reading messages in Discord can be 20% more cooler!</p>
|
|
||||||
<p>A quick comparison between having webhook messages <em>enabled vs disabled</em> for a text channel.</p>
|
|
||||||
<ul class="collection">
|
|
||||||
<li class="collection-item">
|
|
||||||
<img src="{{ url_for('static', filename='img/webhook_comparison.png') }}" alt="Old vs new comparison of having webhook messages enabled/disabled for the channel">
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<hr>
|
|
||||||
<p>If you want your messages to look more real, just add a webhook to the channel <strong>starting</strong> with a name of <code>Titan</code> or <code>[Titan]</code> (case insensitive).</p>
|
|
||||||
<img src="{{ url_for('static', filename='img/webhook_inuse.png') }}" alt="Webhook configuration" class="responsive-img">
|
|
||||||
<p><em>(Webhook Messages enabled for the #general channel)</em></p>
|
|
||||||
<p>The new message format should automatically take effect for the channel the webhook is set to send from.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
Loading…
Reference in New Issue
Block a user