Changeset 11070
- Timestamp:
- 03/16/12 19:17:42 (14 months ago)
- Location:
- ossiedev/branches/jsnyder/trunk/tools/cornetApps
- Files:
-
- 9 modified
-
DomainMan/models.py (modified) (1 diff)
-
DomainMan/static/ajax.js (modified) (1 diff)
-
DomainMan/views.py (modified) (1 diff)
-
HtmlPages/static/frames.js (modified) (1 diff)
-
HtmlPages/views.py (modified) (1 diff)
-
LoginUser/views.py (modified) (1 diff)
-
settings.py (modified) (1 diff)
-
settingsWeb.py (modified) (1 diff)
-
urls.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/jsnyder/trunk/tools/cornetApps/DomainMan/models.py
r11069 r11070 1 1 from django.db import models 2 """Models for the DomainMan application 3 -Node makes it easy to extract the ip and port fields 4 """ 2 5 3 # Create your models here. 6 7 """Creates a node with ip and port fields 8 """ 4 9 class Node(models.Model): 5 10 ip = models.IPAddressField() -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/DomainMan/static/ajax.js
r11068 r11070 1 1 //testing ajax 2 2 $.ajax("/ajax/", { 3 3 name:"evan", -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/DomainMan/views.py
r11069 r11070 4 4 from django.template import RequestContext 5 5 from paramiko import SSHClient, AutoAddPolicy 6 7 """Views for DomainMan application 8 Starts and stops nodeBooter/naming service 9 """ 6 10 7 11 """ -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/HtmlPages/static/frames.js
r11012 r11070 1 2 //Loads pages into frames 3 1 4 $(function setBackgroundColor(){ 2 5 $('ul.navigation li').click(function(){ -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/HtmlPages/views.py
r11069 r11070 7 7 from django.contrib.auth.decorators import login_required 8 8 9 ''' 9 """Creates views to display the nodes 10 Gets the status of the nodes 11 Creates the tuples for each node position for the maps. 12 """ 13 14 """ 10 15 Returns the floor_list array which stores the status of the node as ip of the node. 11 16 @return the floor_list array that has the ip address of the node. 12 ''' 17 """ 13 18 def setFloorNodes(): 14 19 floorBuffer = 10 #used to calculate the ip address of the node -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/LoginUser/views.py
r11069 r11070 8 8 from os import environ 9 9 10 """Creates views for the logging. 11 Handles redirecting pages after logging in and registering. 12 """ 10 13 11 12 """ 13 Returns a url for the correct settings environment. 14 """Returns a url for the correct settings environment. 14 15 """ 15 16 def url_on_web(url): -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/settings.py
r11069 r11070 1 2 1 3 # Django settings for running cornetApps project *locally* 2 4 -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/settingsWeb.py
r11040 r11070 1 # Django settings for cornetApps project .1 # Django settings for cornetApps project on the *webserver* 2 2 3 3 DEBUG = True -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/urls.py
r11069 r11070 5 5 # from django.contrib import admin 6 6 # admin.autodiscover() 7 8 """Creates regular expressions for the accepted urls 9 """ 7 10 8 11 urlpatterns = patterns('',