Merge with 3171f61c7be6a6adb064a56694eab22bc7411440
authorymh <ymh.work@gmail.com>
Thu, 22 Nov 2012 23:54:13 +0100
changeset 79 435851345c78
parent 78 ac95f4f710db (current diff)
parent 76 3171f61c7be6 (diff)
child 80 0fcb603b04eb
Merge with 3171f61c7be6a6adb064a56694eab22bc7411440
src/hp/templates/hp/all_videos.html
--- a/src/hp/static/hp/tmgraph/event.pde	Thu Nov 22 23:25:34 2012 +0100
+++ b/src/hp/static/hp/tmgraph/event.pde	Thu Nov 22 23:54:13 2012 +0100
@@ -30,6 +30,9 @@
   pressStartY = pointY;
   doSelectEdge();
   doSelectNode();
+  // ADDED BY IRI
+  if (javascript != null) javascript.click(selection);
+  //
   if (mouseButton == RIGHT) {
     if (selection != null && selected == null && !menu_active) 
       doBeginMenu();
--- a/src/hp/static/hp/tmgraph/javascript.pde	Thu Nov 22 23:25:34 2012 +0100
+++ b/src/hp/static/hp/tmgraph/javascript.pde	Thu Nov 22 23:54:13 2012 +0100
@@ -17,6 +17,8 @@
   void startexpand();
   void endexpand();
   void username(String uid);
+  void mousemove(sel);
+  void click(sel);
 }
 
 void bindJavascript(JavaScript js) {
--- a/src/hp/static/hp/tmgraph/menu.pde	Thu Nov 22 23:25:34 2012 +0100
+++ b/src/hp/static/hp/tmgraph/menu.pde	Thu Nov 22 23:54:13 2012 +0100
@@ -32,6 +32,9 @@
       //selected  = null;
     }    
   }
+  //ADDED BY IRI
+  if (javascript != null) javascript.mousemove(selection);
+  //
 }
 
 void doSelectEdge() {
--- a/src/hp/static/hp/tmgraph/model.pde	Thu Nov 22 23:25:34 2012 +0100
+++ b/src/hp/static/hp/tmgraph/model.pde	Thu Nov 22 23:54:13 2012 +0100
@@ -21,6 +21,8 @@
   return edges;
 }
 
+// END ADDITION
+
 ////////  SAVE & LOAD NODES, EDGED  ////////////////////////////////////////////
 void allSave() {
   String proj, asc_id, a_proj, id, from_proj, name, grp, to_id, to_proj, r_name, r_from, r_to;
--- a/src/hp/templates/hp/all_videos.html	Thu Nov 22 23:25:34 2012 +0100
+++ b/src/hp/templates/hp/all_videos.html	Thu Nov 22 23:54:13 2012 +0100
@@ -45,7 +45,7 @@
     <div class="pagination">
         <span class="step-links">
         {% if results.has_previous %}
-            <a href="{% url hp.views.all_videos %}"><<</a> <a href="{% url hp.views.all_videos %}?page={{ results.previous_page_number }}"><</a>
+            <a href="{% url hp.views.all_videos %}">&lt;&lt;</a> <a href="{% url hp.views.all_videos %}?page={{ results.previous_page_number }}">&lt;</a>
         {% else %}
             {{"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"|safe}}
         {% endif %}
@@ -53,7 +53,7 @@
             {{ results.number }}/{{ results.paginator.num_pages }}
         </span>
         {% if results.has_next %}
-            <a href="{% url hp.views.all_videos %}?page={{ results.next_page_number }}">></a> <a href="{% url hp.views.all_videos %}?page=last">>></a>
+            <a href="{% url hp.views.all_videos %}?page={{ results.next_page_number }}">&gt;</a> <a href="{% url hp.views.all_videos %}?page=last">&gt;&gt;</a>
         {% else %}
             {{"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"|safe}}
         {% endif %}