Changeset 148153 in webkit


Ignore:
Timestamp:
Apr 10, 2013 5:00:32 PM (11 years ago)
Author:
rniwa@webkit.org
Message:

Bugzilla should show bubbles from webkit-queues.appspot.com
https://bugs.webkit.org/show_bug.cgi?id=114391

Reviewed by Benjamin Poulain.

Include iframe from webkit-queues.appspot.com as well as one for webkit-commit-queue.appspot.com.

  • code-review.js:
  • template/en/custom/attachment/edit.html.tmpl:
  • template/en/custom/attachment/list.html.tmpl:
  • template/en/custom/attachment/reviewform.html.tmpl:
Location:
trunk/Websites/bugs.webkit.org
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/bugs.webkit.org/ChangeLog

    r146524 r148153  
     12013-04-10  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Bugzilla should show bubbles from webkit-queues.appspot.com
     4        https://bugs.webkit.org/show_bug.cgi?id=114391
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        Include iframe from webkit-queues.appspot.com as well as one for webkit-commit-queue.appspot.com.
     9
     10        * code-review.js:
     11        * template/en/custom/attachment/edit.html.tmpl:
     12        * template/en/custom/attachment/list.html.tmpl:
     13        * template/en/custom/attachment/reviewform.html.tmpl:
     14
    1152013-03-21  Ryosuke Niwa  <rniwa@webkit.org>
    216
  • trunk/Websites/bugs.webkit.org/code-review.js

    r138768 r148153  
    548548  function handleStatusBubbleLoad(e) {
    549549    e.target.contentWindow.postMessage('containerMetrics', 'https://webkit-commit-queue.appspot.com');
     550    e.target.contentWindow.postMessage('containerMetrics', 'https://webkit-queues.appspot.com');
    550551  }
    551552
     
    577578      statusBubble.className = 'statusBubble';
    578579      statusBubble.src  = 'https://webkit-commit-queue.appspot.com/status-bubble/' + attachment_id;
     580      statusBubble.scrolling = 'no';
     581      // Can't append the HTML because we need to set the onload handler before appending the iframe to the DOM.
     582      statusBubble.onload = handleStatusBubbleLoad;
     583      $('#statusBubbleContainer').append(statusBubble);
     584
     585      statusBubble = document.createElement('iframe');
     586      statusBubble.className = 'statusBubble';
     587      statusBubble.src  = 'https://webkit-queues.appspot.com/status-bubble/' + attachment_id;
    579588      statusBubble.scrolling = 'no';
    580589      // Can't append the HTML because we need to set the onload handler before appending the iframe to the DOM.
  • trunk/Websites/bugs.webkit.org/template/en/custom/attachment/edit.html.tmpl

    r130352 r148153  
    263263        <div class="statusBubble">
    264264          <iframe src="https://webkit-commit-queue.appspot.com/status-bubble/[% attachment.id %]"
     265                  style="width: 480px; height: 40px; border: none;" scrolling="no">
     266          </iframe>
     267          <iframe src="https://webkit-queues.appspot.com/status-bubble/[% attachment.id %]"
    265268                  style="width: 480px; height: 40px; border: none;" scrolling="no">
    266269          </iframe>
  • trunk/Websites/bugs.webkit.org/template/en/custom/attachment/list.html.tmpl

    r146524 r148153  
    157157          <div class="statusBubble">
    158158            <iframe src="https://webkit-commit-queue.appspot.com/status-bubble/[% attachment.id %]"
    159                     style="width: 600px; height: 20px; border: none;" scrolling="no">
     159                    style="width: 450px; height: 20px; border: none;" scrolling="no">
     160            </iframe>
     161            <iframe src="https://webkit-queues.appspot.com/status-bubble/[% attachment.id %]"
     162                    style="width: 450px; height: 20px; border: none;" scrolling="no">
    160163            </iframe>
    161164          </div>
  • trunk/Websites/bugs.webkit.org/template/en/custom/attachment/reviewform.html.tmpl

    r73326 r148153  
    114114                style="width: 450px; height: 20px; border: none;" scrolling="no">
    115115        </iframe>
     116        <iframe src="https://webkit-queues.appspot.com/status-bubble/[% attachment.id %]"
     117                style="width: 450px; height: 20px; border: none;" scrolling="no">
     118        </iframe>
    116119      </div>
    117120    </td>
Note: See TracChangeset for help on using the changeset viewer.