Skip to content

Commit c7ff116

Browse files
committed
Document in import modal how users can import JSON from clients #269
1 parent 66e049a commit c7ff116

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/components/modals/ImportProcessModal.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<template #default>
44
<div class="content">
55
You can load an external process from multiple different sources:
6-
<h3>Upload file from your computer</h3>
6+
<h3>Upload JSON file from your computer</h3>
77
<form @submit.prevent.stop="uploadFile">
88
<input type="file" name="file" @change="setFile" accept="application/json" /> <button :disabled="!hasFile">Upload</button>
99
</form>
10-
<h3>Download file from the internet</h3>
10+
<h3>Download JSON file from the internet</h3>
1111
<form @submit.prevent.stop="loadUrl">
1212
<input type="url" name="url" v-model="url" /> <button :disabled="!hasUrl">Load</button>
1313
</form>
@@ -18,6 +18,12 @@
1818
<li v-for="file in gh" :key="file.name"><a @click="request(file.url)">{{ file.name }}</a></li>
1919
</ul>
2020
</template>
21+
<h3>Import from client libraries (Python and R)</h3>
22+
<p>
23+
You can also import processes generated by the Python and R client.<br />
24+
Please read the chapter "<a href="https://openeo.org/documentation/1.0/cookbook/#output-process-as-json" target="_blank">Output: Process as JSON</a>" in the openEO cookbook.<br />
25+
After storing the JSON file to your computer, you can upload the JSON file above.
26+
</p>
2127
</div>
2228
</template>
2329
<template #footer>

0 commit comments

Comments
 (0)