Spaces:
Sleeping
Sleeping
Delete templates
Browse files- templates/card.html +0 -33
- templates/rm_cards.css +0 -106
- templates/trajectory.css +0 -82
templates/card.html
DELETED
|
@@ -1,33 +0,0 @@
|
|
| 1 |
-
<div class="rm-card {additional_class}">
|
| 2 |
-
<div class="rm-card-header">
|
| 3 |
-
Top {k} Action Candidate {suffix}
|
| 4 |
-
</div>
|
| 5 |
-
<div class="rm-card-body">
|
| 6 |
-
<div class="card-section">
|
| 7 |
-
<div class="card-section-title">Thought:</div>
|
| 8 |
-
<div class="thought-content">
|
| 9 |
-
<pre>{thought}</pre>
|
| 10 |
-
</div>
|
| 11 |
-
</div>
|
| 12 |
-
<div class="card-section">
|
| 13 |
-
<div class="card-section-title">Action:</div>
|
| 14 |
-
<div class="action-content">
|
| 15 |
-
<pre>{action}</pre>
|
| 16 |
-
</div>
|
| 17 |
-
</div>
|
| 18 |
-
<div class="card-section">
|
| 19 |
-
<div class="card-section-title">Reward:</div>
|
| 20 |
-
<div class="reward-content">
|
| 21 |
-
<pre>{reward}</pre>
|
| 22 |
-
</div>
|
| 23 |
-
</div>
|
| 24 |
-
<div class="card-section">
|
| 25 |
-
<details>
|
| 26 |
-
<summary>Feedback (click to view)</summary>
|
| 27 |
-
<div class="feedback-content">
|
| 28 |
-
<pre>{feedback}</pre>
|
| 29 |
-
</div>
|
| 30 |
-
</details>
|
| 31 |
-
</div>
|
| 32 |
-
</div>
|
| 33 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/rm_cards.css
DELETED
|
@@ -1,106 +0,0 @@
|
|
| 1 |
-
.rm-cards-container {
|
| 2 |
-
display: flex;
|
| 3 |
-
gap: 15px;
|
| 4 |
-
padding: 10px 0;
|
| 5 |
-
overflow-x: auto;
|
| 6 |
-
}
|
| 7 |
-
|
| 8 |
-
.rm-card {
|
| 9 |
-
min-width: 300px;
|
| 10 |
-
max-width: 400px;
|
| 11 |
-
border: 1px solid #ddd;
|
| 12 |
-
border-radius: 8px;
|
| 13 |
-
overflow: hidden;
|
| 14 |
-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
| 15 |
-
background: rgba(255, 255, 255, 0.0);
|
| 16 |
-
}
|
| 17 |
-
|
| 18 |
-
.rm-card.top-candidate {
|
| 19 |
-
border: 3px solid #007bff;
|
| 20 |
-
box-shadow: 0 4px 8px rgba(0, 0, 150, 0.2);
|
| 21 |
-
}
|
| 22 |
-
|
| 23 |
-
.rm-card-header {
|
| 24 |
-
background: rgba(240, 240, 240, 0.3);
|
| 25 |
-
padding: 10px 15px;
|
| 26 |
-
font-weight: bold;
|
| 27 |
-
border-bottom: 1px solid #ddd;
|
| 28 |
-
display: flex;
|
| 29 |
-
justify-content: space-between;
|
| 30 |
-
align-items: center;
|
| 31 |
-
}
|
| 32 |
-
|
| 33 |
-
.top-candidate .rm-card-header {
|
| 34 |
-
background: rgba(230, 242, 255, 0.3);
|
| 35 |
-
}
|
| 36 |
-
|
| 37 |
-
.reward-badge {
|
| 38 |
-
background: #007bff;
|
| 39 |
-
color: white;
|
| 40 |
-
padding: 3px 8px;
|
| 41 |
-
border-radius: 12px;
|
| 42 |
-
font-size: 0.9em;
|
| 43 |
-
}
|
| 44 |
-
|
| 45 |
-
.rm-card-body {
|
| 46 |
-
padding: 15px;
|
| 47 |
-
background-color: rgba(240, 240, 240, 0.0);
|
| 48 |
-
}
|
| 49 |
-
|
| 50 |
-
.card-section {
|
| 51 |
-
margin-bottom: 12px;
|
| 52 |
-
}
|
| 53 |
-
|
| 54 |
-
.card-section-title {
|
| 55 |
-
font-weight: bold;
|
| 56 |
-
margin-bottom: 5px;
|
| 57 |
-
color: #555;
|
| 58 |
-
}
|
| 59 |
-
|
| 60 |
-
.thought-content {
|
| 61 |
-
background: rgba(247, 247, 255, 0.3);
|
| 62 |
-
border: 1px solid #d0d0ff;
|
| 63 |
-
border-radius: 6px;
|
| 64 |
-
padding: 8px;
|
| 65 |
-
}
|
| 66 |
-
|
| 67 |
-
.action-content {
|
| 68 |
-
background: rgba(240, 255, 240, 0.3);
|
| 69 |
-
border: 1px solid #d0ffd0;
|
| 70 |
-
border-radius: 6px;
|
| 71 |
-
padding: 8px;
|
| 72 |
-
}
|
| 73 |
-
|
| 74 |
-
.feedback-content {
|
| 75 |
-
background: rgba(255, 247, 240, 0.3);
|
| 76 |
-
border: 1px solid #ffd0a0;
|
| 77 |
-
border-radius: 6px;
|
| 78 |
-
padding: 8px;
|
| 79 |
-
}
|
| 80 |
-
|
| 81 |
-
.reward-content {
|
| 82 |
-
background: rgba(240, 240, 255, 0.3);
|
| 83 |
-
border: 1px solid #d0d0ff;
|
| 84 |
-
border-radius: 6px;
|
| 85 |
-
padding: 8px;
|
| 86 |
-
}
|
| 87 |
-
|
| 88 |
-
details {
|
| 89 |
-
margin-top: 5px;
|
| 90 |
-
}
|
| 91 |
-
|
| 92 |
-
summary {
|
| 93 |
-
cursor: pointer;
|
| 94 |
-
font-weight: bold;
|
| 95 |
-
color: #555;
|
| 96 |
-
}
|
| 97 |
-
|
| 98 |
-
summary:hover {
|
| 99 |
-
color: #007bff;
|
| 100 |
-
}
|
| 101 |
-
|
| 102 |
-
pre {
|
| 103 |
-
margin: 0;
|
| 104 |
-
white-space: pre-wrap;
|
| 105 |
-
word-break: break-word;
|
| 106 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/trajectory.css
DELETED
|
@@ -1,82 +0,0 @@
|
|
| 1 |
-
/* templates/trajectory.css */
|
| 2 |
-
|
| 3 |
-
.trajectory-container {
|
| 4 |
-
display: flex;
|
| 5 |
-
flex-direction: column;
|
| 6 |
-
gap: 20px;
|
| 7 |
-
}
|
| 8 |
-
|
| 9 |
-
.step-container {
|
| 10 |
-
border: 1px solid #ddd;
|
| 11 |
-
border-radius: 8px;
|
| 12 |
-
overflow: hidden;
|
| 13 |
-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
| 14 |
-
}
|
| 15 |
-
|
| 16 |
-
.step-header {
|
| 17 |
-
background: rgba(240, 240, 240, 0.0);
|
| 18 |
-
padding: 10px 15px;
|
| 19 |
-
font-weight: bold;
|
| 20 |
-
border-bottom: 1px solid #ddd;
|
| 21 |
-
}
|
| 22 |
-
|
| 23 |
-
.step-content {
|
| 24 |
-
display: flex;
|
| 25 |
-
gap: 15px;
|
| 26 |
-
flex-wrap: wrap;
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
.step-image {
|
| 30 |
-
flex: 1 1 40%;
|
| 31 |
-
padding: 10px;
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
.step-image img {
|
| 35 |
-
width: 100%;
|
| 36 |
-
border: 1px solid #eee;
|
| 37 |
-
border-radius: 4px;
|
| 38 |
-
}
|
| 39 |
-
|
| 40 |
-
.step-info {
|
| 41 |
-
flex: 1 1 55%;
|
| 42 |
-
display: flex;
|
| 43 |
-
flex-direction: column;
|
| 44 |
-
padding: 10px;
|
| 45 |
-
}
|
| 46 |
-
|
| 47 |
-
.action-candidates {
|
| 48 |
-
display: flex;
|
| 49 |
-
flex-direction: column;
|
| 50 |
-
gap: 10px;
|
| 51 |
-
}
|
| 52 |
-
|
| 53 |
-
.candidate-box {
|
| 54 |
-
background: rgba(245, 240, 255, 0.0);
|
| 55 |
-
border: 1px solid #d0d0ff;
|
| 56 |
-
border-radius: 6px;
|
| 57 |
-
padding: 10px;
|
| 58 |
-
}
|
| 59 |
-
|
| 60 |
-
.candidate-box.selected {
|
| 61 |
-
border: 2px solid #7030a0;
|
| 62 |
-
box-shadow: 0 2px 4px rgba(112, 48, 160, 0.1);
|
| 63 |
-
}
|
| 64 |
-
|
| 65 |
-
.box-title {
|
| 66 |
-
font-weight: bold;
|
| 67 |
-
margin-bottom: 5px;
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
.reward-text {
|
| 71 |
-
display: inline-block;
|
| 72 |
-
color: #555;
|
| 73 |
-
font-size: 0.9em;
|
| 74 |
-
margin-left: 8px;
|
| 75 |
-
font-style: italic;
|
| 76 |
-
}
|
| 77 |
-
|
| 78 |
-
pre {
|
| 79 |
-
margin: 0;
|
| 80 |
-
white-space: pre-wrap;
|
| 81 |
-
word-break: break-word;
|
| 82 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|