feat: sync all remaining python source board configurations

This commit is contained in:
yczpf2019
2026-01-24 16:19:55 +08:00
parent 1990bee9a1
commit 20bde81bbb
519 changed files with 93119 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<style>
div[m-id="{{d.mId}}"] {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
position: absolute;
background-color: transparent !important;
font-size: 12px;
line-height: 12px;
color: #fff;
bottom: 0;
height: var(--footer-height);
width: 100%;
}
div[m-id="{{d.mId}}"] > p {
margin-left: 5px;
}
</style>
<div m-id="{{d.mId}}">
<div class="ui mini active inline slow loader"></div>
<p>{{d.msg.loading}}</p>
</div>

View File

@@ -0,0 +1,26 @@
<style>
div[m-id="{{d.mId}}"] {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
div[m-id="{{d.mId}}"] > div {
width: 150px;
height: 150px;
}
html[data-bs-theme=light] div[m-id="{{d.mId}}"] > div {
background: url('../common/css/svg/empty/empty-light.svg');
background-size: 100% auto;
}
html[data-bs-theme=dark] div[m-id="{{d.mId}}"] > div {
background: url('../common/css/svg/empty/empty-dark.svg');
background-size: 100% auto;
}
</style>
<div m-id="{{d.mId}}" class="page-item">
<div></div>
</div>

View File

@@ -0,0 +1,25 @@
<style>
div[m-id="{{d.mId}}"] {
width: 100%;
height: 100%;
position: relative;
display: flex;
flex-direction: row;
justify-content: center;
}
div[m-id="{{d.mId}}"] > button {
margin: 15px;
max-width: 200px;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #fff !important;
height: 25px;
border-radius: 3px;
}
</style>
<div m-id="{{d.mId}}">
<button class="layui-btn layui-btn-xs m-btn self-adaption-btn">{{ d.msg.loadFS }}</button>
</div>

View File

@@ -0,0 +1,31 @@
<style>
div[m-id="{{d.mId}}"] {
display: flex;
flex-direction: row;
align-items: center;
}
div[m-id="{{d.mId}}"] > .file-tree {
width: 15%;
height: 100%;
border-right-width: 1px;
border-right-style: solid;
}
html[data-bs-theme=light] div[m-id="{{d.mId}}"] > .file-tree {
border-right-color: #c9c9c9;
}
html[data-bs-theme=dark] div[m-id="{{d.mId}}"] > .file-tree {
border-right-color: rgba(128, 128, 128, 0.35);
}
div[m-id="{{d.mId}}"] > .editor {
width: 85%;
height: 100%;
}
</style>
<div m-id="{{d.mId}}" class="page-item">
<div class="file-tree"></div>
<div class="editor"></div>
</div>

View File

@@ -0,0 +1,107 @@
<style>
div[m-id="{{d.mId}}"] {
display: flex;
flex-direction: column;
align-items: center;
flex-wrap: nowrap;
overflow: auto;
}
div[m-id="{{d.mId}}"] .game-info {
margin-bottom: 20px;
color: #666;
}
div[m-id="{{d.mId}}"] .grid {
display: grid;
grid-template-columns: repeat(10, 30px);
grid-template-rows: repeat(10, 30px);
gap: 1px;
margin: 20px auto;
width: fit-content;
background-color: #ddd;
border: 2px solid #333;
}
div[m-id="{{d.mId}}"] .cell {
width: 30px;
height: 30px;
background-color: white;
border: 1px solid #ccc;
cursor: pointer;
transition: background-color 0.2s;
}
div[m-id="{{d.mId}}"] .cell.alive {
background-color: #4CAF50;
}
div[m-id="{{d.mId}}"] .cell:hover {
background-color: #e0e0e0;
}
div[m-id="{{d.mId}}"] .cell.alive:hover {
background-color: #45a049;
}
div[m-id="{{d.mId}}"] .controls {
margin: 20px 0;
}
div[m-id="{{d.mId}}"] button {
padding: 10px 20px;
margin: 0 5px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s;
}
div[m-id="{{d.mId}}"] .start-btn {
background-color: #4CAF50;
color: white;
}
div[m-id="{{d.mId}}"] .pause-btn {
background-color: #ff9800;
color: white;
}
div[m-id="{{d.mId}}"] .reset-btn {
background-color: #f44336;
color: white;
}
div[m-id="{{d.mId}}"] .random-btn {
background-color: #9C27B0;
color: white;
}
div[m-id="{{d.mId}}"] button:hover {
opacity: 0.8;
}
div[m-id="{{d.mId}}"] button:disabled {
background-color: #cccccc;
cursor: not-allowed;
}
div[m-id="{{d.mId}}"] .generation-counter {
font-size: 18px;
font-weight: bold;
margin: 10px 0;
padding-top: 10px;
color: #333;
}
</style>
<div m-id="{{d.mId}}" class="page-item">
<div class="generation-counter">{{d.epoch}}: <span class="generation">0</span></div>
<div class="grid"></div>
<div class="controls">
<button class="start-btn">{{d.start}}</button>
<button class="pause-btn" disabled>{{d.pause}}</button>
<button class="random-btn">{{d.random}}</button>
<button class="reset-btn">{{d.reset}}</button>
</div>
</div>

View File

@@ -0,0 +1,20 @@
<style>
div[m-id="{{d.mId}}"] {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
flex-wrap: wrap;
align-content: flex-start;
overflow: auto;
}
html[data-bs-theme=light] div[m-id="{{d.mId}}"] {
background-color: #ffffff;
}
html[data-bs-theme=dark] div[m-id="{{d.mId}}"] {
background-color: #1e1e1e;
}
</style>
<div m-id="{{d.mId}}" class="page-item"></div>

View File

@@ -0,0 +1,27 @@
<style>
div[m-id="{{d.mId}}"] {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
flex-wrap: wrap;
align-content: center;
overflow: auto;
}
div[m-id="{{d.mId}}"] > text {
font-family: 'ravie';
font-size: 60px;
}
html[data-bs-theme=light] div[m-id="{{d.mId}}"] {
background-color: #ffffff;
}
html[data-bs-theme=dark] div[m-id="{{d.mId}}"] {
background-color: #1e1e1e;
}
</style>
<div m-id="{{d.mId}}" class="page-item">
<text>Teachable Machine</text>
</div>