2016-08-25 23:33:10 +00:00
< header data-ng-include = "'/static/modules/core/views/header.client.view.html'" > < / header >
2017-09-20 18:29:17 +00:00
< section class = "admin-form container-fluid" >
2017-07-12 20:31:04 +00:00
2015-07-30 00:22:53 +00:00
<!-- Modal Delete Dialog Template -->
2017-03-10 18:25:35 +00:00
< script type = "text/ng-template" id = "formDeleteModal.html" >
2015-07-30 00:22:53 +00:00
< div class = "modal-header" >
2016-06-16 00:38:22 +00:00
< h2 class = "modal-title hidden-md hidden-lg" > {{ 'ARE_YOU_SURE' | translate }}< / h2 >
< h3 class = "modal-title hidden-xs hidden-sm" > {{ 'ARE_YOU_SURE' | translate }}< / h3 >
2015-07-30 00:22:53 +00:00
< / div >
< div class = "modal-body" >
< div class = "modal-body-alert" >
2016-06-16 00:38:22 +00:00
{{ 'READ_WARNING' | translate }}
2015-08-06 05:52:59 +00:00
< / div >
< p class = "hidden-xs hidden-sm" >
2016-11-14 20:07:36 +00:00
{{ 'DELETE_WARNING1' | translate }} < strong > {{myform.title}}< / strong > {{ 'DELETE_WARNING2' | translate }}
2015-08-06 05:52:59 +00:00
< / p >
2016-06-16 00:38:22 +00:00
< p > {{ 'DELETE_CONFIRM' | translate }}< / p >
2015-07-30 00:22:53 +00:00
< / div >
< div class = "modal-footer" >
2016-11-14 20:07:36 +00:00
< input type = "text" style = "width:100%" data-ng-model = "deleteConfirm" class = "input-block" autofocus required aria-label = "Type in the name of the form to confirm that you want to delete this form." >
2015-08-19 22:29:01 +00:00
< button type = "submit" ng-click = "removeCurrentForm()" class = "btn btn-block btn-danger" ng-disabled = "myform.title != deleteConfirm" >
2016-06-16 00:38:22 +00:00
{{ 'I_UNDERSTAND' | translate }}
2015-08-04 21:06:16 +00:00
< / button >
2015-07-30 00:22:53 +00:00
< / div >
< / script >
2017-09-20 18:29:17 +00:00
< div class = "page-header row" style = "padding-bottom: 1em;" >
2015-08-06 05:52:59 +00:00
< div class = "col-xs-10 col-sm-8" >
< h1 class = "hidden-sm hidden-xs" data-ng-bind = "myform.title" style = "margin-bottom: 0px;" > < / h1 >
< h2 class = "hidden-md hidden-lg" data-ng-bind = "myform.title" style = "margin-bottom: 0px;" > < / h2 >
2015-07-02 02:49:35 +00:00
< / div >
2015-08-06 05:52:59 +00:00
< div class = "col-xs-1 col-sm-2" >
2016-05-05 19:12:40 +00:00
< small class = "pull-right" >
2015-08-06 05:52:59 +00:00
< button class = "btn btn-danger" ng-click = "openDeleteModal()" >
< i class = "fa fa-trash-o" > < / i >
2016-06-16 00:38:22 +00:00
< span class = "show-sm hidden-lg hidden-md hidden-xs" > {{ 'DELETE_FORM_SM' | translate}}< / span >
< span class = "hidden-xs hidden-sm" > {{ 'DELETE_FORM_MD' | translate}}< / span >
2015-08-06 05:52:59 +00:00
< / button >
2015-07-07 01:21:43 +00:00
< / small >
< / div >
2015-08-06 05:52:59 +00:00
< div class = "col-xs-1 col-sm-2" >
2016-05-05 19:12:40 +00:00
< small class = "pull-right" >
2016-08-26 05:48:44 +00:00
< a class = "btn btn-secondary view-form-btn" href = "{{actualFormURL}}" >
2015-08-06 05:52:59 +00:00
< span class = "hidden-xs hidden-sm" >
2016-06-16 00:38:22 +00:00
{{ 'VIEW' | translate }}
2015-08-06 05:52:59 +00:00
< span ng-show = "myform.isLive" >
2016-06-16 00:38:22 +00:00
{{ 'LIVE' | translate }}
2016-05-05 19:12:40 +00:00
< / span >
2016-08-26 05:48:44 +00:00
< span ng-hide = "myform.isLive" > {{ 'PREVIEW' | translate }}< / span >
2015-08-06 05:52:59 +00:00
< / span >
< i class = "status-light status-light-on fa fa-dot-circle-o" ng-if = "myform.isLive" > < / i >
< i class = "status-light status-light-off fa fa-dot-circle-o" ng-if = "!myform.isLive" > < / i >
2015-07-02 02:49:35 +00:00
< / a >
< / small >
< / div >
2015-06-29 22:51:29 +00:00
< / div >
2015-07-02 02:49:35 +00:00
2016-08-26 05:48:44 +00:00
< div class = "row" >
2015-11-06 17:25:30 +00:00
< div class = "col-xs-12" >
2016-08-26 05:48:44 +00:00
< uib-tabset active = "activePill" vertical = "true" type = "pills" >
2017-10-31 17:21:10 +00:00
< uib-tab ng-repeat = "tab in tabData" index = "{{$index}}" select = "go(tab.route)" heading = "{{tab.heading}}" >
< div ui-view > < / div >
2016-08-26 05:48:44 +00:00
< / uib-tab >
< / uib-tabset >
2017-10-31 17:21:10 +00:00
2016-08-26 05:48:44 +00:00
< / div >
2015-07-03 23:47:14 +00:00
< / div >
2016-05-17 11:27:43 +00:00
< / section >