Skip to content

Commit

Permalink
Fix indent based on OC coding guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
felixheidecke authored and ivantha committed Aug 14, 2018
1 parent ddfa08f commit 630dfa5
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 40 deletions.
4 changes: 2 additions & 2 deletions apps/files/src/components/Files-App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,12 @@
});
this.offlineNotified = true;
}
}
let cachedFiles = JSON.parse(localStorage.getItem(absolutePath));
if(cachedFiles == null){
cachedFiles = [];
}
}
this.files = cachedFiles;
Expand Down
48 changes: 24 additions & 24 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@
<meta charset="UTF-8">
<title>ownCloud Phoenix</title>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="theme-color" content="#375f7E"/>
<link rel="manifest" href="manifest.json">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<meta name="theme-color" content="#375f7E"/>
<link rel="manifest" href="manifest.json">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="core/css/uikit.owncloud.css" />
<noscript>
<style>
#enable-js-banner {
display: flex;
flex-direction: row;
justify-content: center;
padding: 0.5rem;
background-color: #467391;
}
<noscript>
<style>
#enable-js-banner {
display: flex;
flex-direction: row;
justify-content: center;
padding: 0.5rem;
background-color: #467391;
}

#banner-content{
color: white;
}
</style>
</noscript>
#banner-content{
color: white;
}
</style>
</noscript>
</head>
<body>
<section id="owncloud"></section>
<script data-main="core/js/core.bundle.js" src="node_modules/requirejs/require.js"></script>
<script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js')
Expand All @@ -39,11 +39,11 @@
});
});
}
</script>
<noscript>
<div id="enable-js-banner">
<span id="banner-content"><h3>Please enable JavaScript</h3></span>
</div>
</noscript>
</script>
<noscript>
<div id="enable-js-banner">
<span id="banner-content"><h3>Please enable JavaScript</h3></span>
</div>
</noscript>
</body>
</html>
26 changes: 12 additions & 14 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"name": "Phoenix | ownCloud",
"short_name": "Phoenix",
"icons": [
{
"src": "/img/app.png",
"sizes": "512x512",
"type": "image/png"
}
],
"name": "Phoenix | ownCloud",
"short_name": "Phoenix",
"icons": [{
"src": "/img/app.png",
"sizes": "512x512",
"type": "image/png"
}],

"start_url": "/",
"start_url": "/",

"display": "fullscreen",
"orientation": "portrait",
"display": "fullscreen",
"orientation": "portrait",

"background_color": "#FFFFFF",
"theme_color": "#375f7E"
"background_color": "#FFFFFF",
"theme_color": "#375f7E"
}

0 comments on commit 630dfa5

Please sign in to comment.