OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/public/templates/components/selectable_title.html

22 lines
871 B

<div class="title-container">
<div class="text">
<p><span with-dropdown dropdown-id="querySelectDropdown">{{ selectedTitle | characters:50 }}<i class="icon-pulldown-arrow1 icon-button"></i></span></p>
</div>
<div class="dropdown dropdown-relative" id="querySelectDropdown">
<div class="search-query-wrapper">
<input type="search" ng-model="filterBy" ng-change="filterModels(filterBy)" id="title-filter"><i id="magnifier" class="icon-search"></i>
</div>
<div class="query-menu-container" ng-if="group.models" ng-repeat="group in filteredGroups">
<ul class="query-menu">
<div class="title-group-header">{{ group.name }}</div>
<li ng-repeat="model in group.models">
<a href="" ng-click="reload( model[1], model[0] )">{{ model[0] | characters:40 }}</a>
</li>
</ul>
</div>
</div>
</div>