sida commited on
Commit
83ebad7
·
1 Parent(s): 66ce6a4

Add Umami analytics

Browse files
index.html CHANGED
@@ -5,7 +5,8 @@
5
  <meta name="viewport" content="width=device-width" />
6
  <title>My static Space</title>
7
  <link rel="stylesheet" href="style.css" />
8
- </head>
 
9
  <body>
10
  <div class="card">
11
  <h1>Welcome to your static Space!</h1>
 
5
  <meta name="viewport" content="width=device-width" />
6
  <title>My static Space</title>
7
  <link rel="stylesheet" href="style.css" />
8
+ <script defer src="https://analytics.liusida.com/umami/script.js" data-website-id="64322a37-ae7f-4635-ac78-8869ef79997b"></script>
9
+ </head>
10
  <body>
11
  <div class="card">
12
  <h1>Welcome to your static Space!</h1>
server/app.py CHANGED
@@ -783,6 +783,7 @@ def _render_full_context_page(*, model_name: str, doc_id: int, position: int | N
783
  <meta charset="utf-8" />
784
  <meta name="viewport" content="width=device-width, initial-scale=1" />
785
  <title>{html.escape(title)}</title>
 
786
  <style>
787
  body {{ margin:0; background:#f8fafc; color:#0f172a; font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }}
788
  header {{ position:sticky; top:0; background:#fff; border-bottom:1px solid #cbd5e1; padding:14px 18px; color:#475569; font-size:13px; box-shadow:0 1px 2px rgb(15 23 42 / .08); }}
 
783
  <meta charset="utf-8" />
784
  <meta name="viewport" content="width=device-width, initial-scale=1" />
785
  <title>{html.escape(title)}</title>
786
+ <script defer src="https://analytics.liusida.com/umami/script.js" data-website-id="64322a37-ae7f-4635-ac78-8869ef79997b"></script>
787
  <style>
788
  body {{ margin:0; background:#f8fafc; color:#0f172a; font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }}
789
  header {{ position:sticky; top:0; background:#fff; border-bottom:1px solid #cbd5e1; padding:14px 18px; color:#475569; font-size:13px; box-shadow:0 1px 2px rgb(15 23 42 / .08); }}
server/static/annotate.html CHANGED
@@ -88,6 +88,7 @@
88
  .error { color:#991b1b; border-color:#fecaca; background:#fef2f2; }
89
  @media(max-width:1050px){ main{grid-template-columns:1fr;} aside,.editor{position:static;max-height:none;} }
90
  </style>
 
91
  </head>
92
  <body>
93
  <header>
 
88
  .error { color:#991b1b; border-color:#fecaca; background:#fef2f2; }
89
  @media(max-width:1050px){ main{grid-template-columns:1fr;} aside,.editor{position:static;max-height:none;} }
90
  </style>
91
+ <script defer src="https://analytics.liusida.com/umami/script.js" data-website-id="64322a37-ae7f-4635-ac78-8869ef79997b"></script>
92
  </head>
93
  <body>
94
  <header>
server/static/component.html CHANGED
@@ -177,6 +177,7 @@
177
  .examples { grid-template-columns: 1fr; }
178
  }
179
  </style>
 
180
  </head>
181
  <body>
182
  <header>
 
177
  .examples { grid-template-columns: 1fr; }
178
  }
179
  </style>
180
+ <script defer src="https://analytics.liusida.com/umami/script.js" data-website-id="64322a37-ae7f-4635-ac78-8869ef79997b"></script>
181
  </head>
182
  <body>
183
  <header>
server/static/index.html CHANGED
@@ -626,6 +626,7 @@
626
  }
627
  }
628
  </style>
 
629
  </head>
630
  <body>
631
  <header>
 
626
  }
627
  }
628
  </style>
629
+ <script defer src="https://analytics.liusida.com/umami/script.js" data-website-id="64322a37-ae7f-4635-ac78-8869ef79997b"></script>
630
  </head>
631
  <body>
632
  <header>
server/static/random_components.html CHANGED
@@ -44,6 +44,7 @@
44
  .error { color:#991b1b; border-color:#fecaca; background:#fef2f2; }
45
  @media(max-width:760px){ th:nth-child(5),td:nth-child(5),th:nth-child(6),td:nth-child(6){display:none;} }
46
  </style>
 
47
  </head>
48
  <body>
49
  <header>
 
44
  .error { color:#991b1b; border-color:#fecaca; background:#fef2f2; }
45
  @media(max-width:760px){ th:nth-child(5),td:nth-child(5),th:nth-child(6),td:nth-child(6){display:none;} }
46
  </style>
47
+ <script defer src="https://analytics.liusida.com/umami/script.js" data-website-id="64322a37-ae7f-4635-ac78-8869ef79997b"></script>
48
  </head>
49
  <body>
50
  <header>
server/static/sae_explorer.html CHANGED
@@ -273,6 +273,7 @@
273
  .top { align-items: flex-start; flex-direction: column; }
274
  }
275
  </style>
 
276
  </head>
277
  <body>
278
  <header>
 
273
  .top { align-items: flex-start; flex-direction: column; }
274
  }
275
  </style>
276
+ <script defer src="https://analytics.liusida.com/umami/script.js" data-website-id="64322a37-ae7f-4635-ac78-8869ef79997b"></script>
277
  </head>
278
  <body>
279
  <header>
server/static/stats.html CHANGED
@@ -209,6 +209,7 @@
209
  .dot { width: 11px; height: 12px; border-radius: 3px; font-size: 7px; }
210
  }
211
  </style>
 
212
  </head>
213
  <body>
214
  <header>
 
209
  .dot { width: 11px; height: 12px; border-radius: 3px; font-size: 7px; }
210
  }
211
  </style>
212
+ <script defer src="https://analytics.liusida.com/umami/script.js" data-website-id="64322a37-ae7f-4635-ac78-8869ef79997b"></script>
213
  </head>
214
  <body>
215
  <header>