added label for code generation

This commit is contained in:
dcore94 2023-06-07 17:13:52 +02:00
parent 7344eaedd9
commit d9ba4591a0
2 changed files with 3 additions and 2 deletions

View File

@ -81,6 +81,7 @@ class CCPExecutionForm extends HTMLElement{
</div>
<div class="col-6">
<div class="d-flex" style="gap: 3px;">
<label>Generate code for:</label>
<select name="language-selector" class="form-control" style="padding:2px">
<option value="text/python" data-ext="py" title="Generate plain Python3">Python 3</option>
<option value="text/plain+r" data-ext="r" title="Generate plain R">R</option>

View File

@ -114,8 +114,8 @@ class CCPExecutionHistory extends HTMLElement {
<ul>
<li></li>
</ul>
<div class="d-flex float-right" style="gap: 3px;">
<select name="language-selector" class="form-control" style="height:inherit;padding:2px">
<div class="d-flex justify-content-end" style="gap: 3px;">
<select name="language-selector" class="form-control" style="max-width:10rem;height:inherit;padding:2px">
<option value="text/python" data-ext="py" title="Generate plain Python3">Python 3</option>
<option value="text/plain+r" data-ext="r" title="Generate plain R">R</option>
<option value="application/vnd.jupyter+python" data-ext="ipynb" title="Generate Jupyter notebook with Python 3 cells">Jupyter Python3</option>