mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
parent
9f2fca0c50
commit
d6d63ca245
@ -0,0 +1,26 @@
|
|||||||
|
<div class='bar'></div>
|
||||||
|
<br>
|
||||||
|
<style>
|
||||||
|
.bar {
|
||||||
|
width: 30%;
|
||||||
|
height: 20px;
|
||||||
|
border: 1px solid #2980b9;
|
||||||
|
border-radius: 3px;
|
||||||
|
background-image: repeating-linear-gradient(-45deg, #2980b9, #2980b9 11px, #eee 10px, #eee 20px);
|
||||||
|
background-size: 28px 28px;
|
||||||
|
animation: move .5s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes move {
|
||||||
|
0% {
|
||||||
|
background-position: 0 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 28px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
location.href = document.referrer;
|
||||||
|
</script>
|
||||||
@ -284,36 +284,9 @@ class AdvsController extends AdminController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function assetsClear(Filesystem $files, Application $application, Request $request)
|
public function assetsClear(Filesystem $files, Application $application)
|
||||||
{
|
{
|
||||||
$files->deleteDirectory($directory = $application->getAssetsPath('assets'), true);
|
$files->deleteDirectory($directory = $application->getAssetsPath('assets'), true);
|
||||||
echo "
|
echo view('visiosoft.module.advs::admin/clear-assets')->render();
|
||||||
<div class='bar'></div>
|
|
||||||
<br>
|
|
||||||
<style>
|
|
||||||
.bar {
|
|
||||||
width: 30%;
|
|
||||||
height: 20px;
|
|
||||||
border: 1px solid #2980b9;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-image: repeating-linear-gradient(-45deg, #2980b9, #2980b9 11px, #eee 10px, #eee 20px);
|
|
||||||
background-size: 28px 28px;
|
|
||||||
animation: move .5s linear infinite;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes move {
|
|
||||||
0% {
|
|
||||||
background-position: 0 0;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
background-position: 28px 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
location.href = '{$request->server('HTTP_REFERER')}';
|
|
||||||
</script>
|
|
||||||
";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user