Fixed pug linting issues
This commit is contained in:
		| @@ -1,14 +1,14 @@ | ||||
| #alerts | ||||
| 	ul | ||||
| 		template(v-for="aItem in children", track-by='_uid') | ||||
| 			li(v-bind:class='aItem.class') | ||||
| 				button(v-on:click='acknowledge(aItem._uid)') | ||||
| 				strong {{ aItem.title }} | ||||
| 				span {{ aItem.message }} | ||||
|   ul | ||||
|     template(v-for='aItem in children', track-by='_uid') | ||||
|       li(v-bind:class='aItem.class') | ||||
|         button(v-on:click='acknowledge(aItem._uid)') | ||||
|         strong {{ aItem.title }} | ||||
|         span {{ aItem.message }} | ||||
|  | ||||
| if appflash.length > 0 | ||||
| 	script(type='text/javascript'). | ||||
| 		var alertsData = !{JSON.stringify(appflash)}; | ||||
|   script(type='text/javascript'). | ||||
|     var alertsData = !{JSON.stringify(appflash)}; | ||||
| else | ||||
| 	script(type='text/javascript'). | ||||
| 		var alertsData = []; | ||||
|   script(type='text/javascript'). | ||||
|     var alertsData = []; | ||||
|   | ||||
| @@ -1,9 +1,8 @@ | ||||
| footer.footer | ||||
| 	span | ||||
| 		= t('footer.poweredby') + ' ' | ||||
| 		a(href='https://github.com/Requarks/wiki') Wiki.js | ||||
| 		| . | ||||
| 	ul | ||||
| 		li: a(href='/')= t('footer.home') | ||||
| 		li: a(href='#root')= t('footer.top') | ||||
| 					 | ||||
|   span | ||||
|     = t('footer.poweredby') + ' ' | ||||
|     a(href='https://github.com/Requarks/wiki') Wiki.js | ||||
|     | . | ||||
|   ul | ||||
|     li: a(href='/')= t('footer.home') | ||||
|     li: a(href='#root')= t('footer.top') | ||||
|   | ||||
| @@ -1,36 +1,34 @@ | ||||
|  | ||||
| #header-container | ||||
| 	nav.nav.stickyscroll#header | ||||
| 		.nav-left | ||||
| 			block rootNavLeft | ||||
| 				a.nav-item(href='/') | ||||
| 					h1 | ||||
| 						i.icon-layers | ||||
| 						= appconfig.title | ||||
| 		.nav-center | ||||
| 			block rootNavCenter | ||||
| 				.nav-item | ||||
| 					p.control(v-bind:class="{ 'is-loading': searchload > 0 }") | ||||
| 						input.input#search-input(type='text', v-model='searchq', @keyup.esc='closeSearch', @keyup.down='moveDownSearch', @keyup.up='moveUpSearch', @keyup.enter='moveSelectSearch', debounce='400', placeholder='Search...') | ||||
| 		span.nav-toggle | ||||
| 			span | ||||
| 			span | ||||
| 			span | ||||
| 		.nav-right | ||||
| 			block rootNavRight | ||||
| 				i.nav-item#notifload | ||||
|  | ||||
| 	transition(name="searchresults-anim", enter-active-class="slideInDown", leave-active-class="fadeOutUp") | ||||
| 		.searchresults.animated(v-show='searchactive', v-cloak, style={'display':'none'}) | ||||
| 			p.searchresults-label Search Results | ||||
| 			ul.searchresults-list | ||||
| 				li(v-if="searchres.length === 0") | ||||
| 					a: em No results matching your query | ||||
| 				li(v-for='sres in searchres', v-bind:class="{ 'is-active': searchmovekey === 'res.' + sres._id }") | ||||
| 					a(v-bind:href="'/' + sres._id") {{ sres.title }} | ||||
| 			p.searchresults-label(v-if='searchsuggest.length > 0') Did you mean...? | ||||
| 			ul.searchresults-list(v-if='searchsuggest.length > 0') | ||||
| 				li(v-for='sug in searchsuggest', v-bind:class="{ 'is-active': searchmovekey === 'sug.' + sug }") | ||||
| 					a(v-on:click="useSuggestion(sug)") {{ sug }} | ||||
|  | ||||
|   nav.nav.stickyscroll#header | ||||
|     .nav-left | ||||
|       block rootNavLeft | ||||
|         a.nav-item(href='/') | ||||
|           h1 | ||||
|             i.icon-layers | ||||
|             = appconfig.title | ||||
|     .nav-center | ||||
|       block rootNavCenter | ||||
|         .nav-item | ||||
|           p.control(v-bind:class='{ "is-loading": searchload > 0 }') | ||||
|             input.input#search-input(type='text', v-model='searchq', @keyup.esc='closeSearch', @keyup.down='moveDownSearch', @keyup.up='moveUpSearch', @keyup.enter='moveSelectSearch', debounce='400', placeholder='Search...') | ||||
|     span.nav-toggle | ||||
|       span | ||||
|       span | ||||
|       span | ||||
|     .nav-right | ||||
|       block rootNavRight | ||||
|         i.nav-item#notifload | ||||
|  | ||||
|   transition(name='searchresults-anim', enter-active-class='slideInDown', leave-active-class='fadeOutUp') | ||||
|     .searchresults.animated(v-show='searchactive', v-cloak, style={'display':'none'}) | ||||
|       p.searchresults-label Search Results | ||||
|       ul.searchresults-list | ||||
|         li(v-if='searchres.length === 0') | ||||
|           a: em No results matching your query | ||||
|         li(v-for='sres in searchres', v-bind:class='{ "is-active": searchmovekey === "res." + sres._id }') | ||||
|           a(v-bind:href='"/" + sres._id') {{ sres.title }} | ||||
|       p.searchresults-label(v-if='searchsuggest.length > 0') Did you mean...? | ||||
|       ul.searchresults-list(v-if='searchsuggest.length > 0') | ||||
|         li(v-for='sug in searchsuggest', v-bind:class='{ "is-active": searchmovekey === "sug." + sug }') | ||||
|           a(v-on:click='useSuggestion(sug)') {{ sug }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user