mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 12:21:58 +00:00
Fix indentation for templates/zerver/integrations/index.html.
This commit is contained in:
@@ -21,99 +21,99 @@
|
|||||||
<div class="padded-content">
|
<div class="padded-content">
|
||||||
<div class="inner-content">
|
<div class="inner-content">
|
||||||
|
|
||||||
<div id="integration-main-text">
|
<div id="integration-main-text">
|
||||||
<header>
|
<header>
|
||||||
<h1 class="portico-page-heading">
|
<h1 class="portico-page-heading">
|
||||||
{% trans %}Over 60 native integrations.{% endtrans %}
|
{% trans %}Over 60 native integrations.{% endtrans %}
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
<h2 class="portico-page-subheading">
|
<h2 class="portico-page-subheading">
|
||||||
{% trans %}
|
{% trans %}
|
||||||
And hundreds more through
|
And hundreds more through
|
||||||
<a href="#hubot">Hubot</a>,
|
<a href="#hubot">Hubot</a>,
|
||||||
<a href="#zapier">Zapier</a>,
|
<a href="#zapier">Zapier</a>,
|
||||||
and
|
and
|
||||||
<a href="#ifttt">IFTTT</a>.
|
<a href="#ifttt">IFTTT</a>.
|
||||||
{% endtrans %}
|
{% endtrans %}
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="integration-search">
|
|
||||||
<div class="searchbar">
|
|
||||||
<div class="searchbar-reset">
|
|
||||||
<i class="icon-vector-search" aria-hidden="true"></i>
|
|
||||||
<input type="text" placeholder="{{ _('Search integrations') }}"/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="integration-instruction-block" class="integration-instruction-block">
|
<div id="integration-search">
|
||||||
<a href="#!" id="integration-list-link"><i class="icon-vector-circle-arrow-left"></i><span>Back to list</span></a>
|
<div class="searchbar">
|
||||||
</div>
|
<div class="searchbar-reset">
|
||||||
<div class="clear-float"></div>
|
<i class="icon-vector-search" aria-hidden="true"></i>
|
||||||
|
<input type="text" placeholder="{{ _('Search integrations') }}"/>
|
||||||
<div class="integration-categories-dropdown">
|
|
||||||
<div class="dropdown-toggle">
|
|
||||||
<h3>{% trans %}View all categories{% endtrans %}</h3>
|
|
||||||
<i class="icon-vector-angle-right" aria-hidden="true"></i>
|
|
||||||
</div>
|
|
||||||
<div class="dropdown-list">
|
|
||||||
<h4 class="integration-category selected" data-category="All">All</h4>
|
|
||||||
{% for category in categories_dict.values() %}
|
|
||||||
<h4 class="integration-category" data-category="{{ category }}">{{ category }}</h4>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="catalog">
|
|
||||||
<div class="integration-categories-sidebar">
|
|
||||||
<h3>{% trans %}Categories{% endtrans %}</h3>
|
|
||||||
<h4 data-category="All" class="integration-category selected">{% trans %}All{% endtrans %}</h4>
|
|
||||||
{% for category in categories_dict.values() %}
|
|
||||||
<h4 data-category="{{ category }}" class="integration-category">{{ category }}</h4>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="integration-lozenges">
|
|
||||||
{% for integration in integrations_dict.values() %}
|
|
||||||
{% if integration.is_enabled() %}
|
|
||||||
<a href="#{{ integration.name }}" class="no-style">
|
|
||||||
<div class="integration-lozenge integration-{{ integration.name }}"
|
|
||||||
data-categories="{{ integration.categories }}"
|
|
||||||
data-name="{{ integration.display_name }}">
|
|
||||||
<img class="integration-logo" src="/{{ integration.logo }}"
|
|
||||||
alt="{{ integration.display_name }} logo"/>
|
|
||||||
{% if integration.secondary_line_text %}
|
|
||||||
<h3 class="integration-name with-secondary">{{ integration.display_name }}</h3>
|
|
||||||
<h4 class="integration-secondary-line-text">
|
|
||||||
{{ integration.secondary_line_text }}
|
|
||||||
</h4>
|
|
||||||
{% else %}
|
|
||||||
<h3 class="integration-name">{{ integration.display_name }}</h3>
|
|
||||||
{% endif %}
|
|
||||||
<h4 class="integration-category">{{ integration.categories[0] }}</h4>
|
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</div>
|
||||||
{% endif %}
|
</div>
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="integration-instructions-group">
|
<div id="integration-instruction-block" class="integration-instruction-block">
|
||||||
{% for integration in integrations_dict.values() %}
|
<a href="#!" id="integration-list-link"><i class="icon-vector-circle-arrow-left"></i><span>Back to list</span></a>
|
||||||
{% if integration.is_enabled() %}
|
</div>
|
||||||
<div id={{ integration.name }} class="integration-instructions">
|
<div class="clear-float"></div>
|
||||||
{{ integration.help_content }}
|
|
||||||
<p style="font-size:11px; font-style:italic;">
|
<div class="integration-categories-dropdown">
|
||||||
Logos are trademarks of their respective owners.
|
<div class="dropdown-toggle">
|
||||||
None of the integrations on this page are created by,
|
<h3>{% trans %}View all categories{% endtrans %}</h3>
|
||||||
affiliated with, or supported by the companies
|
<i class="icon-vector-angle-right" aria-hidden="true"></i>
|
||||||
represented by the logos.
|
</div>
|
||||||
</p>
|
<div class="dropdown-list">
|
||||||
</div>
|
<h4 class="integration-category selected" data-category="All">All</h4>
|
||||||
{% endif %}
|
{% for category in categories_dict.values() %}
|
||||||
{% endfor %}
|
<h4 class="integration-category" data-category="{{ category }}">{{ category }}</h4>
|
||||||
</div>
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="catalog">
|
||||||
|
<div class="integration-categories-sidebar">
|
||||||
|
<h3>{% trans %}Categories{% endtrans %}</h3>
|
||||||
|
<h4 data-category="All" class="integration-category selected">{% trans %}All{% endtrans %}</h4>
|
||||||
|
{% for category in categories_dict.values() %}
|
||||||
|
<h4 data-category="{{ category }}" class="integration-category">{{ category }}</h4>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="integration-lozenges">
|
||||||
|
{% for integration in integrations_dict.values() %}
|
||||||
|
{% if integration.is_enabled() %}
|
||||||
|
<a href="#{{ integration.name }}" class="no-style">
|
||||||
|
<div class="integration-lozenge integration-{{ integration.name }}"
|
||||||
|
data-categories="{{ integration.categories }}"
|
||||||
|
data-name="{{ integration.display_name }}">
|
||||||
|
<img class="integration-logo" src="/{{ integration.logo }}"
|
||||||
|
alt="{{ integration.display_name }} logo"/>
|
||||||
|
{% if integration.secondary_line_text %}
|
||||||
|
<h3 class="integration-name with-secondary">{{ integration.display_name }}</h3>
|
||||||
|
<h4 class="integration-secondary-line-text">
|
||||||
|
{{ integration.secondary_line_text }}
|
||||||
|
</h4>
|
||||||
|
{% else %}
|
||||||
|
<h3 class="integration-name">{{ integration.display_name }}</h3>
|
||||||
|
{% endif %}
|
||||||
|
<h4 class="integration-category">{{ integration.categories[0] }}</h4>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="integration-instructions-group">
|
||||||
|
{% for integration in integrations_dict.values() %}
|
||||||
|
{% if integration.is_enabled() %}
|
||||||
|
<div id={{ integration.name }} class="integration-instructions">
|
||||||
|
{{ integration.help_content }}
|
||||||
|
<p style="font-size:11px; font-style:italic;">
|
||||||
|
Logos are trademarks of their respective owners.
|
||||||
|
None of the integrations on this page are created by,
|
||||||
|
affiliated with, or supported by the companies
|
||||||
|
represented by the logos.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
</div> <!-- .inner-content -->
|
</div> <!-- .inner-content -->
|
||||||
</div> <!-- .padded-content -->
|
</div> <!-- .padded-content -->
|
||||||
|
|||||||
@@ -130,7 +130,6 @@ def check_html_templates(templates, all_dups):
|
|||||||
'templates/zerver/hello.html',
|
'templates/zerver/hello.html',
|
||||||
'templates/zerver/home.html',
|
'templates/zerver/home.html',
|
||||||
'templates/zerver/index.html',
|
'templates/zerver/index.html',
|
||||||
'templates/zerver/integrations/index.html',
|
|
||||||
'templates/zerver/keyboard_shortcuts.html',
|
'templates/zerver/keyboard_shortcuts.html',
|
||||||
'templates/zerver/login.html',
|
'templates/zerver/login.html',
|
||||||
'templates/zerver/markdown_help.html',
|
'templates/zerver/markdown_help.html',
|
||||||
|
|||||||
Reference in New Issue
Block a user