<div class="optOutCustomizer">
    <p>
        {{ 'CoreAdminHome_OptOutExplanation'|translate }}
        <span ng-bind-html="'General_ReadThisToLearnMore'|translate:'&lt;a rel=\'noreferrer noopener\' target=\'_blank\' href=\'https://matomo.org/faq/how-to/faq_25918/\'>':'&lt;/a>'"></span>
    </p>

    <h3>{{ 'PrivacyManager_OptOutCustomize'|translate }}</h3>
        <div>
            <p>
                <span>
                {{ 'PrivacyManager_FontColor'|translate }}:
                <input type="color" ng-model="optOutCustomizer.fontColor" ng-change="optOutCustomizer.onUpdate()">
                </span>

                <span>
                {{ 'PrivacyManager_BackgroundColor'|translate }}:
                <input type="color" ng-model="optOutCustomizer.backgroundColor" ng-change="optOutCustomizer.onUpdate()">
                </span>

                <span>
                {{ 'PrivacyManager_FontSize'|translate }}:
                <input id=FontSizeInput type="number" min="1" max="100" ng-model="optOutCustomizer.fontSize" ng-change="optOutCustomizer.updateFontSize()">
                </span>

                <span>
                        <select class="browser-default" ng-model="optOutCustomizer.fontSizeUnit" ng-change="optOutCustomizer.updateFontSize()">
                                <option value="px">px</option>
                                <option value="pt">pt</option>
                                <option value="em">em</option>
                                <option value="rem">rem</option>
                                <option value="%">%</option>
                        </select>
                </span>

                <span>
                {{ 'PrivacyManager_FontFamily'|translate }}:
                <input id=FontFamilyInput type="text" ng-model="optOutCustomizer.fontFamily" ng-change="optOutCustomizer.onUpdate()">
                </span>
                
            </p>
        </div>
    </p>
    <h3>{{ 'PrivacyManager_OptOutHtmlCode'|translate }}</h3>
    <pre piwik-select-on-focus>&lt;iframe
        style="border: 0; height: 200px; width: 600px;"
        src="{{ optOutCustomizer.iframeUrl }}"
        &gt;&lt;/iframe&gt;</pre>
    <p ng-bind-html="'CoreAdminHome_OptOutExplanationIntro'|translate:'&lt;a  href=\'' + optOutCustomizer.iframeUrl + '\' rel=\'noreferrer noopener\' target=\'_blank\'>':'&lt;/a>'">
    </p>
    <h3>{{ 'PrivacyManager_OptOutPreview'|translate }}</h3>
    <iframe id="previewIframe" ng-src="{{ optOutCustomizer.iframeUrl }}"  style="border: 1px solid #333; height: 200px; width: 600px;" />
</div>
