-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added hide value ability & Standardized directory structure
- Standardized the directory structure. - Added ability to hide value. - Changes settings styles. - Added exception handling when reading and writing settings.
- Loading branch information
Showing
22 changed files
with
197 additions
and
191 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes
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 |
---|---|---|
@@ -1,17 +1,16 @@ | ||
body { | ||
width: 300px; | ||
height: 400px; | ||
height: 350px; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
#main { | ||
height: 400px; | ||
overflow: auto; | ||
height: 350px; | ||
overflow-y: auto; | ||
} | ||
#inputCurrList { | ||
height: 250px; | ||
height: 150px; | ||
} | ||
#currency-holdings { | ||
height: 250px; | ||
display: block; | ||
} |
File renamed without changes
File renamed without changes
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,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<gadget> | ||
<name>Cryptocurrencies Price Tracker</name> | ||
<namespace>microsoft.windows</namespace> | ||
<version>1.2.0</version> | ||
<author name="Armand Tresova"> | ||
<info url="https://www.armandtresova.com/" text="www.armandtresova.com"/> | ||
<logo src="logo.png" /> | ||
</author> | ||
<copyright>© 2018 ArmandTresova.com</copyright> | ||
<description> | ||
Cryptocurrencies Price Tracker is a Windows Sidebar Gadget that displays snapshot prices from CoinMarketCap using their API, as well as a personal portfolio value. | ||
<br /><br /> | ||
A free utility provided by Armand Tresova. | ||
</description> | ||
<icons> | ||
<icon height="64" width="64" src="icon.png"/> | ||
</icons> | ||
<hosts> | ||
<host name="sidebar"> | ||
<base type="HTML" apiVersion="1.0.0" src="index.html" /> | ||
<autoscaleDPI>true</autoscaleDPI> | ||
<permissions>Full</permissions> | ||
<platform minPlatformVersion="1.0" /> | ||
<defaultImage src="drag.png" /> | ||
</host> | ||
</hosts> | ||
</gadget> |
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
File renamed without changes.
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,76 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<title>Cryptocurrencies Price Tracker - Settings</title> | ||
<link href="css/settings.css" rel="stylesheet" type="text/css"> | ||
<script src="js/jquery-1.12.4.min.js" type="text/javascript" language="javascript"></script> | ||
<script src="js/common.js" type="text/javascript" language="javascript"></script> | ||
<script src="js/settings.js" type="text/javascript" language="javascript"></script> | ||
</head> | ||
<body onload="init();"> | ||
<div id="main"> | ||
<div><b>Display Value</b><input id="inputDisplayValue" name="inputDisplayValue" type="checkbox" checked="true"></div> | ||
<div> | ||
<b>Currency</b> | ||
<select id="inputCurr" name="inputCurr"> | ||
<option value="USD" selected="selected">USD</option> | ||
<option value="AUD">AUD</option> | ||
<option value="EUR">EUR</option> | ||
<option value="GBP">GBP</option> | ||
<option value="BRL">BRL</option> | ||
<option value="CAD">CAD</option> | ||
<option value="CHF">CHF</option> | ||
<option value="CLP">CLP</option> | ||
<option value="CNY">CNY</option> | ||
<option value="CZK">CZK</option> | ||
<option value="DKK">DKK</option> | ||
<option value="HKD">HKD</option> | ||
<option value="HUF">HUF</option> | ||
<option value="IDR">IDR</option> | ||
<option value="ILS">ILS</option> | ||
<option value="INR">INR</option> | ||
<option value="JPY">JPY</option> | ||
<option value="KRW">KRW</option> | ||
<option value="MXN">MXN</option> | ||
<option value="MYR">MYR</option> | ||
<option value="NOK">NOK</option> | ||
<option value="NZD">NZD</option> | ||
<option value="PHP">PHP</option> | ||
<option value="PKR">PKR</option> | ||
<option value="PLN">PLN</option> | ||
<option value="RUB">RUB</option> | ||
<option value="SEK">SEK</option> | ||
<option value="SGD">SGD</option> | ||
<option value="THB">THB</option> | ||
<option value="TRY">TRY</option> | ||
<option value="TWD">TWD</option> | ||
<option value="ZAR">ZAR</option> | ||
</select> | ||
</div> | ||
<div> | ||
<b>Refresh Frequency (minutes)</b> | ||
<select id="inputFreq" name="inputFreq"> | ||
<option value="1">1</option> | ||
<option value="5" selected="selected">5</option> | ||
<option value="10">10</option> | ||
<option value="15">15</option> | ||
<option value="20">20</option> | ||
<option value="25">25</option> | ||
<option value="30">30</option> | ||
<option value="45">45</option> | ||
<option value="60">60</option> | ||
</select> | ||
</div> | ||
<div> | ||
<b>Currenies</b> <br /> | ||
<select multiple="multiple" id="inputCurrList" name="inputCurrList"></select> | ||
</div> | ||
<div id="current-holdings"> | ||
<b>Current Holdings</b> | ||
<div id="currency-holdings"></div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
|
||
|
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
Compress-Archive -Path '..\..\*' -CompressionLevel NoCompression -DestinationPath '..\..\CryptocurrenciesPriceTrackerGadget.zip' | ||
Rename-Item '..\..\CryptocurrenciesPriceTrackerGadget.zip' 'CryptocurrenciesPriceTracker.gadget' |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.