<div x-data="HF_CLISEC_APP">
    <div class="hfng-logo-wrap">
        <img src="{{ links.happyfenceng_logo_url }}"
            alt="HappyFenceNG Logo"
            class="hfng-logo">
        <p class="hfng-logo-info">
            {{ texts.happyfenceng_release_name }} &nbsp; | &nbsp;
            {{ texts.happyfenceng_version }} &nbsp; | &nbsp;
            {{ texts.happyfenceng_build }}
        </p>
    </div>
    
    <hr class="hfng-divider" />
    
    <h1>{{texts.title}}   
    <p x-show="!featureEnabled" class="hfng-feature-disabled">                
                   ( {{texts.feature_requires}} )
    </p>
    </h1> 

    <div class="notice notice-info" style="max-width: 800px;">    
       
        <p>{{texts.note_line_1}}</p>
        <p>{{texts.note_line_2}}</p>
        <p>{{texts.note_line_3}}</p>
        <p>{{texts.note_line_4}}</p><br>
        <p><strong>{{texts.note_line_5}}</strong><code>wp happyfenceng disable_cf_guard --cli-pass='your_secure_password'</code></p>
        <p><strong>{{texts.note_line_6}}</strong><code>wp happyfenceng disable_ipbl_guard --cli-pass='your_secure_password'</code></p>
        <p><strong>{{texts.note_line_7}}</strong><code>wp happyfenceng show_login_slug --cli-pass='your_secure_password'</code></p>
        <p><strong>{{texts.note_line_8}}</strong><code>wp happyfenceng dashboard --cli-pass='your_secure_password'</code></p>
        <p><strong>{{texts.note_line_9}}</strong><code>wp happyfenceng list_wp_filters --cli-pass='your_secure_password'</code></p>
        <p><strong>{{texts.note_line_10}}</strong><code>wp happyfenceng list_hf_filters --cli-pass='your_secure_password'</code></p>
        
        <div class="notice notice-warning" style="padding:10px; margin:5px 0;">
            <p><strong>{{texts.warning_title}}</strong></p>
            <p>{{texts.warning_line_1}}</p>
            <p>{{texts.warning_line_2}}</p>
            <p>{{texts.warning_line_3}}</p>
            <p>{{texts.warning_line_4}}</p>                            
        </div><br>

        <p><strong>{{texts.clipass_title}}</strong></p>
        <p>{{texts.clipass_current}} <strong x-text="wpcliSecPass"></strong></strong></p>
    </div>
       
    <br>
        <div>        
            <button type="button" class="hfng-button" @click="saveSettings" :disabled="!featureEnabled"> {{texts.save_settings}}</button>
        </div>
        <div x-show="myResult" 
                x-text="myResult" 
                :class="myColor" 
                style="margin-left:10px; display:inline-block;"
                x-transition.opacity.duration.300ms>
        </div>
                
    <hr class="hfng-divider" />
</div>
