airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimuthu...@apache.org
Subject [airavata-php-gateway] branch master updated: Enabling search query field in application inputs
Date Tue, 17 Jul 2018 16:54:14 GMT
This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-php-gateway.git


The following commit(s) were added to refs/heads/master by this push:
     new ffb4d85  Enabling search query field in application inputs
ffb4d85 is described below

commit ffb4d857d013e8a67765e3bae175fb801c13f38d
Author: dimuthu <dimuthu.upeksha2@gmail.com>
AuthorDate: Tue Jul 17 12:54:07 2018 -0400

    Enabling search query field in application inputs
---
 app/libraries/AppUtilities.php                      | 2 +-
 app/views/partials/interface-output-block.blade.php | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/app/libraries/AppUtilities.php b/app/libraries/AppUtilities.php
index 2a119a6..ab69406 100644
--- a/app/libraries/AppUtilities.php
+++ b/app/libraries/AppUtilities.php
@@ -92,7 +92,7 @@ class AppUtilities
 //                    "location" => $appInterfaceValues["location"][$index],
                     "isRequired" => $appInterfaceValues["isRequiredOutput"][$index],
                     "requiredToAddedToCommandLine" => $appInterfaceValues["requiredToAddedToCommandLineOutput"][$index],
-//                    "searchQuery" => $appInterfaceValues["searchQuery"][$index]
+                    "searchQuery" => $appInterfaceValues["searchQuery"][$index]
                 ));
                 $appInterface->applicationOutputs[] = $outputDataObjectType;
             }
diff --git a/app/views/partials/interface-output-block.blade.php b/app/views/partials/interface-output-block.blade.php
index c50ab74..7c2147c 100644
--- a/app/views/partials/interface-output-block.blade.php
+++ b/app/views/partials/interface-output-block.blade.php
@@ -44,6 +44,14 @@
         </div>
     </div>
     <div class="form-group">
+        <label class="control-label col-md-3">Search Query</label>
+
+        <div class="col-md-9">
+            <input type="text" readonly class="form-control" name="searchQuery[]"
+                   value="@if( isset( $appOutputs) ){{$appOutputs->searchQuery }}@endif"/>
+        </div>
+    </div>
+    <div class="form-group">
         <label class="control-label col-md-3">Data Movement</label>
 
         <div class="col-md-9">


Mime
View raw message