Skip to content

Commit

Permalink
Deploy cb9268e to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Deploy from CI committed Oct 25, 2024
0 parents commit 895f97c
Show file tree
Hide file tree
Showing 7 changed files with 347 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

## Bug description

<!-- A clear and concise description of what the bug is. -->

## To Reproduce

<!--
Input data and route to reproduce the behavior.
-->

## Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

## JSON OUTPUT

<!-- If applicable,the output given by the HOW TO -->


## Additional context

<!-- Add any other context about the problem here. -->
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels:
assignees: ''

---

## Problem

<!--
If your feature request is related to a problem, please describe it.
-->

## Solution

<!-- Describe the solution you'd like. -->

## Alternatives

<!-- Describe any alternative solutions or features you've considered. -->

## Additional context or elements

<!-- Add any other context or elements (equations, datatables, screenshots, linked resources,...) -->
26 changes: 26 additions & 0 deletions .github/workflows/publish-web-page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish the index.html to Github pages
on:
push:
branches:
- main
jobs:
publish-doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy GitHub Pages
run: |
# This assumes that the page to deploy is named index.html and is at the root of the repository.
# We also need a branch named `gh-pages`.
# It will contain the index.html page to display but it's history will be reset with each deployment.
git worktree add gh-pages
git config user.name "Deploy from CI"
git config user.email ""
cd gh-pages
# Delete the ref to avoid keeping history.
git update-ref -d refs/heads/gh-pages
rm -rf *
mv ../index.html .
git add .
git commit -m "Deploy $GITHUB_SHA to gh-pages"
git push --force --set-upstream origin gh-pages
22 changes: 22 additions & 0 deletions .github/workflows/validate-project-list-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: frictionless

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:

# Validate the example project-list
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Validate data
uses: frictionlessdata/repository@v2
with:
resources: old-examples/project-list/project-list.resources.yaml
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# virtual env
/venv

# virtual env
/csv/geocoding_temp

# Python cache
__pycache__
*/__pycache__

# vs code
.vscode
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"adr.project.directory": "doc/adr",
"adr.templates.directory": ".adr-templates",
"adr.templates.repo": "https://github.com/vincent-ledu/adr-template.git"
}
225 changes: 225 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
<!DOCTYPE html>
<html lang="">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="https://gitlab.com/multi-coop/datami/-/raw/main/public/logo-DATAMI-favicon.ico">
<title>BOAVIZTA TOOLS</title>
</head>

<body style="background-color: white; padding: 1em;">
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
Please enable it to continue.</strong>
</noscript>

<div style="background-color: white; margin: 1em;">

<!-- DATAMI - contribute with GIT ...but without minding it-->
<!-- An open source widget coded with 🤍 by the tech cooperative multi : https://multi.coop -->

<!-- DATAMI WIDGET'S HTML BLOCK-->
<datami-multi-files
title="ICT Sustainability Tools Landscape"
options='{
"display": "horizontal"
}'
gitfiles='[
{
"title": "Intro",
"activate": true,
"default-tab": false,
"localdev": false,
"gitfilelocal": "http://localhost:8800/statics/ictst/texts/README.md",
"gitfile": "https://github.com/Boavizta/ict-sustainability-tools/blob/main/ictst/texts/README.md",
"onlypreview": true,
"usertoken": ""
},
{
"title": "Tools Landscape",
"activate": true,
"localdev": false,
"gitfilelocal": "http://localhost:8800/statics/ictst/data/tools.csv",
"gitfile": "https://github.com/Boavizta/ict-sustainability-tools/blob/main/ictst/data/tools.csv",
"default-tab": true,
"options": {
"height": "500px",
"separator": ",",
"lockcolumns": true,
"customfilters": {
"activate": true,
"filterfields": [
{
"name": "assessment_type",
"filtering": "OR"
},
{
"name": "environmental_indicator",
"filtering": "OR"
},
{
"name": "assessed_functional_unit",
"filtering": "OR"
},
{
"name": "methodology_transparency",
"filtering": "OR"
},
{
"name": "focus",
"filtering": "OR"
},
{
"name": "status",
"filtering": "OR"
},
{
"name": "licence",
"filtering": "OR"
}
]
},
"schema": {
"localdev": false,
"filelocal": "http://localhost:8800/statics/ictst/model/tools.frictionless-table-schema.json",
"file": "https://github.com/Boavizta/ict-sustainability-tools/blob/main/ictst/model/tools.frictionless-table-schema.json"
},
"fields-custom-properties": {
"localdev": false,
"filelocal": "http://localhost:8800/statics/ictst/widget/tools.fields-custom-properties.json",
"file": "https://github.com/Boavizta/ict-sustainability-tools/blob/main/ictst/widget/tools.fields-custom-properties.json"
},
"cardsview": {
"activate": true,
"default": false
},
"cardsdetail": true,
"cardssettings": {
"mini": {
"tool_name": {
"position": "title"
},
"organization": {
"position": "resume",
"prefix": "Organization : "
},
"quick_description": {
"position": "resume"
},
"website": {
"position": "links"
},
"status": {
"position": "tags",
"block_title": "Status"
}
},
"detail": {
"tool_name": {
"position": "title"
},
"organization": {
"position": "resume",
"prefix": "Organization : "
},
"quick_description": {
"position": "resume"
},
"website": {
"position": "links",
"block_title": "website"
},
"environmental_indicator": {
"position": "tags",
"block_title": "environmental_indicator",
"right": false
},
"assessment_type": {
"position": "tags",
"block_title": "assessment_type",
"right": false
},
"main_perimeter": {
"position": "tags",
"block_title": "main_perimeter",
"right": false
},
"licence": {
"position": "tags",
"block_title": "licence",
"right": false
},
"other_perimeters": {
"position": "tags",
"block_title": "other_perimeters",
"right": true
},
"assessed_functional_unit": {
"position": "tags",
"block_title": "assessed_functional_unit",
"right": true
},
"data_entry_points": {
"position": "tags",
"block_title": "data_entry_points",
"right": true
},
"life_cycle_steps": {
"position": "tags",
"block_title": "life_cycle_steps",
"right": true
},
"ghg_scope": {
"position": "tags",
"block_title": "ghg_scope",
"right": true
},
"focus": {
"position": "tags",
"block_title": "focus",
"right": false
},
"self_hostable": {
"position": "tags",
"block_title": "self_hostable",
"right": true
},
"originating_country": {
"position": "tags",
"block_title": "originating_country",
"right": true
},
"inside_models": {
"position": "tags",
"block_title": "inside_models",
"right": true
},
"methodology_transparency": {
"position": "tags",
"block_title": "methodology_transparency",
"right": true
},
"ref_sources": {
"block_title": "sources",
"position": "links_top",
"right": true
}
}
}
},
"usertoken": ""
}
]'
locale="en"
></datami-multi-files>

<!-- DATAMI WIDGET'S APP.JS SCRIPT -->
<script src="https://datami-widget.multi.coop/js/app.js" type="text/javascript" defer></script>
<!-- <script src="http://localhost:8080/js/app.js" type="text/javascript" defer></script> -->

</div>
</body>

</html>

0 comments on commit 895f97c

Please sign in to comment.