Skip to content

Commit

Permalink
Release v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnymac committed Aug 27, 2016
2 parents 334b3df + 4492964 commit ed0d412
Show file tree
Hide file tree
Showing 32 changed files with 983 additions and 366 deletions.
8 changes: 6 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@
'render',
'everything-else'
]
}]
}],
"no-loops/no-loops": 2,
# https://github.com/eslint/eslint/issues/6274
"generator-star-spacing": 0
},
"plugins": [
"import",
"react"
"react",
"no-loops"
],
"settings": {
"import/resolver": {
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

**PokéNurse** is a desktop application for Windows and Mac that allows you to manage your pokémon from Pokémon Go without the need for a mobile device. You can now favorite, transfer, and evolve from the comfort of your own home!

## Downloads for v1.3.2
## Downloads for v1.4.0
You may view all the releases [here](https://github.com/vinnymac/PokeNurse/releases)
* [Mac OS X](https://github.com/vinnymac/PokeNurse/releases/download/v1.3.2/PokeNurse-darwin-x64.zip)
* [Windows 32 bit](https://github.com/vinnymac/PokeNurse/releases/download/v1.3.2/PokeNurse-win32-ia32.zip)
* [Windows 64 bit](https://github.com/vinnymac/PokeNurse/releases/download/v1.3.2/PokeNurse-win32-x64.zip)
* [Linux 32 bit](https://github.com/vinnymac/PokeNurse/releases/download/v1.3.2/PokeNurse-linux-ia32.zip)
* [Linux 64 bit](https://github.com/vinnymac/PokeNurse/releases/download/v1.3.2/PokeNurse-linux-x64.zip)
* [Mac OS X](https://github.com/vinnymac/PokeNurse/releases/download/v1.4.0/PokeNurse-darwin-x64.zip)
* [Windows 32 bit](https://github.com/vinnymac/PokeNurse/releases/download/v1.4.0/PokeNurse-win32-ia32.zip)
* [Windows 64 bit](https://github.com/vinnymac/PokeNurse/releases/download/v1.4.0/PokeNurse-win32-x64.zip)
* [Linux 32 bit](https://github.com/vinnymac/PokeNurse/releases/download/v1.4.0/PokeNurse-linux-ia32.zip)
* [Linux 64 bit](https://github.com/vinnymac/PokeNurse/releases/download/v1.4.0/PokeNurse-linux-x64.zip)

## Examples
![Login Window](app/loginExample.png)
Expand Down
5 changes: 5 additions & 0 deletions app/actions/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import * as statusActions from './status'

export default {
...statusActions
}
8 changes: 8 additions & 0 deletions app/actions/status.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {
createAction
} from 'redux-actions'

export default {
updateStatus: createAction('UPDATE_STATUS'),
resetStatus: createAction('RESET_STATUS')
}
1 change: 0 additions & 1 deletion app/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="./css/pokenurse.css">
<title>PokéNurse &bull; Login</title>
</head>
<body>
Expand Down
201 changes: 191 additions & 10 deletions app/css/pokenurse.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,111 @@
/* Global style */
/**** Menu Styles ****/
/* Position and sizing of burger button */
.bm-burger-button {
position: fixed;
width: 14px;
height: 14px;
left: 15px;
top: 17px;
}

/* Color/shape of burger icon bars */
.bm-burger-bars {
background: white;
}

/* Position and sizing of clickable cross button */
.bm-cross-button {
height: 24px;
width: 24px;
}

/* Color/shape of close button cross */
.bm-cross {
background: #bdc3c7;
}

/* General sidebar styles */
.bm-menu {
background-color: rgba(0, 0, 0, 0.9);
padding: 2.5em 1.5em 0;
font-size: 1.15em;
}

.bm-menu .bm-item-list {
padding: 0;
max-height: none;
}
.bm-item-list ul {
float: none;
display: block;
}
.bm-menu .bm-item-list li {
float: none;
display: block;
padding: 5px 0px;
border-bottom: 1px solid #b8b7ad;
}

.bm-menu .bm-item-list li a {
padding: 5px 0px;
}

.bm-menu .bm-item-list i {
padding-top: 5px;
float: right;
}

.switch {
border: 1px solid #ccc;
width: 50px;
height: 26px;
border-radius: 13px;
cursor: pointer;
display: inline-block;
float: right;
}

.switch-toggle {
border: 1px solid #999;
box-shadow: 1px 1px 1px #ccc;
width: 25px;
height: 24px;
left: 0;
border-radius: 12px;
background: white;
position: relative;
transition: left .2s ease-in-out;
}

.switch.on {
background: green;
}

.switch.on .switch-toggle {
left: 23px;
}

.switch.disabled {
cursor: not-allowed;
}

/* Morph shape necessary with bubble or elastic */
.bm-morph-shape {
fill: #373a47;
}

/* Wrapper for item list */
.bm-item-list {
color: #b8b7ad;
padding: 0.8em;
}

/* Styling of overlay */
.bm-overlay {
background: rgba(0, 0, 0, 0.3);
}

/**** Global style ****/

.header {
background-image: url('../imgs/bg.jpg');
Expand All @@ -9,9 +116,65 @@
color: #fff;
}

#profile-header {
padding-left: 30%;
font-weight: bold;
.drawer-icon {
padding: 10px 12px;
font-size: 14px;
font-weight: 400;
line-height: 1;
color: #555;
text-align: center;
background-color:rgba(0, 0, 0, 0.7);
border: rgba(0, 0, 0, 0.2);
border-radius: 4px;
}

.username {
padding-top: 15px;
margin-left: 15px;
color: white;
}

.search input {
background-color:rgba(0, 0, 0, 0.5);
border: rgba(0, 0, 0, 0.2);
color: white;
}

.search span {
background-color:rgba(0, 0, 0, 0.8);
border: rgba(0, 0, 0, 0.2);
}

.stats {
padding-top: 15px;
padding-right: 35px;
color: white;
float: right;
}

.status-container {
margin-top: 50px;
padding: 0px 15px;
min-height: 34px !important;
max-height: 34px !important;
background-color:rgba(0, 0, 0, 0.7);
z-index: 1029 !important;
position: fixed;
width: 100%;
}

.status {
font-size: 10px;
color: white;
padding: 10px 0px 7px 0px;
}

.progressbar {
padding: 7px 0px;
}

.table-container {
margin-top: 65px;
}

#refresh-btn {
Expand All @@ -26,7 +189,7 @@ thead > tr > td {
cursor: pointer;
}

tbody > tr > td > a {
tbody > tr > td a {
cursor: pointer;
}

Expand Down Expand Up @@ -737,11 +900,6 @@ table tbody tr.child:hover {
background: none;
}

/*Stats*/
.stats {
padding-top: 8px;
}

/*Confirmation*/
.confirmationTable {
border: 1px solid black;
Expand All @@ -765,3 +923,26 @@ table tbody tr.child:hover {
font-size: 24px;
cursor: pointer;
}

/*Input Styles*/
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.btn:focus,
.btn:active:focus {
border-color: rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02) inset, 0 0 3px rgba(0, 0, 0, 0.2);
outline: 0 none;
}
8 changes: 7 additions & 1 deletion app/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import React from 'react'
import ReactDOM from 'react-dom'
import { ipcRenderer } from 'electron'
import {
Provider
} from 'react-redux'

import store from './store'
import Login from './screens/Login'
import Table from './screens/Table'

require('./css/pokenurse.css')

const App = React.createClass({
getInitialState() {
return { loggedIn: false }
Expand All @@ -23,4 +29,4 @@ const App = React.createClass({
}
})

ReactDOM.render(<App />, document.getElementById('content'))
ReactDOM.render(<Provider store={store}><App /></Provider>, document.getElementById('content'))
9 changes: 9 additions & 0 deletions app/reducers/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import {
combineReducers
} from 'redux'

import status from './status'

export default combineReducers({
status
})
21 changes: 21 additions & 0 deletions app/reducers/status.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import {
handleActions
} from 'redux-actions'

const initialState = {
selectedPokemon: null,
current: null,
time: 0,
method: '',
finished: null
}

export default handleActions({
UPDATE_STATUS(state, action) {
return Object.assign({}, state, action.payload)
},

RESET_STATUS() {
return initialState
}
}, initialState)
Loading

0 comments on commit ed0d412

Please sign in to comment.