Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
brianbaker committed May 5, 2022
1 parent 8d71e1d commit ef0ce64
Show file tree
Hide file tree
Showing 14 changed files with 72 additions and 64 deletions.
2 changes: 1 addition & 1 deletion docs/src/app-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ To guarantee uniqueness, we have provided an AppID generation service that allow

Once you have your AppID, start by setting up your project. You will need at least one file: the **App Manifest**. Create a new file called `manifest.js`. Also, chances are you'll want custom styling and functionality, so go ahead and create `appclass.js` (for your app logic) and `app.css` for your CSS. Your project folder should look like this:

![](./img/project_folder.png 'Setup your project')
![](img/project_folder.png 'Setup your project')

<span class="label label-default">Helper</span> [Download the F2 examples](https://openf2.github.io/F2/F2-examples.zip) or read about [setting up a basic container and app](#get-started) in Getting Started.

Expand Down
4 changes: 2 additions & 2 deletions docs/src/css/less/footer.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ footer {
h1 {
width: @navbar-width;
height: @navbar-height;
background: transparent url('/img/logo.png?v=@{version}') top left no-repeat;
background: transparent url('../img/logo.png?v=@{version}') top left no-repeat;
.text-hide();

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
background-image: url('/img/[email protected]?v=@{version}');
background-image: url('../img/[email protected]?v=@{version}');
background-size: @navbar-width @navbar-height;
}
}
Expand Down
20 changes: 10 additions & 10 deletions docs/src/css/less/homepage-gallery.less
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@
height: 12px;
display: block;
outline: none;
background: transparent url('/img/gallery_dot.png?v=@{version}') center
background: transparent url('img/gallery_dot.png?v=@{version}') center
center;

&.active {
background-image: url('/img/gallery_dot_active.png?v=@{version}');
background-image: url('img/gallery_dot_active.png?v=@{version}');
}
}
}
Expand Down Expand Up @@ -210,7 +210,7 @@
margin: 0;
width: 100%;
outline: none;
background-image: url('/img/blank.gif?v=@{version}');
background-image: url('img/blank.gif?v=@{version}');
cursor: pointer;

&:hover {
Expand Down Expand Up @@ -244,7 +244,7 @@

b {
float: right;
background-image: url('/img/paddle_prev.png?v=@{version}');
background-image: url('img/paddle_prev.png?v=@{version}');
}
}

Expand All @@ -257,7 +257,7 @@

b {
float: left;
background-image: url('/img/paddle_next.png?v=@{version}');
background-image: url('img/paddle_next.png?v=@{version}');
}
}
}
Expand Down Expand Up @@ -285,7 +285,7 @@
}

