Skip to content

Commit 201b09f

Browse files
committed
Merge branch 'alexvandesande-ui' into develop
2 parents a562430 + 44b83c6 commit 201b09f

27 files changed

Lines changed: 544 additions & 36 deletions

‎cmd/mist/assets/ext/mist.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
// this function is included locally, but you can also include separately via a header definition
1919

20-
console.log("loaded?");
2120

2221
document.onkeydown = function(evt) {
2322
// This functions keeps track of keyboard inputs in order to allow copy, paste and other features

‎cmd/mist/assets/qml/main.qml‎

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,14 @@ ApplicationWindow {
4646
walletWeb.view.url = "http://ethereum-dapp-wallet.meteor.com/";
4747
walletWeb.menuItem.title = "Wallet";
4848

49-
addPlugin("./views/miner.qml", {noAdd: true, close: false, section: "ethereum", active: false});
49+
addPlugin("./views/miner.qml", {noAdd: true, close: false, section: "legacy", active: false});
50+
addPlugin("./views/network.qml", {noAdd: true, close: false, section: "ethereum", active: false});
51+
52+
/* var whisperTab = addPlugin("./views/browser.qml", {noAdd: true, close: true, section: "ethereum", active: false});
53+
whisperTab.view.url = "http://ethereum-dapp-whisper-client.meteor.com/";
54+
whisperTab.menuItem.title = "Whisper Chat";
55+
*/
56+
addPlugin("./views/wallet.qml", {noAdd: true, close: false, section: "legacy"});
5057
addPlugin("./views/transaction.qml", {noAdd: true, close: false, section: "legacy"});
5158
addPlugin("./views/whisper.qml", {noAdd: true, close: false, section: "legacy"});
5259
addPlugin("./views/chain.qml", {noAdd: true, close: false, section: "legacy"});
@@ -530,6 +537,8 @@ ApplicationWindow {
530537

531538
Text {
532539
id: secondary
540+
//only shows secondary title if there's no badge
541+
visible: (badgeContent == "icon" || badgeContent == "number" )? false : true
533542
font.family: sourceSansPro.name
534543
font.weight: Font.Light
535544
anchors {
@@ -691,18 +700,23 @@ ApplicationWindow {
691700
}
692701

693702
Rectangle {
694-
height: 55
703+
height: 19
695704
color: "transparent"
696705
Text {
697706
text: "ETHEREUM"
698707
font.family: sourceSansPro.name
699-
font.weight: Font.DemiBold
700-
anchors {
701-
left: parent.left
702-
top: parent.verticalCenter
703-
leftMargin: 16
704-
}
705-
color: "#AAA0A0"
708+
font.weight: Font.Regular
709+
// anchors.top: 20
710+
// anchors.left: 16
711+
anchors {
712+
leftMargin: 12
713+
topMargin: 4
714+
fill: parent
715+
}
716+
// anchors.leftMargin: 16
717+
// anchors.topMargin: 16
718+
// anchors.verticalCenterOffset: 50
719+
color: "#AAA0A0"
706720
}
707721
}
708722

@@ -717,24 +731,25 @@ ApplicationWindow {
717731
}
718732

719733
Rectangle {
720-
height: 55
721-
color: "transparent"
734+
height: 19
735+
color: "#00ff00"
736+
visible: (menuApps.children.length > 0)
737+
722738
Text {
723739
text: "APPS"
724740
font.family: sourceSansPro.name
725-
font.weight: Font.DemiBold
726-
anchors {
727-
left: parent.left
728-
top: parent.verticalCenter
729-
leftMargin: 16
730-
}
741+
font.weight: Font.Regular
742+
anchors.fill: parent
743+
anchors.leftMargin: 16
731744
color: "#AAA0A0"
732745
}
733746
}
734747

735748
ColumnLayout {
736749
id: menuApps
737750
spacing: 3
751+
752+
738753
anchors {
739754
left: parent.left
740755
right: parent.right
@@ -744,6 +759,7 @@ ApplicationWindow {
744759
Rectangle {
745760
height: 55
746761
color: "transparent"
762+
visible: true
747763
Text {
748764
text: "DEBUG"
749765
font.family: sourceSansPro.name
@@ -760,6 +776,7 @@ ApplicationWindow {
760776

761777
ColumnLayout {
762778
id: menuLegacy
779+
visible: true
763780
spacing: 3
764781
anchors {
765782
left: parent.left

‎cmd/mist/assets/qml/views/miner.qml‎

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,9 @@ Rectangle {
1919
id: lastBlockLabel
2020
objectName: "lastBlockLabel"
2121
text: "---"
22-
onTextChanged: {
23-
//menuItem.secondaryTitle = text
24-
}
25-
}
26-
27-
Label {
28-
objectName: "miningLabel"
29-
visible: false
30-
font.pixelSize: 10
31-
anchors.right: lastBlockLabel.left
32-
anchors.rightMargin: 5
33-
onTextChanged: {
34-
menuItem.secondaryTitle = text
35-
}
22+
onTextChanged: {
23+
//menuItem.secondaryTitle = text
24+
}
3625
}
3726

3827
ColumnLayout {

‎cmd/mist/assets/qml/views/network-health/205f39107b64acf34cb35d7edb57f47893187a12.js‎

Lines changed: 176 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cmd/mist/assets/qml/views/network-health/529f30ee0ee386c5143b4ccb62073179ca8253c3.css‎

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)