labnotes 0.0.6__tar.gz → 0.0.7__tar.gz
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.
- {labnotes-0.0.6 → labnotes-0.0.7}/PKG-INFO +1 -1
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/static/labnotes.css +1 -2
- labnotes-0.0.7/src/labnotes/static/row-link.js +9 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/templates/index.html +1 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/uv.lock +0 -3
- {labnotes-0.0.6 → labnotes-0.0.7}/.gitignore +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/CHANGELOG.md +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/MIGRATIONS.md +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/README.md +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/pyproject.toml +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/__init__.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/cell_progress.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/cli.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/count_runs.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/create_app.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/drain_watch.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/dump_experiments.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/format_value.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/list_experiments.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/list_runs.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/load_experiment.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/models.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/open_experiments.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/open_runs.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/parse_run_view.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/pivot_cells.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/read_design.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/read_note.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/render_markdown.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/run_columns.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/serve_app.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/sort_href.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/sql_quote.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/static/view-toggle.js +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/study_progress.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/summarize_design.py +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/templates/base.html +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/templates/experiment.html +0 -0
- {labnotes-0.0.6 → labnotes-0.0.7}/src/labnotes/templates/macros.html +0 -0
|
@@ -163,9 +163,8 @@ h3 {
|
|
|
163
163
|
}
|
|
164
164
|
.ledger td { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--rule); vertical-align: middle; }
|
|
165
165
|
.ledger tbody tr:last-child td { border-bottom: 0; }
|
|
166
|
-
.ledger tbody tr {
|
|
166
|
+
.ledger tbody tr { cursor: pointer; }
|
|
167
167
|
.ledger tbody tr:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); }
|
|
168
|
-
.ledger .title-link::after { content: ""; position: absolute; inset: 0; }
|
|
169
168
|
.ledger .num { text-align: right; }
|
|
170
169
|
.ledger th.num { text-align: right; }
|
|
171
170
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Safari ignores position: relative on <tr>, so a stretched ::after link covers the whole page.
|
|
2
|
+
for (const row of document.querySelectorAll(".ledger tbody tr")) {
|
|
3
|
+
const link = row.querySelector(".title-link");
|
|
4
|
+
row.addEventListener("click", (event) => {
|
|
5
|
+
if (event.target.closest("a") || getSelection().toString()) return;
|
|
6
|
+
if (event.metaKey || event.ctrlKey) window.open(link.href, "_blank");
|
|
7
|
+
else location.href = link.href;
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
</tbody>
|
|
51
51
|
</table>
|
|
52
52
|
<script src="{{ url_for('static', path='view-toggle.js') }}" defer></script>
|
|
53
|
+
<script src="{{ url_for('static', path='row-link.js') }}" defer></script>
|
|
53
54
|
{% else %}
|
|
54
55
|
<p class="empty">No experiments found. Each experiment is a folder holding a <code>design.yaml</code> and its markdown notes.</p>
|
|
55
56
|
{% endif %}
|
|
@@ -10,9 +10,6 @@ resolution-markers = [
|
|
|
10
10
|
exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values.
|
|
11
11
|
exclude-newer-span = "P3D"
|
|
12
12
|
|
|
13
|
-
[options.exclude-newer-package]
|
|
14
|
-
labnotes = { timestamp = "0001-01-01T00:00:00Z", span = "PT0S" }
|
|
15
|
-
|
|
16
13
|
[[package]]
|
|
17
14
|
name = "anyio"
|
|
18
15
|
version = "4.15.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|