gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated (8e9bca39 -> fee5de75)


From: gnunet
Subject: [taler-wallet-core] branch master updated (8e9bca39 -> fee5de75)
Date: Fri, 03 Jun 2022 21:05:46 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a change to branch master
in repository wallet-core.

    from 8e9bca39 do not add provider without salt
     new 075903d4 remove cost
     new 459c1994 fix reference to css resources
     new fee5de75 build with esbuild

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 packages/anastasis-webui/clean_and_build.sh        |  23 ++++++++++++++
 packages/anastasis-webui/src/main.ts               |  26 +++++++++++++++
 .../pages/home/ChallengeOverviewScreen.stories.tsx |  22 -------------
 .../src/pages/home/ChallengeOverviewScreen.tsx     |   3 --
 .../src/pages/home/SolveScreen.stories.tsx         |   8 +----
 .../authMethod/AuthMethodEmailSolve.stories.tsx    |   2 --
 .../authMethod/AuthMethodIbanSolve.stories.tsx     |   1 -
 .../authMethod/AuthMethodPostSolve.stories.tsx     |   1 -
 .../authMethod/AuthMethodQuestionSolve.stories.tsx |   7 -----
 .../home/authMethod/AuthMethodSmsSolve.stories.tsx |   1 -
 .../authMethod/AuthMethodTotpSolve.stories.tsx     |   1 -
 .../fonts/materialdesignicons-webfont-4.9.95.eot   | Bin
 .../fonts/materialdesignicons-webfont-4.9.95.ttf   | Bin
 .../fonts/materialdesignicons-webfont-4.9.95.woff  | Bin
 .../fonts/materialdesignicons-webfont-4.9.95.woff2 | Bin
 packages/anastasis-webui/src/scss/fonts/nunito.css |   2 +-
 packages/anastasis-webui/src/scss/main.scss        |   6 ++--
 .../anastasis-webui/{src/template.html => ui.html} |  35 ++++-----------------
 18 files changed, 60 insertions(+), 78 deletions(-)
 create mode 100755 packages/anastasis-webui/clean_and_build.sh
 create mode 100644 packages/anastasis-webui/src/main.ts
 copy packages/anastasis-webui/src/scss/{icons => 
}/fonts/materialdesignicons-webfont-4.9.95.eot (100%)
 copy packages/anastasis-webui/src/scss/{icons => 
}/fonts/materialdesignicons-webfont-4.9.95.ttf (100%)
 copy packages/anastasis-webui/src/scss/{icons => 
}/fonts/materialdesignicons-webfont-4.9.95.woff (100%)
 copy packages/anastasis-webui/src/scss/{icons => 
}/fonts/materialdesignicons-webfont-4.9.95.woff2 (100%)
 copy packages/anastasis-webui/{src/template.html => ui.html} (62%)

