zulip/web/templates/widgets/poll_widget.hbs
Anders Kaseorg c1675913a2 web: Move web app to ‘web’ directory.
Ever since we started bundling the app with webpack, there’s been less
and less overlap between our ‘static’ directory (files belonging to
the frontend app) and Django’s interpretation of the ‘static’
directory (files served directly to the web).

Split the app out to its own ‘web’ directory outside of ‘static’, and
remove all the custom collectstatic --ignore rules.  This makes it
much clearer what’s actually being served to the web, and what’s being
bundled by webpack.  It also shrinks the release tarball by 3%.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-02-23 16:04:17 -08:00

23 lines
898 B
Handlebars

<div class="poll-widget">
<h4 class="poll-question-header"></h4>
<div class="poll-please-wait">
{{t 'We are about to have a poll. Please wait for the question.'}}
</div>
<i class="fa fa-pencil poll-edit-question"></i>
<div class="poll-question-bar">
<input type="text" class="poll-question" placeholder="{{t 'Add question'}}" />
<button class="poll-question-remove"><i class="fa fa-remove"></i></button>
<button class="poll-question-check"><i class="fa fa-check"></i></button>
</div>
<div class="poll-author-help">
{{t 'Tip: You can also send "/poll Some 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>
<br />
</div>