Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GitLab Project Showroom
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabian Nuraddin Alexander Gabel
GitLab Project Showroom
Commits
f3f1dd3b
Commit
f3f1dd3b
authored
3 years ago
by
Fabian Nuraddin Alexander Gabel
Browse files
Options
Downloads
Patches
Plain Diff
add review app index, robots and blank-impressum
parent
d3bca7d0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
review/impressum.html
+0
-0
0 additions, 0 deletions
review/impressum.html
review/index.php
+70
-0
70 additions, 0 deletions
review/index.php
review/robots.txt
+4
-0
4 additions, 0 deletions
review/robots.txt
with
74 additions
and
0 deletions
review/impressum.html
0 → 100644
+
0
−
0
View file @
f3f1dd3b
This diff is collapsed.
Click to expand it.
review/index.php
0 → 100644
+
70
−
0
View file @
f3f1dd3b
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<title>
Review App
</title>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/picnic"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
</head>
<body>
<div
style=
"padding: 15px 25px 75px"
>
<h1>
Review apps for
<a
href=
"https://collaborating.tuhh.de/cfg0846/gitlab-showroom"
>
GitLab Showroom
</a></h1>
<h2>
The following is a list of all branches with a rewiew app:
</h2>
<?php
function
getSubDirectories
(
$dir
)
{
$subDir
=
array
();
$directories
=
array_filter
(
glob
(
$dir
),
'is_dir'
);
$subDir
=
array_merge
(
$subDir
,
$directories
);
foreach
(
$directories
as
$directory
)
$subDir
=
array_merge
(
$subDir
,
getSubDirectories
(
$directory
.
'/*'
));
return
$subDir
;
}
$d
=
dir
(
"."
);
echo
"<ul>"
;
while
(
false
!==
(
$entry
=
$d
->
read
()))
{
if
(
is_dir
(
$entry
)
&&
(
$entry
!=
'.'
)
&&
(
$entry
!=
'..'
))
{
echo
"<li>
$entry
"
.
" (last changed: "
.
date
(
"F d Y H:i:s"
,
filectime
(
$entry
))
.
")</li>"
;
#$directories = glob('/home/gabel/review.fabian-gabel.de' . '/*' , GLOB_ONLYDIR);
$directories
=
glob
(
$entry
.
"/*"
,
GLOB_ONLYDIR
);
usort
(
$directories
,
function
(
$a
,
$b
)
{
return
filemtime
(
$b
)
-
filemtime
(
$a
);
});
echo
"<ul>"
;
for
(
$i
=
0
;
$i
<
sizeof
(
$directories
)
;
$i
++
){
$hash
=
basename
(
$directories
[
$i
]);
echo
"<li><a href='
{
$directories
[
$i
]
}
'>
{
$hash
}
</a>"
.
" (last changed: "
.
date
(
"F d Y H:i:s"
,
filectime
(
$directories
[
$i
]))
.
")</li>"
;
}
echo
"</ul>"
;
}
}
echo
"</ul>"
;
$d
->
close
();
?>
<!-- Footer -->
<hr>
<footer
class=
"page-footer font-small blue"
>
<!-- Copyright -->
<a
href=
"https://collaborating.tuhh.de/cfg0846/research-topics-mat-tuhh"
>
GitLab Repository
</a>
|
<a
href=
"/impressum.html"
>
Impressum
</a>
|
<a
href=
"https://uberspace.de/en/"
>
Hosted on Asteroids
</a>
</div>
<!-- Copyright -->
</footer>
<!-- Footer -->
</div>
</html>
This diff is collapsed.
Click to expand it.
review/robots.txt
0 → 100644
+
4
−
0
View file @
f3f1dd3b
#Disallow crawling of the entire website.
User-agent: *
Disallow: /
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment