diff --git a/Bootstrap.Admin/Views/Admin/Profiles.cshtml b/Bootstrap.Admin/Views/Admin/Profiles.cshtml
index f3d369c0..a49ec6c6 100644
--- a/Bootstrap.Admin/Views/Admin/Profiles.cshtml
+++ b/Bootstrap.Admin/Views/Admin/Profiles.cshtml
@@ -11,6 +11,7 @@
+
}
@section css {
diff --git a/Bootstrap.Admin/wwwroot/css/site.css b/Bootstrap.Admin/wwwroot/css/site.css
index 773e2696..7060b417 100644
--- a/Bootstrap.Admin/wwwroot/css/site.css
+++ b/Bootstrap.Admin/wwwroot/css/site.css
@@ -84,7 +84,7 @@ a, a:hover, a:focus {
color: #777;
}
- .header > .dropdown > a:hover, .header > .dropdown.open > a, .notify-row > li > a:hover {
+ .header > .dropdown > a:hover, .header > .dropdown.show > a, .notify-row > li > a:hover {
border: 1px solid #777;
color: #333
}
diff --git a/Bootstrap.Admin/wwwroot/js/Profiles.js b/Bootstrap.Admin/wwwroot/js/Profiles.js
index dd03f267..54029bf9 100644
--- a/Bootstrap.Admin/wwwroot/js/Profiles.js
+++ b/Bootstrap.Admin/wwwroot/js/Profiles.js
@@ -4,6 +4,7 @@
$('#fileIcon').fileinput({
uploadUrl: $.formatUrl(Profiles.url),
browseOnZoneClick: true,
+ theme: 'fa',
language: 'zh',
maxFileSize: 5000,
allowedFileExtensions: ['jpg', 'png', 'bmp', 'gif', 'jpeg'],
diff --git a/Bootstrap.Admin/wwwroot/js/theme.js b/Bootstrap.Admin/wwwroot/js/theme.js
new file mode 100644
index 00000000..080dd817
--- /dev/null
+++ b/Bootstrap.Admin/wwwroot/js/theme.js
@@ -0,0 +1,47 @@
+/*!
+ * bootstrap-fileinput v4.4.9
+ * http://plugins.krajee.com/file-input
+ *
+ * Font Awesome icon theme configuration for bootstrap-fileinput. Requires font awesome assets to be loaded.
+ *
+ * Author: Kartik Visweswaran
+ * Copyright: 2014 - 2018, Kartik Visweswaran, Krajee.com
+ *
+ * Licensed under the BSD 3-Clause
+ * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
+ */
+(function ($) {
+ "use strict";
+
+ $.fn.fileinputThemes.fa = {
+ fileActionSettings: {
+ removeIcon: '',
+ uploadIcon: '',
+ uploadRetryIcon: '',
+ downloadIcon: '',
+ zoomIcon: '',
+ dragIcon: '',
+ indicatorNew: '',
+ indicatorSuccess: '',
+ indicatorError: '',
+ indicatorLoading: ''
+ },
+ layoutTemplates: {
+ fileIcon: ' '
+ },
+ previewZoomButtonIcons: {
+ prev: '',
+ next: '',
+ toggleheader: '',
+ fullscreen: '',
+ borderless: '',
+ close: ''
+ },
+ previewFileIcon: '',
+ browseIcon: '',
+ removeIcon: '',
+ cancelIcon: '',
+ uploadIcon: '',
+ msgValidationErrorIcon: ' '
+ };
+})(window.jQuery);