Skip to content

Commit

Permalink
[readme] updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Grovkillen committed Feb 28, 2020
1 parent 484e801 commit 790fec3
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 36 deletions.
4 changes: 0 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ module.exports = function(grunt) {
file_append: {
copyright: {
files: [
{
prepend: '<-- GUIEasy Copyright (C) 2019-' + new Date().getFullYear() + ' Jimmy "Grovkillen" Westberg -->',
input: 'build/temp/index.min.html'
},
{
prepend: '/* GUIEasy Copyright (C) 2019-' + new Date().getFullYear() + ' Jimmy "Grovkillen" Westberg */',
input: 'build/temp/gui.min.js'
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,15 +333,15 @@ data. This is made possible by the opening ``//--GRUNT-START--`` and closing ``/
tags. Please observe that the ``,`` after the closing tag need to be on the line below
the tag for the script to function correctly.

### Grunt bump command
### Grunt "bump" Command

To bump revision we have created a Grunt command called ``grunt bump``. You can do the following
to update the ``src/gui_easy_settings.js`` file:

```
grunt bump:minimal
>>0.0.nightly.2 --> 0.0.nightly.3
>>0.0.4 --> 0.0.nightly.5
>> 0.0.nightly.2 --> 0.0.nightly.3
>> 0.0.4 --> 0.0.nightly.5
grunt bump:minor
>> 0.0.nightly.2 --> 0.1.0
Expand All @@ -350,14 +350,14 @@ grunt bump:major
>> 0.0.nightly.2 --> 1.0.0
grunt bump:rc
>>0.0.nightly.2 --> 0.0.rc1.3
>> 0.0.nightly.2 --> 0.0.rc1.3
grunt bump:dev=true
>>0.0.2 --> 0.0.nightly.2
>> 0.0.2 --> 0.0.nightly.2
grunt bump:dev=false
>>0.0.nightly.2 --> 0.0.2
>>0.0.rc1.3 --> 0.0.3 <--- this one isn't correct
>> 0.0.nightly.2 --> 0.0.2
>> 0.0.rc1.3 --> 0.0.3 <--- this one isn't correct
```

As seen in the last example, if you have a release candidate number assigned when you set the
Expand Down
1 change: 1 addition & 0 deletions build/releases.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
0.0.nightly.1
0.0.nightly.2
0.0.nightly.3
0.0.nightly.4
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "gui-easy",
"timestamp": 1582578472664,
"version": "0.0.3",
"versionName": "0.0.nightly.3",
"timestamp": 1582620590419,
"version": "0.0.4",
"versionName": "0.0.nightly.4",
"author": "Jimmy 'Grovkillen' Westberg <jimmy@grovkillen.com> (https://grovkillen.com)",
"description": "Front End for ESP Easy",
"main": "build/0.0.nightly.3/main/index.html.gz",
"main": "build/0.0.nightly.4/main/index.html.gz",
"repository": {
"type": "git",
"url": "git+https://github.com/letscontrolit/GUIEasy.git"
Expand Down
2 changes: 1 addition & 1 deletion src/gui_easy_settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const guiEasy = {
//--GRUNT-START--
'major': 0,
'minor': 0,
'minimal': 3,
'minimal': 4,
'development': true,
'releaseCandidate': 0
//--GRUNT-END--
Expand Down
52 changes: 32 additions & 20 deletions src/index-minimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,33 @@
<head>
<meta charset="utf-8">
<meta name="theme-color" content="#000000">
<title>I'm Headless</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link id="favicon" rel="shortcut icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAFAnpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarVdZssMoDPzXKeYIFmI9Dpuq5gZz/GnAcZaXvCwvoRIMkUHdLWSZ+n//Kv2Dj3FuI+tC9Mn7DR+bbDIZF3Fbn9XzZufv/Jj9L4yv5un4w2BK0Msa+r7bZ8y78w3B7vPlep5C3deJ+0L7H6cFZew8dtvt4r6QmDXP+5jSfl+2F3D2r4SF5GR8O7YBZDSHSTFkurB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">
<title>ESP Easy</title>
<style>
button{
display: none;
border-color: green;
border-style: solid;
border-width: 1px;
color: green;
background: transparent;
align-items: center;
justify-content: center;
cursor: pointer;
outline: 0;
padding: .65em 2em;
font-family: inherit;
}
button.active{
background-color: #09330d;
}
</style>
<script>
let releases;
start = async function () {
const fe = document.getElementById("fe"); //front end button
const be = document.getElementById("be"); //back end button
const t = document.getElementById("t"); //text
const d = document.getElementById("d"); //button
const b = document.getElementById("b"); //button
Expand All @@ -26,7 +49,9 @@
option.value = releases[i];
d.add(option);
}
t.innerHTML = "Click the button below to upgrade this unit to Queen status.";
t.innerHTML = "Click the button below to upgrade this unit to Queen status."
fe.style.display = "flex";
be.style.display = "flex";
d.style.display = "block";
b.style.display = "block";
a.style.display = "block";
Expand Down Expand Up @@ -78,6 +103,10 @@
left: 50%;
transform: translate(-50%, -50%);
">
<div style="width:100%; display:inline-flex;">
<button id="fe" style="width:50%;" class="active">Front End</button>
<button id="be" style="width:50%;">Back End</button>
</div>
<div id="a"
style="
display: none;
Expand Down Expand Up @@ -125,24 +154,7 @@
"
>
</div>
<button
onclick="download()"
id="b"
style="
display: none;
width: 100%;
border-color: green;
border-style: solid;
border-width: 1px;
color: green;
background: transparent;
align-items: center;
justify-content: center;
cursor: pointer;
outline: 0;
padding: .65em 2em;
font-family: inherit;
">
<button onclick="download()" id="b" style="width: 100%;">
Make This Drone A Queen
</button>
</div>
Expand Down

0 comments on commit 790fec3

Please sign in to comment.