-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Giovanni Di Milia
committed
Jun 22, 2016
1 parent
7cd7483
commit 3d8ae15
Showing
11 changed files
with
166 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
__webpack_public_path__ = `http://${SETTINGS.host}:8078/`; // eslint-disable-line no-undef, camelcase | ||
import '../scss/layout.scss'; | ||
import 'style!css!react-mdl/extra/material.css'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% extends "base_error.html" %} | ||
{% load i18n static %} | ||
|
||
{% block title %}{% trans "MIT MicroMasters" %}{% endblock %} | ||
|
||
{% block error_header %} | ||
PAGE NOT FOUND | ||
{% endblock %} | ||
|
||
{% block error_content %} | ||
<div id="page-not-found"> | ||
<p>The page you requested is unavailable. Please check the URL and try again.</p> | ||
<p>Maybe you were looking for one of these pages:</p> | ||
<ul> | ||
<li><a href="/">Home page</a></li> | ||
</ul> | ||
<p>If you think there is a problem, please send an email to | ||
<a href="mailto:[email protected]">[email protected]</a></p> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{% extends "base.html" %} | ||
{% load i18n static %} | ||
{% block body_class %}template-programpage{% endblock %} | ||
|
||
{% block title %}{% trans "MIT MicroMasters" %}{% endblock %} | ||
|
||
{% block extrahead %} | ||
<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" | ||
integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div class="app-media layout-boxed"> | ||
|
||
<nav class="navbar navbar-default" role="navigation"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<a href="/" class="navbar-brand" href="javascript:void(0)"><img src="/static/images/[email protected]" width="215" height="40" alt="MIT MicroMasters" /></a> | ||
<div class="nav-utility pull-right"> | ||
{% if authenticated %} | ||
<div class="dropdown btn-group"> | ||
<a class="btn btn-danger" href="/dashboard"><span>{{ name }}</span></a> | ||
<button aria-label="logout_label" id="logout-button" role="button" class="dropdown-toggle btn btn-danger" | ||
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" type="button"> | ||
<span><span class="caret"></span></span> | ||
</button> | ||
<ul class="dropdown-menu" aria-labelledby="logout-button"> | ||
<li role="presentation" class=""><a role="menuitem" href="/logout" tabindex="-1">Logout</a></li> | ||
</ul> | ||
</div> | ||
{% else %} | ||
<span>Get Started Today!</span> | ||
<a class="btn btn-danger" href="{% url 'social:begin' 'edxorg' %}"> | ||
Sign in with edX.org | ||
</a> | ||
{% endif %} | ||
</div> | ||
{% if authenticated %} | ||
<ul class="nav navbar-toolbar navbar-left"> | ||
<li class="active"> | ||
<a href="/dashboard">Dashboard</a> | ||
</li> | ||
</ul> | ||
{% endif %} | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
<div class="main-content"> | ||
<div class="card"> | ||
|
||
<div> | ||
<div class="card-header"> | ||
{% block error_header %} | ||
{% endblock %} | ||
</div> | ||
<div class="card-copy"> | ||
{% block error_content %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% include "footer.html" %} | ||
</div> | ||
{% endblock %} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters