--- /dev/null
+#!/usr/bin/env ruby
+
+require 'cgi'
+
+cgi = CGI.new
+
+### Header
+HTMLstr = ""
+HTMLstr += "<!DOCTYPE html>"
+HTMLstr += "<html>"
+HTMLstr += "<head>"
+HTMLstr += "<title>FileDelete</title>"
+
+## Query to Parameters
+strDeleteFile = cgi['DeleteFile']
+
+## View as HTML Statement
+HTMLstr += '<meta http-equiv="refresh" content="0;URL=./' + strDeleteFile + '?pione-action=delete">'
+
+HTMLstr += "</head>"
+HTMLstr += "</html>"
+
+# Output as html
+cgi.out(type: "text/html") do
+ HTMLstr
+end
--- /dev/null
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>InteractiveCommand Index Page</title>
+ </head>
+ <body>
+ <a href="index.html">戻る</a><br>
+ <a href="?pione-action=finish">終了</a><br>
+ <br>
+ <form action="FileDelete.cgi" method="post" enctype="multipart/form-data">
+ 削除ファイル名<br>
+ <input type="text" name="DeleteFile" value=""/>
+ <button type="submit">削除</button>
+ </form>
+ ファイルリスト<br>
+ <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
+ <div id="textDiv"></div>
+ <script type="text/javascript">
+ var div = document.getElementById("textDiv");
+ div.textContent = "";
+ $.getJSON("./", {"pione-action": "list"}, function(data){
+ $.each(data, function() {
+ strOut = ".lpf"
+ if( this.name.indexOf(strOut) + strOut.length == this.name.length ){
+ div.textContent += this.name +"\n";
+ }
+ });
+ });
+ </script>
+ </body>
+</html>
\ No newline at end of file
<title>InteractiveCommand Index Page</title>
</head>
<body>
- <a href="mrcImageLowPassFilter.html">mrcImageLowPassFilter</a>
- <br>
+ <a href="mrcImageLowPassFilter.html">mrcImageLowPassFilter</a><br>
+ <a href="FileDelete.html">FileDelete</a><br>
<br>
<a href="?pione-action=finish">終了</a>
</body>