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:
20
web/templates/widgets/poll_widget.hbs
Normal file
20
web/templates/widgets/poll_widget.hbs
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="poll-widget">
|
||||
<div class="poll-widget-header-area">
|
||||
<h4 class="poll-question-header"></h4>
|
||||
<button type="button" class="poll-edit-question" aria-label="{{t 'Edit question'}}"><i class="zulip-icon zulip-icon-pencil" aria-hidden="true"></i></button>
|
||||
<div class="poll-question-bar">
|
||||
<input type="text" class="poll-question" placeholder="{{t 'Add question'}}" />
|
||||
<button type="button" class="poll-question-remove" aria-label="{{t 'Cancel edit'}}"><i class="zulip-icon zulip-icon-close" aria-hidden="true"></i></button>
|
||||
<button type="button" class="poll-question-check" aria-label="{{t 'Save'}}"><i class="zulip-icon zulip-icon-check" aria-hidden="true"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="poll-please-wait">
|
||||
{{t 'We are about to have a poll. Please wait for the question.'}}
|
||||
</div>
|
||||
<ul class="poll-widget">
|
||||
</ul>
|
||||
<div class="poll-option-bar">
|
||||
<input type="text" class="poll-option" placeholder="{{t 'New option'}}" />
|
||||
<button class="poll-option">{{t "Add option" }}</button>
|
||||
</div>
|
||||
</div>
|
||||
24
web/templates/widgets/poll_widget_example.hbs
Normal file
24
web/templates/widgets/poll_widget_example.hbs
Normal file
@@ -0,0 +1,24 @@
|
||||
<div class="poll-widget">
|
||||
<h4 class="poll-question-header">{{t "What did you drink this morning?"}}</h4>
|
||||
<button type="button" class="poll-edit-question" aria-label="{{t 'Edit question'}}"><i class="zulip-icon zulip-icon-pencil" aria-hidden="true"></i></button>
|
||||
<ul class="poll-widget">
|
||||
<li>
|
||||
<button class="poll-vote">
|
||||
0
|
||||
</button>
|
||||
<span>{{t "Milk"}}</span>
|
||||
</li>
|
||||
<li>
|
||||
<button class="poll-vote">
|
||||
0
|
||||
</button>
|
||||
<span>{{t "Tea"}}</span>
|
||||
</li>
|
||||
<li>
|
||||
<button class="poll-vote">
|
||||
0
|
||||
</button>
|
||||
<span>{{t "Coffee"}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
13
web/templates/widgets/poll_widget_results.hbs
Normal file
13
web/templates/widgets/poll_widget_results.hbs
Normal file
@@ -0,0 +1,13 @@
|
||||
{{#each options}}
|
||||
<li>
|
||||
<label class="poll-option-label">
|
||||
<button class="poll-vote {{#if current_user_vote}}current-user-vote{{/if}}" data-key="{{ key }}">
|
||||
{{ count }}
|
||||
</button>
|
||||
<span class="poll-option-text">{{ option }}</span>
|
||||
</label>
|
||||
{{#if names}}
|
||||
<span class="poll-names">({{ names }})</span>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/each}}
|
||||
21
web/templates/widgets/todo_widget.hbs
Normal file
21
web/templates/widgets/todo_widget.hbs
Normal file
@@ -0,0 +1,21 @@
|
||||
<div class="todo-widget">
|
||||
<div class="todo-widget-header-area">
|
||||
<h4 class="todo-task-list-title-header">{{t "Task list" }}</h4>
|
||||
<button type="button" class="todo-edit-task-list-title" aria-label="{{t 'Edit task list title'}}"><i class="zulip-icon zulip-icon-pencil" aria-hidden="true"></i></button>
|
||||
<div class="todo-task-list-title-bar">
|
||||
<input type="text" class="todo-task-list-title" placeholder="{{t 'Add todo task list title'}}" />
|
||||
<button type="button" class="todo-task-list-title-remove" aria-label="{{t 'Cancel edit'}}"><i class="zulip-icon zulip-icon-close" aria-hidden="true"></i></button>
|
||||
<button type="button" class="todo-task-list-title-check" aria-label="{{t 'Save'}}"><i class="zulip-icon zulip-icon-check" aria-hidden="true"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="todo-widget">
|
||||
</ul>
|
||||
<div class="add-task-bar">
|
||||
<input type="text" class="add-task" placeholder="{{t 'New task'}}" />
|
||||
<input type="text" class="add-desc" placeholder="{{t 'Description'}}" />
|
||||
<div class="add-task-wrapper">
|
||||
<button class="add-task">{{t "Add task" }}</button>
|
||||
</div>
|
||||
<div class="widget-error"></div>
|
||||
</div>
|
||||
</div>
|
||||
42
web/templates/widgets/todo_widget_example.hbs
Normal file
42
web/templates/widgets/todo_widget_example.hbs
Normal file
@@ -0,0 +1,42 @@
|
||||
<div class="message_content rendered_markdown">
|
||||
<div class="widget-content">
|
||||
<div class="todo-widget">
|
||||
<h4>{{t "Today's tasks"}}</h4>
|
||||
<ul class="todo-widget">
|
||||
<li>
|
||||
<label class="checkbox">
|
||||
<span>
|
||||
<input type="checkbox" class="task" checked="checked" />
|
||||
<span class="rendered-checkbox"></span>
|
||||
</span>
|
||||
<span>
|
||||
<s><strong>{{t "Task 1"}}:</strong> {{t "This is the first task."}}</s>
|
||||
</span>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="checkbox">
|
||||
<span>
|
||||
<input type="checkbox" class="task" />
|
||||
<span class="rendered-checkbox"></span>
|
||||
</span>
|
||||
<span>
|
||||
<strong>{{t "Task 2"}}:</strong> {{t "This is the second task."}}
|
||||
</span>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="checkbox">
|
||||
<span>
|
||||
<input type="checkbox" class="task" />
|
||||
<span class="rendered-checkbox"></span>
|
||||
</span>
|
||||
<span>
|
||||
<strong>{{t "Last task"}}</strong>
|
||||
</span>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
17
web/templates/widgets/todo_widget_tasks.hbs
Normal file
17
web/templates/widgets/todo_widget_tasks.hbs
Normal file
@@ -0,0 +1,17 @@
|
||||
{{#each all_tasks}}
|
||||
<li>
|
||||
<label class="checkbox">
|
||||
<span class="todo-checkbox">
|
||||
<input type="checkbox" class="task" data-key="{{ key }}" {{#if completed}}checked{{/if}}/>
|
||||
<span class="custom-checkbox"></span>
|
||||
</span>
|
||||
<span class="todo-task">
|
||||
{{#if completed}}
|
||||
<s><strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}</s>
|
||||
{{else}}
|
||||
<strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}
|
||||
{{/if}}
|
||||
</span>
|
||||
</label>
|
||||
</li>
|
||||
{{/each}}
|
||||
12
web/templates/widgets/zform_choices.hbs
Normal file
12
web/templates/widgets/zform_choices.hbs
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="widget-choices">
|
||||
<div class="widget-choices-heading">{{ heading }}</div>
|
||||
<ul>
|
||||
{{#each choices}}
|
||||
<li>
|
||||
<button data-idx="{{ this.idx }}">{{ this.short_name }}</button>
|
||||
|
||||
{{ this.long_name }}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user