From 024f63cce88db24a6fa5ca6fa862ef3807570702 Mon Sep 17 00:00:00 2001 From: shafqatfarhan Date: Thu, 15 Feb 2018 14:57:46 +0500 Subject: [PATCH 1/5] gitignore file added --- .gitignore | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 From 8dd143ed3ea869dff575f449031face659a3355b Mon Sep 17 00:00:00 2001 From: shafqatfarhan Date: Wed, 21 Feb 2018 20:29:23 +0500 Subject: [PATCH 2/5] trainer module added --- .idea/jsLibraryMappings.xml | 6 + .idea/misc.xml | 4 - .idea/trainingportal.iml | 2 + .idea/vagrant.xml | 7 + .idea/vcs.xml | 6 + .idea/workspace.xml | 634 ++++++++++-------- static/css/add_trainer_modal_style.css | 40 ++ static/js/trainingportal/add_task.js | 52 ++ .../js/trainingportal/add_training_modal.js | 28 + .../js/trainingportal/loginformvalidation.js | 16 +- .../training_form_validation.js | 125 ++++ static/js/trainingportal/training_status.js | 26 + .../__pycache__/__init__.cpython-35.pyc | Bin 170 -> 170 bytes .../__pycache__/forms.cpython-35.pyc | Bin 4403 -> 7584 bytes .../__pycache__/models.cpython-35.pyc | Bin 2543 -> 4677 bytes .../__pycache__/serializers.cpython-35.pyc | Bin 0 -> 2455 bytes .../__pycache__/settings.cpython-35.pyc | Bin 2782 -> 2907 bytes .../__pycache__/urls.cpython-35.pyc | Bin 1587 -> 2208 bytes .../__pycache__/views.cpython-35.pyc | Bin 2981 -> 8751 bytes .../__pycache__/wsgi.cpython-35.pyc | Bin 605 -> 605 bytes trainingportal/forms.py | 146 +++- trainingportal/migrations/0001_initial.py | 23 +- .../migrations/0002_auto_20180221_1304.py | 32 + .../__pycache__/0001_initial.cpython-35.pyc | Bin 2716 -> 15504 bytes .../0002_auto_20180221_1304.cpython-35.pyc | Bin 0 -> 922 bytes .../__pycache__/__init__.cpython-35.pyc | Bin 181 -> 181 bytes trainingportal/models.py | 48 +- trainingportal/serializers.py | 70 ++ trainingportal/settings.py | 15 +- trainingportal/tasks_uploads/1.json | 22 + trainingportal/tasks_uploads/1_BSoUa9w.json | 22 + trainingportal/tasks_uploads/1_SJAZbi4.json | 22 + trainingportal/tasks_uploads/1_fEukKr2.json | 22 + trainingportal/tasks_uploads/1_i3Ss9J1.json | 22 + trainingportal/tasks_uploads/1_nmlYtol.json | 22 + trainingportal/tasks_uploads/1_tRn71t2.json | 22 + .../tasks_uploads/Untitled_Document | 22 + trainingportal/tasks_uploads/examples.desktop | 240 +++++++ trainingportal/tasks_uploads/orsay_sample.txt | 144 ++++ .../tasks_uploads/orsay_sample_bj1qPcz.txt | 144 ++++ .../tasks_uploads/orsay_sample_cEEtYIc.txt | 144 ++++ .../tasks_uploads/orsay_sample_kCEiIGr.txt | 144 ++++ .../tasks_uploads/orsay_sample_pNKVgma.txt | 144 ++++ .../tasks_uploads/orsay_sample_rH0qJfi.txt | 144 ++++ .../tasks_uploads/orsay_sample_xwW2d2V.txt | 144 ++++ .../tasks_uploads/orsay_sample_zbCJtlu.txt | 144 ++++ .../tasks_uploads/orsay_sample_zl4390Q.txt | 144 ++++ .../tasks_uploads/pip-selfcheck.json | 1 + .../templates/trainingportal/base.html | 46 ++ .../templates/trainingportal/contact.html | 18 +- .../trainingportal/edit_training.html | 33 + .../templates/trainingportal/home.html | 96 ++- .../templates/trainingportal/login.html | 37 +- .../trainingportal/registration.html | 70 +- .../templates/trainingportal/tasks.html | 85 +++ .../templates/trainingportal/trainees.html | 86 +++ .../templates/trainingportal/trainings.html | 79 +++ trainingportal/urls.py | 54 +- trainingportal/views.py | 316 ++++++++- 59 files changed, 3458 insertions(+), 455 deletions(-) create mode 100644 .idea/jsLibraryMappings.xml create mode 100644 .idea/vagrant.xml create mode 100644 .idea/vcs.xml create mode 100644 static/css/add_trainer_modal_style.css create mode 100644 static/js/trainingportal/add_task.js create mode 100644 static/js/trainingportal/add_training_modal.js create mode 100644 static/js/trainingportal/training_form_validation.js create mode 100644 static/js/trainingportal/training_status.js create mode 100644 trainingportal/__pycache__/serializers.cpython-35.pyc create mode 100644 trainingportal/migrations/0002_auto_20180221_1304.py create mode 100644 trainingportal/migrations/__pycache__/0002_auto_20180221_1304.cpython-35.pyc create mode 100644 trainingportal/serializers.py create mode 100644 trainingportal/tasks_uploads/1.json create mode 100644 trainingportal/tasks_uploads/1_BSoUa9w.json create mode 100644 trainingportal/tasks_uploads/1_SJAZbi4.json create mode 100644 trainingportal/tasks_uploads/1_fEukKr2.json create mode 100644 trainingportal/tasks_uploads/1_i3Ss9J1.json create mode 100644 trainingportal/tasks_uploads/1_nmlYtol.json create mode 100644 trainingportal/tasks_uploads/1_tRn71t2.json create mode 100644 trainingportal/tasks_uploads/Untitled_Document create mode 100644 trainingportal/tasks_uploads/examples.desktop create mode 100644 trainingportal/tasks_uploads/orsay_sample.txt create mode 100644 trainingportal/tasks_uploads/orsay_sample_bj1qPcz.txt create mode 100644 trainingportal/tasks_uploads/orsay_sample_cEEtYIc.txt create mode 100644 trainingportal/tasks_uploads/orsay_sample_kCEiIGr.txt create mode 100644 trainingportal/tasks_uploads/orsay_sample_pNKVgma.txt create mode 100644 trainingportal/tasks_uploads/orsay_sample_rH0qJfi.txt create mode 100644 trainingportal/tasks_uploads/orsay_sample_xwW2d2V.txt create mode 100644 trainingportal/tasks_uploads/orsay_sample_zbCJtlu.txt create mode 100644 trainingportal/tasks_uploads/orsay_sample_zl4390Q.txt create mode 100644 trainingportal/tasks_uploads/pip-selfcheck.json create mode 100644 trainingportal/templates/trainingportal/base.html create mode 100644 trainingportal/templates/trainingportal/edit_training.html create mode 100644 trainingportal/templates/trainingportal/tasks.html create mode 100644 trainingportal/templates/trainingportal/trainees.html create mode 100644 trainingportal/templates/trainingportal/trainings.html diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml new file mode 100644 index 0000000..096c1ad --- /dev/null +++ b/.idea/jsLibraryMappings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index e719be2..37df7b8 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -7,10 +7,6 @@ false - - diff --git a/.idea/trainingportal.iml b/.idea/trainingportal.iml index 27b82f6..1c327aa 100644 --- a/.idea/trainingportal.iml +++ b/.idea/trainingportal.iml @@ -15,6 +15,8 @@ + +