Feat/monitor cache (#267)
* feat&style: add task status configuration and clear cache functionality; enhance UI styles * feat&refactor: enhance current configuration API and improve cache clearing logic * refactor&style: simplify task status update logic and improve page refresh mechanism * refactor&feat: streamline default configuration retrieval and enhance cache initialization logic * feat&refactor: add caching to default configuration retrieval and streamline task status logic * feat&style: add collapsible section for additional model parameters and enhance styling for config items * refactor&style: remove floating action button and clean up related styles
This commit is contained in:
@@ -53,6 +53,11 @@
|
||||
<!-- Model args from args.json will be populated here -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="config-actions">
|
||||
<button id="clear-cache-btn" class="btn btn-warning" onclick="clearCacheAndRefresh()">
|
||||
<i class="fas fa-broom"></i> Clear Cache
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -100,7 +105,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="fab fab-refresh" onclick="refreshPage()" title="Refresh"><i class="fas fa-sync-alt"></i></button>
|
||||
<script src="/static/index.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user