boutils 10 年之前
父节点
当前提交
f5bc44ecef
共有 1 个文件被更改,包括 5 次插入13 次删除
  1. 5 13
      js/app.js

+ 5 - 13
js/app.js

@@ -1225,19 +1225,11 @@ app.controller('mainController', function($scope, $detection, $http, $mdSidenav,
                 'Cette demande porte le numéro: ' +
                 '<span style="color: #31708f;font-size:17px; font-weight:bold;">' + numDemande + '</span><br><br>' +
                 'Voici le détail de votre demande:' +
-                '<div bgColor="#d9edf7" BORDERCOLOR="#bce8f1" style="color: #31708f;background-color: #d9edf7;border-color: #bce8f1;padding: 10px;margin: 1em;font-size:14px;">' +
-                '<table style="line-height: 40px;" bgColor="#d9edf7">';
-
-        //  _.each($scope.result.eligibilite, function(value, key) {
-        //   body += '<tr>';
-        //   body += '<th style="text-align:left;">' + key + '</th>';
-        //   body += '<td>' + value + '</td>';
-        //   body += '</tr>';
-        // });
+                '<table WIDTH="100%" style="line-height: 40px;" bgColor="#d9edf7" bordercolor="#bce8f1">';
 
         // Numero demande
         body += '<tr>';
-        body += '<th style="text-align: left;white-space: nowrap;height: 40px;color: #666;">Numéro demande</th>';
+        body += '<th style="width:180px;text-align: left;white-space: nowrap;height: 40px;color: #666;">Numéro demande</th>';
         body += '<td>' + numDemande + '</td>';
         body += '</tr>';
 
@@ -1283,12 +1275,12 @@ app.controller('mainController', function($scope, $detection, $http, $mdSidenav,
 
         //console.log('$scope.result', $scope.result);
 
-        body += '</table></div><br><br>';
+        body += '</table><br><br>';
 
         body += 'Conformément à la loi "informatique et libertés" du 6 janvier 1978 modifiée, vous bénéficiez d’un droit d’accès, de rectification aux informations qui vous concernent, d’opposition au traitement de vos données personnelles. Si vous souhaitez exercer ce droit et obtenir la communication des informations vous concernant, merci de nous contacter :' + '<br>' +
-                '<table style="">' +
+                '<table bgcolor="#ddd" bordercolor="#666">' +
                 '  <tr>' +
-                ' <th style="text-align: left;white-space: nowrap;height: 30px;color: #666;">Email</th><td>' + siteEmail + '</td>' +
+                ' <th style="width:180px;text-align: left;white-space: nowrap;height: 30px;color: #666;">Email</th><td>' + siteEmail + '</td>' +
                 '  </tr><tr>' +
                 ' <th style="text-align: left;white-space: nowrap;height: 30px;color: #666;">Adresse</th><td>' + siteAddresse + '</td>' +
                 '  </tr><tr>' +