Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit 40eee90

Browse files
committed
moved searchbox outside of the umb-box
1 parent d1d8ba4 commit 40eee90

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

src/Our.Umbraco.DocTypeGridEditor/Web/UI/App_Plugins/DocTypeGridEditor/Views/doctypegrideditor.dialog.html

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,23 @@
1313
</umb-load-indicator>
1414
<div ng-if="!vm.loading" ng-switch="dialogMode">
1515
<div ng-switch-when="selectDocType">
16+
17+
<div class="form-search" ng-hide="docTypes.length < 0 && model.filter === false" style="margin-bottom: 15px;">
18+
<i class="icon-search"></i>
19+
<input type="text"
20+
ng-model="searchTerm"
21+
class="umb-search-field search-query input-block-level -full-width-input"
22+
localize="placeholder"
23+
placeholder="@placeholders_filter"
24+
umb-auto-focus
25+
no-dirty-check />
26+
</div>
27+
1628
<umb-box>
1729
<p class="abstract" ng-if="docTypes && docTypes.length === 0">
1830
<localize key="create_noDocumentTypes" />
1931
</p>
2032

21-
<div class="form-search" ng-hide="docTypes.length < 0 && model.filter === false" style="margin-bottom: 15px;">
22-
<i class="icon-search"></i>
23-
<input type="text"
24-
ng-model="searchTerm"
25-
class="umb-search-field search-query input-block-level -full-width-input"
26-
localize="placeholder"
27-
placeholder="@placeholders_filter"
28-
umb-auto-focus
29-
no-dirty-check />
30-
</div>
31-
3233
<ul class="umb-actions umb-actions-child" ng-if="docTypes.length > 0 && !model.showDocTypeSelectAsGrid">
3334

3435
<li class="umb-action" ng-repeat="docType in docTypes | orderBy:'name' | filter:searchTerm">

0 commit comments

Comments
 (0)