🏡 index : github.com/compromyse/enfold.git

author Raghuram Subramani <raghus2247@gmail.com> 2025-05-12 11:31:03.0 +05:30:00
committer Raghuram Subramani <raghus2247@gmail.com> 2025-05-12 11:31:03.0 +05:30:00
commit
303dc6e44fb60979289ec51c8cce6f3756d7416b [patch]
tree
f302def199fa7ab6cb4d80089ce4122ac28f2e66
parent
250d8c18777c7e0ba87ec4334d3b316d4e6bd0dd
download
303dc6e44fb60979289ec51c8cce6f3756d7416b.tar.gz

update



Diff

 web/app/main.py             | 2 +-
 web/app/templates/home.html | 4 +++-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/web/app/main.py b/web/app/main.py
index e834c0c..d48eb04 100644
--- a/web/app/main.py
+++ a/web/app/main.py
@@ -21,7 +21,7 @@
@login_required
def home():
    jobs = job_manager.get_jobs()
    completed_jobs = TinyDB('jobs.json').all()
    completed_jobs = TinyDB('app/jobs.json').all()
    return render_template('home.html', user=current_user, states=states, acts=act_list, completed_jobs=completed_jobs, jobs=jobs)

@main.route('/logout')
diff --git a/web/app/templates/home.html b/web/app/templates/home.html
index 7caff64..0ecad44 100644
--- a/web/app/templates/home.html
+++ a/web/app/templates/home.html
@@ -65,7 +65,7 @@
    {% for job in completed_jobs %}
    <tr>
      <td>{{ job['name'] }}</td>
      <td>COMPLETED</td>
      <td>JobStatus.COMPLETED</td>
      <td><a href="{{ url_for('main.download_output', filename=job['name']) }}">Download</a></td>
    </tr>
    {% endfor %}
@@ -73,7 +73,7 @@
    <tr>
      <td>{{ job.args[0] }}</td>
      <td>{{ job._status }}</td>
      <td><a href="{{ url_for('main.download_output', filename=job.args[0]) }}">Download</a></td>
      <td>Not Available</td>
    </tr>
    {% endfor %}
  </tbody>