This repository has been archived by the owner on Sep 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
86 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<template name="popupWindows_about"> | ||
<div class="row"> | ||
<div class="col col-4 "> | ||
<img id="image" src="{{iconPath}}" style="position: relative;top: -40px;left: -130%;width: 250%;"> | ||
</div> | ||
<div class="col col-8 "> | ||
<h1>{{name}}</h1> | ||
<p> | ||
Version {{mist.version}}<br> | ||
License {{mist.license}}<br> | ||
GitHub <a href="https://github.com/ethereum/mist" target="_blank">github.com/ethereum/mist</a> | ||
</p> | ||
<small>Copyright 2016 Ethereum Foundation</small> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/** | ||
Template Controllers | ||
@module Templates | ||
*/ | ||
|
||
var mode = location.hash.replace('#about_',''); | ||
|
||
/** | ||
The about template | ||
@class [template] popupWindows_about | ||
@constructor | ||
*/ | ||
Template['popupWindows_about'].onCreated(function(){ | ||
|
||
}); | ||
|
||
|
||
Template['popupWindows_about'].helpers({ | ||
/** | ||
Returns the icon path | ||
@method iconPath | ||
*/ | ||
'iconPath': function(){ | ||
return 'file://'+ dirname.replace('modules/preloader','') +'icons/'+ mode +'/icon2x.png'; | ||
}, | ||
/** | ||
Returns the application name | ||
@method name | ||
*/ | ||
'name': function(){ | ||
return (mode === 'mist') ? 'Mist' : 'Ethereum Wallet'; | ||
}, | ||
/** | ||
Returns mist api | ||
@method mist | ||
*/ | ||
'mist': function(){ | ||
return mist; | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters