mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 18:21:04 +08:00
57 lines
2.8 KiB
Text
57 lines
2.8 KiB
Text
<div class="modal" id="create-task-modal" tabindex="-1" role="dialog">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span></button>
|
|
<h2 class="modal-title">
|
|
<%= t("dashboard.create_task_modal.title") %>
|
|
</h2>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="description">
|
|
<%= t("dashboard.create_task_modal.description") %>
|
|
</div>
|
|
<div class="select-block">
|
|
<label><%= t("dashboard.create_task_modal.project") %></label>
|
|
<select class="project-filter"
|
|
data-ajax-url="<%= dashboard_quick_start_project_filter_path %>"
|
|
data-placeholder="<%= t("dashboard.create_task_modal.project_placeholder") %>"></select>
|
|
</div>
|
|
<div class="new-projects-visibility" style="display: none;">
|
|
<div class="down-arrow"></div>
|
|
<div class="project-visibility-container">
|
|
<div class="project-visibility-title"><%= t("dashboard.create_task_modal.project_visibility_label") %></div>
|
|
<div class="sci-toggles-group" data-toggle="buttons">
|
|
<input type="radio" name="projects-visibility-selector" class="sci-toggle-item" value="hidden" checked="checked">
|
|
<label class="sci-toggle-item-label">
|
|
<%= t("dashboard.create_task_modal.project_visibility_members") %>
|
|
</label>
|
|
<input type="radio" name="projects-visibility-selector" class="sci-toggle-item" value="visible">
|
|
<label class="sci-toggle-item-label">
|
|
<%= t("dashboard.create_task_modal.project_visibility_all") %>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="select-block">
|
|
<label><%= t("dashboard.create_task_modal.experiment") %></label>
|
|
<select class="experiment-filter"
|
|
data-ajax-url="<%= dashboard_quick_start_experiment_filter_path %>"
|
|
data-disable-on-load="true"
|
|
data-disable-placeholder="<%= t("dashboard.create_task_modal.experiment_disabled_placeholder") %>"
|
|
data-placeholder="<%= t("dashboard.create_task_modal.experiment_placeholder") %>"></select>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button"
|
|
class="create-task-button btn btn-primary"
|
|
data-ajax-url="<%= dashboard_quick_start_create_task_path %>"
|
|
data-dismiss="modal"
|
|
disabled>
|
|
<%= t("dashboard.create_task_modal.create_task") %>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|