1
Fork 0

Removed old modules

This commit is contained in:
Jake Howard 2015-11-09 08:42:15 +00:00
parent 8b8b74f9bb
commit b477b0d62b
30 changed files with 0 additions and 185 deletions

View file

@ -1,3 +0,0 @@
from django.contrib import admin
# Register your models here.

View file

@ -1,3 +0,0 @@
from django.db import models
# Create your models here.

View file

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View file

@ -1,7 +0,0 @@
from django.conf.urls import url
from .views import StudentServerView
urlpatterns = [
url(r'^student-server', StudentServerView.as_view(), name='student-server')
]

View file

@ -1,5 +0,0 @@
from django.views.generic import TemplateView
from project.common.views import CustomHeaderBG
class StudentServerView(CustomHeaderBG.Template):
template_name = 'college/student-server.html'

View file

@ -1,3 +0,0 @@
from django.contrib import admin
# Register your models here.

View file

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View file

@ -1,8 +0,0 @@
from django.conf.urls import url
from .views import GalleryView, YoutubeView
urlpatterns = [
url(r'^gallery', GalleryView.as_view(), name='gallery'),
url(r'^youtube', YoutubeView.as_view(), name='youtube')
]

View file

@ -1,10 +0,0 @@
from django.views.generic import TemplateView
from project.common.views import CustomHeaderBG
class YoutubeView(CustomHeaderBG.Template):
template_name = "media/youtube.html"
class GalleryView(TemplateView):
template_name = "media/gallery.html"

View file

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View file

@ -1,16 +0,0 @@
from django.conf.urls import url
from . import views
urlpatterns = [
# Project URLs
url(r'^attack-on-blocks', views.AttackOnBlocksView.as_view(), name="attack-on-blocks"),
url(r'^bsod-enabler', views.BSODEnablerView.as_view(), name='bsod-enabler'),
url(r'^hipchat-emoticons-for-all', views.HipChatEmoticonsForAllView.as_view(), name='hipchat-emoticons'),
url(r'^pithos', views.PithosView.as_view(), name='pithos'),
# Code URLs
url(r'^morse-code-decoder', views.MorseCodeDecoderView.as_view(), name='morse-code-decoder'),
url(r'^wiki-game-solver', views.WikiGameSolverView.as_view(), name='wiki-game-solver'),
url(r'^', views.AllProjectsView.as_view(), name="index")
]

View file

@ -1,35 +0,0 @@
from django.views.generic import TemplateView
from project.common.views import CustomHeaderBG
# Project Views
class AllProjectsView(TemplateView):
template_name = "projects/all_projects.html"
class AttackOnBlocksView(CustomHeaderBG.Template):
template_name = "college/attack-on-blocks.html"
class BSODEnablerView(CustomHeaderBG.Template):
template_name = 'projects/BSOD-Enabler.html'
header_BG = 'http://cdn9.howtogeek.com/wp-content/uploads/2013/05/xwindows-8-blue-screen-error.png.pagespeed.ic.yOWUS_rYGn.png'
class HipChatEmoticonsForAllView(CustomHeaderBG.Template):
template_name = 'projects/hipchat-emoticons-for-all.html'
header_BG = "https://info.seibert-media.net/plugins/servlet/pptslide?attachment=HipChat+Server+Sales+Pitch+Final+PPT.pptx&attachmentId=7536966&attachmentVer=1&pageId=3179011&slide=0"
class PithosView(CustomHeaderBG.Template):
template_name = 'projects/pithos.html'
# Code Views
class MorseCodeDecoderView(CustomHeaderBG.Template):
template_name = 'projects/morse-code-decoder.html'
class WikiGameSolverView(CustomHeaderBG.Template):
template_name = 'projects/wiki-game-solver.html'
header_BG = "http://is1.mzstatic.com/image/pf/us/r30/Purple/v4/a3/3f/31/a33f31dd-3ace-ffe4-5531-89d3f3a1106f/mzl.ihqwkbih.png"

View file

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View file

@ -1,10 +0,0 @@
from django.conf.urls import url
from .views import Index2015View, Index2014View, RoboticsIndexView, Robot2015View
urlpatterns = [
url(r'^$', RoboticsIndexView.as_view(), name='index' ),
url(r'^2015', Index2015View.as_view(), name='2015-index'),
url(r'^2015/robot', Robot2015View.as_view(), name='2015-robot'),
url(r'^2014', Index2014View.as_view(), name='2014-index')
]

View file

@ -1,22 +0,0 @@
from django.views.generic import TemplateView
from project.common.views import CustomHeaderBG
class RoboticsIndexView(TemplateView):
template_name = 'robotics/index.html'
# 2015
class Index2015View(CustomHeaderBG.Template):
template_name = 'robotics/2015-index.html'
header_BG = "https://farm8.staticflickr.com/7711/17122633430_7d1bde923a_k.jpg"
class Robot2015View(CustomHeaderBG.Template):
template_name = 'robotics/2015-robot.html'
header_BG = ""
# 2014
class Index2014View(CustomHeaderBG.Template):
template_name = 'robotics/2014-index.html'
header_BG = "nothing"

View file

@ -1,3 +0,0 @@
from django.contrib import admin
# Register your models here.

View file

@ -1,27 +0,0 @@
from django.db import models
import uuid
class Device(models.Model):
device_id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
device_name = models.CharField(max_length=50, blank=False, null=True)
friendly_name = models.CharField(max_length=50, blank=False, null=True, unique=True)
model_name = models.CharField(max_length=50, blank=False, null=True, unique=True)
description = models.TextField(blank=True, null=True)
computer = models.ForeignKey('setup.Computer')
class Computer(models.Model):
computer_id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
CPU = models.TextField(max_length=30, blank=False, null=True, verbose_name="Processor")
GPU = models.TextField(max_length=40, blank=True, null=True, verbose_name="Graphics Card")
RAM = models.IntegerField(blank=False, null=True)
class Peripheral(models.Model):
peripheral_id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
name = models.CharField(max_length=40, blank=False, null=True)
model_name = models.CharField(max_length=100, blank=False, null=True)
device = models.ForeignKey('setup.Device')

View file

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View file

@ -1,7 +0,0 @@
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^desk', views.DeskView.as_view(), name="desk"),
url(r'^', views.SetupIndexView.as_view(), name="index")
]

View file

@ -1,11 +0,0 @@
from django.views.generic import TemplateView
from project.common.views import CustomHeaderBG
class SetupIndexView(TemplateView):
template_name = "setup/index.html"
class DeskView(CustomHeaderBG.Template):
template_name = "setup/my-rig.html"
header_BG = "https://c1.staticflickr.com/1/557/18312934624_b51a541594_h.jpg"