mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-12 11:55:09 +00:00
24 lines
727 B
Plaintext
24 lines
727 B
Plaintext
.projects-selector(href="javascript:void(0);")
|
|
if !this.state.showSearch
|
|
span.projects-selector_preview(onClick=this.onSearchProject)
|
|
i.fa.fa-fw.fa-bars
|
|
span.projects-selector_preview_text Select a project...
|
|
else
|
|
input.projects-selector_input(
|
|
type="text",
|
|
value=this.state.searchQuery,
|
|
onChange=this.onSearchChange,
|
|
ref=this.onInputMount,
|
|
onBlur=this.onBlurSearch
|
|
)
|
|
ul.projects-selector_items
|
|
each project in this.state.projects
|
|
li.projects-selector_item.row(key=project.name)
|
|
.col-md-8
|
|
p= project.name
|
|
.col-md-4.text-small.text-right
|
|
a.projects-selector_item_run(href="javascript:void(0);", onMouseDown=this.onRunProject(project.name))
|
|
i.fa.fa-fw.fa-play
|
|
|
|
|