fixed code blocks

This commit is contained in:
Nathaniel Kenschaft 2020-06-16 22:49:24 -04:00
parent 2aa4d9b44b
commit 030bbc0c1e

View File

@ -17,16 +17,15 @@ Enter the valid SkoolOS username and password. Congratialations, you have succes
1. CLI as a teacher:
============
Start the CLI and select your username. For instance, teacher 'eharris1'
Start the CLI and select your username. For instance, teacher 'eharris1'::
.. code-block:: python
python skoolos.py
? Select User: (Use arrow keys)
1) 2022rkhondak
2) eharris1
3) Make new user
You will then be given the choice to select an existing class, Make a new class, or exit the CLI:
You will then be given the choice to select an existing class, Make a new class, or exit the CLI:::
? Select class: (Use arrow keys)
Art12_eharris1
@ -41,7 +40,7 @@ Making a new class:
Select 'Make a New Class'. You will then be prompted to enter a class name. The format for every class must be <subject>_<teacher_username> (Example: Art12_eharris1).
Enter Period (must be a positive integer). You will then be prompted to add students. If you have a list of students, enter the relative path of a text file with the student usernames.
The file must be a .txt file and have one student username per line. If you add an individual student, simply enter their ion username.
one username per line.
one username per line.::
? Select class: (Use arrow keys)
Art12_eharris1
@ -59,7 +58,7 @@ one username per line.
File must be .txt and have 1 student username per line
Relative Path: students.txt
OR
OR::
? Add Students): 1) Add individual student
Student name: 2022rkhondak
@ -68,7 +67,7 @@ Accessing an existing class
=====================
Once you have created a class, you can then view and modify certain fields. (Open opening a class, any students who have accepted the request will be automatically
added you the class.)
added you the class.)::
? Select class: (Use arrow keys)
Art12_eharris1
@ -92,7 +91,7 @@ Requesting Students
Select 'Request Student'. You will then be prompted to add students. If you have a list of students, enter the relative path of a text file with the student usernames.
The file must be a .txt file and have one student username per line. If you add an individual student, simply enter their ion username.
one username per line.
one username per line.::
Class: English12_eharris1
? Select option: (Use arrow keys)
@ -110,16 +109,8 @@ Class: English12_eharris1
? Add list of students (input path): 1) Add individual student
? Student Name: 2022rkhondak
OR
OR::
? Add Students): 2) Add list of students through path
File must be .txt and have 1 student username per line
Relative Path: students.txt