airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndo...@apache.org
Subject airavata-php-gateway git commit: Experiment Statistics UI Changes
Date Wed, 10 Feb 2016 21:05:05 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 0bb39147b -> e8ff24991


Experiment Statistics UI Changes


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/e8ff2499
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/e8ff2499
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/e8ff2499

Branch: refs/heads/develop
Commit: e8ff249918013ace64f6372e0dd4f3e44670e641
Parents: 0bb3914
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Wed Feb 10 16:03:37 2016 -0500
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Wed Feb 10 16:03:37 2016 -0500

----------------------------------------------------------------------
 .../partials/experiment-container.blade.php     | 23 +++++++++++---------
 1 file changed, 13 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/e8ff2499/app/views/partials/experiment-container.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/experiment-container.blade.php b/app/views/partials/experiment-container.blade.php
index e9dc65f..dd1ecd7 100644
--- a/app/views/partials/experiment-container.blade.php
+++ b/app/views/partials/experiment-container.blade.php
@@ -19,20 +19,16 @@
                 <th>Resource</th>
                 <th>Creation Time</th>
                 <th>Status</th>
-                <!--                    <select class="form-control select-status">-->
-                <!--                        <option value="ALL">Status</option>-->
-                <!--                    @foreach( $expStates as $index => $state)-->
-                <!--                        <option value="{{ $state }}">{{ $state
}}</option>-->
-                <!--                    @endforeach-->
-                <!--                    </select>-->
-                <!--                </th>-->
+                @if( isset( $dashboard))
+                <th>Check Stats</th>
+                @endif
             </tr>
 
             @foreach($expContainer as $experiment)
                 <tr>
                     <!-- Experiment Name -->
                     <td> 
-                        <a @if( isset( $dashboard)) class="get-exp-stats" data-expid="{{$experiment['experiment']->experimentId}}"
@else href="{{URL::to('/')}}/experiment/summary?expId={{$experiment['experiment']->experimentId}}"
@endif style="cursor: pointer;">
+                        <a href="{{URL::to('/')}}/experiment/summary?expId={{$experiment['experiment']->experimentId}}"
target="_blank">
                         {{ $experiment['experiment']->name }} 
                         </a>
                         @if( $experiment['expValue']['editable'])
@@ -59,11 +55,18 @@
                     <td class="time" unix-time="{{ $experiment['experiment']->creationTime
/ 1000 }}"></td>
 
                     <td>
-                        <a @if( isset( $dashboard)) class="get-exp-stats {{ ExperimentUtilities::get_status_color_class(
$experiment['expValue']['experimentStatusString'] ) }}" data-expid="{{$experiment['experiment']->experimentId}}"
@else class="{{ ExperimentUtilities::get_status_color_class( $experiment['expValue']['experimentStatusString']
) }}" href="{{URL::to('/')}}/experiment/summary?expId={{$experiment['experiment']->experimentId}}"
@endif style="cursor: pointer;">
+                        <a class="{{ ExperimentUtilities::get_status_color_class( $experiment['expValue']['experimentStatusString']
) }}" href="{{URL::to('/')}}/experiment/summary?expId={{$experiment['experiment']->experimentId}}"
target="_blank">
                             {{$experiment['expValue']['experimentStatusString'] }}
                         </a>
                     </td>
-
+                    @if( isset( $dashboard)) 
+                    <td class="text-center">
+                        <a class="get-exp-stats" data-expid="{{$experiment['experiment']->experimentId}}"
style="cursor: pointer;">
+                        <span class="glyphicon glyphicon-stats"></span>
+                        </a>
+                    </td>
+                    @endif
+                    
                 </tr>
             @endforeach
            


Mime
View raw message