Skip to content

Commit 512a1ac

Browse files
committed
Some changes
Renamed to XAMPPBoard. Some styling. Added Apache/PHP/PHPMyAdmin details.
1 parent 6e14855 commit 512a1ac

27 files changed

+40
-9
lines changed

index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
$uri = 'http://';
66
}
77
$uri .= $_SERVER['HTTP_HOST'];
8-
header('Location: '.$uri.'/mydash/');
8+
header('Location: '.$uri.'/xamppboard/');
99
exit;
1010
?>
1111
Something is wrong with the XAMPP installation :-(

mydash/assets/images/shot1.jpg

-68.1 KB
Binary file not shown.

mydash/assets/css/style.css renamed to xamppboard/assets/css/style.css

+28
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ footer {
5656
display:none;
5757
}
5858

59+
.details {
60+
font-size: 14px;
61+
color:#999;
62+
}
63+
5964

6065
.files, .files div{
6166
overflow: hidden;
@@ -69,6 +74,29 @@ footer {
6974
float:left;
7075
}
7176

77+
.col-lg-2 a img { padding: 0px 10px 3px 10px; }
78+
79+
@media screen and (min-width: 1200px) {
80+
.col-md-2 a img { padding: 7px 17px 3px 17px; }
81+
}
82+
83+
@media screen and (max-width: 1199px) {
84+
.col-md-2 a img { padding: 5px 15px 3px 15px; }
85+
}
86+
87+
@media screen and (max-width: 991px) {
88+
.col-md-2 a img { padding: 5px 15px 3px 15px; }
89+
}
90+
91+
@media screen and (max-width: 765px) {
92+
.page-header { margin-top: 0; }
93+
footer { margin:0; }
94+
}
95+
96+
@media screen and (max-width: 700px) {
97+
.col-md-2 a img { padding:0px; }
98+
}
99+
72100
@media screen and (max-width: 500px) {
73101
.col-xxs-3 { width:25%; }
74102
.col-xxs-4 { width:33.33333333%; }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

xamppboard/assets/images/webs.png

1.82 KB
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.

mydash/index.php renamed to xamppboard/index.php

+11-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta name="description" content="Simple dashboard for XAMPP">
1010
<meta name="author" content="Mohammad Yaghobi">
1111

12-
<title>MyDash - Simple Dashboard for XAMPP</title>
12+
<title>XAMPP Board - Simple Dashboard for XAMPP</title>
1313

1414
<!-- Bootstrap Core CSS -->
1515
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
@@ -37,7 +37,7 @@
3737
<span class="icon-bar"></span>
3838
<span class="icon-bar"></span>
3939
</button>
40-
<a class="navbar-brand" href="#">MyDash</a>
40+
<a class="navbar-brand" href="#">XAMPP Board</a>
4141
</div>
4242
<!-- Collect the nav links, forms, and other content for toggling -->
4343
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
@@ -60,12 +60,12 @@
6060
$files_list = "";
6161
if ($handle = opendir('..')) {
6262
while (false !== ($entry = readdir($handle))) {
63-
if ($entry != "." && $entry != ".." && $entry != "xampp" && $entry != "dashboard" && $entry != "mydash") {
63+
if ($entry != "." && $entry != ".." && $entry != "xampp" && $entry != "dashboard" && $entry != "xamppboard") {
6464
if (is_dir(dirname(__FILE__, 2).'\\'.$entry))
6565
$dirs_list .= '
6666
<div class="col-lg-2 col-md-2 col-sm-3 col-xs-3 col-xxs-4 col-xxxs-6 margin-b webs">
6767
<a target="_blank" href="/'.$entry.'" data-href="'.$entry.'">
68-
<img class="img-responsive" style="padding:0 10px 3px 10px" src="assets/images/webs2.png" data-href="'.$entry.'">
68+
<img class="img-responsive" src="assets/images/webs2.png" data-href="'.$entry.'">
6969
</a><br>
7070
<a href="/'.$entry.'" data-href="'.$entry.'">
7171
'.$entry.'
@@ -95,17 +95,18 @@
9595
<div class="row">
9696

9797
<div class="col-lg-12">
98-
<h1 class="page-header">Your htdocs</h1>
98+
<h1 class="page-header">Your htdocs <br><span class="details"><?php print apache_get_version(); ?></h1>
99+
99100
</div>
100101
<?php
101-
echo $dirs_list;
102+
print $dirs_list;
102103
?>
103104

104105
</div>
105106

106107
<?php
107108
if ($files_list!='') {
108-
echo '
109+
print '
109110
<div class="row">'
110111
.$files_list.'
111112
</div>';
@@ -117,7 +118,7 @@
117118
<!-- Footer -->
118119
<footer class="py-5 bg-dark">
119120
<div class="container">
120-
<p class="m-0 text-center text-white">Copyright &copy; <a href="/myaghobi/mydash">MyDash</a> <?php print date("Y"); ?>.</p>
121+
<p class="m-0 text-center text-white">Copyright &copy; <?php print date("Y"); ?>, <a href="/myaghobi/xamppboard">XAMPP Board</a></p>
121122
</div>
122123
<!-- /.container -->
123124
</footer>
@@ -145,6 +146,8 @@
145146
<!-- jQuery -->
146147
<script src="assets/js/jquery.js"></script>
147148

149+
<!-- Bootstrap Core JavaScript -->
150+
<script src="assets/js/bootstrap.min.js"></script>
148151
<script>
149152
<?php
150153
echo 'var baseDir = "'.addslashes(dirname(__FILE__, 2)).'";';
File renamed without changes.

0 commit comments

Comments
 (0)