title = '文件管理'; $this->params['breadcrumbs'][] = $this->title; FontAwesomeAsset::register($this); JqueryAsset::register($this); $this->registerCssFile('@web/css/home_style.css'); ?>
名称 | 操作 | ||
---|---|---|---|
= Html::tag('i', '', ['class' => $item['type'] . ' file_icon']) ?> = Html::a($item['name'], ['home/index', 'directory' => $relativePath], ['class' => 'file_name']) ?> | = Html::button(Html::tag('i', '', ['class' => 'fa-regular fa-pen-to-square']), ['value' => $relativePath, 'class' => 'btn btn-outline-secondary rename-btn', 'data-bs-toggle' => 'tooltip', 'data-bs-placement' => 'top', 'data-bs-title' => '重命名']) ?> | = Html::tag('i', '', ['class' => $item['type'] . ' file_icon']) ?> = Html::a($item['name'], ['home/download', 'relativePath' => $relativePath], ['class' => 'file_name']) ?> | = Html::button(Html::tag('i', '', ['class' => 'fa-regular fa-circle-down']), [ 'value' => Url::to(['home/download', 'relativePath' => $relativePath]), 'class' => 'btn btn-outline-primary download-btn', 'data-bs-toggle' => 'tooltip', 'data-bs-placement' => 'top', 'data-bs-title' => '下载' ]) ?> = Html::button(Html::tag('i', '', ['class' => 'fa-regular fa-pen-to-square']), ['value' => $relativePath, 'class' => 'btn btn-outline-secondary rename-btn', 'data-bs-toggle' => 'tooltip', 'data-bs-placement' => 'top', 'data-bs-title' => '重命名']) ?> = Html::button(Html::tag('i','',['class' => 'fa-regular fa-trash-can']),['value' => $relativePath,'class' =>'btn btn-outline-danger delete-btn', 'data-bs-toggle' => 'tooltip', 'data-bs-placement' => 'top', 'data-bs-title' => '删除'])?> |