Unify session action button styles: same padding, delete in red
- Add .session-copy CSS (was unstyled — browser default) - .session-download/.session-copy: neutral gray, same padding 4px 12px - .session-delete: red (--danger) instead of accent - Bump 1.22.8, SW cache v39->v40
This commit is contained in:
1 parent
f9e399183c
commit
340017c7cc
5 files changed
+9
-7
No files matched your search
+5
-3
@@ -209,8 +209,10 @@ body { font: 14px/1.5 system-ui, sans-serif; background: var(--bg); color: var(-
|
||||
.session-actions { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
|
||||
.session-download { padding: 4px 12px; background: none; border: 1px solid var(--text-muted); color: var(--text-muted); border-radius: 4px; cursor: pointer; text-decoration: none; font-size: 13px; display: inline-block; }
|
||||
.session-download:hover { border-color: var(--accent); color: var(--accent); }
|
||||
.session-delete { padding: 4px 12px; background: none; border: 1px solid var(--accent); color: var(--accent); border-radius: 4px; cursor: pointer; font-size: 13px; }
|
||||
.session-delete:hover { background: var(--accent); color: #fff; }
|
||||
.session-copy { padding: 4px 12px; background: none; border: 1px solid var(--text-muted); color: var(--text-muted); border-radius: 4px; cursor: pointer; font-size: 13px; }
|
||||
.session-copy:hover { border-color: var(--accent); color: var(--accent); }
|
||||
.session-delete { padding: 4px 12px; background: none; border: 1px solid var(--danger); color: var(--danger); border-radius: 4px; cursor: pointer; font-size: 13px; }
|
||||
.session-delete:hover { background: var(--danger); color: #fff; }
|
||||
.session-view-toggle { display: flex; gap: 2px; }
|
||||
.session-view-toggle button { padding: 4px 10px; background: var(--bg-input); border: 1px solid var(--border); color: var(--text-muted); cursor: pointer; font-size: 13px; }
|
||||
.session-view-toggle button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
|
||||
@@ -2607,7 +2609,7 @@ function onFilterChange() {
|
||||
}
|
||||
|
||||
// ──────────────────── Versioning ────────────────────
|
||||
const PWA_VERSION = '1.22.7';
|
||||
const PWA_VERSION = '1.22.8';
|
||||
const MIN_SERVER_VERSION = '1.0.0';
|
||||
|
||||
function parseVersion(v) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
const CACHE = 'simtrace-analyser-v39';
|
||||
const CACHE = 'simtrace-analyser-v40';
|
||||
|
||||
const PRECACHE = [
|
||||
'index.html',
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.backends._legacy:_Backend"
|
||||
|
||||
[project]
|
||||
name = "simtrace2-pysniff"
|
||||
version = "1.22.7"
|
||||
version = "1.22.8"
|
||||
description = "Python-based sniffing tool for SIMtrace2 hardware (SIM card communication sniffer)"
|
||||
readme = {file = "README.md", content-type = "text/markdown"}
|
||||
license = {text = "GPL-2.0-or-later"}
|
||||
|
||||
@@ -6,7 +6,7 @@ from .gsmtap import GsmtapSender, GsmtapReceiver
|
||||
from .pcap import PcapWriter
|
||||
from .dump import FileDumper, format_message
|
||||
|
||||
__version__ = '1.22.7'
|
||||
__version__ = '1.22.8'
|
||||
__all__ = [
|
||||
'SniffSession',
|
||||
'DeviceDisconnected',
|
||||
|
||||
@@ -224,7 +224,7 @@ class TestImportEndpoint(unittest.TestCase):
|
||||
class TestVersion(unittest.TestCase):
|
||||
def test_package_version(self):
|
||||
from simtrace2_pysniff import __version__
|
||||
self.assertEqual(__version__, '1.22.7')
|
||||
self.assertEqual(__version__, '1.22.8')
|
||||
|
||||
def test_status_includes_version(self):
|
||||
import os
|
||||
|
||||
Reference in new issue
Block a user