Skip to content

Commit

Permalink
v1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed Jun 25, 2018
1 parent d335a41 commit 5daac97
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ node_modules

# Desktop Services Store on macOS
.DS_Store

cypherglass-lens-1.0.0-web.zip
4 changes: 2 additions & 2 deletions electron/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cypherglass-lens-electron",
"version": "0.1.0",
"description": "Vote safely for your EOS Block Producers",
"version": "1.0.0",
"description": "Cypherglass Lens: the safest voting tool",
"homepage": "https://cypherglass.com",
"main": "index.js",
"scripts": {
Expand Down
10 changes: 5 additions & 5 deletions landing-page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
</style>

<meta property="og:url" content="https://cypherglass.com/lens" />
<meta property="og:title" content="Do your EOS Civic Duty with Cypherglass Lens" />
<meta property="og:description" content="NICE VOTING DESCRIPTION HERE" />
<meta property="og:image" content="http://cypherglass.com/nice-voting-picture-here.png" />
<meta property="og:title" content="Your Vote Matters!" />
<meta property="og:description" content="The safest and easiest way to vote for EOS Block Producers." />
<meta property="og:image" content="https://www.cypherglass.com/img/about/4.svg" />
</head>

<body>
Expand Down Expand Up @@ -106,14 +106,14 @@ <h2 class="title">Application Version</h2>
<p>You can download our apps if you want to be even more safer!</p>

<p class="buttons has-margin-top">
<a class="button is-large is-info" href="https://github.com/cypherglassdotcom/glasslens/releases/download/v0.1.0/Cypherglass.LENS.0.1.0.exe">
<a class="button is-large is-info" href="https://github.com/cypherglassdotcom/glasslens/releases/download/v1.0.0/Cypherglass.LENS.1.0.0.exe">
<span class="icon is-medium">
<i class="fab fa-windows"></i>
</span>
<span>Microsoft Windows App</span>
</a>

<a class="button is-large" href="https://github.com/cypherglassdotcom/glasslens/releases/download/v0.1.0/Cypherglass.LENS-0.1.0.dmg">
<a class="button is-large" href="https://github.com/cypherglassdotcom/glasslens/releases/download/v1.0.0/Cypherglass.LENS-1.0.0.dmg">
<span class="icon is-medium">
<i class="fab fa-apple"></i>
</span>
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cypherglass-voting",
"version": "0.1.0",
"description": "Cypherglass VOTING Tool",
"name": "cypherglass-lens",
"version": "1.0.0",
"description": "Cypherglass Lens: the safest voting tool",
"main": "index.js",
"directories": {
"test": "tests"
Expand Down
1 change: 1 addition & 0 deletions src/Components.elm
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ basicFieldInput isLoading fieldLabel fieldValue fieldPlaceHolder fieldIcon field
]
[ input
[ class "input"
, attribute "autocomplete" "off"
, placeholder fieldPlaceHolder
, type_ fieldType
, defaultValue fieldValue
Expand Down
16 changes: 6 additions & 10 deletions src/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Components exposing (icon, loadingIcon, titleMenu, modalCard, columns, pa
import Html exposing (Html, div, img, p, text, a, button, section, span, nav, tr, td, table, thead, th, li, ul, h1, strong, br, small, pre)
import Html.Attributes exposing (src, class, attribute, colspan, href, target)
import Html.Events exposing (onClick)
import Random


view : Model -> Html Msg
Expand Down Expand Up @@ -194,16 +193,14 @@ listBpsView model =

restProducers =
model.producers
|> List.take 51
|> List.take 101
|> List.drop 1
|> List.sortWith
(\a b ->
if model.orderType == "A" then
compare a.account b.account
else if model.orderType == "R" then
if model.orderType == "R" then
compare a.random b.random
else
compare b.totalVotes a.totalVotes
compare a.account b.account
)

adjustedProducers =
Expand All @@ -222,9 +219,8 @@ listBpsView model =
orderOptions =
selectInput
(model.isLoading > 0)
[ ( "", "Order by Total Votes" )
, ( "A", "Top 50 - Alphabetical Order" )
, ( "R", "Top 50 - Random Order" )
[ ( "", "Top 100 - Alphabetical Order" )
, ( "R", "Top 100 - Random Order" )
]
""
model.orderType
Expand Down Expand Up @@ -307,7 +303,7 @@ pkSection model =
pkForm =
if model.transactionSignature /= Nothing then
div []
[ strong [ class "has-text-success" ] [ text "Your transaction was signed and your Private Key was already destroyed from the session safely." ]
[ strong [ class "has-text-success" ] [ text "Your transaction was signed. Your Private Key has not been saved on this computer, and has been erased from system memory." ]
, statusText
, div [ class "has-text-centered has-margin-top" ]
[ p [] [ text ("Your voting transaction is prepared and will expire in " ++ (toString model.expirationCounter) ++ " seconds.") ]
Expand Down

0 comments on commit 5daac97

Please sign in to comment.