tasks.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <div id="controls">
  2. <input type="text" id="tasks_newtask">
  3. <input type="button" id="tasks_addtask" value="<?php echo $l->t('Add Task'); ?>">
  4. <input type="button" id="tasks_order_due" value="<?php echo $l->t('Order Due'); ?>">
  5. <input type="button" id="tasks_order_category" value="<?php echo $l->t('Order List'); ?>">
  6. <input type="button" id="tasks_order_complete" value="<?php echo $l->t('Order Complete'); ?>">
  7. <input type="button" id="tasks_order_location" value="<?php echo $l->t('Order Location'); ?>">
  8. <input type="button" id="tasks_order_prio" value="<?php echo $l->t('Order Priority'); ?>">
  9. <input type="button" id="tasks_order_label" value="<?php echo $l->t('Order Label'); ?>">
  10. </div>
  11. <div id="tasks_lists" class="leftcontent">
  12. <div class="all">All</div>
  13. <div class="done">Done</div>
  14. </div>
  15. <div id="tasks_list" class="rightcontent">
  16. <p class="loading"><?php echo $l->t('Loading tasks...') ?></p>
  17. </div>
  18. <p id="task_actions_template" class="task_actions">
  19. <!-- span class="task_star">
  20. <img title="<?php echo $l->t('Important') ?>" src="<?php echo OCP\image_path('core', 'actions/add.svg') ?>" class="svg"><?php echo $l->t('Important') ?>
  21. </span -->
  22. <span class="task_more">
  23. <img title="<?php echo $l->t('More') ?>" src="<?php echo OCP\image_path('core', 'actions/triangle-s.svg') ?>" class="svg"><?php echo $l->t('More') ?>
  24. </span>
  25. <span class="task_less">
  26. <img title="<?php echo $l->t('Less') ?>" src="<?php echo OCP\image_path('core', 'actions/triangle-n.svg') ?>" class="svg"><?php echo $l->t('Less') ?>
  27. </span>
  28. <span class="task_delete">
  29. <img title="<?php echo $l->t('Delete') ?>" src="<?php echo OCP\image_path('core', 'actions/delete.svg') ?>" class="svg"><?php echo $l->t('Delete') ?>
  30. </span>
  31. </p>
  32. <script type='text/javascript'>
  33. var categories = <?php echo json_encode($_['categories']); ?>;
  34. </script>