Subversion Repositories DevTools

Rev

Rev 5506 | Rev 6676 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5506 Rev 6372
Line 57... Line 57...
57
%>
57
%>
58
<!--#include file="_jquery_includes.asp"-->
58
<!--#include file="_jquery_includes.asp"-->
59
<script type="text/javascript" charset="utf-8">
59
<script type="text/javascript" charset="utf-8">
60
function toggleTest(id)
60
function toggleTest(id)
61
{
61
{
62
    $( "#testResults_" + id ).toggle();
62
    $(  "#testResults_" + id ).toggleClass('display-table display-none');
63
    $( "#testResultsH_" + id ).toggle();
63
    $( "#testResultsH_" + id ).toggleClass('display-table display-none');
64
    $( "#testImageMin_" + id ).toggle();
64
    $( "#testImageMin_" + id ).toggleClass('display-inline display-none');
65
    $( "#testImageMax_" + id ).toggle();
65
    $( "#testImageMax_" + id ).toggleClass('display-inline display-none');
66
}
66
}
67
 
67
 
68
</script>
68
</script>
69
 
69
 
70
     <table class="full_table">
70
     <table class="full_table">
Line 86... Line 86...
86
        <td nowrap>&nbsp;</td>
86
        <td nowrap>&nbsp;</td>
87
        <td nowrap>&nbsp;</td>
87
        <td nowrap>&nbsp;</td>
88
      </tr>
88
      </tr>
89
      <%End If%>
89
      <%End If%>
90
      <%
90
      <%
-
 
91
        Dim displayClass   : displayClass   = "display-table"
91
        Dim displayStyle  : displayStyle = "style='display:inline'"
92
        Dim displayClassI  : displayClassI  = "display-inline"
-
 
93
        Dim displayClass1  : displayClass1  = "display-none"
92
        Dim displayStyle1 : displayStyle1 = "style='display:none'"
94
        Dim displayClassI1 : displayClassI1 = "display-none"
93
        While ((NOT biQry.BOF) AND (NOT biQry.EOF))
95
        While ((NOT biQry.BOF) AND (NOT biQry.EOF))
94
      %>
96
      %>
95
      <tr class="form_item_grey" > 
97
      <tr class="form_item_grey" > 
96
        <td nowrap><%=biQry("proj_name")%></td>
98
        <td nowrap><%=biQry("proj_name")%></td>
97
        <td nowrap><%=biQry("rtag_name")%></td>
99
        <td nowrap><%=biQry("rtag_name")%></td>
Line 105... Line 107...
105
            <%Call getTestResults(biQry("BUILD_ID"))%>
107
            <%Call getTestResults(biQry("BUILD_ID"))%>
106
            <table class="full_table">
108
            <table class="full_table">
107
                <tr>
109
                <tr>
108
                <td valign="top" width="1%" class="form_field_hdrgap" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;
110
                <td valign="top" width="1%" class="form_field_hdrgap" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;
109
                    <a href='javascript:;' onclick='toggleTest(<%=biQry("BUILD_ID")%>);'>
111
                    <a href='javascript:;' onclick='toggleTest(<%=biQry("BUILD_ID")%>);'>
110
                        <img title='Hide Test Results'  id='testImageMin_<%=biQry("BUILD_ID")%>' src="images/btn_min.gif" <%=displayStyle%>>
112
                        <img title='Hide Test Results'  id='testImageMin_<%=biQry("BUILD_ID")%>' src="images/btn_min.gif" class='<%=displayClassI%>'>
111
                        <img title='Show Test Results'  id='testImageMax_<%=biQry("BUILD_ID")%>' src="images/btn_max.gif" <%=displayStyle1%> >
113
                        <img title='Show Test Results'  id='testImageMax_<%=biQry("BUILD_ID")%>' src="images/btn_max.gif" class='<%=displayClassI1%>'>
112
                    </a>
114
                    </a>
113
                <td>
115
                <td>
114
            <table class="full_table" id='testResultsH_<%=biQry("BUILD_ID")%>' <%=displayStyle1%>>
116
            <table class="full_table <%=displayClass1%>" id='testResultsH_<%=biQry("BUILD_ID")%>'>
115
                <tr class="form_item_grey" >
117
                <tr class="form_item_grey" >
116
                <%If utQry.RecordCount < 1 Then %>
118
                <%If utQry.RecordCount < 1 Then %>
117
                  <td nowrap>No Test Results found</td>
119
                  <td nowrap>No Test Results found</td>
118
                <%Else%>
120
                <%Else%>
119
                  <td nowrap >Tests : <%=utQry.RecordCount%></td>
121
                  <td nowrap >Tests : <%=utQry.RecordCount%></td>
120
                <%End If%>
122
                <%End If%>
121
                </tr>
123
                </tr>
122
            </table>
124
            </table>
123
            <table class="full_table" id='testResults_<%=biQry("BUILD_ID")%>' <%=displayStyle%>>
125
            <table class="full_table <%=displayClass%>" id='testResults_<%=biQry("BUILD_ID")%>'>
124
              <%If utQry.RecordCount < 1 Then %>
126
              <%If utQry.RecordCount < 1 Then %>
125
              <tr class="form_item_grey" >
127
              <tr class="form_item_grey" >
126
                <td nowrap>No Test Results found</td>
128
                <td nowrap>No Test Results found</td>
127
              </tr>
129
              </tr>
128
              <%Else%>
130
              <%Else%>
Line 154... Line 156...
154
            </table>
156
            </table>
155
        </td>
157
        </td>
156
        <!-- End Display the Unit Test Results -->
158
        <!-- End Display the Unit Test Results -->
157
      </tr>
159
      </tr>
158
      <%
160
      <%
159
      displayStyle = "style='display:none'"
161
      displayClass = "display-none"
-
 
162
      displayClass1 = "display-table"
-
 
163
      displayClassI = "display-none"
160
      displayStyle1 = "style='display:inline'" 
164
      displayClassI1 = "display-inline"
161
      biQry.MoveNext
165
      biQry.MoveNext
162
      WEnd
166
      WEnd
163
      biQry.Close
167
      biQry.Close
164
      Set biQry = nothing
168
      Set biQry = nothing
165
      %>
169
      %>