Commit 74987924 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

navbar, changed names, index

parent 6999ccca
#!flask/bin/python #!flask/bin/python
from app import app from website import website = True) = True)
from flask import Flask from flask import Flask
app = Flask(__name__) website = Flask(__name__)
from app import views from website import views
{% extends "base.html" %} {% extends "layouts/base.html" %}
{% block title %} {% block title %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12 text-center">
<h1>Mason SRCT</h1>
<p class="lead">Student-Run Computing and Technology</p>
Student-Run Computing and Technology (SRCT, pronounced "circuit") is a student
organization at George Mason University which enhances student computing at
Mason. We establish and maintain systems which provide specific services for
Mason's community.
{% endblock %} {% endblock %}
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
</title> </title>
</head> </head>
<body> <body>
{% include 'navbar.html' %}
{% block content %} {% block content %}
{% endblock %} {% endblock %}
<script src="/static/js/jquery-2.0.3.min.js"> <script src="/static/js/jquery-2.0.3.min.js">
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="index.html"><strong>Mason SRCT</strong></a>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="projects.html">Projects</a></li>
<li><a href="people.html">People</a></li>
<li><a href="meetings.html">Meetings</a></li>
<li><a href="calendar.html">Calendar</a>
<li><a href="documents.html">Documents</a>
<li><a href="contact.html">Contact</a>
<ul class="nav navbar-nav navbar-right">
<!-- would probably better to have login as a dropdown -->
<!-- username on top of password -->
<li><a href="#login">Log In</a></li>
</div><!--/.nav-collapse -->
from flask import render_template from flask import render_template
from app import app from website import website
@app.route('/') @website.route('/')
@app.route('/index') @website.route('/index')
def index(): def index():
return render_template("index.html", return render_template("index.html",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment