Skip to content

Commit

Permalink
CyprusCoin config
Browse files Browse the repository at this point in the history
  • Loading branch information
jerme404 committed Nov 6, 2018
1 parent e877a00 commit d0f3f4f
Show file tree
Hide file tree
Showing 39 changed files with 1,549 additions and 84 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ service.log
node_modules/*
tbin/*
.vscode/*
build/*
dist/*
bin/*
Binary file added bin/lin/CyprusCoind
Binary file not shown.
739 changes: 739 additions & 0 deletions bin/lin/LICENSE

Large diffs are not rendered by default.

Binary file added bin/lin/cryptotest
Binary file not shown.
Binary file added bin/lin/miner
Binary file not shown.
Binary file added bin/lin/turtle-service
Binary file not shown.
Binary file added bin/lin/zedwallet
Binary file not shown.
Binary file added bin/mac/CyprusCoind
Binary file not shown.
739 changes: 739 additions & 0 deletions bin/mac/LICENSE

Large diffs are not rendered by default.

Binary file added bin/mac/cryptotest
Binary file not shown.
Binary file added bin/mac/miner
Binary file not shown.
Binary file added bin/mac/turtle-service
Binary file not shown.
Binary file added bin/mac/zedwallet
Binary file not shown.
Binary file added bin/win/CyprusCoind.exe
Binary file not shown.
Binary file added bin/win/miner.exe
Binary file not shown.
Binary file added bin/win/turtle-service.exe
Binary file not shown.
Binary file added bin/win/zedwallet.exe
Binary file not shown.
Binary file added build/icon.icns
Binary file not shown.
Binary file added build/icon.ico
Binary file not shown.
Binary file added build/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const DEFAULT_SETTINGS = {
daemon_port: config.daemonDefaultRpcPort,
pubnodes_date: null,
pubnodes_data: config.remoteNodeListFallback,
pubnodes_custom: ['127.0.0.1:11898'],
pubnodes_custom: ['127.0.0.1:11975'],
tray_minimize: false,
tray_close: false,
darkmode: true
Expand Down Expand Up @@ -76,7 +76,7 @@ function createWindow () {
win = splash.initSplashScreen({
windowOpts: winOpts,
templateUrl: path.join(__dirname, "src/html/splash.html"),
delay: 0,
delay: 0,
minVisible: 3000,
splashScreenOpts: {
width: 425,
Expand Down Expand Up @@ -114,7 +114,7 @@ function createWindow () {
win.minimize();
}
}

});

win.on('show', () => {
Expand Down Expand Up @@ -197,15 +197,15 @@ function createWindow () {
});
}
});

win.on('closed', () => {
win = null;
});

win.setMenu(null);

// misc handler
win.webContents.on('crashed', () => {
win.webContents.on('crashed', () => {
// todo: prompt to restart
log.debug('webcontent was crashed');
});
Expand Down Expand Up @@ -320,7 +320,7 @@ app.on('ready', () => {
storeNodeList(false); // from local cache
}
}

createWindow();

// target center pos of primary display
Expand All @@ -330,7 +330,7 @@ app.on('ready', () => {
let ty = Math.ceil((primaryDisp.workAreaSize.height - (DEFAULT_SIZE.height))/2);
if(tx > 0 && ty > 0) win.setPosition(tx, ty);


});

// Quit when all windows are closed.
Expand Down Expand Up @@ -361,4 +361,4 @@ process.on('exit', (code) => {

process.on('warning', (warning) => {
log.warn(`${warning.code}, ${warning.name}`);
});
});
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "walletshell",
"productName": "WalletShell",
"description": "TurtleCoin GUI Wallet",
"version": "v0.3.5",
"homepage": "https://github.com/turtlecoin/turtle-wallet-electron",
"repository": "https://github.com/turtlecoin/turtle-wallet-electron",
"name": "cypruselectron",
"productName": "CyprusElectron",
"description": "CyprusCoin GUI Wallet",
"version": "v0.1.0",
"homepage": "https://github.com/CyprusCoinClub/cyprus-wallet-electron",
"repository": "https://github.com/CyprusCoinClub/cyprus-wallet-electron",
"main": "main.js",
"scripts": {
"start": "electron .",
Expand Down Expand Up @@ -33,7 +33,7 @@
"request-promise-native": "^1.0.5"
},
"build": {
"appId": "lol.turtlecoin.walletshell",
"appId": "club.cypruscoin.cypruselectron",
"copyright": "Copyright (c) 2018 Rixombea, Macroshock, TurtleCoin Developers",
"directories": {
"app": ".",
Expand All @@ -48,12 +48,12 @@
],
"maintainer": "rixombea (@labaylabay)",
"category": "Office",
"vendor": "TurtleCoin",
"synopsis": "TurtleCoin GUI Wallet"
"vendor": "CyprusCoin",
"synopsis": "CyprusCoin GUI Wallet"
},
"win": {
"target": "nsis",
"publisherName": "TurtleCoin"
"publisherName": "CyprusCoin"
},
"nsis": {
"artifactName": "${productName}-v${version}-${os}-${arch}-setup.${ext}",
Expand Down
Binary file modified src/assets/background.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/icon.icns
100644 → 100755
Binary file not shown.
Binary file modified src/assets/icon.ico
100644 → 100755
Binary file not shown.
Binary file modified src/assets/icon.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/splash_bg.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/splash_logo.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/tray.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/trayon.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/walletshell.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/walletshell_icon.icns
100644 → 100755
Binary file not shown.
Binary file modified src/assets/walletshell_icon.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/walletshell_logo.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/walletshell_logo_dm.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/walletshell_sm.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 30 additions & 27 deletions src/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@
* {
box-sizing: border-box;
user-select: none;
-webkit-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {width: 10px;}

::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
border-radius: 3px;
background-color: #244c375c;
}

::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #5ebf28;
background: #E7047E;
box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
background: #45ad57;
background: #aa076b;
}

::placeholder {
::placeholder {
color:rgba(234, 234, 234, 0.35);
}

html{
font-family: 'Noto Sans', sans-serif;
background: linear-gradient(90deg, #00803b, #3ca74e 50%, #008e47);
background: linear-gradient(90deg, #89216b, #aa076b 50%, #89216b);
}

html::before{
Expand Down Expand Up @@ -93,13 +93,13 @@ body {
text-align: center;
font-size: 0.95rem;
text-transform: uppercase;
background-color: #212721;
background-color: #272127;
border: none;
text-shadow: -1px -1px 0 #40404085;
}

.navbar-button:hover {
background-color: #4d524d;
background-color: #524d52;
}

.navbar-button:focus {
Expand All @@ -108,7 +108,7 @@ body {

.navbar-button:active,
.navbar-button.btn-active{
background-color: #4d634d;
background-color: #614d63;
}

.navbar-button .navbar-label{
Expand Down Expand Up @@ -302,15 +302,18 @@ span.form-msg{
}

.button-green{
background: -webkit-linear-gradient(top, #00632e 0%,#00843d 100%);
background: #000;
border: 2px solid #ccccccab;
}

.button-gray {
background: linear-gradient(45deg, #676767 0%,#888888 100%);
background: #3e3e3e;
border: 2px solid #cccccc59;
}

.button-red {
background: -webkit-linear-gradient(top, #911b1b 0%,#c93030 100%);
background: #3e3e3e;
border: 2px solid #cccccc59;
}

.button-gray.small,
Expand Down Expand Up @@ -341,7 +344,7 @@ span.form-msg{
max-width:1280px;
margin:0 auto;
}

.section.is-shown {
order:1;
pointer-events: auto;
Expand Down Expand Up @@ -394,8 +397,8 @@ text-align: center;
grid-column-end: 4;
}
.welcome-buttons button:nth-child(2){
grid-column-start: 4;
grid-column-end: 6;
grid-column-start: 4;
grid-column-end: 6;

}

Expand Down Expand Up @@ -487,25 +490,25 @@ text-align: center;
border: 1px solid rgba(255,255,255,0.5);
transition: background-color 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
background-color: #99ceb1;
}

.checkbox-container input:checked ~ .checkmark {
background-color: #00632e;
}

.checkmark:after {
content: "";
position: absolute;
display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
display: block;
}

.checkbox-container .checkmark:after {
left: 6px;
top: 2.5px;
Expand All @@ -514,7 +517,7 @@ text-align: center;
border: solid white;
border-width: 0 3px 3px 0;
transform: rotate(45deg);
}
}
.checkbox-container input:focus + .checkmark,
.checkbox-container input:active + .checkmark{
outline: -webkit-focus-ring-color auto 5px;
Expand Down Expand Up @@ -664,7 +667,7 @@ dialog {
dialog[open]{
opacity: 1;
visibility: visible;
color: #eee !important;
color: #eee !important;
}

.default-dialog{
Expand Down Expand Up @@ -755,7 +758,7 @@ span.form-help-qr.hidden{
opacity: 1.0;
transition: opacity .2s;
height: 30px;

}
.status-node-info.conn-warning{
background: rgba(255, 0, 0, 0.7);
Expand Down Expand Up @@ -903,7 +906,7 @@ input.path-input-button{

.list-tables .pagination li{
display: inline-block;
background-color: #00632e;
background-color: #00632e;
color: #fff;
padding: 0px 0px;
margin: 0 4px 0 0;
Expand Down Expand Up @@ -964,7 +967,7 @@ input.path-input-button{
}

.addressbook-table tr[data-hash="null"]{
display: none;
display: none;
}

.addressbook-table td.addressName,
Expand Down Expand Up @@ -1352,7 +1355,7 @@ kbd{
background: #56565691;
color: #fff;
pointer-events: auto;

}
.license-text,.license-text *{
user-select: text !important;
Expand Down Expand Up @@ -1405,4 +1408,4 @@ a.external{
/* border-left: 1px solid #cccccc69;
border-right: 1px solid #cccccc69; */
}
}
}
12 changes: 6 additions & 6 deletions src/css/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
width: 10px;

}

.dark *::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
border-radius: 3px;
background-color: #5050505c;
}

.dark *::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #b5b5b5;
box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.dark *::-webkit-scrollbar-thumb:window-inactive {
background: #84848491;
background: #84848491;
}


Expand Down Expand Up @@ -99,7 +99,7 @@ border: 2px solid #cccccc59;
background-color: #000;
}
.dark .list-tables .pagination li.active{
background-color: #7b7b7b;
background-color: #7b7b7b;
}

.dark .checkbox-container input:checked ~ .checkmark{
Expand Down Expand Up @@ -177,4 +177,4 @@ border-bottom-right-radius: 4px !important;

.dark .wallet-tool:hover{
color: #fefefe;
}
}
Loading

0 comments on commit d0f3f4f

Please sign in to comment.