pinokiod 3.19.0 → 3.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@ img.appicon {
|
|
|
27
27
|
height: 40px;
|
|
28
28
|
margin-right: 10px;
|
|
29
29
|
padding: 5px;
|
|
30
|
-
border-radius:
|
|
30
|
+
border-radius: 4px;
|
|
31
31
|
background: white;
|
|
32
32
|
}
|
|
33
33
|
.container {
|
|
@@ -145,11 +145,12 @@ body.dark .radio-group label {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.radio-group label span {
|
|
148
|
-
font-weight:
|
|
148
|
+
font-weight: bold;
|
|
149
149
|
flex: 1;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
.radio-group label .description {
|
|
153
|
+
opacity: 0.7;
|
|
153
154
|
margin-left: 0.5rem;
|
|
154
155
|
}
|
|
155
156
|
|
|
@@ -1071,21 +1072,24 @@ body.dark .command-fields {
|
|
|
1071
1072
|
<label>
|
|
1072
1073
|
<input type="radio" name="projectType" value="nodejs">
|
|
1073
1074
|
<img class='appicon' src="/asset/prototype/system/nodejs/icon.png"/>
|
|
1074
|
-
<span>Node.js
|
|
1075
|
+
<span>Node.js</span>
|
|
1076
|
+
<p class="description">A launcher for a typical node.js project</p>
|
|
1075
1077
|
</label>
|
|
1076
1078
|
<label>
|
|
1077
1079
|
<input type="radio" name="projectType" value="python">
|
|
1078
1080
|
<img class='appicon' src="/asset/prototype/system/python/icon.png"/>
|
|
1079
|
-
<span>Python
|
|
1081
|
+
<span>Python</span>
|
|
1082
|
+
<p class='description'>A launcher for a typical python project)</p>
|
|
1080
1083
|
</label>
|
|
1081
1084
|
<label>
|
|
1082
1085
|
<input type="radio" name="projectType" value="empty">
|
|
1083
1086
|
<img class='appicon' src="/asset/prototype/system/empty/icon.png"/>
|
|
1084
|
-
<span>Any
|
|
1087
|
+
<span>Any</span>
|
|
1088
|
+
<p class='description'>A minimal launcher you can customize on your own</p>
|
|
1085
1089
|
</label>
|
|
1086
1090
|
</div>
|
|
1087
1091
|
|
|
1088
|
-
<div class='command-fields'>
|
|
1092
|
+
<div class='command-fields conditional-options' id="clone-command-fields">
|
|
1089
1093
|
<div class="git-url-input">
|
|
1090
1094
|
<label for="gitUrl">Git Repository URL:</label>
|
|
1091
1095
|
<input type="url" name="gitUrl" id="gitUrl" placeholder="https://github.com/username/repository.git">
|
|
@@ -1368,6 +1372,12 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
|
1368
1372
|
});
|
|
1369
1373
|
|
|
1370
1374
|
function showStep(stepNumber) {
|
|
1375
|
+
console.log(stepNumber)
|
|
1376
|
+
if (stepNumber === 1) {
|
|
1377
|
+
document.querySelectorAll("#step-1 input[type=radio]").forEach((el) => {
|
|
1378
|
+
el.checked = false
|
|
1379
|
+
})
|
|
1380
|
+
}
|
|
1371
1381
|
// Hide all steps
|
|
1372
1382
|
document.querySelectorAll('.step-content').forEach(step => {
|
|
1373
1383
|
step.classList.remove('active');
|
|
@@ -1515,6 +1525,9 @@ function handleStartTypeChange(event) {
|
|
|
1515
1525
|
document.getElementById('python-options').classList.remove('show');
|
|
1516
1526
|
document.getElementById('python-options-clone').classList.remove('show');
|
|
1517
1527
|
|
|
1528
|
+
// Hide clone command fields
|
|
1529
|
+
document.getElementById('clone-command-fields').classList.remove('show');
|
|
1530
|
+
|
|
1518
1531
|
if (startType === 'clone') {
|
|
1519
1532
|
cloneOptions.classList.add('show');
|
|
1520
1533
|
newOptions.classList.remove('show');
|
|
@@ -1548,8 +1561,9 @@ function handleProjectTypeChange(event) {
|
|
|
1548
1561
|
// Clear CLI input fields
|
|
1549
1562
|
clearCliInputs();
|
|
1550
1563
|
|
|
1551
|
-
//
|
|
1564
|
+
// Show clone command fields when a project type is selected in clone mode
|
|
1552
1565
|
if (startType === 'clone') {
|
|
1566
|
+
document.getElementById('clone-command-fields').classList.add('show');
|
|
1553
1567
|
updateCloneDefaults(projectType);
|
|
1554
1568
|
}
|
|
1555
1569
|
|