This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
376 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# v0.4-pre | ||
|
||
- sample send message (not yet operative) | ||
- automated deployment of backoffice | ||
- backoffice | ||
- status cmd | ||
|
||
# v0.3-pre | ||
|
||
- init command | ||
- sample importer | ||
|
||
# v0.2-pre | ||
|
||
- the backend | ||
- the ide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package main | ||
|
||
// Main function for the action | ||
func Main(obj map[string]interface{}) map[string]interface{} { | ||
res := make(map[string]interface{}) | ||
res["body"] = obj | ||
return res | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package main | ||
|
||
import ( | ||
"bytes" | ||
"html/template" | ||
) | ||
|
||
const answer = `<table> | ||
<tr><th>CodFiscDesc</th><td>{{.CodFiscDest}}</td></td> | ||
<tr><th>Message</th><td>{{.Message}}</td></td> | ||
</table> | ||
` | ||
|
||
// Main function for the action | ||
func Main(data map[string]interface{}) map[string]interface{} { | ||
t := template.Must(template.New("answer").Parse(answer)) | ||
buf := new(bytes.Buffer) | ||
t.Execute(buf, data) | ||
|
||
// result | ||
res := make(map[string]interface{}) | ||
res["body"] = buf.String() | ||
return res | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package main | ||
|
||
import "fmt" | ||
|
||
func ExampleMain() { | ||
data := map[string]interface{}{ | ||
"CodFiscDest": "123456", | ||
"Message": "HelloWord", | ||
} | ||
fmt.Printf("%v\n", Main(data)) | ||
// Output: | ||
// map[body:<table> | ||
// <tr><th>CodFiscDesc</th><td>123456</td></td> | ||
// <tr><th>Message</th><td>HelloWord</td></td> | ||
// </table> | ||
// ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<script> | ||
import marked from 'marked'; | ||
let body = marked(` | ||
# Benvenuto ad IO-SDK | ||
IO-SDK è il kit di sviluppo per sviluppare Application per la app dei servizi pubblici italiani. | ||
Il nostro team è composto da: | ||
- Federico Feroldi, Team Leader | ||
- Mirko Calvaresi, Projct Manager | ||
- Michele Sciabarrà, Developer | ||
`); | ||
</script> | ||
|
||
<div>{@html body}</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
<script> | ||
import { Router, Route } from "svelte-routing"; | ||
import Lorem from "./Lorem.svelte"; | ||
import Card from "./Card.svelte"; | ||
import Form from "./Form.svelte"; | ||
import Profilo from "./Profilo.svelte"; | ||
import Home from "./Home.svelte"; | ||
import Menu from "./Menu.svelte"; | ||
import About from "./About.svelte"; | ||
import Devel from "./Devel.svelte"; | ||
import Send from "./Send.svelte"; | ||
</script> | ||
|
||
<section class="row"> | ||
<Menu /> | ||
<Router> | ||
<Route path="/"> | ||
<Profilo /> | ||
</Route> | ||
<Route path="send"> | ||
<Form /> | ||
</Route> | ||
<Route path="ide"> | ||
<Card /> | ||
</Route> | ||
<Route path="info"> | ||
<Lorem /> | ||
</Route> | ||
</Router> | ||
<div class="col-9"> | ||
<div class="mr-4 pt-5 pb-5"> | ||
<Router> | ||
<Route path="/"> | ||
<Home /> | ||
</Route> | ||
<Route path="send"> | ||
<Send/> | ||
</Route> | ||
<Route path="devel"> | ||
<Devel /> | ||
</Route> | ||
<Route path="about"> | ||
<About /> | ||
</Route> | ||
</Router> | ||
</div> | ||
</div> | ||
</section> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<iframe width="100%" height="100%" title="Development" src="http://localhost:3000"></iframe> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div class="it-hero-wrapper"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="it-hero-text-wrapper bg-dark"> | ||
<span class="it-category">Welcome</span> | ||
<h1 class="no_toc">IO-SDK</h1> | ||
<p class="d-none d-lg-block">Welcome to the development kit to easily build IO importers.</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.