Skip to content

Commit

Permalink
Support for Jenkins installations without access to the Internet (closes
Browse files Browse the repository at this point in the history
 #8)
  • Loading branch information
jan-molak committed Aug 17, 2013
1 parent f94cb1a commit 00af156
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,13 @@ you'll need to apply your changes again after restart. I'm working on this one,

## License: MIT

## Open Source Libraries Used
## Open Source Software Used

* Angular.js
* Angular-slider http://prajwalkman.github.io/angular-slider/
* Customized Angular-bootstrap
* HTML5 Boilerplate normalize.css
* [Angular.js](http://angularjs.org/)
* [Angular-slider](http://prajwalkman.github.io/angular-slider/)
* Customised [Angular Bootstrap](http://angular-ui.github.io/bootstrap/)
* [HTML5 Boilerplate](http://html5boilerplate.com/) normalize.css
* [OpenSans font](http://www.google.com/fonts/specimen/Open+Sans) by Steve Matteson

## Inspired by

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,14 @@
<j:set var="angularVersion" value="1.1.5" />

<l:header>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,700"/>
<link rel="stylesheet" href="${resourcesURL}/styles/normalize.css"/>
<link rel="stylesheet" href="${resourcesURL}/styles/bootstrap-combined.2.3.2.min.css"/>
<link rel="stylesheet" href="${resourcesURL}/styles/angular-slider.css"/>

<link rel="stylesheet" href="${resourcesURL}/themes/industrial.css"/>

<script src="//ajax.googleapis.com/ajax/libs/angularjs/${angularVersion}/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/${angularVersion}/angular-cookies.min.js"></script>
<script>window.angular || document.write('\x3Cscript src="${resourcesURL}/libs/angular-${angularVersion}.min.js">\x3C/script>')</script>
<!-- todo: using window.angular is incorrect here; should check whether ngCookies is available instead! -->
<script>window.angular || document.write('\x3Cscript src="${resourcesURL}/libs/angular-cookies-${angularVersion}.min.js">\x3C/script>')</script>
<script src="${resourcesURL}/libs/angular-${angularVersion}.min.js"></script>
<script src="${resourcesURL}/libs/angular-cookies-${angularVersion}.min.js"></script>
<script src="${resourcesURL}/libs/ui-bootstrap-custom-tpls-0.4.0.js"></script>
<script src="${resourcesURL}/libs/angular-slider.js"></script>
</l:header>
Expand Down
13 changes: 13 additions & 0 deletions src/main/webapp/themes/industrial.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@
* Colours & Typography
*/

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url("industrial/open-sans-normal.woff") format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url("industrial/open-sans-bold.woff") format('woff');
}

html{color:#fff;font-family:'Open sans',sans-serif;font-size:16px;line-height:1.4;}
h1,h2,h3,h4,h5,h6 {
text-align:center;
Expand Down
Binary file not shown.
Binary file not shown.

2 comments on commit 00af156

@jaranflaath
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this commit! The plugin now runs without problems in our environment without internet access.

@jan-molak
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff, I'm glad I could help :)

Please sign in to comment.