{% extends "base.html" %} {% from 'components/ui.html' import page_header, form_group, form_select, form_textarea, form_checkbox, form_date, form_section, form_actions %} {% block title %}{{ _('Create Task') }} - Time Tracker{% endblock %} {% block extra_css %} {% endblock %} {% block content %} {% set actions %} {{ _('Back to Tasks') }} {% endset %} {{ page_header('fas fa-plus-circle', _('Create Task'), subtitle_text=_('Add a new task to your project to break down work into manageable components'), actions_html=actions, breadcrumbs=[{'text': _('Tasks'), 'url': url_for('tasks.list_tasks')}, {'text': _('Create Task')}]) }}

{{ _('Choose a clear, descriptive name that explains what needs to be done') }}

{{ _('Supports Markdown') }}

{{ _('Optional: Add context, requirements, or specific instructions for the task') }}

{{ _('Select the project this task belongs to') }}

{{ _('Preview') }}: {% if request.form.get('priority') == 'low' %}{{ _('Low') }}{% elif request.form.get('priority') == 'high' %}{{ _('High') }}{% elif request.form.get('priority') == 'urgent' %}{{ _('Urgent') }}{% else %}{{ _('Medium') }}{% endif %} {% set status_preview = request.form.get('status') or request.args.get('status') or 'todo' %} {%- set _matched = namespace(label=None) -%} {%- for col in kanban_columns -%} {%- if col.key == status_preview -%}{%- set _matched.label = col.label -%}{%- endif -%} {%- endfor -%} {{ _(_matched.label) if _matched.label else _('To Do') }}

{{ _('Optional: Set a deadline for this task') }}

{{ _('Optional: Estimate how long this task will take') }}

{{ _('Optional: Assign this task to a team member') }}

{{ _('Comma-separated tags for categorization') }}

{{ _('Optional: Color for this task on the Gantt chart. If unset, the project color is used. Pick or enter a hex code (e.g. #3b82f6).') }}

{{ _('Cancel') }}

{{ _('Task Creation Tips') }}

  • {{ _('Clear Naming') }} {{ _('Use action verbs and be specific about what needs to be done') }}
  • {{ _('Realistic Estimates') }} {{ _('Consider complexity and dependencies when estimating time') }}
  • {{ _('Set Deadlines') }} {{ _('Due dates help prioritize work and track progress') }}
  • {{ _('Priority Matters') }} {{ _("Use priority levels to help team members focus on what's most important") }}
{% endblock %} {% block scripts_extra %} {% endblock %}