Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Bryson_Bowie/DB.zip
Binary file not shown.
73 changes: 73 additions & 0 deletions Bryson_Bowie/DB/dB.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<doctype! html>
<html>
<head>
<title>Databases</title>
<link rel="stylesheet" type="text/css" href="dataBase1.css">
</head>
<body>
<div id="Wrapper">
<div id="Header">
<img src="database-name.jpg" id="himage" alt="Database" height="100px" width="200px">
<h3>You can't learn enough about Databases!</h3>
</div>
<ul id="Nav">
<li class="subcontents"><a href="home.html">Home</a></li><!--
--><li class="subcontents"><a href="about.html">About</a></li><!--
--><li class="subcontents"><a href="storage.html">Storage</a></li><!--
--><li class="subcontents"><a href="searching.html">Searching</a></li><!--
--><li class="subcontents"><a href="interaction.html">Interaction</a></li><!--
--><li class="subcontents"><a href="companies.html">Companies</a></li><!--
--><li class="subcontents"><a href="contact_us.html">Contact Us</a></li><!--
--><li class="subcontents">&nbsp&nbsp</li>
</ul>
<div id="Wrapper2">
<div id="top">
<img src="database.jpg" id="databasepic" alt="Database" height="256px" width="500px">
<div id="top2">
<p class="toptitle"> What are Databases?</p>
<p class="topsub"> A structured set of data
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id nisl fringilla, bibendum orci a, tempus tellus. Pellentesque eget felis a tellus vestibulum porta vitae vel urna. Aliquam iaculis eros ut venenatis hendrerit. Aenean consequat mi quis neque porttitor porta. Sed vel metus ullamcorper, lacinia quam consequat, volutpat erat. Nullam euismod aliquam ligula, sed lobortis sapien. Mauris luctus ex quis ex feugiat vulputate. Nullam metus nulla, rhoncus eu ex ut, finibus vestibulum lacus.</p>
</div>
</div>
<div id="middle">
<img src="icon.png" class="midpic" alt="Icon" height="20px" width="10px">
<p class="stack">A stack of information!</p>
</div>
<ul id="bottom">
<li class="separate">
<p class="thead">Storage</p>
<img src="harddrive.jpg" alt="Hardrive" height="115px" width="225px">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id nisl fringilla, bibendum orci a, tempus tellus. Pellentesque eget felis a tellus vestibulum porta vitae vel urna. Aliquam iaculis eros ut venenatis hendrerit. Aenean consequat mi quis neque porttitor porta. Sed vel metus ullamcorper, lacinia quam consequat, volutpat erat. Nullam euismod aliquam ligula, sed lobortis sapien.</p>
<form>
<input type="submit" class="button" value="Read More...">
</form>
</li>
<li class="separate">
<p class="thead">Searching</p>
<img src="database-search.jpg" alt="Database Search" height="115px" width="225px">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id nisl fringilla, bibendum orci a, tempus tellus. Pellentesque eget felis a tellus vestibulum porta vitae vel urna. Aliquam iaculis eros ut venenatis hendrerit. Aenean consequat mi quis neque porttitor porta. Sed vel metus ullamcorper, lacinia quam consequat, volutpat erat. Nullam euismod aliquam ligula, sed lobortis sapien.</p>
<form>
<input type="submit" class="button" value="Read More...">
</form>
</li>
<li class="separate">
<p class="thead">Interaction</p>
<img src="dbinteraction.png" alt="DB Interaction" height="115px" width="225px">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id nisl fringilla, bibendum orci a, tempus tellus. Pellentesque eget felis a tellus vestibulum porta vitae vel urna. Aliquam iaculis eros ut venenatis hendrerit. Aenean consequat mi quis neque porttitor porta. Sed vel metus ullamcorper, lacinia quam consequat, volutpat erat. Nullam euismod aliquam ligula, sed lobortis sapien.</p>
<form>
<input type="submit" class="button" value="Read More..">
</form>
</li>
<li class="separate">
<p class="thead">Companies</p>
<img src="database-companies.jpg" alt="DB Companies" height="115px" width="225px">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id nisl fringilla, bibendum orci a, tempus tellus. Pellentesque eget felis a tellus vestibulum porta vitae vel urna. Aliquam iaculis eros ut venenatis hendrerit. Aenean consequat mi quis neque porttitor porta. Sed vel metus ullamcorper, lacinia quam consequat, volutpat erat. Nullam euismod aliquam ligula, sed lobortis sapien.</p>
<form>
<input type="submit" class="button" value="Read More...">
</form>
</li>
</ul>
</div>
</div>
</body>
</html>
134 changes: 134 additions & 0 deletions Bryson_Bowie/DB/dB1.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
*{
margin: 0px;
padding: 0px;
}
#Wrapper{
width: 970px;
height: auto;
margin: 0px auto;
}
#Wrapper2{
width: 970px;
height: auto;
margin: 0px auto;
padding-left: 10px;
padding-right: 10px;
background: radial-gradient(#6C5967,#565074, black);
}

#Header{
width: 970px;
height: 125px;
position:relative;
display: inline-block;
background-color:#FFFFFF;
background: linear-gradient(white, #EFF1ED)
}
h3{
display:inline-block;
margin-top:80px;
margin-left:550px;
}
#himage{
display:inline-block;
position: absolute;
}

