-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Boostrap, remove MS tile code
- Loading branch information
1 parent
0c7ba92
commit 530bf9a
Showing
4 changed files
with
5 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>PhotoStack</title> | ||
<meta name="robots" content="noindex"> | ||
<meta name="description" content="Convert, resize, and add watermarks to images all in your web browser."> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="css/photostack.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"> | ||
<script src="js/shared.js"></script> | ||
|
@@ -17,8 +17,6 @@ | |
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png"> | ||
<link rel="manifest" href="site.webmanifest"> | ||
<link rel="shortcut icon" href="favicon.ico"> | ||
<meta name="msapplication-TileColor" content="#222222"> | ||
<meta name="msapplication-config" content="browserconfig.xml"> | ||
<meta name="theme-color" content="#222"> | ||
<!-- Analytics --> | ||
<script defer data-domain="edit.photostack.app" src="https://plausible.io/js/plausible.js"></script> | ||
|
@@ -149,7 +147,7 @@ | |
<!-- Resize card --> | ||
<div class="card bg-photostack mb-3 mt-3 mt-md-0"> | ||
<div class="card-header"> | ||
Cropping | ||
Crop | ||
</div> | ||
<div class="card-body pt-0 row"> | ||
<div class="col-12 col-sm-6 mt-3"> | ||
|
@@ -593,24 +591,11 @@ <h5 class="modal-title" id="photostack-watermark-editor-modal-title"></h5> | |
<script src="js/array-flat-polyfill.js"></script> <!-- Polyfill for Array.prototype.flat() --> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/FileSaver.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jszip.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/localforage.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pica.min.js"></script> | ||
<script src="js/editor.js"></script> | ||
<script src="js/register-sw.js"></script> | ||
<!-- PhotoStack Classic redirects --> | ||
<script> | ||
// All IE versions | ||
if (window.navigator.userAgent.match(/(MSIE|Trident)/)) { | ||
window.location.replace('https://classic.photostack.app') | ||
} | ||
// Browsers that fail feature checks | ||
var storageCheck = (localforage.supports(localforage.INDEXEDDB) || localforage.supports(localforage.WEBSQL)) | ||
if ((!(Modernizr.promises && storageCheck)) && (localStorage['android-app'] != 'true')) { | ||
window.location.replace('https://classic.photostack.app') | ||
} | ||
|
||
</script> | ||
</body> | ||
|
||
</html> |