|
@@ -80,6 +80,9 @@ if(isset($_GET["bkend"])){
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
<title>ArOZ Onlineβ</title>
|
|
<title>ArOZ Onlineβ</title>
|
|
|
<style>
|
|
<style>
|
|
|
|
|
+ body{
|
|
|
|
|
+ background:rgba(245,245,245,0.8);
|
|
|
|
|
+ }
|
|
|
@media (max-width: 767px){
|
|
@media (max-width: 767px){
|
|
|
.ts.bottom.right.snackbar.active{
|
|
.ts.bottom.right.snackbar.active{
|
|
|
width: 100% !important;
|
|
width: 100% !important;
|
|
@@ -101,7 +104,7 @@ if(isset($_GET["bkend"])){
|
|
|
</nav>
|
|
</nav>
|
|
|
<br>
|
|
<br>
|
|
|
<div class="ts container">
|
|
<div class="ts container">
|
|
|
-<div class="ts inverted info segment">
|
|
|
|
|
|
|
+<div class="ts inverted segment">
|
|
|
<p>Batch moving :
|
|
<p>Batch moving :
|
|
|
<select class="ts basic dropdown" name="batchfolderdropdown">
|
|
<select class="ts basic dropdown" name="batchfolderdropdown">
|
|
|
<option>Select</option>
|
|
<option>Select</option>
|
|
@@ -144,6 +147,7 @@ if(isset($_GET["bkend"])){
|
|
|
</div>
|
|
</div>
|
|
|
</dialog>
|
|
</dialog>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+<br><br><br><br>
|
|
|
<div class="ts bottom right snackbar">
|
|
<div class="ts bottom right snackbar">
|
|
|
<div class="content"></div>
|
|
<div class="content"></div>
|
|
|
</div>
|
|
</div>
|
|
@@ -165,6 +169,13 @@ $.ajax({url: "manager.php?bkend=true&query=unsort", success: function(result){
|
|
|
step2();
|
|
step2();
|
|
|
}});
|
|
}});
|
|
|
|
|
|
|
|
|
|
+//Bind enter key to the input bar
|
|
|
|
|
+$("#playlistname").on("keydown",function(e){
|
|
|
|
|
+ if (e.keyCode == 13){
|
|
|
|
|
+ submit();
|
|
|
|
|
+ }
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
function step2(){
|
|
function step2(){
|
|
|
$.ajax({url: "manager.php?bkend=true&query=playlist", success: function(result){
|
|
$.ajax({url: "manager.php?bkend=true&query=playlist", success: function(result){
|
|
|
var resultArr = JSON.parse(result);
|
|
var resultArr = JSON.parse(result);
|
|
@@ -211,6 +222,15 @@ function step4(){
|
|
|
$( "select[name='folderdropdown']" ).change(function() {
|
|
$( "select[name='folderdropdown']" ).change(function() {
|
|
|
if($(this).val()!==""){
|
|
if($(this).val()!==""){
|
|
|
var DOM = $(this);
|
|
var DOM = $(this);
|
|
|
|
|
+ //Try to replace this with the new File System fsexec.php?
|
|
|
|
|
+ /*
|
|
|
|
|
+ Usage:
|
|
|
|
|
+ $.get( "fsexec.php?opr=move&from=" + {source(From file_system folder or realpath)} + "&target=" + {target(From file_system folder or realpath)}, function(data) {
|
|
|
|
|
+ //Return an UUID, can call fsexec.php?listen={uuid} to see the file moving progress
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ */
|
|
|
$.post( "mover.php", { opr: 1, files: $(this).attr("file"), dir: $(this).val() },function( data ) {
|
|
$.post( "mover.php", { opr: 1, files: $(this).attr("file"), dir: $(this).val() },function( data ) {
|
|
|
if(data == "DONE"){
|
|
if(data == "DONE"){
|
|
|
$(DOM).parent().parent().parent().parent().parent().fadeOut( "slow", function() {
|
|
$(DOM).parent().parent().parent().parent().parent().fadeOut( "slow", function() {
|