mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
added more prominent indentation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14057 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
c36b22509c
commit
bb97d31c69
5 files changed
+21
-11
No files matched your search
@@ -13,4 +13,10 @@ public abstract class Indenter<J extends Job> {
|
||||
public final String getCss(J job) {
|
||||
return "padding-left: "+getNestLevel(job)*2+"em";
|
||||
}
|
||||
|
||||
public final String getRelativeShift(J job) {
|
||||
int i = getNestLevel(job);
|
||||
if(i==0) return null;
|
||||
return "position:relative; left: "+ i *2+"em";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user