mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Use a simpler example for the sample automation and put schedule on top of instructions
This commit is contained in:
parent
2b8e5a86cc
commit
b545aceb47
1 changed files with 2 additions and 2 deletions
|
@ -534,13 +534,13 @@
|
||||||
const placeholderId = Date.now();
|
const placeholderId = Date.now();
|
||||||
automationEl.id = "automation-card-" + placeholderId;
|
automationEl.id = "automation-card-" + placeholderId;
|
||||||
automationEl.innerHTML = `
|
automationEl.innerHTML = `
|
||||||
<label for="query-to-run">Instructions</label>
|
|
||||||
<textarea id="automation-queryToRun-${placeholderId}" placeholder="Share a Newsletter including: 1. Weather forecast for this Week. 2. A Book Highlight from my Notes. 3. Recap News from Last Week"></textarea>
|
|
||||||
<label for="schedule">Schedule</label>
|
<label for="schedule">Schedule</label>
|
||||||
<input type="text"
|
<input type="text"
|
||||||
id="automation-schedule-${placeholderId}"
|
id="automation-schedule-${placeholderId}"
|
||||||
name="schedule"
|
name="schedule"
|
||||||
placeholder="9AM every morning">
|
placeholder="9AM every morning">
|
||||||
|
<label for="query-to-run">Instructions</label>
|
||||||
|
<textarea id="automation-queryToRun-${placeholderId}" placeholder="Provide me with a mindful moment, reminding me to be centered."></textarea>
|
||||||
<div class="automation-buttons">
|
<div class="automation-buttons">
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="delete-automation-button negative-button"
|
class="delete-automation-button negative-button"
|
||||||
|
|
Loading…
Add table
Reference in a new issue