aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-06-19 08:17:22 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 09:41:14 +0100
commit577649504775349936391330a8bdf3fd58464a67 (patch)
tree0a7754a3512a316e39a94024b65f783a140f2de0 /src
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
STRUCT Repo structure with basic layout
Diffstat (limited to 'src')
-rw-r--r--src/app.js6
-rw-r--r--src/app.scss3
-rw-r--r--src/config.xml20
-rw-r--r--src/icon.pngbin0 -> 9958 bytes
-rw-r--r--src/icon.svg83
-rw-r--r--src/index.html16
6 files changed, 128 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
new file mode 100644
index 0000000..694d4fa
--- /dev/null
+++ b/src/app.js
@@ -0,0 +1,6 @@
+console.log('Arrancada la aplicación compilando CSS y SaSS');
+
+
+/* CSS */
+import 'bootstrap/dist/css/bootstrap.min.css';
+import './app.scss'; \ No newline at end of file
diff --git a/src/app.scss b/src/app.scss
new file mode 100644
index 0000000..c489d30
--- /dev/null
+++ b/src/app.scss
@@ -0,0 +1,3 @@
+body {
+ background: red;
+} \ No newline at end of file
diff --git a/src/config.xml b/src/config.xml
new file mode 100644
index 0000000..1f409f6
--- /dev/null
+++ b/src/config.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" id="webapps-html5-homescreen" version="5.0.0">
+ <name>HTML5 Homescreen</name>
+ <icon src="icon.png"/>
+ <content src="index.html" type="text/html"/>
+ <description>HTML5 Homescreen demo</description>
+ <author>Igalia, S.L.</author>
+ <license>MIT</license>
+ <feature name="urn:AGL:widget:required-permission">
+ <param name="urn:AGL:permission::public:no-htdocs" value="required" />
+ <param name="urn:AGL:permission:afm:system:widget" value="required" /> <!-- list available apps -->
+ <param name="urn:AGL:permission:afm:system:runner" value="required" /> <!-- run other apps -->
+ <param name="urn:AGL:permission::public:applications:read" value="required" /> <!-- get app icons -->
+ </feature>
+ <feature name="urn:AGL:widget:required-api">
+ <param name="windowmanager" value="ws" />
+ <param name="homescreen" value="ws" />
+ <param name="afm-main" value="ws" />
+ </feature>
+</widget> \ No newline at end of file
diff --git a/src/icon.png b/src/icon.png
new file mode 100644
index 0000000..1025c17
--- /dev/null
+++ b/src/icon.png
Binary files differ
diff --git a/src/icon.svg b/src/icon.svg
new file mode 100644
index 0000000..4ea294c
--- /dev/null
+++ b/src/icon.svg
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="15mm"
+ height="15mm"
+ viewBox="0 0 15 15"
+ version="1.1"
+ id="svg8"
+ inkscape:version="0.92.4 (unknown)"
+ sodipodi:docname="icon.svg"
+ inkscape:export-filename="/home/jaragunde/projects/agl-wrt/wam-demo-applications/html5-homescreen/icon.png"
+ inkscape:export-xdpi="338.66669"
+ inkscape:export-ydpi="338.66669">
+ <defs
+ id="defs2" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="7.9195959"
+ inkscape:cx="36.15848"
+ inkscape:cy="20.55416"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:window-width="1920"
+ inkscape:window-height="1016"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="1"
+ units="mm"
+ showguides="false" />
+ <metadata
+ id="metadata5">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-66.248444,-93.767853)">
+ <circle
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.26282853;stroke-opacity:1"
+ id="path814"
+ cx="73.748444"
+ cy="101.26785"
+ r="7.3685856" />
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:9.66912842px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.2417282"
+ x="66.377312"
+ y="104.22846"
+ id="text817"><tspan
+ sodipodi:role="line"
+ id="tspan815"
+ x="66.377312"
+ y="104.22846"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Carlito;-inkscape-font-specification:Carlito;stroke-width:0.2417282">&lt;h&gt;</tspan></text>
+ </g>
+</svg>
diff --git a/src/index.html b/src/index.html
new file mode 100644
index 0000000..e036d15
--- /dev/null
+++ b/src/index.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <!-- Required meta tags -->
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ </head>
+ <body>
+ <h1>h1. Bootstrap heading</h1>
+ <h2>h2. Bootstrap heading</h2>
+ <h3>h3. Bootstrap heading</h3>
+ <h4>h4. Bootstrap heading</h4>
+ <h5>h5. Bootstrap heading</h5>
+ <h6>h6. Bootstrap heading</h6>
+ </body>
+</html> \ No newline at end of file