forked from minio/minio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove go-bindata-assetfs in favor of embed by upgrading to go…
…1.16 (minio#11733)
- Loading branch information
Showing
20 changed files
with
297 additions
and
828 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
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 |
---|---|---|
|
@@ -17,4 +17,3 @@ release | |
*.syso | ||
coverage.txt | ||
node_modules | ||
production |
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
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,11 @@ | ||
package browser | ||
|
||
import "embed" | ||
|
||
//go:embed production/* | ||
var fs embed.FS | ||
|
||
// GetStaticAssets returns assets | ||
func GetStaticAssets() embed.FS { | ||
return fs | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,59 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>MinIO Browser</title> | ||
|
||
<link rel="icon" type="image/png" sizes="32x32" href="/minio/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="96x96" href="/minio/favicon-96x96.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/minio/favicon-16x16.png"> | ||
|
||
<link rel="stylesheet" href="/minio/loader.css" type="text/css"> | ||
</head> | ||
|
||
<body> | ||
<div class="page-load"> | ||
<div class="pl-inner"> | ||
<img src="/minio/logo.svg" alt=""> | ||
</div> | ||
</div> | ||
<div id="root"></div> | ||
|
||
<!--[if lt IE 11]> | ||
<div class="ie-warning"> | ||
<div class="iw-inner"> | ||
<i class="iwi-icon fas fa-exclamation-triangle"></i> | ||
You are using Internet Explorer version 12.0 or lower. Due to security issues and lack of support for Web Standards it is highly recommended that you upgrade to a modern browser | ||
<ul> | ||
<li> | ||
<a href="http://www.google.com/chrome/"> | ||
<img src="chrome.png" alt=""> | ||
<div>Chrome</div> | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://www.mozilla.org/en-US/firefox/new/"> | ||
<img src="firefox.png" alt=""> | ||
<div>Firefox</div> | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://www.apple.com/safari/"> | ||
<img src="safari.png" alt=""> | ||
<div>Safari</div> | ||
</a> | ||
</li> | ||
</ul> | ||
<div class="iwi-skip">Skip & Continue</div> | ||
</div> | ||
</div> | ||
<![endif]--> | ||
|
||
<script>currentUiVersion = 'MINIO_UI_VERSION'</script> | ||
<script src="/minio/index_bundle.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.