Browse Source

daemons test util (wip)

all-modes
pbca26 7 years ago
parent
commit
60bad88f9f
  1. 12
      gui/app-settings.html
  2. 6
      routes/appConfig.js

12
gui/app-settings.html

@ -14,6 +14,7 @@
<script>if (window.module) module = window.module;</script> <script>if (window.module) module = window.module;</script>
</head> </head>
<body class="agamaMode agama-app-settings-window"> <body class="agamaMode agama-app-settings-window">
<div id="debugOut"></div>
<div class="text-center"> <div class="text-center">
<div <div
id="agamaMode" id="agamaMode"
@ -33,10 +34,17 @@
<div <div
id="agamaConfigBlock" id="agamaConfigBlock"
class="agama-config-block"></div> class="agama-config-block"></div>
<!-- debug overlay -->
<div
id="debugOverlay"
class="debug-overlay hide"></div>
<div class="settings-buttons-block"> <div class="settings-buttons-block">
<button
onClick="testBins('komodod')"
class="btn btn-info pull-left">Test binaries</button>
<button <button
onClick="handleSaveSettings()" onClick="handleSaveSettings()"
class="btn btn-primary">Save</button> class="btn btn-primary margin-right-20">Save</button>
<button <button
onClick="initSettingsForm()" onClick="initSettingsForm()"
class="btn btn-primary">Reset changes</button> class="btn btn-primary">Reset changes</button>
@ -44,6 +52,7 @@
onClick="setDefaultAppSettings()" onClick="setDefaultAppSettings()"
class="btn btn-primary">Reset all settings</button> class="btn btn-primary">Reset all settings</button>
</div> </div>
<!-- toaster -->
<div <div
id="toast-container" id="toast-container"
class="single-toast toast-bottom-right hide"> class="single-toast toast-bottom-right hide">
@ -57,7 +66,6 @@
</div> </div>
<button onClick="reloadSettingsWindow()" class="btn btn-primary" style="margin-top: 20px">Reload</button> <button onClick="reloadSettingsWindow()" class="btn btn-primary" style="margin-top: 20px">Reload</button>
</div> </div>
<div id="debugOut"></div>
<script>initSettingsForm()</script> <script>initSettingsForm()</script>
</div> </div>
</body> </body>

6
routes/appConfig.js

@ -158,11 +158,11 @@ const appConfig = {
info: 'The data directory is the location where Komodo data files are stored, including the wallet data file', info: 'The data directory is the location where Komodo data files are stored, including the wallet data file',
type: 'folder', type: 'folder',
}, },
daemonTest: { daemonOutput: {
display: false, display: false,
initDisplay: true, initDisplay: true,
displayName: 'Test daemons start (debug)', displayName: 'Output daemon prints (debug)',
info: 'Test daemons before launching. Use this option to get verbose output regarding possible daemon start issues.', info: 'Output daemon prints to GUI for debug purposes',
type: 'boolean', type: 'boolean',
}, },
}, },

Loading…
Cancel
Save