mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
Changed file names / reference file consistency
This commit is contained in:
@@ -15,7 +15,7 @@ const createWindow = () => {
|
||||
})
|
||||
|
||||
// Loads a layout
|
||||
appWindow.loadFile(path.join(__dirname, 'view', '0_hello.html'))
|
||||
appWindow.loadFile(path.join(__dirname, 'view', 'template.html'))
|
||||
|
||||
return appWindow
|
||||
}
|
||||
@@ -39,12 +39,12 @@ const createWindow = () => {
|
||||
width: 1024,
|
||||
height: 768,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'view', '1_preload.js'),
|
||||
preload: path.join(__dirname, 'view', 'preload.js'),
|
||||
},
|
||||
})
|
||||
|
||||
// Loads a layout
|
||||
appWindow.loadFile(path.join(__dirname, 'view', '1_ledger-index.html'))
|
||||
appWindow.loadFile(path.join(__dirname, 'view', 'template.html'))
|
||||
|
||||
return appWindow
|
||||
}
|
||||
@@ -15,6 +15,6 @@
|
||||
|
||||
</body>
|
||||
|
||||
<script src="1_renderer.js"></script>
|
||||
<script src="renderer.js"></script>
|
||||
|
||||
</html>
|
||||
@@ -15,11 +15,11 @@ const createWindow = () => {
|
||||
width: 1024,
|
||||
height: 768,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'view', '2_preload.js'),
|
||||
preload: path.join(__dirname, 'view', 'preload.js'),
|
||||
},
|
||||
})
|
||||
|
||||
appWindow.loadFile(path.join(__dirname, 'view', '2_async.html'))
|
||||
appWindow.loadFile(path.join(__dirname, 'view', 'template.html'))
|
||||
|
||||
return appWindow
|
||||
}
|
||||
@@ -16,6 +16,6 @@
|
||||
Close Time: <strong id="ledger-close-time"></strong><br />
|
||||
</body>
|
||||
|
||||
<script src="2_renderer.js"></script>
|
||||
<script src="renderer.js"></script>
|
||||
|
||||
</html>
|
||||
@@ -13,11 +13,11 @@ const createWindow = () => {
|
||||
width: 1024,
|
||||
height: 768,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'view', '3_preload.js'),
|
||||
preload: path.join(__dirname, 'view', 'preload.js'),
|
||||
},
|
||||
})
|
||||
|
||||
appWindow.loadFile(path.join(__dirname, 'view', '3_account.html'))
|
||||
appWindow.loadFile(path.join(__dirname, 'view', 'template.html'))
|
||||
|
||||
return appWindow
|
||||
}
|
||||
@@ -41,6 +41,6 @@
|
||||
|
||||
</body>
|
||||
|
||||
<script src="3_renderer.js"></script>
|
||||
<script src="renderer.js"></script>
|
||||
|
||||
</html>
|
||||
@@ -12,11 +12,11 @@ const createWindow = () => {
|
||||
width: 1024,
|
||||
height: 768,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'view', '4_preload.js'),
|
||||
preload: path.join(__dirname, 'view', 'preload.js'),
|
||||
},
|
||||
})
|
||||
|
||||
appWindow.loadFile(path.join(__dirname, 'view', '4_tx-history.html'))
|
||||
appWindow.loadFile(path.join(__dirname, 'view', 'template.html'))
|
||||
|
||||
return appWindow
|
||||
}
|
||||
@@ -57,6 +57,6 @@
|
||||
|
||||
</body>
|
||||
|
||||
<script src="4_renderer.js"></script>
|
||||
<script src="renderer.js"></script>
|
||||
|
||||
</html>
|
||||
@@ -14,11 +14,11 @@ const createWindow = () => {
|
||||
width: 1024,
|
||||
height: 768,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'view', '5_preload.js'),
|
||||
preload: path.join(__dirname, 'view', 'preload.js'),
|
||||
},
|
||||
})
|
||||
|
||||
appWindow.loadFile(path.join(__dirname, 'view', '5_password.html'))
|
||||
appWindow.loadFile(path.join(__dirname, 'view', 'template.html'))
|
||||
|
||||
return appWindow
|
||||
}
|
||||
@@ -70,6 +70,6 @@
|
||||
|
||||
</body>
|
||||
|
||||
<script src="5_renderer.js"></script>
|
||||
<script src="renderer.js"></script>
|
||||
|
||||
</html>
|
||||
@@ -14,11 +14,11 @@ const createWindow = () => {
|
||||
width: 1024,
|
||||
height: 768,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'view', '6_preload.js'),
|
||||
preload: path.join(__dirname, 'view', 'preload.js'),
|
||||
},
|
||||
})
|
||||
|
||||
appWindow.loadFile(path.join(__dirname, 'view', '6_styling.html'))
|
||||
appWindow.loadFile(path.join(__dirname, 'view', 'template.html'))
|
||||
|
||||
return appWindow
|
||||
}
|
||||
@@ -115,6 +115,6 @@
|
||||
</body>
|
||||
|
||||
<script src="../../bootstrap/bootstrap.bundle.min.js"></script>
|
||||
<script src="6_renderer.js"></script>
|
||||
<script src="renderer.js"></script>
|
||||
|
||||
</html>
|
||||
@@ -15,11 +15,11 @@ const createWindow = () => {
|
||||
width: 1024,
|
||||
height: 768,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'view', '7_preload.js'),
|
||||
preload: path.join(__dirname, 'view', 'preload.js'),
|
||||
},
|
||||
})
|
||||
|
||||
appWindow.loadFile(path.join(__dirname, 'view', '7_send-xrp.html'))
|
||||
appWindow.loadFile(path.join(__dirname, 'view', 'template.html'))
|
||||
|
||||
return appWindow
|
||||
}
|
||||
@@ -151,6 +151,6 @@
|
||||
</body>
|
||||
|
||||
<script src="../../bootstrap/bootstrap.bundle.min.js"></script>
|
||||
<script src="7_renderer.js"></script>
|
||||
<script src="renderer.js"></script>
|
||||
|
||||
</html>
|
||||
@@ -16,11 +16,11 @@ const createWindow = () => {
|
||||
width: 1024,
|
||||
height: 768,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'view', '8_preload.js'),
|
||||
preload: path.join(__dirname, 'view', 'preload.js'),
|
||||
},
|
||||
})
|
||||
|
||||
appWindow.loadFile(path.join(__dirname, 'view', '8_domain-verification.html'))
|
||||
appWindow.loadFile(path.join(__dirname, 'view', 'template.html'))
|
||||
|
||||
return appWindow
|
||||
}
|
||||
@@ -154,6 +154,6 @@
|
||||
</body>
|
||||
|
||||
<script src="../../bootstrap/bootstrap.bundle.min.js"></script>
|
||||
<script src="8_renderer.js"></script>
|
||||
<script src="renderer.js"></script>
|
||||
|
||||
</html>
|
||||
@@ -3,15 +3,15 @@
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"hello": "electron 0-hello/0_hello.js",
|
||||
"ledger-index": "electron 1-ledger-index/1_ledger-index.js",
|
||||
"async": "electron 2-async/2_async.js",
|
||||
"account": "electron 3-account/3_account.js",
|
||||
"tx-history": "electron 4-tx-history/4_tx-history.js",
|
||||
"password": "electron 5-password/5_password.js",
|
||||
"styling": "electron 6-styling/6_styling.js",
|
||||
"send-xrp": "electron 7-send-xrp/7_send-xrp.js",
|
||||
"domain-verification": "electron 8-domain-verification/8_domain-verification.js"
|
||||
"hello": "electron 0-hello/index.js",
|
||||
"ledger-index": "electron 1-ledger-index/index.js",
|
||||
"async": "electron 2-async/index.js",
|
||||
"account": "electron 3-account/index..js",
|
||||
"tx-history": "electron 4-tx-history/index.js",
|
||||
"password": "electron 5-password/index.js",
|
||||
"styling": "electron 6-styling/index.js",
|
||||
"send-xrp": "electron 7-send-xrp/index.js",
|
||||
"domain-verification": "electron 8-domain-verification/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": "^3.2.4",
|
||||
|
||||
Reference in New Issue
Block a user