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
|
|
|
|
*/
|
|
|
|
|
2013-11-02 01:35:43 +01:00
|
|
|
input.diffusion-clone-uri {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffusion-clone-extras {
|
|
|
|
font-size: 11px;
|
|
|
|
text-align: right;
|
|
|
|
color: {$lightgreytext};
|
|
|
|
}
|
2015-09-11 04:28:49 +02:00
|
|
|
|
|
|
|
.diffusion-browse-name {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffusion-link-icon + .diffusion-link-icon {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
2016-03-17 20:01:22 +01:00
|
|
|
|
|
|
|
.diffusion-search-boxen {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffusion-search-boxen .phui-form-view {
|
|
|
|
padding: 0;
|
|
|
|
}
|