2020-02-26 22:40:28 +08:00
|
|
|
<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">
|
2023-08-17 19:55:17 +08:00
|
|
|
<button type="button" class="close" data-dismiss="modal"><i class="sn-icon sn-icon-close"></i></button>
|
2020-02-26 22:40:28 +08:00
|
|
|
<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>
|
2020-03-10 20:16:56 +08:00
|
|
|
<div class="select-block" data-error-object="Project" data-error="">
|
2020-02-26 22:40:28 +08:00
|
|
|
<label><%= t("dashboard.create_task_modal.project") %></label>
|
|
|
|
<select class="project-filter"
|
2020-03-05 06:26:01 +08:00
|
|
|
data-ajax-url="<%= dashboard_quick_start_project_filter_path %>"
|
2020-02-26 22:40:28 +08:00
|
|
|
data-placeholder="<%= t("dashboard.create_task_modal.project_placeholder") %>"></select>
|
|
|
|
</div>
|
2020-03-05 06:26:01 +08:00
|
|
|
<div class="new-projects-visibility" style="display: none;">
|
|
|
|
<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>
|
2020-03-10 20:16:56 +08:00
|
|
|
<div class="select-block" data-error-object="Experiment" data-error="">
|
2020-02-26 22:40:28 +08:00
|
|
|
<label><%= t("dashboard.create_task_modal.experiment") %></label>
|
|
|
|
<select class="experiment-filter"
|
2020-03-05 06:26:01 +08:00
|
|
|
data-ajax-url="<%= dashboard_quick_start_experiment_filter_path %>"
|
2020-02-26 22:40:28 +08:00
|
|
|
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">
|
2020-03-05 06:26:01 +08:00
|
|
|
<button type="button"
|
|
|
|
class="create-task-button btn btn-primary"
|
|
|
|
data-ajax-url="<%= dashboard_quick_start_create_task_path %>"
|
|
|
|
data-dismiss="modal"
|
|
|
|
disabled>
|
2020-02-26 22:40:28 +08:00
|
|
|
<%= t("dashboard.create_task_modal.create_task") %>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|