-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from RijksICTGilde/develop
Fixes and layout changes
- Loading branch information
Showing
13 changed files
with
218 additions
and
40 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 |
---|---|---|
|
@@ -6,9 +6,21 @@ | |
<meta name="description" content="RIG Tech Radar: a tool to visualize technology choices."> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>RIG Tech Radar</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> | ||
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<style>[x-cloak]{display:none}</style> | ||
<!-- Include the Alpine library on your page --> | ||
<script src="alpine3-14-1.js" defer></script> | ||
<!-- Include the TailwindCSS library on your page --> | ||
<script src="tailwind345.js"></script> | ||
<script type="text/javascript"> | ||
tailwind.config = { | ||
corePlugins: { | ||
preflight: false, | ||
}, | ||
} | ||
</script> | ||
ß | ||
<script | ||
src="https://code.jquery.com/jquery-3.7.1.min.js" | ||
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" | ||
|
@@ -28,6 +40,46 @@ | |
|
||
<body> | ||
|
||
<div x-data="{ modalOpen: false }" | ||
@keydown.escape.window="modalOpen = false" | ||
class="relative z-50 w-auto h-auto"> | ||
<button id="modal-button" @click="modalOpen=true" class="inline-flex items-center justify-center h-10 px-4 py-2 text-sm font-medium transition-colors bg-white border rounded-md hover:bg-neutral-100 active:bg-white focus:bg-white focus:outline-none focus:ring-2 focus:ring-neutral-200/60 focus:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none">Open</button> | ||
<template x-teleport="body"> | ||
<div x-show="modalOpen" class="fixed top-0 left-0 z-[99] flex items-center justify-center w-screen h-screen" x-cloak> | ||
<div x-show="modalOpen" | ||
x-transition:enter="ease-out duration-300" | ||
x-transition:enter-start="opacity-0" | ||
x-transition:enter-end="opacity-100" | ||
x-transition:leave="ease-in duration-300" | ||
x-transition:leave-start="opacity-100" | ||
x-transition:leave-end="opacity-0" | ||
@click="modalOpen=false" class="absolute inset-0 w-full h-full bg-black bg-opacity-40"></div> | ||
<div x-show="modalOpen" | ||
x-trap.inert.noscroll="modalOpen" | ||
x-transition:enter="ease-out duration-300" | ||
x-transition:enter-start="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" | ||
x-transition:enter-end="opacity-100 translate-y-0 sm:scale-100" | ||
x-transition:leave="ease-in duration-200" | ||
x-transition:leave-start="opacity-100 translate-y-0 sm:scale-100" | ||
x-transition:leave-end="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" | ||
class="relative w-full py-6 bg-white px-7 sm:max-w-4xl sm:rounded-lg"> | ||
<div class="flex items-center justify-between pb-2"> | ||
<h3 class="text-lg font-semibold"><span id="modal-title">Modal Title</span></h3> | ||
<button @click="modalOpen=false" class="absolute top-0 right-0 flex items-center justify-center w-8 h-8 mt-5 mr-5 text-gray-600 rounded-full hover:text-gray-800 hover:bg-gray-50"> | ||
<svg class="w-5 h-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" /></svg> | ||
</button> | ||
</div> | ||
<div class="relative w-auto"> | ||
<div id="markdown-container" style="max-height: 500px; overflow-y: scroll"> | ||
This is the markdown container. | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
</div> | ||
|
||
|
||
<h1>Rig Stack-Tech-Radar</h1> | ||
<p>Welke blokken heb je nodig in je bouwproces, en wat is het adoptie / maturity level van die blokken en kennis daarvan binnen de organsisatie.</p> | ||
|
||
|
@@ -41,7 +93,7 @@ <h5 class="offcanvas-title" id="offcanvasExampleLabel">Offcanvas</h5> | |
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button> | ||
</div> | ||
<div class="offcanvas-body"> | ||
<div id="markdown-container"> | ||
<div id="markdown-containeDISABLED"> | ||
This is the markdown container. | ||
</div> | ||
|
||
|
@@ -60,10 +112,9 @@ <h5 class="offcanvas-title" id="offcanvasExampleLabel">Offcanvas</h5> | |
|
||
|
||
<script> | ||
var offcanvas; | ||
$(function () { | ||
offcanvas = new bootstrap.Offcanvas(document.getElementById("offcanvasExample")); | ||
}); | ||
var clickModal = function() { | ||
$("#modal-button").click() | ||
} | ||
|
||
var drawCounter = 0; | ||
|
||
|
@@ -73,7 +124,7 @@ <h5 class="offcanvas-title" id="offcanvasExampleLabel">Offcanvas</h5> | |
rings["ASSESS"] = 2; | ||
rings["HOLD"] = 3; | ||
rings["DROP"] = 4; | ||
var htmlData = []; | ||
var technologyData = []; | ||
|
||
var technologies_global = []; | ||
|
||
|
@@ -83,7 +134,7 @@ <h5 class="offcanvas-title" id="offcanvasExampleLabel">Offcanvas</h5> | |
technologies_global = technologies; | ||
|
||
for (const technology of technologies) { | ||
htmlData[technology["json"]["name"]] = technology["html"]; | ||
technologyData[technology["json"]["name"]] = technology; | ||
if (typeof technology["json"]["status"] == "object") { | ||
for (var statusObj of technology["json"]["status"]) { | ||
radarData.push( | ||
|
@@ -111,8 +162,7 @@ <h5 class="offcanvas-title" id="offcanvasExampleLabel">Offcanvas</h5> | |
} | ||
|
||
} | ||
console.log(htmlData); | ||
console.log(radarData); | ||
|
||
radar_visualization({ | ||
svg_id: "radar", | ||
width: 1450, | ||
|
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 |
---|---|---|
|
@@ -33,4 +33,4 @@ td { | |
/*overflow-x: scroll;*/ | ||
/*top: 50%;*/ | ||
/*left: 20%;*/ | ||
} | ||
} |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ php.md | |
poetry.md | ||
python.md | ||
fastapi.md | ||
sqlmodel.md |
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
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,25 @@ | ||
# SQLModel | ||
|
||
SQLModel is a library for interacting with SQL databases from Python code, with Python objects. It is designed to be intuitive, easy to use, highly compatible, and robust. | ||
|
||
## Pro | ||
|
||
## Con | ||
During a project for the AI Validation team we noticed FastAPI comes with some challenges. | ||
|
||
These include: | ||
* one challenge | ||
* another challenge | ||
|
||
``` | ||
process: code | ||
group: "software dependency" | ||
version: "" | ||
name: "SQLModel" | ||
alternatives: "starlette.md" | ||
status: "HOLD" | ||
status-history: | ||
- status: HOLD | ||
- date: 2024-01-01 | ||
depends-on: "python.md" | ||
``` |
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.