Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback-beta/images/tab-fade.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback-beta/images/tab-break.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback-beta/ext.articleFeedback-beta.css |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | height: 13.5em; |
13 | 13 | background-color: #f3f3f3; |
14 | 14 | border: 1px solid #cccccc; |
15 | | - border-right: none; |
| 15 | + border-left: none; |
16 | 16 | padding-bottom: 1px; |
17 | 17 | } |
18 | 18 | |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | width: 8em; |
25 | 25 | height: 13.5em; |
26 | 26 | background-image: url(images/tab-break.png); |
27 | | - background-position: left top; |
| 27 | + background-position: right top; |
28 | 28 | background-repeat: repeat-y; |
29 | 29 | padding-bottom: 3px; |
30 | 30 | } |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | cursor: pointer; |
38 | 38 | background-color: #ffffff; |
39 | 39 | background-image: url(images/tab-edge.png); |
40 | | - background-position: left top; |
| 40 | + background-position: right top; |
41 | 41 | background-repeat: repeat-y; |
42 | 42 | } |
43 | 43 | |
Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback-beta/ext.articleFeedback-beta.js |
— | — | @@ -2,74 +2,6 @@ |
3 | 3 | * Script for Article Feedback (beta) |
4 | 4 | */ |
5 | 5 | |
6 | | -/* |
7 | | - * This is the desired output... |
8 | | - * |
9 | | -<div class="articleFeedback"> |
10 | | - <div class="articleFeedback-panel" rel="form"> |
11 | | - <div class="articleFeedback-buffer"> |
12 | | - <div class="articleFeedback-title"></div> |
13 | | - <div class="articleFeedback-instructions"></div> |
14 | | - <div style="clear:both;"></div> |
15 | | - <table> |
16 | | - <tr> |
17 | | - <td><div class="articleFeedback-label" rel="wellsourced"></div></td> |
18 | | - <td><div class="articleFeedback-control" rel="wellsourced"></div></td> |
19 | | - <td><div class="articleFeedback-label" rel="complete"></div></td> |
20 | | - <td><div class="articleFeedback-control" rel="complete"></div></td> |
21 | | - </tr> |
22 | | - <tr> |
23 | | - <td><div class="articleFeedback-label" rel="neutral"></div></td> |
24 | | - <td><div class="articleFeedback-control" rel="neutral"></div></td> |
25 | | - <td><div class="articleFeedback-label" rel="readable"></div></td> |
26 | | - <td><div class="articleFeedback-control" rel="readable"></div></td> |
27 | | - </tr> |
28 | | - </table> |
29 | | - <hr noshade size="1" /> |
30 | | - <div class="articleFeedback-notice"></div> |
31 | | - <div class="articleFeedback-submit"><button type="button"></button></div> |
32 | | - <div style="clear:both;"></div> |
33 | | - </div> |
34 | | - </div> |
35 | | - <div class="articleFeedback-tabs"> |
36 | | - <div class="articleFeedback-tab" rel="form"> |
37 | | - <div class="articleFeedback-buffer"></div> |
38 | | - </div> |
39 | | - <div class="articleFeedback-tab" rel="chart"> |
40 | | - <div class="articleFeedback-buffer"></div> |
41 | | - </div> |
42 | | - </div> |
43 | | - <div class="articleFeedback-panel" rel="report"> |
44 | | - <div class="articleFeedback-buffer"> |
45 | | - <div class="articleFeedback-title"></div> |
46 | | - <div style="clear:both;"></div> |
47 | | - <table> |
48 | | - <tr> |
49 | | - <td><div class="articleFeedback-label" rel="wellsourced"></div></td> |
50 | | - <td><div class="articleFeedback-chart" rel="wellsourced"></div></td> |
51 | | - <td><div class="articleFeedback-count" rel="wellsourced"></div></td> |
52 | | - </tr> |
53 | | - <tr> |
54 | | - <td><div class="articleFeedback-label" rel="complete"></div></td> |
55 | | - <td><div class="articleFeedback-chart" rel="complete"></div></td> |
56 | | - <td><div class="articleFeedback-count" rel="complete"></div></td> |
57 | | - </tr> |
58 | | - <tr> |
59 | | - <td><div class="articleFeedback-label" rel="neutral"></div></td> |
60 | | - <td><div class="articleFeedback-chart" rel="neutral"></div></td> |
61 | | - <td><div class="articleFeedback-count" rel="neutral"></div></td> |
62 | | - </tr> |
63 | | - <tr> |
64 | | - <td><div class="articleFeedback-label" rel="readable"></div></td> |
65 | | - <td><div class="articleFeedback-chart" rel="readable"></div></td> |
66 | | - <td><div class="articleFeedback-count" rel="readable"></div></td> |
67 | | - </tr> |
68 | | - </table> |
69 | | - </div> |
70 | | - </div> |
71 | | -</div> |
72 | | -*/ |
73 | | - |
74 | 6 | ( function( $, mw ) { |
75 | 7 | |
76 | 8 | $.articleFeedback = { |
— | — | @@ -82,12 +14,6 @@ |
83 | 15 | context.$ui |
84 | 16 | .addClass( 'articleFeedback articleFeedback-form' ) |
85 | 17 | .append( '\ |
86 | | - <div class="articleFeedback-panel" rel="form">\ |
87 | | - <div class="articleFeedback-buffer"></div>\ |
88 | | - </div>\ |
89 | | - <div class="articleFeedback-panel" rel="report">\ |
90 | | - <div class="articleFeedback-buffer"></div>\ |
91 | | - </div>\ |
92 | 18 | <div class="articleFeedback-tabs">\ |
93 | 19 | <div class="articleFeedback-tab articleFeedback-tab-current" rel="form">\ |
94 | 20 | <div class="articleFeedback-buffer"></div>\ |
— | — | @@ -96,6 +22,12 @@ |
97 | 23 | <div class="articleFeedback-buffer"></div>\ |
98 | 24 | </div>\ |
99 | 25 | </div>\ |
| 26 | + <div class="articleFeedback-panel" rel="form">\ |
| 27 | + <div class="articleFeedback-buffer"></div>\ |
| 28 | + </div>\ |
| 29 | + <div class="articleFeedback-panel" rel="report">\ |
| 30 | + <div class="articleFeedback-buffer"></div>\ |
| 31 | + </div>\ |
100 | 32 | ' ) |
101 | 33 | // Handles |
102 | 34 | .find( '.articleFeedback-tab' ) |