提交 b2a08f38 编写于 作者: K kohsuke

improved themeing of the config screen.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6411 71c3de6d-444a-0410-be80-ed276b4c234a
上级 e551409a
......@@ -4,10 +4,10 @@
<d:taglib uri="local">
<!-- generate one row for the sid name @sid -->
<d:tag name="row">
<td style="text-align:left">${title}</td>
<td class="left-most">${title}</td>
<j:forEach var="g" items="${groups}">
<j:forEach var="p" items="${g.permissions}">
<td>
<td width="*">
<!--
since '.' is handled in a special way, replace them by '-'
'-' is not a part of Java identifier, so this transformation
......@@ -19,11 +19,14 @@
</j:forEach>
</d:tag>
</d:taglib>
<table class="center-align" name="data">
<link rel="stylesheet" href="${h.getViewResource(descriptor,'table.css')}" type="text/css" />
<table id="global-matrix-authorization-strategy-table" class="center-align" name="data" width="100%">
<!-- The first row will show grouping -->
<tr>
<th />
<tr class="group-row">
<th rowspan="2" class="blank">
User/group
</th>
<j:forEach var="g" items="${groups}">
<th colspan="${g.size()}">
${g.owner.name}
......@@ -31,8 +34,7 @@
</j:forEach>
</tr>
<!-- The second row for individual permission -->
<tr>
<th />
<tr class="caption-row">
<j:forEach var="g" items="${groups}">
<j:forEach var="p" items="${g.permissions}">
<th>
......@@ -53,7 +55,7 @@
<!-- template row to be used for adding a new row -->
<j:var set="id" value="${h.generateId()}"/>
<j:set var="id" value="${h.generateId()}"/>
<tr id="${id}" style="display:none">
<local:row sid="${null}" />
</tr>
......
#global-matrix-authorization-strategy-table {
border-collapse: collapse;
border-spacing: 0;
border: 1px solid #D3D7CF;
}
#global-matrix-authorization-strategy-table TH {
padding: 0.2em;
}
#global-matrix-authorization-strategy-table .group-row TH {
background-color: #204A87;
color: white;
font-weight: bold;
border-left: 1px solid white;
}
#global-matrix-authorization-strategy-table TH.blank {
border-left: 1px solid #D3D7CF;
border-bottom: 1px solid #D3D7CF;
}
#global-matrix-authorization-strategy-table .caption-row TH {
background-color: #3465A4;
color: white;
font-weight: bold;
border-left: 1px solid white;
}
#global-matrix-authorization-strategy-table TD {
border-left: 1px solid #D3D7CF;
}
#global-matrix-authorization-strategy-table TD.left-most {
text-align: left;
border-left: none;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册