.layers {
background: transparent url('/img/gallery-multivendor.png?v=@{version}')
background: transparent url('img/gallery-multivendor.png?v=@{version}')
center bottom no-repeat;
background-size: 300px 143px;

Expand All @@ -308,16 +308,16 @@
//Compensations for < IE 9
.no-backgroundsize {
#gallery-multivendor .layers {
background-image: url('/img/gallery-multivendor-300x143.png?v=@{version}');
background-image: url('img/gallery-multivendor-300x143.png?v=@{version}');
@media (min-width: @screen-sm-min) {
background-image: url('/img/gallery-multivendor-680x323.png?v=@{version}');
background-image: url('img/gallery-multivendor-680x323.png?v=@{version}');
}
@media (min-width: @screen-md-min) {
background-image: url('/img/gallery-multivendor-540x256.png?v=@{version}');
background-image: url('img/gallery-multivendor-540x256.png?v=@{version}');
background-position: 95%;
}
@media (min-width: @screen-lg-min) {
background-image: url('/img/gallery-multivendor-740x351.png?v=@{version}');
background-image: url('img/gallery-multivendor-740x351.png?v=@{version}');
background-position: right top;
}
}
Expand Down
14 changes: 7 additions & 7 deletions docs/src/css/less/homepage.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.intro {
&.aboutbox {
@media (min-width: @screen-sm-min) {
background: @navbar-inverse-bg url('/img/header-bg.png?v=@{version}')
background: @navbar-inverse-bg url('img/header-bg.png?v=@{version}')
center -228px no-repeat;
}

Expand Down Expand Up @@ -106,31 +106,31 @@
background-position: center center;

&.standardized {
background-image: url('/img/icon_standardization.png?v=@{version}');
background-image: url('img/icon_standardization.png?v=@{version}');

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
background-image: url('/img/[email protected]?v=@{version}');
background-image: url('img/[email protected]?v=@{version}');
background-size: 19px 25px;
}
}

&.efficency {
background-image: url('/img/icon_efficency.png?v=@{version}');
background-image: url('img/icon_efficency.png?v=@{version}');

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
background-image: url('/img/[email protected]?v=@{version}');
background-image: url('img/[email protected]?v=@{version}');
background-size: 25px 23px;
}
}

&.nimbleness {
background-image: url('/img/icon_nimbleness.png?v=@{version}');
background-image: url('img/icon_nimbleness.png?v=@{version}');

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
background-image: url('/img/[email protected]?v=@{version}');
background-image: url('img/[email protected]?v=@{version}');
background-size: 24px 24px;
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/css/less/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
height: 43px;
display: block;
position: absolute;
background: transparent url('/img/howitworks_qmark.png');
background: transparent url('img/howitworks_qmark.png');
top: -22px;
left: 50%;

Expand Down
6 changes: 3 additions & 3 deletions docs/src/css/less/nav.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//put this background image only on the home page
.home .navbar-inverse {
@media (min-width: @screen-sm-min) {
background: @navbar-inverse-bg url('/img/header-bg.png?v=@{version}') center -114px
background: @navbar-inverse-bg url('img/header-bg.png?v=@{version}') center -114px
no-repeat;
}

Expand Down Expand Up @@ -48,10 +48,10 @@
}
width: @navbar-width;
height: @navbar-height;
background: transparent url('/img/logo.png?v=@{version}') top left no-repeat;
background: transparent url('../img/logo.png?v=@{version}') top left no-repeat;

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
background-image: url('/img/[email protected]?v=@{version}');
background-image: url('../img/[email protected]?v=@{version}');
background-size: @navbar-width @navbar-height;
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/css/less/site.less
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ dl.faq {
top: 46%;
left: 0px;
content: '';
background: url('/img/gallery-multivendor-740x351.png?v=@{version}');
background: url('img/gallery-multivendor-740x351.png?v=@{version}');
.opacity(0.05);
transform: rotateX(50deg) rotateZ(0deg) rotateY(0deg) translateY(-14%)
translateX(-10%) translateZ(370px);
Expand Down
38 changes: 19 additions & 19 deletions docs/src/sdk-template/layouts/main.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="description" content="F2 is an open and free web integration framework designed to help you and other financial industry participants develop custom solutions that combine the best tools and content from multiple providers into one, privately-labeled, seamlessly integrated front-end."/>
<meta name="viewport" content="width=device-width initial-scale=1.0"/>
<link rel="stylesheet" href="/css/site.css?v={{projectVersion}}"/>
<link rel="stylesheet" href="../css/site.css?v={{projectVersion}}"/>
<link rel="stylesheet" href="{{projectAssets}}/css/custom.css">
<link rel="stylesheet" href="{{projectAssets}}/css/prettify.css">
<link rel="shortcut icon" href="/img/favicon.ico?v={{projectVersion}}" type="image/x-icon"/>
<link rel="shortcut icon" href="../img/favicon.ico?v={{projectVersion}}" type="image/x-icon"/>
<meta name="apple-mobile-web-app-title" content="F2"/>
<link rel="apple-touch-icon" href="/img/apple-touch-icon.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="57x57" href="/img/apple-touch-icon-57x57.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="60x60" href="/img/apple-touch-icon-60x60.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="72x72" href="/img/apple-touch-icon-72x72.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="76x76" href="/img/apple-touch-icon-76x76.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="114x114" href="/img/apple-touch-icon-114x114.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="120x120" href="/img/apple-touch-icon-120x120.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="144x144" href="/img/apple-touch-icon-144x144.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="152x152" href="/img/apple-touch-icon-152x152.png?v={{projectVersion}}"/>
<meta name="msapplication-square70x70logo" content="/img/smalltile.png?v={{projectVersion}}"/>
<meta name="msapplication-square150x150logo" content="/img/mediumtile.png?v={{projectVersion}}"/>
<meta name="msapplication-wide310x150logo" content="/img/widetile.png?v={{projectVersion}}"/>
<meta name="msapplication-square310x310logo" content="/img/largetile.png?v={{projectVersion}}"/><!--[if lt IE 9]>
<script src="/js/thirdparty/polyfills/es5.js?v={{projectVersion}}"></script><![endif]-->
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="57x57" href="../img/apple-touch-icon-57x57.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="60x60" href="../img/apple-touch-icon-60x60.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="76x76" href="../img/apple-touch-icon-76x76.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="120x120" href="../img/apple-touch-icon-120x120.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="144x144" href="../img/apple-touch-icon-144x144.png?v={{projectVersion}}"/>
<link rel="apple-touch-icon" sizes="152x152" href="../img/apple-touch-icon-152x152.png?v={{projectVersion}}"/>
<meta name="msapplication-square70x70logo" content="../img/smalltile.png?v={{projectVersion}}"/>
<meta name="msapplication-square150x150logo" content="../img/mediumtile.png?v={{projectVersion}}"/>
<meta name="msapplication-wide310x150logo" content="../img/widetile.png?v={{projectVersion}}"/>
<meta name="msapplication-square310x310logo" content="../img/largetile.png?v={{projectVersion}}"/><!--[if lt IE 9]>
<script src="../js/thirdparty/polyfills/es5.js?v={{projectVersion}}"></script><![endif]-->
<!--[if lt IE 9]>
<script src="/js/thirdparty/respond.min.js?v={{projectVersion}}"></script><![endif]-->
<script src="../js/thirdparty/respond.min.js?v={{projectVersion}}"></script><![endif]-->
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<style>
.pageContent {
Expand Down Expand Up @@ -68,7 +68,7 @@
</div>
<div id="f2navbarcollapse" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="examples.html">Examples</a></li>
<li><a href="../examples.html">Examples</a></li>
<li><a href="https://github.com/OpenF2/F2">GitHub</a></li>
</ul>
</div>
Expand Down Expand Up @@ -172,7 +172,7 @@
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.js"></script>
<script src="{{projectAssets}}/js/yuidoc-bootstrap.js"></script>
<!-- <script src="js/docs.js" type="text/javascript"></script>
<!-- <script src="../js/docs.js" type="text/javascript"></script>
<script type="text/javascript">new F2Docs().initialize();</script>-->
<script>
window.prettyPrint && prettyPrint();
Expand Down
30 changes: 15 additions & 15 deletions docs/src/template/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,69 +5,69 @@
content="F2 is an open and free web integration framework designed to help you and other financial industry participants develop custom solutions that combine the best tools and content from multiple providers into one, privately-labeled, seamlessly integrated front-end."
/>
<meta name="viewport" content="width=device-width initial-scale=1.0" />
<link rel="stylesheet" href="/css/site.css?v={{version}}" />
<link rel="stylesheet" href="css/site.css?v={{version}}" />
<link
rel="shortcut icon"
href="/img/favicon.ico?v={{version}}"
href="img/favicon.ico?v={{version}}"
type="image/x-icon"
/>
<meta name="apple-mobile-web-app-title" content="F2" />
<link rel="apple-touch-icon" href="/img/apple-touch-icon.png?v={{version}}" />
<link rel="apple-touch-icon" href="img/apple-touch-icon.png?v={{version}}" />
<link
rel="apple-touch-icon"
sizes="57x57"
href="/img/apple-touch-icon-57x57.png?v={{version}}"
href="img/apple-touch-icon-57x57.png?v={{version}}"
/>
<link
rel="apple-touch-icon"
sizes="60x60"
href="/img/apple-touch-icon-60x60.png?v={{version}}"
href="img/apple-touch-icon-60x60.png?v={{version}}"
/>
<link
rel="apple-touch-icon"
sizes="72x72"
href="/img/apple-touch-icon-72x72.png?v={{version}}"
href="img/apple-touch-icon-72x72.png?v={{version}}"
/>
<link
rel="apple-touch-icon"
sizes="76x76"
href="/img/apple-touch-icon-76x76.png?v={{version}}"
href="img/apple-touch-icon-76x76.png?v={{version}}"
/>
<link
rel="apple-touch-icon"
sizes="114x114"
href="/img/apple-touch-icon-114x114.png?v={{version}}"
href="img/apple-touch-icon-114x114.png?v={{version}}"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="/img/apple-touch-icon-120x120.png?v={{version}}"
href="img/apple-touch-icon-120x120.png?v={{version}}"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="/img/apple-touch-icon-144x144.png?v={{version}}"
href="img/apple-touch-icon-144x144.png?v={{version}}"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="/img/apple-touch-icon-152x152.png?v={{version}}"
href="img/apple-touch-icon-152x152.png?v={{version}}"
/>
<meta
name="msapplication-square70x70logo"
content="/img/smalltile.png?v={{version}}"
content="img/smalltile.png?v={{version}}"
/>
<meta
name="msapplication-square150x150logo"
content="/img/mediumtile.png?v={{version}}"
content="img/mediumtile.png?v={{version}}"
/>
<meta
name="msapplication-wide310x150logo"
content="/img/widetile.png?v={{version}}"
content="img/widetile.png?v={{version}}"
/>
<meta
name="msapplication-square310x310logo"
content="/img/largetile.png?v={{version}}"
content="img/largetile.png?v={{version}}"
/><!--[if lt IE 9]>
<script src="/js/thirdparty/polyfills/es5.js?v={{version}}"></script
><![endif]-->
Expand Down
2 changes: 1 addition & 1 deletion docs/src/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
version: `${pkg.version}`
},
sourceMap: true,
sourceMapURL: '/css/site.css.map'
sourceMapURL: 'css/site.css.map'
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion examples/container-amd/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
<li><a href="../container-autoload/index.html">Autoload</a></li>
</ul>
</li>
<li><a href="https://openf2.github.io/F2" target="_blank">Docs</a></li>
<li>
<a href="https://openf2.github.io/F2" target="_blank">Docs</a>
</li>
<li class="divider-vertical"></li>
<li>
<a href="https://github.com/OpenF2/F2" target="_blank">GitHub</a>
Expand Down
4 changes: 3 additions & 1 deletion examples/container-autoload/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
<li class="active"><a href="./index.html">Autoload</a></li>
</ul>
</li>
<li><a href="https://openf2.github.io/F2" target="_blank">Docs</a></li>
<li>
<a href="https://openf2.github.io/F2" target="_blank">Docs</a>
</li>
<li class="divider-vertical"></li>
<li>
<a href="https://github.com/OpenF2/F2" target="_blank">GitHub</a>
Expand Down
4 changes: 3 additions & 1 deletion examples/container-locale/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@
<li><a href="#" data-locale="en-gb">en-gb</a></li>
</ul>
</li>
<li><a href="https://openf2.github.io/F2" target="_blank">Docs</a></li>
<li>
<a href="https://openf2.github.io/F2" target="_blank">Docs</a>
</li>
<li class="divider-vertical"></li>
<li>
<a href="https://github.com/OpenF2/F2" target="_blank">GitHub</a>
Expand Down
4 changes: 3 additions & 1 deletion examples/container/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
<li><a href="../container-autoload/index.html">Autoload</a></li>
</ul>
</li>
<li><a href="https://openf2.github.io/F2" target="_blank">Docs</a></li>
<li>
<a href="https://openf2.github.io/F2" target="_blank">Docs</a>
</li>
<li class="divider-vertical"></li>
<li>
<a href="https://github.com/OpenF2/F2" target="_blank">GitHub</a>
Expand Down

0 comments on commit ef0ce64

Please sign in to comment.