diff --git a/development.ini b/development.ini
index b1a0ec8..26026d7 100644
--- a/development.ini
+++ b/development.ini
@@ -22,7 +22,7 @@ pyramid.includes =
sqlalchemy.url = mysql://phuoc:phuoc!@localhost/bddevfac?charset=utf8
# sqlalchemy.url = mysql://root:cni/@srvbd/bddevfac?charset=utf8
-mondumas.admin_email = ctphuoc@bbox.fr
+mondumas.admin_email = phuoc@caotek.fr
mondumas.devfac_url = mondumas:static/DEVFAC/
mondumas.devfac_dir = /DEVFAC14/DOCS_ATTACHES
diff --git a/mondumas/layout.py b/mondumas/layout.py
index 18c032e..26c42cb 100644
--- a/mondumas/layout.py
+++ b/mondumas/layout.py
@@ -49,9 +49,13 @@ class GlobalLayout(object):
def isWebPage(self):
# test view name
- if self.request.matched_route.name == 'rdf_rapport':
- # oui, page PDF
- return False
+ if self.request.matched_route:
+ if self.request.matched_route.name == 'rdf_rapport':
+ # oui, page PDF
+ return False
+ else:
+ # non, page web
+ return True
else:
# non, page web
return True
diff --git a/mondumas/static/css/style.less b/mondumas/static/css/style.less
index d72b595..959ff70 100644
--- a/mondumas/static/css/style.less
+++ b/mondumas/static/css/style.less
@@ -181,4 +181,45 @@
width: 350px;
height: 150px;
padding: 20px;
+}
+
+.gly-spin {
+ -webkit-animation: spin 2s infinite linear;
+ -moz-animation: spin 2s infinite linear;
+ -o-animation: spin 2s infinite linear;
+ animation: spin 2s infinite linear;
+}
+@-moz-keyframes spin {
+ 0% {
+ -moz-transform: rotate(0deg);
+ }
+ 100% {
+ -moz-transform: rotate(359deg);
+ }
+}
+@-webkit-keyframes spin {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(359deg);
+ }
+}
+@-o-keyframes spin {
+ 0% {
+ -o-transform: rotate(0deg);
+ }
+ 100% {
+ -o-transform: rotate(359deg);
+ }
+}
+@keyframes spin {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(359deg);
+ transform: rotate(359deg);
+ }
}
\ No newline at end of file
diff --git a/mondumas/templates/dossier/rdf_view.pt b/mondumas/templates/dossier/rdf_view.pt
index e7155c5..7743cf8 100644
--- a/mondumas/templates/dossier/rdf_view.pt
+++ b/mondumas/templates/dossier/rdf_view.pt
@@ -351,8 +351,8 @@
Aperçu PDF
-
+
Générer Facture
@@ -366,6 +366,13 @@