Improve Diffusion behavior for externals
Summary:
- Feature request from Airtime that I missed in the feedback notes, came up yesterday.
- Identify git submodules as "FILE_SUBMODULE", not "FILE_NORMAL".
- Link git submodules to an external resolver endpoint, which tries to find commits in tracked repositories.
- Identify git symlinks as "FILE_SYMLINK", not "FILE_NORMAL".
- Add folder, file, symlink and externals icons.
Test Plan:
- externals/javelin is now identified as a submoudule and links to Javelin, not identified as a file and links to error.
- bin/phd is now identified as a symlink.
- Interfaces have pretty icons.
Reviewers: btrahan, cpiro, ddfisher, keebuhm, allenjohnashton
Reviewed By: btrahan
CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1975
2012-03-21 22:01:20 +01:00
|
|
|
/**
|
|
|
|
* @provides diffusion-icons-css
|
|
|
|
*/
|
|
|
|
|
|
|
|
.diffusion-path-icon {
|
|
|
|
display: block;
|
|
|
|
padding-left: 28px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 1px 1px;
|
|
|
|
height: 18px;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffusion-path-icon-ext {
|
|
|
|
background-image: url(/rsrc/image/icon/fatcow/folder_go.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffusion-path-icon-dir {
|
|
|
|
background-image: url(/rsrc/image/icon/fatcow/folder.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffusion-path-icon-file {
|
|
|
|
background-image: url(/rsrc/image/icon/fatcow/page_white_text.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffusion-path-icon-link {
|
|
|
|
background-image: url(/rsrc/image/icon/fatcow/page_white_link.png);
|
|
|
|
}
|
2013-11-02 01:35:43 +01:00
|
|
|
|
|
|
|
input.diffusion-clone-uri {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid #efefef;
|
|
|
|
box-shadow: none;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffusion-clone-extras {
|
|
|
|
font-size: 11px;
|
|
|
|
text-align: right;
|
|
|
|
color: {$lightgreytext};
|
|
|
|
}
|