Skip to content

Commit

Permalink
Merge branch 'main' into ip-icmp-packets
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Oct 27, 2024
2 parents 378e679 + a1855b3 commit 855db97
Show file tree
Hide file tree
Showing 16 changed files with 1,010 additions and 329 deletions.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-check

// @ts-ignore
// @ts-expect-error: Import necessary for compatibility with eslint config
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"pixi-viewport": "5.0.3",
"pixi-viewport": "^5.0.3",
"pixi.js": "8.4.1"
},
"name": "netsim",
Expand All @@ -22,7 +22,7 @@
"typescript-eslint": "^8.8.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.1.0"
"webpack-dev-server": "^5.1.0"
},
"scripts": {
"test": "jest",
Expand Down
8 changes: 4 additions & 4 deletions src/assets/connection.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/assets/pc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 8 additions & 14 deletions src/assets/router.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/assets/server.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 18 additions & 5 deletions src/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,27 @@

<body>
<div id="top-bar">
<button id="open-file-button">Open file</button>
<button id="save-button" class="save-button" title="Save">Save</button>
<button id="load-button" class="load-button" title="Load">Load</button>
<div id="app-title">GEduNet</div>
</div>
<div id="bottom-screen" class="row container">
<div id="left-bar" class="sidebar"></div>
<div class="center-bar">
<canvas id="canvas"> </canvas>
<div id="left-bar" class="left-bar"></div>
<div class="canvas-container">
<canvas id="canvas"></canvas>
<select id="layer-select" class="dropdown-menu">
<option value="application">Capa de Aplicación</option>
<option value="transport">Capa de Transporte</option>
<option value="network">Capa de Red</option>
<option value="link">Capa de Enlace</option>
</select>
</div>
<div id="right-bar" class="right-bar">
<h2>Información</h2>
<div id="info-content">
<!-- Información dinámica sobre el conejo y los routers se mostrará aquí -->
</div>
</div>
<div id="right-bar" class="sidebar"></div>
</div>
</body>

Expand Down
Loading

0 comments on commit 855db97

Please sign in to comment.