Commit 2ce2a9b4 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

results_file/info.html: remove unnecessary spaces in <textarea>

parent 3aadd7e7
......@@ -28,7 +28,7 @@
<td></td>
</tr>
<tr>
<td><label for="file_info" id="file_info__label">Info: </label></td>
<td><label for="file_info" id="file_info__label">info: </label></td>
<td><textarea class="text" id="file_info" name="file_info" cols="40" rows="10"></textarea></td>
<td></td>
</tr>
......
......@@ -14,7 +14,7 @@ info = db.patient[request.vars["id"]]
<td></td>
</tr>
<tr>
<td > <label for="patient_first_name" id="patient_first_name__label"> First Name: </label> </td>
<td > <label for="patient_first_name" id="patient_first_name__label">First Name: </label> </td>
<td > <input class="string" id="patient_first_name" name="first_name" type="text" value="{{=info.first_name}}"><span>*</span></td>
<td > </td>
</tr>
......@@ -25,12 +25,12 @@ info = db.patient[request.vars["id"]]
</tr>
<tr>
<td> <label for="patient_birth" id="patient_birth__label">Birth: </label></td>
<td> <input class="date" id="patient_birth" name="birth" type="text" value="{{=info.birth}}"><span>* (format: yyyy-mm-dd)</span></td>
<td> <input class="date" id="patient_birth" name="birth" type="text" value="{{=info.birth}}"><span>* (yyyy-mm-dd)</span></td>
<td> </td>
</tr>
<tr>
<td> <label for="patient_info" id="patient_info__label">Info: </label> </td>
<td> <textarea class="text" cols="40" id="patient_info" name="info" rows="10"> {{=info.info}} </textarea> </td>
<td> <textarea class="text" cols="40" id="patient_info" name="info" rows="10">{{=info.info}}</textarea> </td>
<td></td>
</tr>
<tr>
......
......@@ -47,23 +47,13 @@ run = db(db.scheduler_run.task_id == results_file.scheduler_task_id).select().fi
</tr>
</table>
<table class='log'>
<tr><td>run result :</td></tr>
<tr><td><textarea class="text" rows="2">
{{if run.run_result:}}
{{=run.run_result.replace('\r', '')}}
{{pass}}
<tr><td>result : <b>{{if run.run_result:}}{{=run.run_result.replace('\r', '')}}{{pass}}</b>
</textarea></td></tr>
<tr><td>run output :</td></tr>
<tr><td><textarea class="text" rows="25">
{{if run.run_output:}}
{{=run.run_output.replace('\r', '')}}
{{pass}}
<tr><td>output :</td></tr>
<tr><td><textarea class="text" rows="25">{{if run.run_output:}}{{=run.run_output.replace('\r', '')}}{{pass}}
</textarea></td></tr>
<tr><td>run traceback :</td></tr>
<tr><td><textarea class="text" rows="10">
{{if run.traceback:}}
{{=run.traceback.replace('\r', '')}}
{{pass}}
<tr><td>traceback :</td></tr>
<tr><td><textarea class="text" rows="10">{{if run.traceback:}}{{=run.traceback.replace('\r', '')}}{{pass}}
</textarea></td></tr>
</table>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment