Changeset 11095
- Timestamp:
- 04/12/12 02:41:59 (13 months ago)
- Location:
- ossiedev/branches/jsnyder/trunk/tools/cornetApps
- Files:
-
- 8 modified
-
DomainMan/views.py (modified) (1 diff)
-
HtmlPages/static/frames.css (modified) (4 diffs)
-
cornetApps.db (modified) (previous)
-
static/frames.css (modified) (4 diffs)
-
static/frames.js (modified) (4 diffs)
-
templates/DomainMan/connect.html (modified) (3 diffs)
-
templates/DomainMan/nodes.html (modified) (1 diff)
-
templates/HtmlPages/ossie.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/jsnyder/trunk/tools/cornetApps/DomainMan/views.py
r11093 r11095 115 115 runningNodebooter = nodeBooter_running(client) 116 116 return render_to_response('DomainMan/console.html', locals(), context_instance=RequestContext(request)) 117 118 """ 119 Views the available nodeBooters to start 120 """ 121 def selectNodeboter(): 122 return 117 123 118 124 """ -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/HtmlPages/static/frames.css
r11012 r11095 15 15 top: 0; 16 16 left: 0; 17 width: 330px; 17 width: 475px; 18 border-style: groove; 18 19 } 19 20 … … 31 32 32 33 #left_top{ 33 height: 70%;34 height: 55%; 34 35 position: relative; 35 36 overflow: auto; … … 37 38 38 39 #left_bottom{ 39 height: 30%;40 height: 60%; 40 41 } 41 42 42 43 #right_top{ 43 44 /**background-image:url('floor1_small_nonodes.jpg');**/ 44 /*height: 275px;*/45 height: 50%; 45 46 /*width: 1000px;*/ 46 47 overflow: auto; … … 54 55 55 56 #left_top,#left_bottom,#right_top,#right_bottom{ 56 border-style: groove; 57 /*border-style: groove;*/ 58 57 59 } 58 60 -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/static/frames.css
r11012 r11095 15 15 top: 0; 16 16 left: 0; 17 width: 330px; 17 width: 475px; 18 border-style: groove; 18 19 } 19 20 … … 31 32 32 33 #left_top{ 33 height: 70%;34 height: 55%; 34 35 position: relative; 35 36 overflow: auto; … … 37 38 38 39 #left_bottom{ 39 height: 30%;40 height: 60%; 40 41 } 41 42 42 43 #right_top{ 43 44 /**background-image:url('floor1_small_nonodes.jpg');**/ 44 /*height: 275px;*/45 height: 50%; 45 46 /*width: 1000px;*/ 46 47 overflow: auto; … … 54 55 55 56 #left_top,#left_bottom,#right_top,#right_bottom{ 56 border-style: groove; 57 /*border-style: groove;*/ 58 57 59 } 58 60 -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/static/frames.js
r11093 r11095 11 11 12 12 $("#left_bottom").ready(function(){ 13 $("#apps").load("/~webdemo/django/WebDash/running/");13 loadHrefToDiv("#apps","/~webdemo/django/WebDash/running/"); 14 14 $("a.ajax").click(function(){ 15 $("#apps").load("/~webdemo/django/WebDash/running/");15 loadHrefToDiv("#apps","/~webdemo/django/WebDash/running/"); 16 16 }); 17 17 $('#apps a').click(function(e){ … … 53 53 }); 54 54 55 $("#console").ready(function(){ 56 loadHrefToDiv("#console",$("#currentView").attr("value")); 57 }); 58 55 59 function install(waveform){ 56 $("#apps").load("/~webdem o/django/WebDash/install/"+waveform+"/", function(){60 $("#apps").load("/~webdem/django/WebDash/install/"+waveform+"/", function(){ 57 61 $("a").click($(this).attr("onclick")); 58 62 }); … … 78 82 } 79 83 80 function reloadNode(link){81 $("#workspace").load(link);82 }83 84 84 function display(instance){ 85 85 $("#workspace").load("/~webdemo/django/WebDash/"+instance+"/display/"); … … 88 88 89 89 function openWindow(href){ 90 window.open(href, "status=1,height=300,width=400");90 window.open(href, href, "status=1,height=300,width=400"); 91 91 } 92 92 -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/templates/DomainMan/connect.html
r11093 r11095 2 2 <body> 3 3 <form action="{{MEDIA_URL}}/connect_to_node/" method="post">{% csrf_token %} 4 <p>floor: 4 <table> 5 <tr> 6 <td>Floor: </td> 7 <td> 5 8 <select name = "floor"> 6 9 {% for floor in number_of_floors %} … … 12 15 {% endfor %} 13 16 </select> 14 </p> 15 <p>number: 17 </td> 18 </tr> 19 <tr> 20 <td>Number: </td> 21 <td> 16 22 <select name="number"> 17 23 {% for node in number_of_nodes %} … … 23 29 {% endfor %} 24 30 </select> 25 </p> 26 <p>User: <input type="text" name="user"/></p> 27 <p>Pass: <input type="password" name="pass"/></p> 28 <input type="submit" value="Check Nodebooter"/> 31 </td> 32 </tr> 33 <tr> 34 <td>Username: </td><td><input type="text" name="user"/></td> 35 </tr> 36 <tr> 37 <td>Password: </td><td><input type="password" name="pass"/></p></td> 38 </tr> 39 <tr><td></td><td><input type="submit" value="Check Nodebooter"/></td></tr> 40 </table> 29 41 </form> 30 42 </body> -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/templates/DomainMan/nodes.html
r11093 r11095 1 1 <p>{{node}}<p> <p>IP: {{ip}} Port: {{port}}</p> 2 <div id="node_space"> 3 <!-- 4 <a href='javascript:loadHrefToDiv("#node_space", "{{MEDIA_URL}}/connect/{{floor}}/{{num}}");'>Check Nodebooter</a> 5 --> 2 6 <a href='javascript:openWindow("{{MEDIA_URL}}/connect/{{floor}}/{{num}}");'>Check Nodebooter</a> 7 </div> 8 <a href='javascript:loadHreftoDiv("#workspace", "{{MEDIA_URL}}/WebDash/index2/{{ip}}");'>View Waveforms</a> -
ossiedev/branches/jsnyder/trunk/tools/cornetApps/templates/HtmlPages/ossie.html
r11093 r11095 35 35 </div><!--end #right_top--> 36 36 <div id="right_bottom"> 37 <div id="workspace" class="tabs-container"> Work space</div>37 <div id="workspace" class="tabs-container"></div> 38 38 <br/> 39 39 </div><!--end #right_bottom-->