Skip to content

Commit

Permalink
Upgrade Bootstrap, jQuery and phpseclib
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazoyer committed Aug 14, 2023
1 parent b59bda6 commit 6523622
Show file tree
Hide file tree
Showing 2,380 changed files with 8,400 additions and 10,482 deletions.
2 changes: 1 addition & 1 deletion auth/ssh.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
include('libs/ClassLoader.php');

$loader = new \Composer\Autoload\ClassLoader();
$loader->addPsr4('phpseclib3\\', 'libs/phpseclib-3.0.14');
$loader->addPsr4('phpseclib3\\', 'libs/phpseclib-3.0.21');
$loader->addPsr4('ParagonIE\ConstantTime\\', 'libs/constant_time_encoding-2.5.0');
$loader->register();

Expand Down
12 changes: 7 additions & 5 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,12 @@ private function render_content() {
print('</div>');
print('<div class="result">');
print('<div id="output"></div>');
print('<div class="col-12 col-sm-8 col-md-6 mx-auto d-grid">');
print('<div class="row">');
print('<div class="col-4 offset-4 btn-group btn-group-lg">');
print('<button class="btn btn-danger" id="backhome">Reset</button>');
print('</div>');
print('</div>');
print('</div>');
}

private function render_footer() {
Expand Down Expand Up @@ -318,8 +320,8 @@ public function render() {
print($this->frontpage['additional_html_header']);
}
print('<title>'.htmlentities($this->frontpage['title']).'</title>');
print('<link href="libs/bootstrap-5.3.0-alpha1/css/bootstrap.min.css" rel="stylesheet">');
print('<link href="libs/bootstrap-icons-1.10.3/bootstrap-icons.css" rel="stylesheet">');
print('<link href="libs/bootstrap-5.3.1/css/bootstrap.min.css" rel="stylesheet">');
print('<link href="libs/bootstrap-icons-1.10.5/bootstrap-icons.css" rel="stylesheet">');
print('<link href="'.$this->frontpage['css'].'" rel="stylesheet">');
print('</head>');
print('<body class="d-flex flex-column h-100">');
Expand All @@ -335,8 +337,8 @@ public function render() {
print('</div>');
print('</main>');
print('</body>');
print('<script src="libs/jquery-3.6.3.min.js"></script>');
print('<script src="libs/bootstrap-5.3.0-alpha1/js/bootstrap.min.js"></script>');
print('<script src="libs/jquery-3.7.0.min.js"></script>');
print('<script src="libs/bootstrap-5.3.1/js/bootstrap.min.js"></script>');
print('<script src="js/looking-glass.js"></script>');
$this->captcha->render_script();
print('</html>');
Expand Down
1 change: 0 additions & 1 deletion libs/bootstrap-5.3.0-alpha1/css/bootstrap-grid.css.map

This file was deleted.

6 changes: 0 additions & 6 deletions libs/bootstrap-5.3.0-alpha1/css/bootstrap-grid.min.css

This file was deleted.

1 change: 0 additions & 1 deletion libs/bootstrap-5.3.0-alpha1/css/bootstrap-grid.min.css.map

This file was deleted.

1 change: 0 additions & 1 deletion libs/bootstrap-5.3.0-alpha1/css/bootstrap-grid.rtl.css.map

This file was deleted.

6 changes: 0 additions & 6 deletions libs/bootstrap-5.3.0-alpha1/css/bootstrap-grid.rtl.min.css

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion libs/bootstrap-5.3.0-alpha1/css/bootstrap-reboot.css.map

This file was deleted.

6 changes: 0 additions & 6 deletions libs/bootstrap-5.3.0-alpha1/css/bootstrap-reboot.min.css

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6523622

Please sign in to comment.