chg: [front:player-grid] Improved player grid UI for light theme
This commit is contained in:
parent
555ff14e29
commit
74a2d4f196
5 changed files with 7 additions and 10 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
dist/index.html
vendored
4
dist/index.html
vendored
|
@ -5,8 +5,8 @@
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Vite App</title>
|
<title>Vite App</title>
|
||||||
<script type="module" crossorigin src="/assets/index-CClQWo5D.js"></script>
|
<script type="module" crossorigin src="/assets/index-BS0mgB3_.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-C3XQ2euh.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-7ybfbefL.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
|
@ -271,9 +271,6 @@ def is_accepted_query(data: dict) -> bool:
|
||||||
model, action = get_model_action(data)
|
model, action = get_model_action(data)
|
||||||
if model in ['Event', 'Attribute', 'Object', 'Tag',]:
|
if model in ['Event', 'Attribute', 'Object', 'Tag',]:
|
||||||
if action in ['add', 'edit', 'delete', 'publish', 'tag']:
|
if action in ['add', 'edit', 'delete', 'publish', 'tag']:
|
||||||
# # improved condition below. It blocks some queries
|
|
||||||
# if data['Log']['change'].startswith('attribute_count'):
|
|
||||||
# return False
|
|
||||||
if 'Log' in data:
|
if 'Log' in data:
|
||||||
if data['Log']['change'].startswith('Validation errors:'):
|
if data['Log']['change'].startswith('Validation errors:'):
|
||||||
return False
|
return False
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="
|
<div class="
|
||||||
mt-2 px-2 pt-1 pb-2 rounded border
|
mt-2 px-2 pt-1 pb-2 rounded border
|
||||||
bg-slate-600 border-slate-800
|
bg-slate-100 border-slate-300 dark:bg-slate-600 dark:border-slate-800
|
||||||
">
|
">
|
||||||
|
|
||||||
<h4 class="text-xl mb-2 font-bold text-blue-500 dark:text-blue-400">
|
<h4 class="text-xl mb-2 font-bold text-blue-500 dark:text-blue-400">
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
text-slate-600 dark:text-slate-400
|
text-slate-600 dark:text-slate-400
|
||||||
">
|
">
|
||||||
<span :class="`flex flex-col ${compactGrid ? 'w-[120px]' : 'w-60'}`">
|
<span :class="`flex flex-col ${compactGrid ? 'w-[120px]' : 'w-60'}`">
|
||||||
<span :title="progress.user_id" class="text-nowrap inline-block leading-5 truncate mb-1">
|
<span :title="progress.user_id" class="text-nowrap inline-block leading-5 truncate">
|
||||||
<span :class="`${compactGrid ? 'text-base' : 'text-lg'} font-bold font-mono leading-5 tracking-tight`">{{ progress.email.split('@')[0] }}</span>
|
<span :class="`${compactGrid ? 'text-base' : 'text-lg'} font-bold font-mono leading-5 tracking-tight`">{{ progress.email.split('@')[0] }}</span>
|
||||||
<span :class="`${compactGrid ? 'text-xs' : 'text-xs'} font-mono tracking-tight`">@{{ progress.email.split('@')[1] }}</span>
|
<span :class="`${compactGrid ? 'text-xs' : 'text-xs'} font-mono tracking-tight`">@{{ progress.email.split('@')[1] }}</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue