<%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/>
<%block name="js_extra">
  <script src="${static.url('js/course_info.js')}"></script>
</%block>

<%inherit file="../main.html" />

<section class="course-info">
  <header class="course-profile">
    <div class="intro-inner-wrapper">
      <section class="intro">
        <hgroup>
          <h1>${course.get_about_section("title")} <h2><a href="#">${course.get_about_section("university")}</a></h2></h1>
        </hgroup>
        <div class="course-dates">
          <p>Class Starts: <span class="start-date">7/12/12</span></p>
          <p>Final Exam: <span class="start-date">12/09/12</span></p>
          <p>Total Length: <span class="course-length">15 weeks</span></p>
        </div>
      </section>
      <section class="actions">
        <div class="register-wrapper">
          <a href="${reverse('enroll', args=[course.id])}" class="register">Register</a>
        </div>
        <section class="social-sharing">
          <p><span class="num-people-registered">1,435</span> students already registed!</p>
        </section>
      </section>
    </div>
  </header>

  <section class="container">
    <section class="details">
      <nav>
        <a href="#" class="active">Overview</a>
        <a href="#">FAQ</a>
        <a href="#">Requirements</a>
        <a href="#">Text-book</a>
        <a href="#">Syllabus</a>
        <a href="#">Reviews</a>
      </nav>

      <div class="inner-wrapper">
        <section class="about">
          <h2>About this course</h2>
          <p>${course.get_about_section("description")}</p>

          <h2>Requirements</h2>
          <p>${course.get_about_section("requirements")}</p>

          <h2>Syllabus</h2>
          <p>${course.get_about_section("syllabus")}</p>

          <h2>Textbook</h2>
          ${course.get_about_section("textbook")}

          <h2>Frequently Asked Questions</h2>
          <p>${course.get_about_section("faq")}</p>

          <p>${course.get_about_section("more_info")}</p>
        </section>

        <section class="course-staff">
          <h2>Course staff</h3>
          <article class="teacher">
            <div class="teacher-image">
              <img src="${static.url('images/anant.jpg')}" />
            </div>
            <h3>Anant Agarwal</h3>
            <p>Director of MIT’s Computer Science and Artificial Intelligence Laboratory (CSAIL) and a professor of the Electrical Engineering and Computer Science department at MIT. His research focus is in parallel computer architectures and cloud software systems, and he is a founder of several successful startups, including Tilera, a company that produces scalable multicore processors. Prof. Agarwal won MIT’s Smullin and Jamieson prizes for teaching and co-authored the course textbook “Foundations of Analog and Digital Electronic Circuits.”</p>
          </article>

          <article class="teacher">
            <div class="teacher-image">
              <img src="${static.url('images/gerald.jpg')}" />
            </div>
            <h3>Gerald Sussman</h3>
            <p>Professor of Electrical Engineering at MIT. He is a well known educator in the computer science community, perhaps best known as the author of Structure and Interpretation of Computer Programs, which is universally acknowledged as one of the top ten textbooks in computer science, and as the creator of Scheme, a popular teaching language. His research spans a range of topics, from artificial intelligence, to physics and chaotic systems, to supercomputer design.</p>
          </article>

          <article class="teacher">
            <div class="teacher-image">
              <img src="${static.url('images/piotr.jpg')}" />
            </div>
            <h3>Piotr Mitros</h3>
            <p>Research Scientist at MIT. His research focus is in finding ways to apply techniques from control systems to optimizing the learning process. Dr. Mitros has worked as an analog designer at Texas Instruments, Talking Lights, and most recently, designed the analog front end for a novel medical imaging modality for Rhythmia Medical.</p>
          </article>
        </section>
      </section>
    </div>

    <section class="course-sidebar">
      <div class="media">
        <div class="hero">
          <img src="${static.url('images/courses/circuits.jpeg')}" />
          <div class="play-intro"></div>
        </div>
        <%include file="../video_modal.html" />
      </div>

      <section class="course-summary">
        <h3>Course Sumamry</h3>
        <p>${course.get_about_section("short_description")}</p>
      </section>

      <section class="dates">
        <p>Course Number <span class="start-date">(${course.get_about_section("number")})</span></p>
      </section>
    </section>
  </section>
</section>
