Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
wanderer-00 committed Nov 22, 2024
1 parent 572863e commit 6b3186b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ware/DTF_load/html/archive/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ let dtfLoad = [
35.8
],
[
"Tatneftehiminvest_remuvka_(ПР16516,3).svg",
"ПР16516,3.svg",
"Татнефтехиминвестхолдинг",
50,
0.43
],
[
"Blazar_nabor_(ОК7457-3)_uf.svg",
"Blazar.svg",
"Blazar (срочный)",
[50, 50],
0.43
Expand Down
9 changes: 6 additions & 3 deletions ware/DTF_load/html/archive/local.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@

.cell {
text-align: center;
height: 200px;
border: 1px solid green;
}

.cell > img {

.cell .img {
width: 100%;
height: 200px;
filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.3));
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
4 changes: 2 additions & 2 deletions ware/DTF_load/html/archive/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let cluster = document.getElementsByClassName('cluster')[0];
for(i=0;i<dtfLoad.length;i++){
cluster.innerHTML += `
<div class="cell">
<img src="../../img/${dtfLoad[i][0]}">
<div>${dtfLoad[i][1]}</div>
<div class="img" style="background-image: url(../../img/${dtfLoad[i][0]})"></div>
<p>${dtfLoad[i][1]}</p>
</div>`
}
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6b3186b

Please sign in to comment.