Merged main into release while building v2.0.13

This commit is contained in:
7 changed files with 24 additions and 14 deletions

View File

@@ -1 +1 @@
v2.0.12 v2.0.13

View File

@@ -1 +1 @@
v2.0.12 v2.0.13

View File

@@ -5,7 +5,7 @@ metadata:
namespace: lcg namespace: lcg
data: data:
# Основные настройки # Основные настройки
LCG_VERSION: "v2.0.12" LCG_VERSION: "v2.0.13"
LCG_BASE_PATH: "/lcg" LCG_BASE_PATH: "/lcg"
LCG_SERVER_HOST: "0.0.0.0" LCG_SERVER_HOST: "0.0.0.0"
LCG_SERVER_PORT: "8080" LCG_SERVER_PORT: "8080"

View File

@@ -5,7 +5,7 @@ metadata:
namespace: lcg namespace: lcg
labels: labels:
app: lcg app: lcg
version: v2.0.12 version: v2.0.13
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@@ -18,7 +18,7 @@ spec:
spec: spec:
containers: containers:
- name: lcg - name: lcg
image: kuznetcovay/lcg:v2.0.12 image: kuznetcovay/lcg:v2.0.13
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 8080 - containerPort: 8080

View File

@@ -15,11 +15,11 @@ resources:
# Common labels # Common labels
# commonLabels: # commonLabels:
# app: lcg # app: lcg
# version: v2.0.12 # version: v2.0.13
# managed-by: kustomize # managed-by: kustomize
# Images # Images
# images: # images:
# - name: lcg # - name: lcg
# newName: kuznetcovay/lcg # newName: kuznetcovay/lcg
# newTag: v2.0.12 # newTag: v2.0.13

View File

@@ -118,17 +118,19 @@ const HistoryPageTemplate = `
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.delete-btn { .delete-btn {
background: #e74c3c; background: transparent;
color: white; color: #ef9a9a; /* бледно-красный */
border: none; border: none;
padding: 6px 12px; padding: 2px 6px;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
font-size: 0.8em; font-size: 18px;
transition: background 0.3s ease; line-height: 1;
transition: color 0.2s ease, transform 0.2s ease;
} }
.delete-btn:hover { .delete-btn:hover {
background: #c0392b; color: rgb(171, 27, 24); /* ярче при ховере */
transform: translateY(-1px);
} }
.empty-state { .empty-state {
text-align: center; text-align: center;
@@ -185,7 +187,7 @@ const HistoryPageTemplate = `
<span class="history-index">#{{.Index}}</span> <span class="history-index">#{{.Index}}</span>
<span class="history-timestamp">{{.Timestamp}}</span> <span class="history-timestamp">{{.Timestamp}}</span>
</div> </div>
<button class="delete-btn" onclick="event.stopPropagation(); deleteHistoryEntry({{.Index}})">🗑️ Удалить</button> <button class="delete-btn" onclick="event.stopPropagation(); deleteHistoryEntry({{.Index}})"></button>
</div> </div>
<div class="history-command">{{.Command}}</div> <div class="history-command">{{.Command}}</div>
<div class="history-response">{{.Response}}</div> <div class="history-response">{{.Response}}</div>

View File

@@ -174,6 +174,14 @@ const ResultsPageTemplate = `
.header h1 { font-size: 1.9em; } .header h1 { font-size: 1.9em; }
.content { padding: 20px; } .content { padding: 20px; }
.files-grid { grid-template-columns: 1fr; } .files-grid { grid-template-columns: 1fr; }
/* Стили карточек как в истории */
.file-card { background: #f0f8f0; border: 1px solid #a8e6cf; padding: 15px; }
.file-card:hover { border-color: #2d5016; box-shadow: 0 8px 25px rgba(45,80,22,0.2); transform: translateY(-2px); }
.file-name { color: #333; margin-bottom: 8px; }
.file-info { color: #666; font-size: 0.9em; }
.file-preview { background: #f8f9fa; border-left: 3px solid #2d5016; font-size: 0.85em; }
.file-actions { top: 8px; left: 8px; }
.delete-btn { padding: 2px 6px; font-size: 16px; }
.stats { grid-template-columns: 1fr 1fr; } .stats { grid-template-columns: 1fr 1fr; }
.nav-buttons { flex-direction: column; gap: 8px; } .nav-buttons { flex-direction: column; gap: 8px; }
.nav-btn, .nav-button { text-align: center; padding: 12px 16px; font-size: 14px; } .nav-btn, .nav-button { text-align: center; padding: 12px 16px; font-size: 14px; }