You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/05/24 15:06:11 UTC

[1/2] allura git commit: [#8087] Instead of using JQueryUI used CSS3 resize to not break functionality in Firefox and IE.

Repository: allura
Updated Branches:
  refs/heads/master 4dc36d238 -> ee06cc948


[#8087] Instead of using JQueryUI used CSS3 resize to not break functionality in Firefox and IE.


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/ee06cc94
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/ee06cc94
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/ee06cc94

Branch: refs/heads/master
Commit: ee06cc94813068fc02d91e5a2aee3b65ea6b7fad
Parents: 4e0faf1
Author: Rohan Verma <ro...@gmail.com>
Authored: Fri May 20 22:36:06 2016 +0530
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Tue May 24 11:05:24 2016 -0400

----------------------------------------------------------------------
 Allura/allura/nf/allura/css/site_style.css                    | 6 +++++-
 ForgeTracker/forgetracker/templates/tracker/index.html        | 6 ------
 ForgeTracker/forgetracker/templates/tracker/search.html       | 7 +++----
 ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js | 1 -
 4 files changed, 8 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/ee06cc94/Allura/allura/nf/allura/css/site_style.css
----------------------------------------------------------------------
diff --git a/Allura/allura/nf/allura/css/site_style.css b/Allura/allura/nf/allura/css/site_style.css
index d55b5d8..dbeef02 100644
--- a/Allura/allura/nf/allura/css/site_style.css
+++ b/Allura/allura/nf/allura/css/site_style.css
@@ -859,7 +859,7 @@ table {
   width: 100%;
   margin-bottom: 20px;
 }
-table thead tr th {
+table thead tr {
   background: #e5e5e5;
   background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #ffffff), color-stop(100%, #e5e5e5));
   background-image: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
@@ -911,6 +911,10 @@ table tfoot tr td {
   padding: 10px;
 }
 
+thead th{
+    resize: horizontal;
+}
+
 /* buttons - lui */
 .btn, button, input[type=submit], input[type=reset], input[type=button] {
   -moz-box-shadow: rgba(255, 255, 255, 0.6) 0 1px 0 0;

http://git-wip-us.apache.org/repos/asf/allura/blob/ee06cc94/ForgeTracker/forgetracker/templates/tracker/index.html
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/templates/tracker/index.html b/ForgeTracker/forgetracker/templates/tracker/index.html
index 33948b0..a672ca5 100644
--- a/ForgeTracker/forgetracker/templates/tracker/index.html
+++ b/ForgeTracker/forgetracker/templates/tracker/index.html
@@ -73,10 +73,4 @@
       <p>No open tickets found.</p>
     {% endif %}
 
-{% endblock %}
-
-{% block extra_js %}
-    <script type="text/javascript">
-      $( "th" ).resizable();
-    </script>
 {% endblock %}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/allura/blob/ee06cc94/ForgeTracker/forgetracker/templates/tracker/search.html
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/templates/tracker/search.html b/ForgeTracker/forgetracker/templates/tracker/search.html
index 2079344..823773b 100644
--- a/ForgeTracker/forgetracker/templates/tracker/search.html
+++ b/ForgeTracker/forgetracker/templates/tracker/search.html
@@ -101,8 +101,8 @@
 
 {% block extra_js %}
 
+{% if q and h.has_access(c.app, 'save_searches')() %}
     <script type="text/javascript">
-    {% if q and h.has_access(c.app, 'save_searches')() %}
       $('#save_search').click(function(){
         $('div.editbox input[name=summary]').val($('#bin_summary').val());
         $('div.editbox input[name=terms]').val($('#bin_terms').val());
@@ -111,9 +111,8 @@
       $('#cancel_new_bin').click(function(){
         $('div.editbox').hide();
       });
-    {% endif %}
-      $( "th" ).resizable();
-    </script>
 
+    </script>
+{% endif %}
 
 {% endblock %}

http://git-wip-us.apache.org/repos/asf/allura/blob/ee06cc94/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js b/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js
index 9d060e6..b5a0e44 100644
--- a/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js
+++ b/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js
@@ -175,5 +175,4 @@
     $('.ui-multiselect-menu').click(function(event){
         event.stopPropagation();
     });
-
 })();


[2/2] allura git commit: [#8087] Make Columns resizable in ticket table and ticket search

Posted by br...@apache.org.
[#8087] Make Columns resizable in ticket table and ticket search


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/4e0faf17
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/4e0faf17
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/4e0faf17

Branch: refs/heads/master
Commit: 4e0faf171b7144e1743e9a42b1bd46eec3035ba8
Parents: 4dc36d2
Author: Rohan Verma <ro...@gmail.com>
Authored: Fri May 20 03:51:42 2016 +0530
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Tue May 24 11:05:24 2016 -0400

----------------------------------------------------------------------
 ForgeTracker/forgetracker/templates/tracker/index.html  | 6 ++++++
 ForgeTracker/forgetracker/templates/tracker/search.html | 8 ++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/4e0faf17/ForgeTracker/forgetracker/templates/tracker/index.html
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/templates/tracker/index.html b/ForgeTracker/forgetracker/templates/tracker/index.html
index c759c15..33948b0 100644
--- a/ForgeTracker/forgetracker/templates/tracker/index.html
+++ b/ForgeTracker/forgetracker/templates/tracker/index.html
@@ -74,3 +74,9 @@
     {% endif %}
 
 {% endblock %}
+
+{% block extra_js %}
+    <script type="text/javascript">
+      $( "th" ).resizable();
+    </script>
+{% endblock %}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/allura/blob/4e0faf17/ForgeTracker/forgetracker/templates/tracker/search.html
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/templates/tracker/search.html b/ForgeTracker/forgetracker/templates/tracker/search.html
index f2b83ab..2079344 100644
--- a/ForgeTracker/forgetracker/templates/tracker/search.html
+++ b/ForgeTracker/forgetracker/templates/tracker/search.html
@@ -100,8 +100,9 @@
 {% endblock %}
 
 {% block extra_js %}
-  {% if q and h.has_access(c.app, 'save_searches')() %}
+
     <script type="text/javascript">
+    {% if q and h.has_access(c.app, 'save_searches')() %}
       $('#save_search').click(function(){
         $('div.editbox input[name=summary]').val($('#bin_summary').val());
         $('div.editbox input[name=terms]').val($('#bin_terms').val());
@@ -110,6 +111,9 @@
       $('#cancel_new_bin').click(function(){
         $('div.editbox').hide();
       });
+    {% endif %}
+      $( "th" ).resizable();
     </script>
-  {% endif %}
+
+
 {% endblock %}