mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
feat(#97): display when the repo has been anonymized
This commit is contained in:
@@ -255,10 +255,12 @@ a:hover {
|
||||
}
|
||||
|
||||
.leftCol {
|
||||
display: flex;
|
||||
position: relative;
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
z-index: 9;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.leftCol,
|
||||
@@ -326,9 +328,10 @@ a:hover {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
width: 7px;
|
||||
width: 18px;
|
||||
height: 21px;
|
||||
overflow: hidden;
|
||||
padding: 1px;
|
||||
padding-left: 1px;
|
||||
color: var(--primary-bg);
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<div class="row h-100">
|
||||
<div class="leftCol shadow p-1 overflow-auto" ng-show="files">
|
||||
<tree class="files" file="files"></tree>
|
||||
<div class="bottom column">
|
||||
<div class="last-update">
|
||||
Last Update: {{options.lastUpdateDate|date}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md h-100 overflow-auto p-0 d-flex flex-column">
|
||||
<div class="d-flex align-content-between status-bar shadow">
|
||||
|
||||
@@ -139,7 +139,6 @@ router.get(
|
||||
!!config.ENABLE_DOWNLOAD &&
|
||||
repo.source.type == "GitHubDownload";
|
||||
}
|
||||
console.log(repo.size.storage, repo.source.type)
|
||||
if (
|
||||
repo.size.storage < config.FREE_DOWNLOAD_REPO_SIZE * 1024 &&
|
||||
repo.source.type == "GitHubDownload"
|
||||
@@ -151,6 +150,7 @@ router.get(
|
||||
res.json({
|
||||
url: redirectURL,
|
||||
download,
|
||||
lastUpdateDate: repo.model.statusDate,
|
||||
});
|
||||
} catch (error) {
|
||||
handleError(error, res, req);
|
||||
|
||||
Reference in New Issue
Block a user