snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
10
web/templates/components/action_button.hbs
Normal file
10
web/templates/components/action_button.hbs
Normal file
@@ -0,0 +1,10 @@
|
||||
<button type="{{#if type}}{{type}}{{else}}button{{/if}}" {{#if id}}id="{{id}}"{{/if}} class="{{#if custom_classes}}{{custom_classes}} {{/if}}action-button action-button-{{variant}}-{{intent}} {{#if hidden}}hide{{/if}}" {{#if data-tippy-content}}data-tippy-content="{{data-tippy-content}}"{{/if}} {{#if data-tooltip-template-id}}data-tooltip-template-id="{{data-tooltip-template-id}}"{{/if}} tabindex="0" {{#if aria-label}}aria-label="{{aria-label}}"{{/if}}
|
||||
{{#if disabled}}disabled{{/if}}
|
||||
>
|
||||
{{#if icon}}
|
||||
<i class="zulip-icon zulip-icon-{{icon}}" aria-hidden="true"></i>
|
||||
{{/if}}
|
||||
{{#if label}}
|
||||
<span class="action-button-label">{{label}}</span>
|
||||
{{/if}}
|
||||
</button>
|
||||
30
web/templates/components/banner.hbs
Normal file
30
web/templates/components/banner.hbs
Normal file
@@ -0,0 +1,30 @@
|
||||
<div {{#if process}}data-process="{{process}}"{{/if}} class="{{#if custom_classes}}{{custom_classes}} {{/if}}banner banner-{{intent}}">
|
||||
<span class="banner-content">
|
||||
<span class="banner-label">
|
||||
{{#if label}}
|
||||
{{label}}
|
||||
{{else}}
|
||||
{{> @partial-block .}}
|
||||
{{/if}}
|
||||
</span>
|
||||
{{#unless (eq buttons undefined)}}
|
||||
{{#unless (eq buttons.length 0)}}
|
||||
<span class="banner-action-buttons">
|
||||
{{!-- squash whitespace so :empty selector works when no buttons --}}
|
||||
{{~!-- squash whitespace --~}}
|
||||
{{#each buttons}}
|
||||
{{#if this.intent}}
|
||||
{{> action_button .}}
|
||||
{{else}}
|
||||
{{> action_button . intent=../intent}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{~!-- squash whitespace --~}}
|
||||
</span>
|
||||
{{/unless}}
|
||||
{{/unless}}
|
||||
</span>
|
||||
{{#if close_button}}
|
||||
{{> icon_button custom_classes="banner-close-action banner-close-button" icon="close" intent=intent}}
|
||||
{{/if}}
|
||||
</div>
|
||||
7
web/templates/components/icon_button.hbs
Normal file
7
web/templates/components/icon_button.hbs
Normal file
@@ -0,0 +1,7 @@
|
||||
<button type="button" {{#if id}}id="{{id}}"{{/if}} class="{{#if custom_classes}}{{custom_classes}} {{/if}}icon-button {{#if squared}}icon-button-square {{/if}}icon-button-{{intent}} {{#if hidden}}hide{{/if}}" {{#if data-tooltip-template-id}}data-tooltip-template-id="{{data-tooltip-template-id}}"{{/if}} tabindex="0" {{#if aria-label}}aria-label="{{aria-label}}"{{/if}}
|
||||
{{#if data-tippy-content}}data-tippy-content="{{data-tippy-content}}"{{/if}}
|
||||
{{#if data-micromodal-close}}data-micromodal-close{{/if}}
|
||||
{{#if disabled}}disabled{{/if}}
|
||||
>
|
||||
<i class="zulip-icon zulip-icon-{{icon}}" aria-hidden="true"></i>
|
||||
</button>
|
||||
21
web/templates/components/input_wrapper.hbs
Normal file
21
web/templates/components/input_wrapper.hbs
Normal file
@@ -0,0 +1,21 @@
|
||||
{{!--
|
||||
This is used to wrap any input element that needs to be styled as a Zulip input.
|
||||
Usage example:
|
||||
{{#> components/input_wrapper . input_type="filter-input" custom_classes="inbox-search-wrapper" icon="search" input_button_icon="close"}}
|
||||
<input type="text" id="{{INBOX_SEARCH_ID}}" class="input-element" value="{{search_val}}" autocomplete="off" placeholder="{{t 'Filter' }}" />
|
||||
{{/components/input_wrapper}}
|
||||
--}}
|
||||
|
||||
<div {{#if id}}id="{{id}}"{{/if}} class="input-element-wrapper{{#if input_type}} {{input_type}}{{/if}}{{#if custom_classes}} {{custom_classes}}{{/if}}{{#if icon}} has-input-icon{{/if}}{{#if input_button_icon}} has-input-button{{/if}}">
|
||||
{{#if icon}}
|
||||
<i class="input-icon zulip-icon zulip-icon-{{icon}}" aria-hidden="true"></i>
|
||||
{{/if}}
|
||||
{{> @partial-block .}}
|
||||
{{#if input_button_icon}}
|
||||
{{#if (eq input_type "filter-input") }}
|
||||
{{> icon_button custom_classes="input-button input-close-filter-button" squared=true icon=input_button_icon intent="neutral" }}
|
||||
{{else}}
|
||||
{{> icon_button custom_classes="input-button" squared=true icon=input_button_icon intent="neutral" }}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
4
web/templates/components/membership_banner.hbs
Normal file
4
web/templates/components/membership_banner.hbs
Normal file
@@ -0,0 +1,4 @@
|
||||
{{#> banner .}}
|
||||
{{> ../user_group_settings/user_group_membership_request_result .}}
|
||||
{{/banner}}
|
||||
|
||||
3
web/templates/components/showroom/filter_input.hbs
Normal file
3
web/templates/components/showroom/filter_input.hbs
Normal file
@@ -0,0 +1,3 @@
|
||||
{{#> ../input_wrapper input_type="filter-input" icon="search" input_button_icon="close"}}
|
||||
<input class="input-element" type="text" placeholder="{{t 'Filter component' }}" />
|
||||
{{/../input_wrapper}}
|
||||
4
web/templates/components/subscription_banner.hbs
Normal file
4
web/templates/components/subscription_banner.hbs
Normal file
@@ -0,0 +1,4 @@
|
||||
{{#> banner .}}
|
||||
{{> ../stream_settings/stream_subscription_request_result .}}
|
||||
{{/banner}}
|
||||
|
||||
Reference in New Issue
Block a user