示例#1
0
def display_grade_page():
	"""Display the form where you can assign grades to all the students"""
	students = hackbright.get_all_students()

	projects = hackbright.get_all_projects()

	return render_template("assign-grade.html", students=students, projects=projects)
示例#2
0
def show_homepage():

    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()
    return render_template("homepage.html",
                           students=students,
                           projects=projects)
def show_home():
    """Show student list and project list"""

    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()

    return render_template("index.html", students=students, projects=projects)
示例#4
0
def home_page():
    """Homepage"""

    names = hackbright.get_all_students()
    projects = hackbright.get_all_projects()

    return render_template("home.html", names=names, projects=projects)
示例#5
0
def list_students_and_projects():
	"""get and list all students and projects from database"""
	students = hackbright.get_all_students()
	projects = hackbright.get_all_projects()
	return render_template("homepage.html",
							students=students,
							projects=projects)
def get_project_form():
    """Show form for searching for a project."""

    projects = hackbright.get_all_projects()

    return render_template("project_search.html",
                            projects=projects) 
示例#7
0
def input_grades():
    """Grade Students, landing page"""

    names = hackbright.get_all_students()
    projects = hackbright.get_all_projects()

    return render_template("grading.html", names=names, projects=projects)
示例#8
0
def index():
    """Show homepage with links to all students and all projects. """

    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()

    return render_template("index.html", students=students, projects=projects)
def show_homepage():
    """Show homepage"""
    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()
    html = render_template("homepage.html", students=students, projects=projects)

    return html
def homepage():
    """Show homepage."""
    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()
    return render_template('index.html',
                            students=students,
                            projects=projects)
示例#11
0
def display_homepage():
	"""List all the students and list all the projects"""
	students = hackbright.get_all_students()

	projects = hackbright.get_all_projects()

	return render_template("homepage.html", students=students, projects=projects)
示例#12
0
def assign_grade():

    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()

    return render_template("assign_grade.html",
                           students=students,
                           projects=projects)
def homepage():
    """Render homepage"""
    all_students = hackbright.get_all_students()
    all_projects = hackbright.get_all_projects()

    return render_template("home.html",
                           students=all_students,
                           projects=all_projects)
def show_grade_form():
    """Display form to add a grade."""
    all_students = hackbright.get_all_students()
    all_projects = hackbright.get_all_projects()

    return render_template("add_grade_form.html",
                           students=all_students,
                           projects=all_projects)
def get_student_form():
    """Show form for searching for a student."""
    student_names = hackbright.get_all_students()
    project_titles = hackbright.get_all_projects()

    return render_template('homepage.html',
                           student_names=student_names,
                           project_titles=project_titles)
def get_home():

    student_list = hackbright.get_all_students()
    project_list = hackbright.get_all_projects()

    return render_template('index.html',
                            student_list=student_list,
                            project_list=project_list)
def get_homepage():
    """Show homepage."""

    projects = hackbright.get_all_projects()
    students = hackbright.get_all_students()
    return render_template("homepage.html",
                           students=students,
                           projects=projects)
示例#18
0
def enter_grade():

    student_names = hackbright.get_all_students()
    projects = hackbright.get_all_projects()

    return render_template("grade_add.html",
                           students=student_names,
                           projects=projects)
def homepage():
    """Link to all students and projects."""
    projects = hackbright.get_all_projects()
    students = hackbright.get_all_students()

    html = render_template("index.html", projects=projects, students=students)

    return html
示例#20
0
def index():
    """Show list of students and projects."""

    students = hackbright.get_all_students()

    projects = hackbright.get_all_projects()

    return render_template("home.html", students=students, projects=projects)
def homepage():
    """Display all projects and all students."""
    project_list = hackbright.get_all_projects()
    student_list = hackbright.get_all_students()

    return render_template("home.html",
                           project_list=project_list,
                           student_list=student_list)
def get_student_form():
    """Show forms for searching/adding for a student."""

    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()

    return render_template("student_search.html",
                           students=students,
                           projects=projects)
示例#23
0
def get_project_student_info():
    """ shows user template for adding grade by student and project"""

    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()

    return render_template("change_grades.html",
                           students=students,
                           projects=projects)
示例#24
0
def homepage():
    """ shows list of students and projects"""
    students = hackbright.get_all_students()

    projects = hackbright.get_all_projects()

    return render_template("homepage.html",
                           students=students,
                           projects=projects)
def get_grade():
    """ Form for getting and assigning a new grade to a student on a project"""

    all_students = hackbright.get_all_students()
    all_projects = hackbright.get_all_projects()

    return render_template('forms.html',
                           all_projects=all_projects,
                           all_students=all_students)
def directory_homepage():
    """Show directory of all students and all projects"""

    student_list = hackbright.get_student_body()
    project_list = hackbright.get_all_projects()

    return render_template("homepage.html",
                            students=student_list,
                            projects=project_list)
def show_homepage():
    """Show homepage"""

    all_students = hackbright.get_all_students()
    all_projects = hackbright.get_all_projects()

    return render_template('index.html',
                           all_students=all_students,
                           all_projects=all_projects)
示例#28
0
def homepage():
    """Show homepage with links to projects and students (github username)."""

    student_rows = hackbright.get_all_students()
    project_rows = hackbright.get_all_projects()

    return render_template("homepage.html",
                           student_rows=student_rows,
                           project_rows=project_rows)
def homepage():
    """Displays all students and all projects."""

    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()

    return render_template("home.html",
                           students=students,
                           projects=projects)
def get_all():
    """lists students and projects."""

    # return render_template("student_search.html")
    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()
    return render_template("home.html",
                    students=students,
                    projects=projects)
示例#31
0
def get_homepage():
    """Display lists of all students and all projects"""

    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()

    return render_template("homepage.html",
                           students=students,
                           projects=projects)
def get_homepage():
    """Shows homepage with projects and students."""

    list_of_students = hackbright.get_all_students()

    list_of_projects = hackbright.get_all_projects()

    return render_template("homepage.html",
                           projects=list_of_projects,
                           students=list_of_students)
def show_grades_form():
    """Show form for adding a grade to a project."""

    students = hackbright.get_all_students()

    projects = hackbright.get_all_projects()

    return render_template('assign-grades.html',
                           students=students,
                           projects=projects)
def index():
    """Homepage"""

    students = hackbright.get_all_students()

    projects = hackbright.get_all_projects()

    return render_template("homepage.html",
                           students=students,
                           projects=projects)
def homepage():
    """A placeholder page."""

    students = hackbright.get_all_students()

    projects = hackbright.get_all_projects()

    return render_template("homepage.html",
                           students=students,
                           projects=projects)
示例#36
0
def show_students_and_projects():
    """Show all students and projects"""
    student_names = hackbright.get_all_students()
    print student_names

    project_names = hackbright.get_all_projects()
    print project_names

    return render_template("homepage.html",
                           students=student_names,
                           projects=project_names)
def show_home():
    students = hackbright.get_all_students()
    projects = hackbright.get_all_projects()
    return render_template("home.html", students=students, projects=projects)
def get_homepage():
	""" Get the homepage """
	projects = hackbright.get_all_projects()
	students = hackbright.get_all_students()
	return render_template("index.html", projects=projects, students=students)