diff --git a/cmd/mavweb/static/index.html b/cmd/mavweb/static/index.html index 1ba1fd1..4cecdae 100644 --- a/cmd/mavweb/static/index.html +++ b/cmd/mavweb/static/index.html @@ -15,6 +15,8 @@ nav{display:flex;background:#1a1a2e;border-bottom:1px solid #333;flex-shrink:0} nav button{flex:1;padding:.6rem;background:none;border:none;color:#666;font-size:.85rem;cursor:pointer;font-family:inherit;letter-spacing:.05em;text-transform:uppercase;transition:color .15s;-webkit-tap-highlight-color:transparent} nav button.active{color:#00aaff;border-bottom:2px solid #00aaff} nav button:hover{color:#ddd} +nav .lang{flex:0 0 auto;padding:.6rem .8rem;font-size:.75rem;color:#555;cursor:pointer;letter-spacing:.1em} +nav .lang.active{color:#00aaff} .tab{display:none;flex-direction:column;align-items:center;flex:1;overflow:auto;padding:1rem} .tab.active{display:flex} @@ -33,19 +35,24 @@ h1{font-size:1.2rem;font-weight:400;color:#888;letter-spacing:.1em;text-transfor #dash-frame{width:100%;flex:1;border:none;background:#111;min-height:0} -/* cheatsheet — temporary reference while testing command lines */ #cheat{width:100%;max-width:480px;font-size:.8rem;border-top:1px solid #222;color:#888} #cheat summary{cursor:pointer;padding:.5rem 0;color:#00aaff;letter-spacing:.05em;text-transform:uppercase;font-size:.75rem;user-select:none} #cheat dl{display:grid;grid-template-columns:auto 1fr;gap:.35rem .8rem;padding:.25rem 0 .5rem} #cheat dt{color:#00ff88;font-weight:600;white-space:nowrap} #cheat dd{color:#aaa;line-height:1.5} #cheat dd span{color:#555} +.cheat-en{display:revert} +.cheat-ru{display:none} +html[data-lang=ru] .cheat-en { display: none; } +html[data-lang=ru] .cheat-ru { display: revert; }

Maven Voice

@@ -53,14 +60,26 @@ h1{font-size:1.2rem;font-weight:400;color:#888;letter-spacing:.1em;text-transfor
- Cheatsheet · шпаргалка + Cheatsheet
-
Act
включи свет · сделай громче · restart nginx
-
Reminder
напомни через 4 часа размяться · remind me tomorrow at 8am to call the doctor
-
Fact
выпил кофе · вес 73 кг · ran 3 kilometers
-
Note
запиши рецепт блинов · note: add a backup job for the db
-
Query
какой сегодня день · какой прогноз погоды · what version are you
-
System
включи тихий режим · как загрузка системы
+
Act
+
включи свет · сделай громче
+
restart nginx · turn on the light
+
Reminder
+
напомни через 4 часа размяться
+
remind me tomorrow at 8am to call the doctor
+
Fact
+
выпил кофе · вес 73 кг
+
ran 3 kilometers
+
Note
+
запиши рецепт блинов
+
note: add a backup job for the db
+
Query
+
какой сегодня день · какой прогноз погоды
+
what version are you · what's the weather
+
System
+
включи тихий режим · как загрузка системы
+
quiet mode on · system load
@@ -68,15 +87,37 @@ h1{font-size:1.2rem;font-weight:400;color:#888;letter-spacing:.1em;text-transfor