Commit 1f5cf310 authored by Eric Seigne's avatar Eric Seigne
Browse files

customization

parent 60f7392a
......@@ -5,7 +5,7 @@ plugins/
platforms/ios
platforms/ios/build/
platforms/ios/www/
platforms/ios/cordova/console.log
platforms/ios/cordova/myDebug
*.xcuserdatad
# Android Platform
......
......@@ -115,6 +115,7 @@
<param name="ios-package" value="CDVLogger" />
</feature>
<access origin='*' allows-arbitrary-loads-for-media='true' allows-arbitrary-loads-in-web-content='true' allows-local-networking='true' />
<edit-config file="*-Info.plist" mode="overwrite" target="CFBundleDevelopmentRegion">
<string>French</string>
</edit-config>
......
<ons-page id="ONSAgendaIK">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Agenda
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSApropos">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
À propos
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSBienvenue2">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Bienvenue
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSBienvenue3">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Bienvenue
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSBienvenue4">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Bienvenue
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSBienvenue5">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Bienvenue
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSBienvenue6">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Bienvenue
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSBienvenue">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Bienvenue
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSConfigAddVehicule">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Ajout d'un véhicule
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSConfigAddVehiculePro">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Véhicule Pro
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSExportCompta">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Export Compta
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......@@ -91,7 +91,7 @@
if ($("#leformcompta").valid()) {
//Si le formulaire est valide on sauvegarde les données
for (let key of configKeys) {
// console.log("On cherche " + key);
// myDebug("On cherche " + key);
if (localGetData("nom") !== null) {
localStoreData(key, $('#' + key).val());
}
......
<ons-page id="ONSConfig">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Configuration
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
......@@ -326,11 +326,18 @@ select::-ms-expand {
margin-top: 10px;
}
#titreDoliScan {
font-size: 28px;
margin-left: 10px;
margin-top: 10px;
#homeLogo {
max-width: 135px;
margin-top: -5px;
max-height: 35px;
}
#titreDoliscan {
font-size: 38px;
margin-left: 20px;
margin-top: 4px;
line-height: unset;
font-family: Penna, sans-serif;
}
#menuHautDroite {
......
<ons-page id="ONSDetails">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Note de frais
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......@@ -78,18 +78,18 @@
fileEntry.createWriter(function (fileWriter) {
fileWriter.onwriteend = function (e) {
// great success!
// console.log('Write of file completed.');
// console.log(fileEntry.fullPath);
// console.log(fileEntry);
// myDebug('Write of file completed.');
// myDebug(fileEntry.fullPath);
// myDebug(fileEntry);
cordova.plugins.fileOpener2.open(
cordova.file.cacheDirectory + fileEntry.fullPath,
'application/pdf',
{
error: function (e) {
// console.log('Error status: ' + e.status + ' - Error message: ' + e.message);
// myDebug('Error status: ' + e.status + ' - Error message: ' + e.message);
},
success: function () {
// console.log('file opened successfully');
// myDebug('file opened successfully');
}
}
);
......@@ -97,7 +97,7 @@
fileWriter.onerror = function (e) {
// Meh - fail
// console.log('Write failed');
// myDebug('Write failed');
};
fileWriter.write(dataPDF);
......@@ -155,18 +155,18 @@
fileEntry.createWriter(function (fileWriter) {
fileWriter.onwriteend = function (e) {
// great success!
// console.log('Write of file completed.');
// console.log(fileEntry.fullPath);
// console.log(fileEntry);
// myDebug('Write of file completed.');
// myDebug(fileEntry.fullPath);
// myDebug(fileEntry);
cordova.plugins.fileOpener2.open(
cordova.file.cacheDirectory + fileEntry.fullPath,
'application/pdf',
{
error: function (e) {
// console.log('Error status: ' + e.status + ' - Error message: ' + e.message);
// myDebug('Error status: ' + e.status + ' - Error message: ' + e.message);
},
success: function () {
// console.log('file opened successfully');
// myDebug('file opened successfully');
}
}
);
......@@ -174,7 +174,7 @@
fileWriter.onerror = function (e) {
// Meh - fail
// console.log('Write failed');
// myDebug('Write failed');
};
fileWriter.write(dataPDF);
......
<ons-page id="ONSDetailsLDF">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Détails
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSFraisIK">
<ons-toolbar modifier="material">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Dev zone
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
<ons-icon icon="md-menu"></ons-icon>
</ons-toolbar-button>
</div>
</ons-toolbar>
<div id="container">
<form id="leformDev" name="leformDev">
<ons-row>
<ons-col>
<ons-button modifier="material large" onclick="downloadCustomLogo('leformDev');">Download</ons-button>
</ons-col>
</ons-row>
<ons-row>
<ons-col>
<ons-button modifier="material large" onclick="devTestLoad('leformDev');">Load CSS</ons-button>
</ons-col>
</ons-row>
</form>
</div>
<script type="text/javascript">
</script>
</ons-page>
<ons-page id="ONSFraisCarburant">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Carburant
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
<ons-page id="ONSFraisDivers">
<ons-toolbar modifier="material">
<div id="titreDoliScan" class="left" onclick="gotoPage('menu.html');">
<div id="titreNav" class="left" onclick="gotoPage('menu.html');">
Divers
</div>
<div id="home" class="left" onclick="gotoPage('menu.html');">
<i class="fas fa-home"></i>
<img src="img/logo_square.png" id="homeLogo" />
</div>
<div id="menuHautDroite" class="right">
<ons-toolbar-button onclick="fn.open()">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment