master #4
|
@ -80,7 +80,9 @@ class CCPExecutionForm extends HTMLElement{
|
|||
<button id="execute_method_button" class="btn btn-info" style="width:inherit">Execute</button>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div class="d-flex" style="gap: 3px;">
|
||||
<div class="">
|
||||
<label>Generate code for:</label>
|
||||
<div class="d-flex">
|
||||
<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>
|
||||
|
@ -88,12 +90,13 @@ class CCPExecutionForm extends HTMLElement{
|
|||
</select>
|
||||
<button name="codegen" title="Generate code" class="btn btn-primary ccp-toolbar-button ccp-toolbar-button-small">
|
||||
<svg viewBox="0 96 960 960">
|
||||
<path d="M320 814 80 574l242-242 43 43-199 199 197 197-43 43Zm318 2-43-43 199-199-197-197 43-43 240 240-242 242Z"/>
|
||||
<path d="M320 814 80 574l242-242 43 43-199 199 197 197-43 43Zm318 2-43-43 199-199-197-197 43-43 240 240-242 242Z"></path>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -114,8 +114,9 @@ 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;">
|
||||
<label>Generate code for:</label>
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue