diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..54c9f12 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +venv diff --git a/MyProject/__pycache__/__init__.cpython-38.pyc b/MyProject/__pycache__/__init__.cpython-38.pyc index 29ffd78..3dc8661 100644 Binary files a/MyProject/__pycache__/__init__.cpython-38.pyc and b/MyProject/__pycache__/__init__.cpython-38.pyc differ diff --git a/MyProject/__pycache__/settings.cpython-38.pyc b/MyProject/__pycache__/settings.cpython-38.pyc index b68431a..1b58399 100644 Binary files a/MyProject/__pycache__/settings.cpython-38.pyc and b/MyProject/__pycache__/settings.cpython-38.pyc differ diff --git a/MyProject/__pycache__/urls.cpython-38.pyc b/MyProject/__pycache__/urls.cpython-38.pyc index c051dbc..a27bd87 100644 Binary files a/MyProject/__pycache__/urls.cpython-38.pyc and b/MyProject/__pycache__/urls.cpython-38.pyc differ diff --git a/MyProject/__pycache__/wsgi.cpython-38.pyc b/MyProject/__pycache__/wsgi.cpython-38.pyc index a444272..cdac6e4 100644 Binary files a/MyProject/__pycache__/wsgi.cpython-38.pyc and b/MyProject/__pycache__/wsgi.cpython-38.pyc differ diff --git a/base/__pycache__/__init__.cpython-38.pyc b/base/__pycache__/__init__.cpython-38.pyc index be0914d..f41308b 100644 Binary files a/base/__pycache__/__init__.cpython-38.pyc and b/base/__pycache__/__init__.cpython-38.pyc differ diff --git a/base/__pycache__/admin.cpython-38.pyc b/base/__pycache__/admin.cpython-38.pyc index 09d0d9a..40cfdfb 100644 Binary files a/base/__pycache__/admin.cpython-38.pyc and b/base/__pycache__/admin.cpython-38.pyc differ diff --git a/base/__pycache__/apps.cpython-38.pyc b/base/__pycache__/apps.cpython-38.pyc index a1911c7..4ac9619 100644 Binary files a/base/__pycache__/apps.cpython-38.pyc and b/base/__pycache__/apps.cpython-38.pyc differ diff --git a/base/__pycache__/models.cpython-38.pyc b/base/__pycache__/models.cpython-38.pyc index 7704c7b..73d490f 100644 Binary files a/base/__pycache__/models.cpython-38.pyc and b/base/__pycache__/models.cpython-38.pyc differ diff --git a/base/__pycache__/urls.cpython-38.pyc b/base/__pycache__/urls.cpython-38.pyc index 511c28b..f8e37d4 100644 Binary files a/base/__pycache__/urls.cpython-38.pyc and b/base/__pycache__/urls.cpython-38.pyc differ diff --git a/base/__pycache__/utils.cpython-38.pyc b/base/__pycache__/utils.cpython-38.pyc index a3e8359..be31d4b 100644 Binary files a/base/__pycache__/utils.cpython-38.pyc and b/base/__pycache__/utils.cpython-38.pyc differ diff --git a/base/__pycache__/views.cpython-38.pyc b/base/__pycache__/views.cpython-38.pyc index 56e9ae0..8d15dde 100644 Binary files a/base/__pycache__/views.cpython-38.pyc and b/base/__pycache__/views.cpython-38.pyc differ diff --git a/base/migrations/__pycache__/__init__.cpython-38.pyc b/base/migrations/__pycache__/__init__.cpython-38.pyc index 4605096..a50d1d2 100644 Binary files a/base/migrations/__pycache__/__init__.cpython-38.pyc and b/base/migrations/__pycache__/__init__.cpython-38.pyc differ diff --git a/base/templates/base/index.html b/base/templates/base/index.html index 9e2aaf2..87a0f30 100644 --- a/base/templates/base/index.html +++ b/base/templates/base/index.html @@ -82,6 +82,36 @@ box-sizing: border-box; } + .linenumbers_input { + display: inline-block; + user-select: none; + pointer-events: none; + color: #888; + width: 40px; + padding-right: 10px; + text-align: right; + position: absolute; + left: 292px; + top: 974px; + bottom: 10px; + box-sizing: border-box; + } + + .linenumbers_output { + display: inline-block; + user-select: none; + pointer-events: none; + color: #888; + width: 40px; + padding-right: 10px; + text-align: right; + position: absolute; + left: 1090px; + top: 974px; + bottom: 10px; + box-sizing: border-box; + } + footer { background-color: #333; color: #fff; @@ -180,13 +210,17 @@

Code Visualizer

- - + +
+
+
@@ -194,9 +228,9 @@

Code Visualizer

Copyright © 2023

- + \ No newline at end of file diff --git a/file.txt b/file.txt index f0d30ed..e06251d 100644 --- a/file.txt +++ b/file.txt @@ -1 +1,7 @@ -output is 5 +5 +0 +1 +2 +0 +1 +2 diff --git a/test.py b/test.py index d729ee9..afedcc3 100644 --- a/test.py +++ b/test.py @@ -21,4 +21,4 @@ def input(): x = 1 else: x = 2 - print(x) + print(x) \ No newline at end of file