Skip to content

Commit

Permalink
initial commit of pibakery v2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidferguson committed Jun 29, 2018
1 parent ce81d93 commit 9f151e2
Show file tree
Hide file tree
Showing 69 changed files with 4,917 additions and 4,517 deletions.
16 changes: 0 additions & 16 deletions .gitignore

This file was deleted.

37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

Binary file removed 7z
Binary file not shown.
Binary file removed 7z.exe
Binary file not shown.
502 changes: 0 additions & 502 deletions 7zip-license.txt

This file was deleted.

390 changes: 195 additions & 195 deletions COPYING 100755 → 100644

Large diffs are not rendered by default.

Binary file removed CommandLineDiskImager/CommandLineDiskImager.exe
Binary file not shown.
339 changes: 0 additions & 339 deletions CommandLineDiskImager/GPL-2

This file was deleted.

Binary file removed CommandLineDiskImager/icudt51.dll
Binary file not shown.
Binary file removed CommandLineDiskImager/icuin51.dll
Binary file not shown.
Binary file removed CommandLineDiskImager/icuuc51.dll
Binary file not shown.
Binary file removed CommandLineDiskImager/libgcc_s_dw2-1.dll
Binary file not shown.
Binary file removed CommandLineDiskImager/libstdc++-6.dll
Binary file not shown.
Binary file removed CommandLineDiskImager/libwinpthread-1.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions app/blockly/blockly.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 17 additions & 37 deletions app/blocks.js
@@ -1,40 +1,20 @@
/*
PiBakery - The easiest way to setup a Raspberry Pi
Copyright (C) 2016 David Ferguson
This file is part of PiBakery.
PiBakery is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PiBakery is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with PiBakery. If not, see <http://www.gnu.org/licenses/>.
PiBakery uses Google Blockly which is licensed under the Apache
License Version 2.0, a copy of which can be found in the file
./app/blockly/LICENSE
PiBakery uses Win32DiskImager (Image Writer for Windows) which is
licensed under the GNU General Public License as published by the
Free Software Foundation, version 2 or later, a copy of which can
be found in the file ./CommandLineDiskImager/GPL-2
PiBakery uses p7zip which is licensed under the GNU General Public
License as published by the Free Software Foundation, version 2.1 or
later, a copy of which can be found in the file p7zip-license.txt
PiBakery uses 7zip (7za) which is licensed under the GNU Lesser
General Public License as published by the Free Software Foundation,
version 2.1 or later, a copy of which can be found in the file
7zip-license.txt
*/
* PiBakery 2.0.0 - The easy to use setup tool for Raspberry Pi
* Copyright (C) 2019 David Ferguson <david@pibakery.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

Blockly.Blocks['onboot'] = {
init: function() {
Expand Down Expand Up @@ -83,4 +63,4 @@ Blockly.PiBakery['onfirstboot'] = function(block) {
Blockly.PiBakery['onnextboot'] = function(block) {
var code = '_pibakery-onnextboot';
return code;
};
};
Binary file added app/img/load-sd.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/img/settings.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
67 changes: 21 additions & 46 deletions app/index.html
@@ -1,59 +1,38 @@
<!--
PiBakery - The easiest way to setup a Raspberry Pi
Copyright (C) 2016 David Ferguson
This file is part of PiBakery.
PiBakery is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
PiBakery is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
PiBakery. If not, see <http://www.gnu.org/licenses/>.
PiBakery uses Google Blockly which is licensed under the Apache License
Version 2.0, a copy of which can be found in the file ./app/blockly/LICENSE
PiBakery uses Win32DiskImager (Image Writer for Windows) which is licensed
under the GNU General Public License as published by the Free Software
Foundation, version 2 or later, a copy of which can be found in the file
./CommandLineDiskImager/GPL-2
PiBakery uses p7zip which is licensed under the GNU General Public License
as published by the Free Software Foundation, version 2.1 or later, a copy
of which can be found in the file p7zip-license.txt
PiBakery uses 7zip (7za) which is licensed under the GNU Lesser General
Public License as published by the Free Software Foundation, version 2.1 or
later, a copy of which can be found in the file 7zip-license.txt
-->

<html>
<head>
<title>PiBakery</title>
<link href="open-sans/open-sans.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<div id="header">
<div id="logo">PiBakery</div>
<div class="headerBtn" id="flashSD">
<img src="img/write-to-sd.png" id="sdImage" />
<img src="img/write-to-sd.png" class="sdImage" />
<p>Write</p>
</div>
<div class="headerBtn" id="exportRecipe">
<img src="img/export.png" id="sdImage" />
<div class="headerBtn" id="updateSD">
<img src="img/update-sd.png" class="sdImage" />
<p>Update</p>
</div>
<div class="headerBtn" id="loadSD">
<img src="img/load-sd.png" class="sdImage" />
<p>Load</p>
</div>

<div class="headerBtn" id="export">
<img src="img/export.png" class="sdImage" />
<p>Export</p>
</div>
<div class="headerBtn" id="importRecipe">
<img src="img/import.png" id="sdImage" />
<div class="headerBtn" id="import">
<img src="img/import.png" class="sdImage" />
<p>Import</p>
</div>

<!--<div class="headerBtn" id="settings">
<img src="img/settings.png" class="sdImage" />
<p>Settings</p>
</div>-->
</div>

<div class="spinner">
Expand All @@ -75,17 +54,13 @@
<block type="onfirstboot" id="onfirstboot"></block>
<block type="onboot"></block>
</category>
<category name="Programs" colour="120" id="software"></category>
<category name="Network" colour="260" id="network"></category>
<category name="Settings" colour="210" id="setting"></category>
<category name="Other" colour="290" id="other"></category>
</xml>

<script src="blockly/blockly.js"></script>
<script src="blockly/pibakery.js"></script>
<script src="blockly/en.js"></script>
<script src="blocks.js"></script>

<script src="pibakery.js"></script>
<script src="index.js"></script>
</body>
</html>

0 comments on commit 9f151e2

Please sign in to comment.