Project

General

Profile

« Previous | Next » 

Revision 6967

Added by Jing Tao almost 13 years ago

Adjust the column width of the search result.

View differences:

lib/style/skins/sanparks/sanparks-tpc.css
212 212
  width: 250px;
213 213
  border-right: none;
214 214
}
215

  
216

  
217
/********************************************************************** 
218
 * tpc run search result specific settings
219
 **********************************************************************/
220

  
221
.run-col1 {
222
  color: #333333;
223
  width: 280px;
224
  text-align: left;
225
  font-weight: bold;
226
}
227

  
228
.run-col2 {
229
  color: #333333;
230
  width: 120px;
231
}
232

  
233
.run-col3 {
234
  color: #333333;
235
  width: 150px;
236
}
237

  
238
.run-col4 {
239
  color: #333333;
240
  width: 150px;
241
  border-right: none;
242
}
243

  
244
.run-col1-header {
245
  color: #FFFFFF;
246
  width: 280px;
247
  text-align: left;
248
  font-weight: bold;
249
}
250

  
251
.run-col2-header {
252
  color: #FFFFFF;
253
  width: 120px;
254
}
255

  
256
.run-col3-header {
257
  color: #FFFFFF;
258
  width: 150px;
259
}
260

  
261
.run-col4-header {
262
  color: #FFFFFF;
263
  width: 150px;
264
  border-right: none;
265
}
lib/style/common/searchWorkflowRunResultset.xsl
43 43
        	<div class="result-header">TPC Workflow Runs</div>
44 44
		</div>
45 45
		<div class="row row-header" >
46
			<div class="col col1-header">TPC Workflow Name</div>
47
			<div class="col col2-header">Status</div>
48
			<div class="col col3-header">Date Executed</div>
49
			<div class="col col4-header">Available Reports</div>
46
			<div class="col run-col1-header">TPC Workflow Name</div>
47
			<div class="col run-col2-header">Status</div>
48
			<div class="col run-col3-header">Date Executed</div>
49
			<div class="col run-col4-header">Available Reports</div>
50 50
		</div>			
51 51
		<!-- This tests to see if there are returned documents,
52 52
			if there are not then don't show the query results -->
......
75 75
							</xsl:choose>
76 76
						</xsl:attribute>
77 77

  
78
						<div class="col col1">	
78
						<div class="col run-col1">	
79 79
							<xsl:value-of select='./param[@name="karEntry/karEntryXML/property[@name=&apos;WorkflowRun&apos;]/property[@name=&apos;workflowName&apos;]/@value"]' />		
80 80
						</div>
81
						<div class="col col2">	
81
						<div class="col run-col2">	
82 82
							<xsl:choose>
83 83
							<xsl:when  test="not(./param[@name=&quot;karEntry/karEntryAttributes/tpcStatus&quot;])" >
84 84
							unknown
......
88 88
							</xsl:otherwise>
89 89
							</xsl:choose>
90 90
						</div>
91
						<div class="col col3">	
91
						<div class="col run-col3">	
92 92
						  <xsl:variable name="date" select='./param[@name="karEntry/karEntryXML/property[@name=&apos;WorkflowRun&apos;]/property[@name=&apos;startTime&apos;]/@value"]' />    
93 93
							<xsl:value-of select='substring-before($date, "T")' />		
94 94
						</div>
95
						<div class="col col4">	
95
						<div class="col run-col4">	
96 96
							<xsl:for-each select='./param[@name="karEntry/karEntryAttributes/Name"]'>
97 97
                                <xsl:variable name="fileName" select='.' />             
98 98
                                <xsl:if test="contains($fileName, $pdfExtension)">

Also available in: Unified diff