From f8030be677d2ecc01afde52775bf1f9297d5e585 Mon Sep 17 00:00:00 2001 From: bastian-f Date: Wed, 18 Oct 2017 17:26:06 +0200 Subject: [PATCH] added spanis version --- README.md | 9 +- auto-generated-workspace.html | 48 ++- body-en.html | 62 ++++ head.html | 318 ++++++++++++++++++++ index-es.html | 474 ++++++++++++++++++++++++++++++ index.html | 531 +++++++++++++++++++++++++++------- index_old.html | 151 ++++++++++ index_old2.html | 381 ++++++++++++++++++++++++ index_old3.html | 14 + lib/w3.js | 397 +++++++++++++++++++++++++ navbar-en.html | 55 ++++ runme.js | 101 ++++--- workspace.css | 18 ++ workspace.html | 19 +- workspace.js | 7 +- 15 files changed, 2418 insertions(+), 167 deletions(-) create mode 100644 body-en.html create mode 100644 head.html create mode 100644 index-es.html create mode 100644 index_old.html create mode 100644 index_old2.html create mode 100644 index_old3.html create mode 100644 lib/w3.js create mode 100644 navbar-en.html diff --git a/README.md b/README.md index 931166f..fd13331 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ not conflict with other ChiliPeppr objects. | Name | Workspace / bastianf2 | | Description | A ChiliPeppr Workspace bastianf2. | | chilipeppr.load() URL | http://raw.githubusercontent.com/bastian-f/workspace-bastianf2/master/auto-generated-workspace.html | -| Edit URL | http://ide.c9.io/bastianf/chillipeppr-test-2 | +| Edit URL | http://ide.c9.io/undefined/undefined | | Github URL | http://github.com/bastian-f/workspace-bastianf2 | -| Test URL | https://preview.c9users.io/bastianf/chillipeppr-test-2/workspace.html | +| Test URL | https://preview.c9users.io/undefined/undefined/workspace.html | ## Example Code for chilipeppr.load() Statement @@ -135,14 +135,15 @@ The table below shows, in order, the methods and properties inside the workspace - idstring"com-chilipeppr-workspace-bastianf2"

The ID of the widget. You must define this and make it unique.namestring"Workspace / bastianf2"descstring"A ChiliPeppr Workspace bastianf2."urlstring"http://raw.githubusercontent.com/bastian-f/workspace-bastianf2/master/auto-generated-workspace.html"fiddleurlstring"http://ide.c9.io/bastianf/chillipeppr-test-2"githuburlstring"http://github.com/bastian-f/workspace-bastianf2"testurlstring"http://chillipeppr-test-2-bastianf.c9users.io/workspace.html"foreignSubscribeobjectPlease see docs above.widgetConsoleobjectContains reference to the Console widget object. Hang onto the reference + idstring"com-chilipeppr-workspace-bastianf2"

The ID of the widget. You must define this and make it unique.namestring"Workspace / bastianf2"descstring"A ChiliPeppr Workspace bastianf2."urlstring"http://raw.githubusercontent.com/bastian-f/workspace-bastianf2/master/auto-generated-workspace.html"fiddleurlstring"http://ide.c9.io/undefined/undefined"githuburlstring"http://github.com/bastian-f/workspace-bastianf2"testurlstring"http://undefined-undefined.c9users.io/workspace.html"foreignSubscribeobjectPlease see docs above.widgetConsoleobjectContains reference to the Console widget object. Hang onto the reference so we can resize it when the window resizes because we want it to manually resize to fill the height of the browser so it looks clean.widgetSpjsobjectContains reference to the Serial Port JSON Server object.initfunctionfunction ()

The workspace's init method. It loads the all the widgets contained in the workspace and inits them.getBillboardfunctionfunction ()

Returns the billboard HTML, CSS, and Javascript for this Workspace. The billboard is used by the home page, the workspace picker, and the fork pulldown to show a consistent name/image/description tag for the workspace throughout the ChiliPeppr ecosystem.addBillboardToWorkspaceMenufunctionfunction ()

Inject the billboard into the Workspace upper right corner pulldown which follows the standard template for workspace pulldown menus.setupResizefunctionfunction ()

Listen to window resize event.onResizefunctionfunction ()

When browser window resizes, forcibly resize the Console windowloadTemplateWidgetfunctionfunction (callback)

Load the Template widget via chilipeppr.load() so folks have a sample -widget they can fork as a starting point for their own.loadSpjsWidgetfunctionfunction (callback)

Load the Serial Port JSON Server widget via chilipeppr.load()loadSenscapeBootloaderWidgetfunctionfunction (callback)

Load Senscape Bootloader Widget via chilipeppr.load() +widget they can fork as a starting point for their own.loadSpjsWidgetfunctionfunction (callback)

Load the Serial Port JSON Server widget via chilipeppr.load()loadSenscapeBootloaderWidgetfunctionfunction (callback)

Load Senscape Bootloader Widget via chilipeppr.load()loadWorkspaceMenufunctionfunction (callback)

Load the workspace menu and show the pubsubviewer and fork links using +our pubsubviewer widget that makes those links for us. diff --git a/auto-generated-workspace.html b/auto-generated-workspace.html index 011593f..387b07f 100644 --- a/auto-generated-workspace.html +++ b/auto-generated-workspace.html @@ -86,6 +86,24 @@ padding: 4px 10px 10px 10px; background-color: rgba(255, 255, 255, 0.5); } + +.instructions-container { + border: 1px solid #ddd; + border-radius:5px; +} + +.instructions { + text-align: justify; + text-justify: inter-word; + padding-right: 10px; +} + +#instructions-title { + padding: 10px; + width: auto; + display: block; + border-bottom: 1px solid #ddd; +} + + + + + + diff --git a/index-es.html b/index-es.html new file mode 100644 index 0000000..ff7e438 --- /dev/null +++ b/index-es.html @@ -0,0 +1,474 @@ + + + + + + + Workspace / bastianf2 + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + +
+
Instrucciones

+

+ +

    +
  1. Descargar el servidor de puerto serie: Clicamos el menú desplegable arriba a la derecha y elegimos nuestra plataforma. + Esto descargará un pequeño programa que establece una conexión con nuestra placa Senscape. Lo ejecutamos. +
  2. +
  3. Conectamos nuestra placa Senscape y clicamos en el icono de refrescar en el widget del servidor de puerto serie. + Elegimos el puerto que corresponde a nuestra placa Senscape.
  4. +
  5. Subimos la última versión del firmware clicando el botón 'Reprogram'.
  6. +
+

+
+
+
+ + +
+ +
+

Senscape Bootloader Widget goes here

+
+ +
+ Serial Port Widget goes here +
+
+ + +
+
+ +
+
+
+ + +