Skip to content

Commit

Permalink
fix mobile ui upload mesh agent core
Browse files Browse the repository at this point in the history
Signed-off-by: si458 <simonsmith5521@gmail.com>
  • Loading branch information
si458 committed May 7, 2024
1 parent 56d6527 commit 33c0e82
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions views/default-mobile.handlebars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
Expand Down Expand Up @@ -1158,6 +1158,31 @@
<option value=12>Shift-F10</option>
</select>
</div>
<div id=dialog4 style="margin:auto;margin:3px">
<div id=d3upload>
<div>File Selection</div>
<select id=d3uploadMode onchange=d3modechange()>
<option value=1>Local file upload</option>
<option value=2>Server file selection</option>
</select>
</div>
<div id=d3localmode style="display:none">
<div>Upload File</div>
<form id=d3localmodeform method=post enctype=multipart/form-data action=uploadfile.ashx target=fileUploadFrame>
<input type=text id=d3auth name=auth style="display:none" />
<input type=text id=d3filter name=filter style="display:none" />
<input type=text id=d3attrib name=attrib style="display:none" />
<input type=file id=d3localFile name=files onchange=d3setActions() />
<input type=submit id=d3submit style="display:none" />
</form>
</div>
<div id=d3servermode>
<div id=d3serveraction valign=bottom>
<input type=button id=p3FolderUp disabled="disabled" onclick=d3folderup() value="Up" />&nbsp;<span id=p3CurrentFolder></span>
</div>
<div id=d3serverfiles></div>
</div>
</div>
<div id=dialog7 style="margin:auto;margin:3px">
<div id="d7meshkvm">
<h4 style="width:100%;border-bottom:1px solid gray">Agent Remote Desktop</h4>
Expand Down Expand Up @@ -6652,7 +6677,7 @@
Q('d3localmodeform').action = 'uploadmeshcorefile.ashx';
Q('d3auth').value = authCookie;
Q('d3attrib').value = currentNode._id;
setDialogMode(3, "Upload Mesh Agent Core", 3, p15uploadCoreEx2);
setDialogMode(4, "Upload Mesh Agent Core", 3, p15uploadCoreEx2);
d3init();
}
Expand Down

0 comments on commit 33c0e82

Please sign in to comment.