#Nav{
width:989px;
height:32px;
border: solid;
border-width:thin;
display:inline-block;
}
.subcontents{
background-color:#FFFFFF;
display:inline-block;
border: solid;
border-width:thin;
line-height:30px;
padding-left:35px;
padding-right:35px;
background: linear-gradient(white, #EFF1ED, white)
}
#top{
width: 970px;
height: 280px;
margin-top: 20px;
display:inline-block;
}
#databasepic{
border: solid;
border-width:thick;
border-color:grey;
vertical-align:top;
display:inline-block;
}
#top2{
width: 412px;
height: 265px;
margin-left: 20px;
vertical-align:top;
display:inline-block;
background: linear-gradient(to left, #DACBD9, #F2F9FC);
}
.toptitle{
font-size:115%;
font-weight: 900;
padding: 10px .2px;
height:25px;
width:inherit;
background: linear-gradient(#B2AEB7, #8B8996, #B2AEB7);
}
.topsub{
margin: 10px 5px;
font-weight: bolder;
}
#middle{
width:300px;
height: 30px;
margin-left:775px;
color:#2C5DA9;
}
.midpic{
vertical-align:top;
display:inline-block;
}
.stack{
vertical-align:top;
display:inline-block;
}
#bottom{
width: 970px;
height: 550px;
display: inline-block;
}
.thead{
font-size:115%;
font-weight: 900;
padding: 10px 0px;
height:25px;
width:225px;
background: linear-gradient(#B2AEB7, #8B8996, #B2AEB7);
}
.separate{
width: 225px;
height:500px;
margin:5px;
display:inline-block;
background: linear-gradient( #9DAAC4, #FBFCFD);
}
.button{
margin-left:125px;
margin-top:50px;
background-color:#5C729C;
border: solid;
border-width:thick;
border-color:black;
color: white;
padding: 3px 3px;
text-align: center;
display: inline-block;
box-shadow: 0px 5px 15px #1F272D;
border-radius: 10px;
}
Binary file added Bryson_Bowie/DB/database-companies.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bryson_Bowie/DB/database-name.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bryson_Bowie/DB/database-search.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bryson_Bowie/DB/database.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bryson_Bowie/DB/dbinteraction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bryson_Bowie/DB/harddrive.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bryson_Bowie/DB/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bryson_Bowie/DB/mysql-logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions Bryson_Bowie/Javascript/Objects.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
var students = [
{first_name: 'Michael', last_name : 'Jordan'},
{first_name : 'John', last_name : 'Rosales'},
{first_name : 'Mark', last_name : 'Guillen'},
{first_name : 'KB', last_name : 'Tonel'}
]
console.log(students[0].first_name + " " + students[0].last_name);
console.log(students[1].first_name + " " + students[1].last_name);
console.log(students[2].first_name + " " + students[2].last_name);
console.log(students[3].first_name + " " + students[3].last_name);
Binary file added Bryson_Bowie/Python.zip
Binary file not shown.
Empty file.
Binary file added Bryson_Bowie/book/book/blog/__init__.pyc
Binary file not shown.
9 changes: 9 additions & 0 deletions Bryson_Bowie/book/book/blog/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from django.contrib import admin
from blog.models import Blog

# Register your models here.
class BlogAdmin(admin.ModelAdmin):
list_display = ('title',)
search_fields = ['title']

admin.site.register(Blog, BlogAdmin)
Binary file added Bryson_Bowie/book/book/blog/admin.pyc
Binary file not shown.
7 changes: 7 additions & 0 deletions Bryson_Bowie/book/book/blog/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from __future__ import unicode_literals

from django.apps import AppConfig


class BlogConfig(AppConfig):
name = 'blog'
26 changes: 26 additions & 0 deletions Bryson_Bowie/book/book/blog/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-04-13 21:44
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

initial = True

dependencies = [
]

operations = [
migrations.CreateModel(
name='Blog',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(max_length=200, unique=True)),
('image', models.TextField(blank=True, max_length=100000, null=True)),
('author', models.CharField(max_length=200, unique=True)),
('description', models.TextField(blank=True, max_length=250000, null=True)),
],
),
]
Binary file not shown.
Empty file.
Binary file added Bryson_Bowie/book/book/blog/migrations/__init__.pyc
Binary file not shown.
10 changes: 10 additions & 0 deletions Bryson_Bowie/book/book/blog/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from __future__ import unicode_literals

from django.db import models

# Create your models here.
class Blog(models.Model):
title = models.CharField(max_length=200, unique=True)
image = models.TextField(max_length =100000, blank=True, null=True)
author = models.CharField(max_length=200, unique=True)
description = models.TextField(max_length=250000, blank=True, null=True)
Binary file added Bryson_Bowie/book/book/blog/models.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions Bryson_Bowie/book/book/blog/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
7 changes: 7 additions & 0 deletions Bryson_Bowie/book/book/blog/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.conf.urls import url
from blog import views as blog_views

urlpatterns = [
url(r'^blogs/$', blog_views.blogs ),
url(r'^(?P<blog_id>\d+)/$', blog_views.blog)
]
Binary file added Bryson_Bowie/book/book/blog/urls.pyc
Binary file not shown.
12 changes: 12 additions & 0 deletions Bryson_Bowie/book/book/blog/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from django.shortcuts import render, get_object_or_404
from blog.models import Blog

# Create your views here.
def blogs(request):
blogs = Blog.objects.all()
return render(request, 'blogs.html', {'blogs' : blogs })

def blog(request, blog_id):
blog = get_object_or_404(Blog, pk=blog_id)

return render(request, 'blog.html', {'blog' : blog })
Binary file added Bryson_Bowie/book/book/blog/views.pyc
Binary file not shown.
Empty file.
Binary file added Bryson_Bowie/book/book/book/__init__.pyc
Binary file not shown.
Loading