/** * Get all jobs. * * @return Card */ public function getIndex() { $jobs = $this->jobs->getPaginated(); return new Card([], [new CardHeader([], [new Row([], [new Column(['medium' => 6, 'class' => 'btn-y-align'], ['All Jobs']), new Column(['medium' => 6, 'class' => 'text-right'], [new Button(['class' => 'btn btn-sm btn-primary-outline'], 'Create new job')])])]), $this->renderJobsTable($jobs), new ConferencePaginator($jobs)]); }