Skip to content

The Unified and Autonomous Development Platform

refactoring font icons

stevec65570a12da6
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/css/base.css b/gitop.web/src/main/java/com/pmease/gitop/web/assets/css/base.css
index 2388adabda..5f4ff38069 100644
--- a/gitop.web/src/main/java/com/pmease/gitop/web/assets/css/base.css
+++ b/gitop.web/src/main/java/com/pmease/gitop/web/assets/css/base.css
@@ -71,11 +71,11 @@ ul.piped, ol.piped { margin: 0; padding: 0; }
/* ADDITIONAL ICONS */
@font-face {
font-family: 'pmease-icons';
- src: url('../font/pui-icons-regular-webfont.eot?1.0.1.8');
- src: url('../font/pui-icons-regular-webfont.eot?1.0.1.8#iefix') format('embedded-opentype'),
- url('../font/pui-icons-regular-webfont.woff?1.0.1.8') format('woff'),
- url('../font/pui-icons-regular-webfont.ttf?1.0.1.8') format('truetype'),
- url('../font/pui-icons-regular-webfont.svg?1.0.1.8#pui-iconsregular') format('svg');
+ src: url('../fonts/pui-icons-regular-webfont.eot?1.0.1.8');
+ src: url('../fonts/pui-icons-regular-webfont.eot?1.0.1.8#iefix') format('embedded-opentype'),
+ url('../fonts/pui-icons-regular-webfont.woff?1.0.1.8') format('woff'),
+ url('../fonts/pui-icons-regular-webfont.ttf?1.0.1.8') format('truetype'),
+ url('../fonts/pui-icons-regular-webfont.svg?1.0.1.8#pui-iconsregular') format('svg');
font-weight: normal;
font-style: normal;
}
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/FontAwesome.otf b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/FontAwesome.otf
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/FontAwesome.otf
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/FontAwesome.otf
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/fontawesome-webfont.eot b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/fontawesome-webfont.eot
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/fontawesome-webfont.eot
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/fontawesome-webfont.eot
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/fontawesome-webfont.svg b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/fontawesome-webfont.svg
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/fontawesome-webfont.svg
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/fontawesome-webfont.svg
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/fontawesome-webfont.ttf b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/fontawesome-webfont.ttf
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/fontawesome-webfont.ttf
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/fontawesome-webfont.ttf
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/fontawesome-webfont.woff b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/fontawesome-webfont.woff
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/fontawesome-webfont.woff
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/fontawesome-webfont.woff
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/glyphicons-halflings-regular.eot b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/glyphicons-halflings-regular.eot
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/glyphicons-halflings-regular.eot
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/glyphicons-halflings-regular.eot
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/glyphicons-halflings-regular.svg b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/glyphicons-halflings-regular.svg
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/glyphicons-halflings-regular.svg
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/glyphicons-halflings-regular.svg
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/glyphicons-halflings-regular.ttf b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/glyphicons-halflings-regular.ttf
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/glyphicons-halflings-regular.ttf
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/glyphicons-halflings-regular.ttf
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/glyphicons-halflings-regular.woff b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/glyphicons-halflings-regular.woff
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/glyphicons-halflings-regular.woff
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/glyphicons-halflings-regular.woff
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/pui-icons-regular-webfont.eot b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/pui-icons-regular-webfont.eot
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/pui-icons-regular-webfont.eot
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/pui-icons-regular-webfont.eot
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/pui-icons-regular-webfont.svg b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/pui-icons-regular-webfont.svg
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/pui-icons-regular-webfont.svg
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/pui-icons-regular-webfont.svg
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/pui-icons-regular-webfont.ttf b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/pui-icons-regular-webfont.ttf
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/pui-icons-regular-webfont.ttf
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/pui-icons-regular-webfont.ttf
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/pui-icons-regular-webfont.woff b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/pui-icons-regular-webfont.woff
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/pui-icons-regular-webfont.woff
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/pui-icons-regular-webfont.woff
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/font/pui-icons.otf b/gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/pui-icons.otf
similarity index 100%
rename from gitop.web/src/main/java/com/pmease/gitop/web/assets/font/pui-icons.otf
rename to gitop.web/src/main/java/com/pmease/gitop/web/assets/fonts/pui-icons.otf
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/common/form/flatcheckbox/flatui-checkbox.js b/gitop.web/src/main/java/com/pmease/gitop/web/common/form/flatcheckbox/flatui-checkbox.js
index a2b8aa4ee2..d82c6f80ab 100644
--- a/gitop.web/src/main/java/com/pmease/gitop/web/common/form/flatcheckbox/flatui-checkbox.js
+++ b/gitop.web/src/main/java/com/pmease/gitop/web/common/form/flatcheckbox/flatui-checkbox.js
@@ -78,7 +78,7 @@
$.fn.checkbox.defaults = {
/* template: '<span class="icons"><span class="first-icon fui-checkbox-unchecked"></span><span class="second-icon fui-checkbox-checked"></span></span>' */
- template: '<span class="icon-checkbox"></span>'
+ template: '<span class="fa fa-fw icon-checkbox"></span>'
}
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/shiro/LoginPage.html b/gitop.web/src/main/java/com/pmease/gitop/web/shiro/LoginPage.html
index f2ca322f63..387a5f7630 100644
--- a/gitop.web/src/main/java/com/pmease/gitop/web/shiro/LoginPage.html
+++ b/gitop.web/src/main/java/com/pmease/gitop/web/shiro/LoginPage.html
@@ -6,11 +6,11 @@
<div wicket:id="feedback" class="form-feedback"></div>
<form wicket:id="login" method="post">
<div class="input-group user-group">
- <span class="input-group-addon"><i class="icon-user icon-fixed-width"></i></span>
+ <span class="input-group-addon"><i class="fa fa-user fa-fw"></i></span>
<input wicket:id="username" type="text" class="form-control input-lg focusable" placeholder="User name"/>
</div>
<div class="input-group password-group">
- <span class="input-group-addon"><i class="icon-lock icon-fixed-width"></i></span>
+ <span class="input-group-addon"><i class="fa fa-lock fa-fw"></i></span>
<input wicket:id="password" type="password" class="form-control input-lg" placeholder="Password"/>
</div>
<div class="row">