diff --git a/packages/anastasis-webui/clean_and_build.sh 
b/packages/anastasis-webui/clean_and_build.sh
new file mode 100755
index 00000000..3da450c6
--- /dev/null
+++ b/packages/anastasis-webui/clean_and_build.sh
@@ -0,0 +1,23 @@
+echo clean
+rm -rf dist
+mkdir -p dist/fonts
+cp \
+       src/scss/fonts/XRXV3I6Li01BKofINeaE.ttf \
+       src/scss/fonts/materialdesignicons-webfont-4.9.95.ttf \
+       src/scss/fonts/materialdesignicons-webfont-4.9.95.woff \
+       src/scss/fonts/materialdesignicons-webfont-4.9.95.woff2 \
+       dist/fonts
+
+echo css
+pnpm exec sass -I . ./src/scss/main.scss dist/main.css &
+echo js
+pnpm exec esbuild --log-level=error --bundle src/main.ts --outdir=dist 
--target=es6 --loader:.scss=text --loader:.svg=dataurl --format=iife 
--sourcemap --jsx-factory=h --jsx-fragment=Fragment --platform=browser &
+wait -n
+wait -n
+
+echo html
+cat ui.html \
+       | sed -e '/ANASTASIS_SCRIPT_CONTENT/ {' -e 'r dist/main.js' -e 'd' -e 
'}' \
+       | sed -e '/ANASTASIS_STYLE_CONTENT/ {' -e 'r dist/main.css' -e 'd' -e 
'}' \
+       >dist/index.html
+echo done
diff --git a/packages/anastasis-webui/src/main.ts 
b/packages/anastasis-webui/src/main.ts
new file mode 100644
index 00000000..8e76449c
--- /dev/null
+++ b/packages/anastasis-webui/src/main.ts
@@ -0,0 +1,26 @@
+import { setupI18n } from "@gnu-taler/taler-util";
+import { h, render } from "preact";
+import App from "./components/app";
+
+function main(): void {
+  try {
+    const container = document.getElementById("container");
+    if (!container) {
+      throw Error("container not found, can't mount page contents");
+    }
+    render(h(App, {}), container);
+  } catch (e) {
+    console.error("got error", e);
+    if (e instanceof Error) {
+      document.body.innerText = `Fatal error: "${e.message}".  Please report 
this bug at https://bugs.gnunet.org/.`;
+    }
+  }
+}
+
+// setupI18n("en", strings);
+
+if (document.readyState === "loading") {
+  document.addEventListener("DOMContentLoaded", main);
+} else {
+  main();
+}
diff --git 
a/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.stories.tsx 
b/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.stories.tsx
index 1acb2470..579ff34b 100644
--- 
a/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.stories.tsx
+++ 
b/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.stories.tsx
@@ -45,7 +45,6 @@ export const OneUnsolvedPolicy = 
createExample(TestedComponent, {
     policies: [[{ uuid: "1" }]],
     challenges: [
       {
-        cost: "USD:1",
         instructions: "just go for it",
         type: "question",
         uuid: "1",
@@ -60,19 +59,16 @@ export const SomePoliciesOneSolved = 
createExample(TestedComponent, {
     policies: [[{ uuid: "1" }, { uuid: "2" }], [{ uuid: "uuid-3" }]],
     challenges: [
       {
-        cost: "USD:1",
         instructions: "this question cost 1 USD",
         type: "question",
         uuid: "1",
       },
       {
-        cost: "USD:0",
         instructions: "answering this question is free",
         type: "question",
         uuid: "2",
       },
       {
-        cost: "USD:1",
         instructions: "this question is already answered",
         type: "question",
         uuid: "uuid-3",
@@ -92,7 +88,6 @@ export const OneBadConfiguredPolicy = 
createExample(TestedComponent, {
     policies: [[{ uuid: "1" }, { uuid: "2" }]],
     challenges: [
       {
-        cost: "USD:1",
         instructions: "this policy has a missing uuid (the other auth method)",
         type: "totp",
         uuid: "1",
@@ -118,51 +113,43 @@ export const OnePolicyWithAllTheChallenges = 
createExample(TestedComponent, {
     ],
     challenges: [
       {
-        cost: "USD:1",
         instructions: "Does P equals NP?",
         type: "question",
         uuid: "1",
       },
       {
-        cost: "USD:1",
         instructions: "SMS to 555-555",
         type: "sms",
         uuid: "2",
       },
       {
-        cost: "USD:1",
         instructions: "Email to qwe@asd.com",
         type: "email",
         uuid: "3",
       },
       {
-        cost: "USD:1",
         instructions: 'Enter 8 digits code for "Anastasis"',
         type: "totp",
         uuid: "4",
       },
       {
         //
-        cost: "USD:0",
         instructions: "Wire transfer from ASDXCVQWE123123 with holder Florian",
         type: "iban",
         uuid: "5",
       },
       {
-        cost: "USD:1",
         instructions: "Join a video call",
         type: "video", //Enter 8 digits code for "Anastasis"
         uuid: "7",
       },
       {},
       {
-        cost: "USD:1",
         instructions: "Letter to address in postal code DE123123",
         type: "post", //Enter 8 digits code for "Anastasis"
         uuid: "8",
       },
       {
-        cost: "USD:1",
         instructions: "instruction for an unknown type of challenge",
         type: "new-type-of-challenge",
         uuid: "6",
@@ -192,55 +179,46 @@ export const 
OnePolicyWithAllTheChallengesInDifferentState = createExample(
       ],
       challenges: [
         {
-          cost: "USD:1",
           instructions: 'in state "solved"',
           type: "question",
           uuid: "uuid-1",
         },
         {
-          cost: "USD:1",
           instructions: 'in state "message"',
           type: "question",
           uuid: "uuid-2",
         },
         {
-          cost: "USD:1",
           instructions: 'in state "auth iban"',
           type: "question",
           uuid: "uuid-3",
         },
         {
-          cost: "USD:1",
           instructions: 'in state "payment "',
           type: "question",
           uuid: "uuid-4",
         },
         {
-          cost: "USD:1",
           instructions: 'in state "rate limit"',
           type: "question",
           uuid: "uuid-5",
         },
         {
-          cost: "USD:1",
           instructions: 'in state "redirect"',
           type: "question",
           uuid: "uuid-6",
         },
         {
-          cost: "USD:1",
           instructions: 'in state "server failure"',
           type: "question",
           uuid: "uuid-7",
         },
         {
-          cost: "USD:1",
           instructions: 'in state "truth unknown"',
           type: "question",
           uuid: "uuid-8",
         },
         {
-          cost: "USD:1",
           instructions: 'in state "unsupported"',
           type: "question",
           uuid: "uuid-9",
diff --git 
a/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx 
b/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx
index 84d2588e..fdd2c0b3 100644
--- a/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx
+++ b/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx
@@ -66,14 +66,12 @@ export function ChallengeOverviewScreen(): VNode {
     [uuid: string]: {
       type: string;
       instructions: string;
-      cost: string;
       feedback: ChallengeFeedback | undefined;
     };
   } = {};
   for (const ch of knownChallengesArray) {
     knownChallengesMap[ch.uuid] = {
       type: ch.type,
-      cost: ch.cost,
       instructions: ch.instructions,
       feedback: challengeFeedback[ch.uuid],
     };
@@ -123,7 +121,6 @@ export function ChallengeOverviewScreen(): VNode {
       )}
       {policiesWithInfo.map((policy, policy_index) => {
         const tableBody = policy.challenges.map(({ info, uuid }) => {
-          const isFree = !info.cost || info.cost.endsWith(":0");
           const method = authMethods[info.type as KnownAuthMethods];
 
           if (!method) {
diff --git a/packages/anastasis-webui/src/pages/home/SolveScreen.stories.tsx 
b/packages/anastasis-webui/src/pages/home/SolveScreen.stories.tsx
index d97bfbfb..df16aebf 100644
--- a/packages/anastasis-webui/src/pages/home/SolveScreen.stories.tsx
+++ b/packages/anastasis-webui/src/pages/home/SolveScreen.stories.tsx
@@ -19,11 +19,7 @@
  * @author Sebastian Javier Marchano (sebasjm)
  */
 
-import {
-  ChallengeFeedbackStatus,
-  RecoveryStates,
-  ReducerState,
-} from "@gnu-taler/anastasis-core";
+import { ReducerState } from "@gnu-taler/anastasis-core";
 import { createExample, reducerStatesExample } from "../../utils";
 import { SolveScreen as TestedComponent } from "./SolveScreen";
 
@@ -49,7 +45,6 @@ export const NotSupportedChallenge = 
createExample(TestedComponent, {
   recovery_information: {
     challenges: [
       {
-        cost: "USD:1",
         instructions: "does P equals NP?",
         type: "chall-type",
         uuid: "ASDASDSAD!1",
@@ -65,7 +60,6 @@ export const MismatchedChallengeId = 
createExample(TestedComponent, {
   recovery_information: {
     challenges: [
       {
-        cost: "USD:1",
         instructions: "does P equals NP?",
         type: "chall-type",
         uuid: "ASDASDSAD!1",
diff --git 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.stories.tsx
 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.stories.tsx
index d8211197..295a47c4 100644
--- 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.stories.tsx
+++ 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.stories.tsx
@@ -47,7 +47,6 @@ export const WithoutFeedback = createExample(
     recovery_information: {
       challenges: [
         {
-          cost: "USD:1",
           instructions: "Email to me@domain.com",
           type: "question",
           uuid: "uuid-1",
@@ -69,7 +68,6 @@ export const PaymentFeedback = createExample(
     recovery_information: {
       challenges: [
         {
-          cost: "USD:1",
           instructions: "Email to me@domain.com",
           type: "question",
           uuid: "uuid-1",
diff --git 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodIbanSolve.stories.tsx
 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodIbanSolve.stories.tsx
index 2a0e02dc..de49f256 100644
--- 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodIbanSolve.stories.tsx
+++ 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodIbanSolve.stories.tsx
@@ -47,7 +47,6 @@ export const WithoutFeedback = createExample(
     recovery_information: {
       challenges: [
         {
-          cost: "USD:1",
           instructions: "does P equals NP?",
           type: "question",
           uuid: "uuid-1",
diff --git 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.stories.tsx
 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.stories.tsx
index cbfcbb6c..d971205e 100644
--- 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.stories.tsx
+++ 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.stories.tsx
@@ -47,7 +47,6 @@ export const WithoutFeedback = createExample(
     recovery_information: {
       challenges: [
         {
-          cost: "USD:1",
           instructions: "does P equals NP?",
           type: "question",
           uuid: "uuid-1",
diff --git 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodQuestionSolve.stories.tsx
 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodQuestionSolve.stories.tsx
index 5ba621b6..e36d6689 100644
--- 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodQuestionSolve.stories.tsx
+++ 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodQuestionSolve.stories.tsx
@@ -48,7 +48,6 @@ export const WithoutFeedback = createExample(
     recovery_information: {
       challenges: [
         {
-          cost: "USD:1",
           instructions: "does P equals NP?",
           type: "question",
           uuid: "uuid-1",
@@ -70,7 +69,6 @@ export const ServerFailureFeedback = createExample(
     recovery_information: {
       challenges: [
         {
-          cost: "USD:1",
           instructions: "does P equal NP?",
           type: "question",
           uuid: "ASDASDSAD!1",
@@ -96,7 +94,6 @@ export const MessageRateLimitExceededFeedback = createExample(
     recovery_information: {
       challenges: [
         {
-          cost: "USD:1",
           instructions: "does P equals NP?",
           type: "question",
           uuid: "ASDASDSAD!1",
@@ -118,7 +115,6 @@ export const UnsupportedFeedback = 
createExample(TestedComponent[type].solve, {
   recovery_information: {
     challenges: [
       {
-        cost: "USD:1",
         instructions: "does P equals NP?",
         type: "question",
         uuid: "ASDASDSAD!1",
@@ -141,7 +137,6 @@ export const TruthUnknownFeedback = 
createExample(TestedComponent[type].solve, {
   recovery_information: {
     challenges: [
       {
-        cost: "USD:1",
         instructions: "does P equals NP?",
         type: "question",
         uuid: "ASDASDSAD!1",
@@ -171,7 +166,6 @@ export const AuthIbanFeedback = 
createExample(TestedComponent[type].solve, {
   recovery_information: {
     challenges: [
       {
-        cost: "USD:1",
         instructions: "does P equals NP?",
         type: "question",
         uuid: "ASDASDSAD!1",
@@ -190,7 +184,6 @@ export const PaymentFeedback = 
createExample(TestedComponent[type].solve, {
   recovery_information: {
     challenges: [
       {
-        cost: "USD:1",
         instructions: "does P equals NP?",
         type: "question",
         uuid: "ASDASDSAD!1",
diff --git 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx
 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx
index 4fdbb2ce..496e413a 100644
--- 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx
+++ 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx
@@ -47,7 +47,6 @@ export const WithoutFeedback = createExample(
     recovery_information: {
       challenges: [
         {
-          cost: "USD:1",
           instructions: "SMS to +54 11 2233 4455",
           type: "question",
           uuid: "AHCC4ZJ3Z1AF8TWBKGVGEKCQ3R7HXHJ51MJ45NHNZMHYZTKJ9NW0",
diff --git 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSolve.stories.tsx
 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSolve.stories.tsx
index 8ac14670..0fba7872 100644
--- 
a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSolve.stories.tsx
+++ 
b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSolve.stories.tsx
@@ -47,7 +47,6 @@ export const WithoutFeedback = createExample(
     recovery_information: {
       challenges: [
         {
-          cost: "USD:1",
           instructions: "does P equals NP?",
           type: "question",
           uuid: "uuid-1",
diff --git 
a/packages/anastasis-webui/src/scss/icons/fonts/materialdesignicons-webfont-4.9.95.eot
 
b/packages/anastasis-webui/src/scss/fonts/materialdesignicons-webfont-4.9.95.eot
similarity index 100%
copy from 
packages/anastasis-webui/src/scss/icons/fonts/materialdesignicons-webfont-4.9.95.eot
copy to 
packages/anastasis-webui/src/scss/fonts/materialdesignicons-webfont-4.9.95.eot
diff --git 
a/packages/anastasis-webui/src/scss/icons/fonts/materialdesignicons-webfont-4.9.95.ttf
 
b/packages/anastasis-webui/src/scss/fonts/materialdesignicons-webfont-4.9.95.ttf
similarity index 100%
copy from 
packages/anastasis-webui/src/scss/icons/fonts/materialdesignicons-webfont-4.9.95.ttf
copy to 
packages/anastasis-webui/src/scss/fonts/materialdesignicons-webfont-4.9.95.ttf
diff --git 
a/packages/anastasis-webui/src/scss/icons/fonts/materialdesignicons-webfont-4.9.95.woff
 
b/packages/anastasis-webui/src/scss/fonts/materialdesignicons-webfont-4.9.95.woff
similarity index 100%
copy from 
packages/anastasis-webui/src/scss/icons/fonts/materialdesignicons-webfont-4.9.95.woff
copy to 
packages/anastasis-webui/src/scss/fonts/materialdesignicons-webfont-4.9.95.woff
diff --git 
a/packages/anastasis-webui/src/scss/icons/fonts/materialdesignicons-webfont-4.9.95.woff2
 
b/packages/anastasis-webui/src/scss/fonts/materialdesignicons-webfont-4.9.95.woff2
similarity index 100%
copy from 
packages/anastasis-webui/src/scss/icons/fonts/materialdesignicons-webfont-4.9.95.woff2
copy to 
packages/anastasis-webui/src/scss/fonts/materialdesignicons-webfont-4.9.95.woff2
diff --git a/packages/anastasis-webui/src/scss/fonts/nunito.css 
b/packages/anastasis-webui/src/scss/fonts/nunito.css
index ab30db36..b49ec54a 100644
--- a/packages/anastasis-webui/src/scss/fonts/nunito.css
+++ b/packages/anastasis-webui/src/scss/fonts/nunito.css
@@ -18,5 +18,5 @@
   font-family: 'Nunito';
   font-style: normal;
   font-weight: 400;
-  src: url(./XRXV3I6Li01BKofINeaE.ttf) format('truetype');
+  src: url(./fonts/XRXV3I6Li01BKofINeaE.ttf) format('truetype');
 }
diff --git a/packages/anastasis-webui/src/scss/main.scss 
b/packages/anastasis-webui/src/scss/main.scss
index 9311fbba..69a49090 100644
--- a/packages/anastasis-webui/src/scss/main.scss
+++ b/packages/anastasis-webui/src/scss/main.scss
@@ -44,12 +44,12 @@
 @import "custom-calendar";
 @import "loading";
 
-@import "fonts/nunito.css";
-@import "icons/materialdesignicons-4.9.95.min.css";
+@import "fonts/nunito";
+@import "icons/materialdesignicons-4.9.95.min";
 
 $tooltip-color: red;
 
-@import 
"../../node_modules/@creativebulma/bulma-tooltip/dist/bulma-tooltip.min.css";
+@import "node_modules/@creativebulma/bulma-tooltip/dist/bulma-tooltip";
 // @import "../../node_modules/bulma-timeline/dist/css/bulma-timeline.min.css";
 
 .notification {
diff --git a/packages/anastasis-webui/src/template.html 
b/packages/anastasis-webui/ui.html
similarity index 62%
copy from packages/anastasis-webui/src/template.html
copy to packages/anastasis-webui/ui.html
index 8ae2fe10..17c48e90 100644
--- a/packages/anastasis-webui/src/template.html
+++ b/packages/anastasis-webui/ui.html
@@ -1,20 +1,3 @@
-<!--
-        This file is part of GNU Taler
- (C) 2021 Taler Systems S.A.
-
- GNU Taler 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, or (at your option) any later version.
-
- GNU Taler 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
- GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
-
- @author Sebastian Javier Marchano
--->
 <!DOCTYPE html>
 <html
   lang="en"
@@ -22,7 +5,6 @@
 >
   <head>
     <meta charset="utf-8" />
-    <title><%= htmlWebpackPlugin.options.title %></title>
     <meta name="viewport" content="width=device-width,initial-scale=1" />
     <meta name="mobile-web-app-capable" content="yes" />
     <meta name="apple-mobile-web-app-capable" content="yes" />
@@ -32,20 +14,15 @@
       
href="data:;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAABILAAASCwAAAAAAAAAAAAD///////////////////////////////////////////////////////////////////////////////////////////////////7//v38//78/P/+/fz//vz7///+/v/+/f3//vz7///+/v/+/fz//v38///////////////////////+/v3///7+/////////////////////////////////////////////////////////v3//v79///////+/v3///////r28v/ct5//06SG/9Gffv/Xqo7/7N/V/9e2nf/bsJb/6uDW/9Sskf/euKH/+/j2///////+/v3//////+3azv+/eE3/2rWd/9Kkhv/Vr5T/48i2/8J+VP/
 [...]
     />
     <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" />
-
-    <% if (htmlWebpackPlugin.options.manifest.theme_color) { %>
-    <meta
-      name="theme-color"
-      content="<%= htmlWebpackPlugin.options.manifest.theme_color %>"
-    />
-    <% } %>
+    <style>
+      ANASTASIS_STYLE_CONTENT
+    </style>
   </head>
+
   <body>
+    <div id="container" class="anastasis-container"></div>
     <script>
-      <%= 
compilation.assets[htmlWebpackPlugin.files.chunks["polyfills"].entry.substr(htmlWebpackPlugin.files.publicPath.length)].source()
 %>
-    </script>
-    <script>
-      <%= 
compilation.assets[htmlWebpackPlugin.files.chunks["bundle"].entry.substr(htmlWebpackPlugin.files.publicPath.length)].source()
 %>
+      ANASTASIS_SCRIPT_CONTENT
     </script>
   </body>
 </html>

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]