<?php

use qcbase\assets\UpdateAuthAsset;
use yii\helpers\Url;
use yii\web\Request;

$this->title = '权限节点修复';
UpdateAuthAsset::register($this);
?>

<style>
    .update{
        box-shadow:5px 5px 5px #f7f7f7 inset;
        border:1px solid #bdbcbc;
        width:670px;
        height:200px;
        padding:10px;
        overflow:hidden;
        display:block;
        overflow-y:scroll;
        margin:25px auto;
        font-size:12px;
        margin-bottom:22px;
        outline:none;
    }
    .update ul{
        line-height:1.8;
    }
    .btn_old{
        display:inline-block;
        width:100px;
        height:30px;
        text-decoration:none;
        color:red !important;
        margin:0 5px;
        border:0 none;
        cursor:pointer;
        vertical-align:top;
    }
</style>
<div class="update" id="log">
    <ul id="updateLogo" >
    </ul>
    <div class="bottom"> <a href="javascript:;" class="btn_old">&nbsp;正在修复...</a> </div>

</div>
<script>
    var updateUrl = "<?= Url::to(['menu/update-auth']) ?>"
    var menu_id = "<?= $info['menu_id'] ?>";
    var auth_url = "<?= $info['auth_url'] ?>";
    var menu_name = "<?= $info['name'] ?>";
    var csrfToken = "<?= Yii::$app->request->getCsrfToken() ?>";
</script>