Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bielefeld-CeBiTec-Temp-until-thaw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liliana Sanfilippo
Bielefeld-CeBiTec-Temp-until-thaw
Commits
83c50a91
Commit
83c50a91
authored
8 months ago
by
Liliana Sanfilippo
Browse files
Options
Downloads
Patches
Plain Diff
now?; Hello34
parent
d268c894
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/Map1.tsx
+9
-11
9 additions, 11 deletions
src/components/Map1.tsx
src/contents/Home.tsx
+1
-1
1 addition, 1 deletion
src/contents/Home.tsx
with
10 additions
and
12 deletions
src/components/Map1.tsx
+
9
−
11
View file @
83c50a91
...
...
@@ -3,7 +3,7 @@ import InnerHTML from 'dangerously-set-html-content'
export
function
Map1
(){
const
htmlFile
=
`<div style="min-height: 374px">
<script type="text/javascript" defer src="
asset
s/mapscript.js" charset="utf-8">
<script type="text/javascript" defer src="
src/static
s/mapscript.js" charset="utf-8">
</script>
<noscript>
<img src="https://static.igem.wiki/teams/5247/charts-maps/map1-full.png" alt="" />
...
...
@@ -15,7 +15,7 @@ return(
}
export
function
Map2
(){
/*
export function Map2(){
const htmlFile = `<div style="min-height: 374px">
<script type="text/javascript" defer src="src/utils/mapscript.js" charset="utf-8">
</script>
...
...
@@ -26,17 +26,15 @@ export function Map2(){
return(
<div dangerouslySetInnerHTML={{ __html: htmlFile }} />
)
}
}
*/
/* min-height: "374px" */
import
{
renderDatawrapper
}
from
'
./seclarations
'
/*
import { renderDatawrapper } from './seclarations'
export function Map4(){
console.log("Map 4 startet")
/* window.addEventListener('DOMContentLoaded', () => {
renderDatawrapper();
}); */
renderDatawrapper();
return(
<>
...
...
@@ -51,7 +49,7 @@ import { renderDatawrapper } from './seclarations'
<div className="container container-bodyCenter datawrapper-llngz-cca7ux">
<div slot="visBody" id="chart" className="dw-chart-body vis-height-fixed datawrapper-llngz-1omm849 svelte-9ysojt">
<div className="dw-chart-body-content svelte-9ysojt datawrapper-llngz-mbp9a6" aria-hidden="false">
{
/* hier funktioniert alles... */
}
<div className="map-key export-rect map-key-mt">
<div className="color-legend continuous horizontal dir-ltr datawrapper-llngz-1j8h2cc datawrapper-llngz-1tjke6r datawrapper-llngz-zuu2r2" role="graphics-legend" aria-label="Continuous color legend, ranging from 0 to 2,542." style={{width: "170px", height: "auto"}}>
<svg width="170.5" height="28.483322143554688">
...
...
@@ -97,8 +95,7 @@ import { renderDatawrapper } from './seclarations'
</svg>
</div>
</div>
{
/* ...bis hier */
}
{
/* MAP BEGIN */
}
<div className="map-outer">
<canvas width="2235.34" height="1006" style={{width: "1117.67px", height: "503px"}}></canvas>
<svg className="svg-main world-2019" style={{width: "100%", overflow: "hidden", position: "relative"}} width="1117.67" height="503">
...
...
@@ -109,7 +106,7 @@ import { renderDatawrapper } from './seclarations'
</svg>
<div className="annotations"></div>
</div>
{
/* MAP END */
}
<div className="dw-tooltip" style={{maxHeight: "220px", overflowY: "auto"}}></div>
</div>
</div>
...
...
@@ -127,3 +124,4 @@ import { renderDatawrapper } from './seclarations'
}
*/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/contents/Home.tsx
+
1
−
1
View file @
83c50a91
...
...
@@ -11,7 +11,7 @@ export function Home() {
<
hr
/>
<
Map1
/>
<
hr
/>
Hello3
3
Hello3
4
</
div
>
</
div
>
<
div
className
=
"row"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment