airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndo...@apache.org
Subject [1/3] airavata-php-gateway git commit: Missed new ui files from commit.
Date Fri, 26 Feb 2016 20:07:18 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop ac25081db -> ba651fe2b


Missed new ui files from commit.


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/196d3090
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/196d3090
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/196d3090

Branch: refs/heads/develop
Commit: 196d309056b9ebfa93cef667c05697eb5ec5e98e
Parents: a228f19
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Fri Feb 26 15:03:28 2016 -0500
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Fri Feb 26 15:03:28 2016 -0500

----------------------------------------------------------------------
 app/views/account/request-allocation.blade.php  | 70 ++++++++++++++++++++
 .../partials/resource-job-manager.blade.php     | 41 ++++++++++++
 2 files changed, 111 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/196d3090/app/views/account/request-allocation.blade.php
----------------------------------------------------------------------
diff --git a/app/views/account/request-allocation.blade.php b/app/views/account/request-allocation.blade.php
new file mode 100644
index 0000000..a5f18a0
--- /dev/null
+++ b/app/views/account/request-allocation.blade.php
@@ -0,0 +1,70 @@
+@extends('layout.basic')
+
+@section('page-header')
+@parent
+@stop
+
+@section('content')
+
+<div class="row">
+
+    <div class="col-md-offset-3 col-md-6">
+        <h1>Request an allocation</h1>
+
+	    <form action="{{URL::to('/')}}/allocation-request" method="POST" role="form" enctype="multipart/form-data">
+
+	        <div class="form-group required">
+	            <label for="experiment-name" class="control-label">Total Allocation Request
in Service Units</label>
+	            <input type="text" class="form-control" name=""
+	                   placeholder="" autofocus required="required" maxlength="50"/>
+	        </div>
+	        <div class="form-group">
+	            <label for="experiment-description">Total SUs per job ( CPU hours x No.
of CPUs )</label>
+	            <textarea class="form-control" name="experiment-description" id=""
+	                      placeholder="" maxlength="200"></textarea>
+	        </div>
+	        <div class="form-group required">
+	            <label for="project">Maximum memory per CPU</label>
+	            <input type="text" class="form-control" name=""
+	                   placeholder="" autofocus required="required" maxlength="50"/>
+
+
+	        </div>
+	        <div class="form-group">
+	            <label for="application">Disk Usage range ( GB ) per job</label>
+	            <input type="text" class="form-control" name=""
+	                   placeholder="" autofocus required="required" maxlength="50"/>
+
+	        </div>
+	        <div class="form-group">
+	            <label for="application">Number of CPUs ( if parallel code is used ) per
job</label>
+	            <input type="text" class="form-control" name=""
+	                   placeholder="" autofocus required="required" maxlength="50"/>
+	        </div>
+	        <div class="form-group">
+	            <label for="experiment-description">Project Reviewed and Funded By (Eg.,
NSF, NIH, DOD, DOE, None etc...)</label>
+	            <textarea class="form-control" name="experiment-description" id="experiment-description"
+	                      placeholder="" maxlength="200"></textarea>
+	        </div>
+	        <div class="form-group">
+	            <label for="experiment-description">Brief Project Description (Hypothesis,
Model Systems, Methods, and Analysis)</label>
+	            <textarea class="form-control" name="experiment-description" id="experiment-description"
+	                      placeholder="" maxlength="200"></textarea>
+	        </div>
+	        <div class="btn-toolbar">
+	            <input name="continue" type="submit" class="btn btn-primary" value="Submit
Request">
+	            <input name="clear" type="reset" class="btn btn-default" value="Reset values">
+	        </div>
+	    </form>
+
+	</div>
+</div>
+
+
+@stop
+
+@section('scripts')
+@parent
+<script>
+</script>
+@stop

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/196d3090/app/views/partials/resource-job-manager.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/resource-job-manager.blade.php b/app/views/partials/resource-job-manager.blade.php
new file mode 100644
index 0000000..f737dfd
--- /dev/null
+++ b/app/views/partials/resource-job-manager.blade.php
@@ -0,0 +1,41 @@
+<div class="select-resource-manager-type">
+    <div class="form-group required">
+        <label class="control-label">Select resource manager type</label>
+        <select name="resourceJobManagerType" class="form-control selected-resource-manager"
+                required="required">
+            @foreach( $resourceJobManagerTypes as $index => $rJmT)
+            <option value="{{ $index }}"
+                @if( isset( $JSI) )
+                    @if( $JSI->resourceJobManager->resourceJobManagerType == $index
) selected @endif
+                @endif >
+                {{ $rJmT }}</option>
+            @endforeach
+        </select>
+    </div>
+    <div class="form-group">
+        <label class="control-label">Push Monitoring End Point</label>
+        <input type="text" class="form-control" name="pushMonitoringEndpoint"
+               value="{{ $JSI->resourceJobManager->pushMonitoringEndpoint }}"/>
+    </div>
+    <div class="form-group">
+        <label class="control-label">Job Manager Bin Path</label>
+        <input type="text" class="form-control" name="jobManagerBinPath"
+               value="{{ $JSI->resourceJobManager->jobManagerBinPath }}"/>
+    </div>
+    <div class="form-group">
+        <h3>Job Manager Commands</h3>
+        @foreach( $jobManagerCommands as $index => $jmc)
+        <label class="control-label">{{ $jmc }}</label>
+        <input class="form-control" name="jobManagerCommands[{{ $index }}]" placeholder="{{
$jmc }}"
+               value="@if( isset( $JSI->resourceJobManager->jobManagerCommands[$index]
) ){{$JSI->resourceJobManager->jobManagerCommands[$index]}}@endif"/>
+        @endforeach
+    </div>
+    <div class="form-group">
+        <h3>Parallelism Prefixes</h3>
+        @foreach( $parallelismTypes as $index => $pt)
+        <label class="control-label">{{ $pt }}</label>
+        <input class="form-control" name="parallelismPrefix[{{ $index }}]" placeholder="{{
$pt }}"
+               value="@if( isset( $JSI->resourceJobManager->parallalisimPrefix[$index]
) ){{$JSI->resourceJobManager->parallalisimPrefix[$index]}}@endif"/>
+        @endforeach
+    </div>
+</div>
\ No newline at end of file


Mime
View raw message