Plugin Directory

Changeset 2463569


Ignore:
Timestamp:
01/27/2021 01:22:39 PM (5 years ago)
Author:
bbaton
Message:

Version 1.10

Location:
bbaton-anonymous-age-verification
Files:
28 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • bbaton-anonymous-age-verification/trunk/assets/css/bbaa.css

    r2455670 r2463569  
    162162    display: block;
    163163    overflow: hidden;
    164     background: white;
     164    background: transparent !important;
    165165}
    166166
     
    168168    float: left;
    169169    max-width: 480px;
     170    text-align: left !important;
    170171}
    171172
    172173.col-right {
    173     float: left;
     174  /*  float: left;*/
    174175    max-width: 480px;
    175176}
  • bbaton-anonymous-age-verification/trunk/assets/js/bbaa.js

    r2459468 r2463569  
    9595         
    9696    });
     97  jQuery('#ignore_mail').on('click', function(){
     98    jQuery('#detail_popup').hide();
     99    if (url_initial.indexOf("?") < 0)
     100     url_initial += "?iamport_response_code=" + mer_uid;
     101   else
     102     url_initial += "&iamport_response_code=" + mer_uid;
     103   window.location.href = url_initial;
     104 });
     105
    97106  var mail_form = jQuery('#mail_form');
    98107  if (mail_form.length > 0 ) {
  • bbaton-anonymous-age-verification/trunk/bbaton-ananoymous-age-verification.php

    r2459474 r2463569  
    33Plugin Name: 비바톤 익명 성인인증 | BBaton Anonymous Age Verification
    44Description: Anonymous Age Verification Service for Korean Users
    5 Version: 1.9.10
     5Version: 1.10
    66Author: BBaton
    77Author URI: https://www.bbaton.com
  • bbaton-anonymous-age-verification/trunk/login-page.php

    r2453574 r2463569  
    22<link href="<?php echo plugins_url('assets/css/bbaa.css?ver=1.7.2', __FILE__); ?>" rel="stylesheet">
    33 <style>
     4    .col-right{
     5  display: inline-grid;
     6  position: relative !important;
     7  top: 38% !important;
     8  left: 10% !important;
     9    }
    410    html {
    511        min-height: 100%;
     
    1723    }
    1824
    19     #submit_btn {
     25    #submit_btn{
    2026        background-color: #0071bc !important;
    2127        padding: 11px 48px;
     
    2430        font-weight: bold;
    2531    }
     32
    2633    .tag_line {
    2734        font-size: 20px;
     
    4754        overflow: hidden;
    4855    }
     56    #detail_popup {
     57    background: url(<?php echo plugins_url('assets/bg-login.jpg', __FILE__); ?>) !important;
     58    background-size: auto;
     59    background-size: cover !important;
     60}
     61
     62    .imp-dialog.pc.certification-danal {
     63     background: url(<?php echo plugins_url('assets/bg-login.jpg', __FILE__); ?>) !important;
     64    background-size: auto;
     65    background-size: cover !important;
     66}
    4967    .bbaa {
    50         background: url(<?php echo plugins_url('assets/blue-white.jpg', __FILE__); ?>) !important;
     68        background: url(<?php echo plugins_url('assets/bg-login.jpg', __FILE__); ?>) !important;
    5169        background-size: cover !important;
    5270        font-family: "Nanum Gothic", sans-serif;
    5371        overflow-y: auto;
     72        background-position: right !important;
    5473    }
    5574    a:hover, a:visited, a:link, a:active {
     
    6786        margin: auto !important;
    6887    }
     88    #bbaton_auth {
     89        padding-top: 100px;
     90    }
     91    .btn-container {text-align:left; padding-bottom:25px;}
     92    .btn-container img{
     93         max-width: 80%;
     94         
     95    }
     96    html body .bbaa .cs-container .col-right { left:15% !important;}
    6997</style>
    7098<div class="bbaa">
    7199     <div class="cs-container">
    72100        <div class="col-left">
    73             <video id="promo-video" height="270" muted autoplay preload="none" loop="" style="width:100%;" poster="<?php echo plugins_url('assets/promo.png', __FILE__); ?>">
    74                 <source src="<?php echo plugins_url('assets/promo.mp4', __FILE__); ?>" type="video/mp4">
    75             </video>
    76         </div>
    77         <div class="col-right text-center">
    78101            <div class="spacer">
    79102                <span class="number">19</span>
     
    81104                    본 내용은 청소년 유해매체물로서 정보통신망 이용촉진법 및 정보보호 등에 관한 법률 및 청소년 보호법 규정에 의하여 19세 미만의 청소년은 사용할 수 없습니다.
    82105                </p>
    83                 <div class="content-33">
    84                     <div style="padding: 4px;">
    85                         <a style='display: inline-block;' id='bbaton_auth' href='#'>
    86                             <img src='<?php echo plugins_url('assets/BBaton_Logo_Login_KR_v2.png?ver=2.12', __FILE__); ?>'/></a>
    87                     </div>
    88                 </div>
    89                 <div class="content-33">
    90                     <div style="padding: 4px;">
    91                         <a style='display: inline-block;' id='iamport_auth' href='#'>
    92                             <img src='<?php echo plugins_url('assets/iamport.png?ver=2.12', __FILE__); ?>'/></a>
    93                     </div>
    94                 </div>
    95                 <div class="content-33">
     106                <div class="btn-container">
    96107                    <div style="padding: 4px;">
    97108                        <a style='display: inline-block;' href='<?php echo get_option('bbaa_exit_url'); ?>'>
     
    100111                </div>
    101112            </div>
     113        </div>
     114        <div class="col-right text-center">
     115                            <div  class="btn-container">
     116                    <div style="padding: 4px;">
     117                        <a style='display: block;' id='bbaton_auth' href='#'>
     118                            <img src='<?php echo plugins_url('assets/BBaton_Logo_Login_KR_v2.png?ver=2.12', __FILE__); ?>'/></a>
     119                    </div>
     120                </div>
     121                <div  class="btn-container">
     122                    <div style="padding: 4px;">
     123                        <a style='display: block;' id='iamport_auth' href='#'>
     124                            <img src='<?php echo plugins_url('assets/iamport.png?ver=2.12', __FILE__); ?>'/></a>
     125                    </div>
     126                </div>
    102127        </div>
    103128    </div>
     
    115140    </div>
    116141    <div class="email_container">
    117         <form action="" method="post" id="mail_form">
     142    <form action="" method="post" id="mail_form">
    118143        <p>이메일로 처리 결과를 보내 드리겠습니다.</p>
    119144        <label for=""></label>
    120         <input type="email" placeholder="이메일" name="user_email" id="user_email">
     145        <input type="email" placeholder="이메일" name="user_email" id="user_email" required>
    121146        <div>
    122147             <input style="background-color: #0071bc !important;" type="submit" name="mail_submit" value="완료" id="submit_btn">
     148            <!--  <input style="background-color: #0071bc !important;" type="button" name="ignore_mail" value="아니오, 괜찮습니다" id="ignore_mail"> -->
    123149        </div>
     150        <div style="margin-top: 8px;"><a href="#" id="ignore_mail" style="text-decoration: underline !important;">아니오, 괜찮습니다</a></div>
    124151    </form>
    125152    <div class="last_step">
     
    142169    jQuery("header").remove();
    143170    jQuery("#header-top-bar").remove();
    144     jQuery(document).ready(function(){
    145         var promo_video = document.getElementById('promo-video');
    146         promo_video.muted = true;
    147         promo_video.play();
    148     });
    149     function startVideoIfNotStarted () {
    150         jQuery(".id_of_video_tag").ready(function () {
    151             window.setTimeout(function(){
    152                 var promo_video = document.getElementById('promo-video');
    153                 promo_video.muted = true;
    154                 promo_video.play();
    155             }, 1000);
    156         });
    157     }
    158     jQuery(startVideoIfNotStarted);
    159171</script>
Note: See TracChangeset for help on using the changeset viewer.