<div ng-controller="MarkAsReadConfigurationController" ng-init="init()" class="lt-module-page">

    <div class="lt-module-page__top lt-module-page-top">
        <div class="lt-module-page-top__title">
            <h1>{{'General' | translate}}</h1>
        </div>
        <div class="lt-module-page-top__actions">
            <div>
                {{'Configuration' | translate}}
            </div>
            <div class="lt-module-page--paddingleft">
                <wizdom365-specific-configuration-picker module="'MarkAsRead'"></wizdom365-specific-configuration-picker>
            </div>
            <div class="lt-module-page--paddingleft">
                <button class="btn btn-primary"
                        ng-disabled="saving"
                        ng-click="saveTemplate()">
                    {{saving ? 'Saving' : 'Save configuration' | translate}}
                </button>
            </div>
        </div>
    </div>

    <div class="lt-module-page__content">
        <div class="container-fluid">
            <div class="wizdom-controls">
                <div class="row wizdom-controls-row noborder">
                    <div class="col-sm-12">
                        <form role="form" class="form-horizontal">
                            <div class="form-group">
                                <div class="col-xs-4">
                                    <label class="control-label">{{'Template Url' | translate}}</label>
                                </div>
                                <div class="col-xs-8">
                                    <wizdom365-template-picker template-url="selectedTemplate.valueObj['#text']" directory-path="Manual/Templates/ViewTemplates/MarkAsRead" />
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>


</div>
