2018-03-08 06:53:22 +01:00
<!--
2018-03-07 10:48:17 +01:00
< div id = "stats" class = "uk-container" >
< div class = "menubar " >
< div class = "page-title uk-article-title" > Statistics< / div >
< / div >
< div class = "content-wrapper" >
< div >
< div class = "contentPanel" >
< div * ngIf = "errorMessage" class = "uk-alert-danger uk-alert" > {{ errorMessage }}< / div >
2018-03-08 06:53:22 +01:00
< div * ngIf = "loadingMessage" class = "loading-big" >
< div class = "loader-big" style = "text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;" > {{ loadingMessage }}< / div >
< div class = "whiteFilm" > < / div >
2018-03-07 10:48:17 +01:00
< / div >
< div class = "page-controls" >
2018-03-08 06:53:22 +01:00
< div class = "filters" >
2018-03-07 10:48:17 +01:00
< div class = "show-options uk-float-right" >
< button class = "uk-button" type = "button" > Bulk Actions< / button >
< div uk-dropdown = "mode: click" >
< ul class = "uk-nav uk-dropdown-nav" >
2018-03-08 06:53:22 +01:00
< li > < a > < i > < / i > Activate < / a > < / li >
< li > < a > < i > < / i > Deactivate < / a > < / li >
< li > < a > < i > < / i > Delete < / a > < / li >
2018-03-07 10:48:17 +01:00
< / ul >
< / div >
< / div >
< / div >
< / div >
< div >
< div class = "gwt-HTML" >
< div class = "row users-list" >
< div class = "col-md-12" >
< div class = "filters marginBottom20" >
< div class = "links form-group form-inline" >
< span > Filter by community:< / span >
2018-03-08 06:53:22 +01:00
< select class = "uk-select uk-width-medium" & lt ; ! & ndash ; ( change ) = " filterByCommunity ( $ event ) " & ndash ; & gt ; >
< !– option value="">- - none selected - - < /option– >
2018-03-07 10:48:17 +01:00
< option * ngFor = "let community of communities" value = "{{community.pid}}" > {{community.name}}< / option >
< / select >
< / div >
< / div >
2018-03-08 06:53:22 +01:00
< !– < table class = "uk-table uk-table-striped" >
2018-03-07 10:48:17 +01:00
< thead >
< tr >
< th > < input id = "allPageCheckbox" type = "checkbox" ( change ) = " toggleCheckBoxes ( $ event ) " > < / th >
< th > Name< / th >
< th > State< / th >
< th * ngIf = "!pagesType" > Type< / th >
< th > Related Entities< / th >
< th > Route< / th >
< th > Actions< / th >
< th > Page Help Contents< / th >
< th * ngIf = "pageWithDivIds && pageWithDivIds.length > 0" > Class Help Contents< / th >
< / tr >
< / thead >
2018-03-08 06:53:22 +01:00
< tbody * ngIf = "checkboxes" >
< !–
2018-03-07 10:48:17 +01:00
< tr * ngFor = "let check of checkboxes; let i=index" >
< td > < input id = "{{check.page._id}}" class = "checkBox" type = "checkbox"
name="pagescb[]" value="{{check.page._id}}" [(ngModel)]="check.checked">
< / td >
< td >
< div class = "name" href = "#" > {{check.page.name}}< / div >
< / td >
< td >
< div * ngIf = "check.page.isEnabled" class = "activated" >
< input ( click ) = " togglePages ( false , [ check . page . _id ] ) " class = "deactivate" src = "imgs/check-icon.png" title = "Disable" width = "20" type = "image" height = "20" >
< / div >
< div * ngIf = "!check.page.isEnabled" class = "deactivated" >
< input ( click ) = " togglePages ( true , [ check . page . _id ] ) " class = "deactivate" src = "imgs/x-icon.png" title = "Enable" width = "20" type = "image" height = "20" >
< / div >
< / td >
< td * ngIf = "!pagesType" >
< div class = "type" href = "#" > {{check.page.type}}< / div >
< / td >
< td >
< div class = "entities" href = "#" >
< span * ngFor = "let entity of check.page.entities let i=index" > {{entity.name}}< span * ngIf = "i<(check.page.entities.length-1)" > , < / span > < / span >
< / div >
< / td >
< td >
< div class = "route" href = "#" > {{check.page.route}}< / div >
< / td >
< td >
< div class = "actions" href = "#" >
< input title = "Edit" src = "imgs/icn_edit.png" class = "edit" type = "image" ( click ) = " editPage ( i ) " >
< input title = "Delete" src = "imgs/icn_trash.png" class = "delete" type = "image" ( click ) = " confirmDeletePage ( check . page . _id ) " >
< / div >
< / td >
< td >
< a class = "helpContents" [ queryParams ] = " { community: selectedCommunityPid , page: check . page . _id } " routerLink = "/pageContents" > add page contents< / a >
< / td >
< td * ngIf = "pageWithDivIds && pageWithDivIds.length > 0" class = "uk-text-center" >
< a * ngIf = "pageWithDivIds.includes(check.page._id)" class = "classHelpContents" [ queryParams ] = " { community: selectedCommunityPid , page: check . page . _id } " routerLink = "/classContents" > add class contents< / a >
< span * ngIf = "!pageWithDivIds.includes(check.page._id)" > -< / span >
< / td >
< / tr >
2018-03-08 06:53:22 +01:00
– >
2018-03-07 10:48:17 +01:00
< / tbody >
2018-03-08 06:53:22 +01:00
< / table > – >
2018-03-07 10:48:17 +01:00
2018-03-08 06:53:22 +01:00
< !– < div * ngIf = "checkboxes.length==0" class = "col-md-12" >
2018-03-07 10:48:17 +01:00
< div class = "uk-alert-warning" uk-alert > No pages found< / div >
2018-03-08 06:53:22 +01:00
< / div > – >
2018-03-07 10:48:17 +01:00
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
2018-03-08 06:53:22 +01:00
< / div > -->