Просмотр исходного кода

change nexted level of templates ng-controller

Henry Oswald 12 лет назад
Родитель
Сommit
583b333a73
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      services/web/app/views/templates/index.jade

+ 3 - 3
services/web/app/views/templates/index.jade

@@ -6,12 +6,12 @@ block vars
 block content
 block content
 	.content.content-alt
 	.content.content-alt
 		.container
 		.container
-			.row.template-page-header
+			.row.template-page-header(ng-controller="SearchController")
 				
 				
 				.col-md-2
 				.col-md-2
 					h2
 					h2
 						a(href="/templates") #{translate("templates")}
 						a(href="/templates") #{translate("templates")}
-				.col-md-8(ng-controller="SearchController")
+				.col-md-8
 					form.project-search.form-horizontal(role="form")
 					form.project-search.form-horizontal(role="form")
 						.form-group.has-feedback.has-feedback-left.col-md-12
 						.form-group.has-feedback.has-feedback-left.col-md-12
 							input.form-control.col-md-12(type='text', ng-model='searchQueryText', ng-keyup='search()', placeholder="Search template library....")
 							input.form-control.col-md-12(type='text', ng-model='searchQueryText', ng-keyup='search()', placeholder="Search template library....")
@@ -23,7 +23,7 @@ block content
 							)
 							)
 				.col-md-2(ng-controller="MissingTemplateController")
 				.col-md-2(ng-controller="MissingTemplateController")
 					a.btn.btn-primary(ng-click="showMissingTemplateModal()") #{translate("missing_template_question")}
 					a.btn.btn-primary(ng-click="showMissingTemplateModal()") #{translate("missing_template_question")}
-				.col-md-12(ng-cloak)
+				.col-md-8(ng-cloak)
 					ul.list-unstyled
 					ul.list-unstyled
 						li(ng-repeat='hit in hits')
 						li(ng-repeat='hit in hits')
 							.thumbnail.searchResult
 							.thumbnail.searchResult