flock-core 0.4.0b35__py3-none-any.whl → 0.4.0b37__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flock-core might be problematic. Click here for more details.
- flock/__init__.py +34 -11
- flock/cli/loaded_flock_cli.py +38 -18
- flock/core/flock.py +48 -3
- flock/themes/alabaster.toml +43 -43
- flock/themes/guezwhoz.toml +43 -43
- flock/themes/wildcherry.toml +43 -43
- flock/themes/wombat.toml +43 -43
- flock/themes/zenburn.toml +43 -43
- flock/webapp/app/config.py +80 -2
- flock/webapp/app/main.py +506 -3
- flock/webapp/app/templates/theme_mapper.html +326 -0
- flock/webapp/app/theme_mapper.py +812 -0
- flock/webapp/run.py +116 -14
- flock/webapp/static/css/custom.css +168 -83
- flock/webapp/templates/base.html +14 -7
- flock/webapp/templates/partials/_agent_detail_form.html +4 -3
- flock/webapp/templates/partials/_agent_list.html +1 -6
- flock/webapp/templates/partials/_agent_manager_view.html +52 -14
- flock/webapp/templates/partials/_agent_manager_view_old.html +19 -0
- flock/webapp/templates/partials/_create_flock_form.html +1 -1
- flock/webapp/templates/partials/_dashboard_flock_properties_preview.html +1 -1
- flock/webapp/templates/partials/_env_vars_table.html +25 -0
- flock/webapp/templates/partials/_execution_form.html +1 -1
- flock/webapp/templates/partials/_execution_view_container.html +13 -12
- flock/webapp/templates/partials/_flock_properties_form.html +2 -1
- flock/webapp/templates/partials/_header_flock_status.html +5 -0
- flock/webapp/templates/partials/_load_manager_view.html +50 -0
- flock/webapp/templates/partials/_settings_env_content.html +10 -0
- flock/webapp/templates/partials/_settings_theme_content.html +15 -0
- flock/webapp/templates/partials/_settings_view.html +36 -0
- flock/webapp/templates/partials/_sidebar.html +13 -6
- flock/webapp/templates/partials/_structured_data_view.html +4 -4
- flock/webapp/templates/partials/_theme_preview.html +23 -0
- {flock_core-0.4.0b35.dist-info → flock_core-0.4.0b37.dist-info}/METADATA +1 -1
- {flock_core-0.4.0b35.dist-info → flock_core-0.4.0b37.dist-info}/RECORD +38 -29
- flock/webapp/templates/partials/_load_manage_view.html +0 -88
- {flock_core-0.4.0b35.dist-info → flock_core-0.4.0b37.dist-info}/WHEEL +0 -0
- {flock_core-0.4.0b35.dist-info → flock_core-0.4.0b37.dist-info}/entry_points.txt +0 -0
- {flock_core-0.4.0b35.dist-info → flock_core-0.4.0b37.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
<article id="dashboard-flock-manager-content">
|
|
2
|
-
<header>
|
|
3
|
-
<h3>Manage & Load Flocks</h3>
|
|
4
|
-
</header>
|
|
5
|
-
|
|
6
|
-
{% if error_message %}
|
|
7
|
-
<div class="error DANGER" role="alert" x-data="{ show: true }" x-show="show" x-init="setTimeout(() => show = false, 5000)">
|
|
8
|
-
{{ error_message }} <button type="button" class="close" @click="show = false">×</button>
|
|
9
|
-
</div>
|
|
10
|
-
{% endif %}
|
|
11
|
-
{% if success_message %}
|
|
12
|
-
<div class="success SUCCESS" role="alert" x-data="{ show: true }" x-show="show" x-init="setTimeout(() => show = false, 5000)">
|
|
13
|
-
{{ success_message }} <button type="button" class="close" @click="show = false">×</button>
|
|
14
|
-
</div>
|
|
15
|
-
{% endif %}
|
|
16
|
-
|
|
17
|
-
<div class="flock-manager-grid">
|
|
18
|
-
<section id="flock-file-list-column" class="list-pane">
|
|
19
|
-
<header style="padding: 0.5rem 1rem; border-bottom: 1px solid var(--pico-muted-border-color);">
|
|
20
|
-
<h6>Available Flock Files</h6>
|
|
21
|
-
<small>(in <code>./.flock_ui_projects/</code>)</small>
|
|
22
|
-
</header>
|
|
23
|
-
<div hx-get="/ui/htmx/dashboard-flock-file-list"
|
|
24
|
-
hx-trigger="load, flockFileListChanged from:body"
|
|
25
|
-
hx-swap="innerHTML"
|
|
26
|
-
id="dashboard-flock-file-list-target">
|
|
27
|
-
<p style="padding:1rem;">Loading files...</p><progress indeterminate></progress>
|
|
28
|
-
</div>
|
|
29
|
-
</section>
|
|
30
|
-
|
|
31
|
-
<section id="flock-detail-action-column" class="detail-pane">
|
|
32
|
-
{# This area will be updated when a file is selected from the list. #}
|
|
33
|
-
<div id="flock-properties-or-action-content">
|
|
34
|
-
<article style="text-align:center; margin-top: 2rem; border: none; background: transparent;">
|
|
35
|
-
<p>Select a Flock from the list to view its details and load it into the editor.</p>
|
|
36
|
-
<p><small>To create a new Flock or upload an existing one, use the options in the sidebar.</small></p>
|
|
37
|
-
</article>
|
|
38
|
-
</div>
|
|
39
|
-
</section>
|
|
40
|
-
</div>
|
|
41
|
-
</article>
|
|
42
|
-
|
|
43
|
-
<style>
|
|
44
|
-
/* Styles for the dashboard's two-pane layout for flock management */
|
|
45
|
-
.flock-manager-grid {
|
|
46
|
-
display: grid;
|
|
47
|
-
grid-template-columns: minmax(280px, 1fr) 2.5fr;
|
|
48
|
-
gap: 0;
|
|
49
|
-
height: calc(100vh - var(--header-height) - 6rem);
|
|
50
|
-
border: 1px solid var(--pico-muted-border-color);
|
|
51
|
-
border-radius: var(--pico-border-radius);
|
|
52
|
-
background-color: var(--pico-card-background-color);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.flock-manager-grid .list-pane {
|
|
56
|
-
border-right: 1px solid var(--pico-muted-border-color);
|
|
57
|
-
padding: 0;
|
|
58
|
-
overflow-y: auto;
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
}
|
|
62
|
-
.flock-manager-grid .list-pane header {
|
|
63
|
-
flex-shrink: 0;
|
|
64
|
-
}
|
|
65
|
-
.flock-manager-grid .list-pane #dashboard-flock-file-list-target {
|
|
66
|
-
flex-grow: 1;
|
|
67
|
-
overflow-y: auto;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.flock-manager-grid .detail-pane {
|
|
71
|
-
padding: 1rem;
|
|
72
|
-
overflow-y: auto;
|
|
73
|
-
background-color: var(--pico-background-color);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
#dashboard-flock-file-list-target ul.item-list {
|
|
77
|
-
list-style-type: none; padding: 0; margin:0;
|
|
78
|
-
}
|
|
79
|
-
#dashboard-flock-file-list-target li {
|
|
80
|
-
padding: 0.75rem 1rem; border-bottom: 1px solid var(--pico-muted-border-color);
|
|
81
|
-
cursor: pointer; transition: background-color 0.15s ease-in-out;
|
|
82
|
-
}
|
|
83
|
-
#dashboard-flock-file-list-target li:last-child { border-bottom: none; }
|
|
84
|
-
#dashboard-flock-file-list-target li:hover,
|
|
85
|
-
#dashboard-flock-file-list-target li.selected-item {
|
|
86
|
-
background-color: var(--pico-primary-focus); color: var(--pico-primary-inverse);
|
|
87
|
-
}
|
|
88
|
-
</style>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|