From: Kilian Saffran Date: Sun, 3 Mar 2019 14:23:47 +0000 (+0100) Subject: vorlagen als eigenes modul X-Git-Tag: 0.7beta~29^2 X-Git-Url: http://cloud.dks.lu/git/?a=commitdiff_plain;h=7838bfe7c99908149d8126d275377673a7a614a2;p=invoicejournal.git vorlagen als eigenes modul --- diff --git a/index.html b/index.html index 05adc19..9382c6a 100644 --- a/index.html +++ b/index.html @@ -26,6 +26,7 @@ Bankkonto Angebote Produkte + Vorlagen Einstellungen diff --git a/modules/settings/form_datastore.html b/modules/settings/form_datastore.html index b62360a..5e16f77 100644 --- a/modules/settings/form_datastore.html +++ b/modules/settings/form_datastore.html @@ -24,13 +24,7 @@ -
- -
-
+
@@ -124,62 +118,6 @@
-
-
-
- - - - - - - - - - - -
NameTypStandard
-
-
- - - - - - - - - - -
NameVersenderTypStandard
- -
-
-
-
-
@@ -190,6 +128,8 @@ + + \ No newline at end of file diff --git a/modules/settings/form_emailtemplate.js b/modules/settings/form_emailtemplate.js deleted file mode 100644 index ea81536..0000000 --- a/modules/settings/form_emailtemplate.js +++ /dev/null @@ -1,4 +0,0 @@ -function initpage(){ - console.log(parent.usersystem.getsysinfo()); - //parent.usersystem.setProperty("testproperty",{id:"TEST"}); -} \ No newline at end of file diff --git a/modules/settings/form_printtemplate.html b/modules/settings/form_printtemplate.html deleted file mode 100644 index c83f7c3..0000000 --- a/modules/settings/form_printtemplate.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - -Druck Template - - - -
-
- -
-
- - -
-
-
-
- - -
-
-
-
-
- - - - - - - - - - - - \ No newline at end of file diff --git a/modules/settings/from_emailtemplate.html b/modules/settings/from_emailtemplate.html deleted file mode 100644 index 582f9ab..0000000 --- a/modules/settings/from_emailtemplate.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - -Email-Template - - - -
- - - - - - - - - - - - - - -
NameDatabaseServerFilepathTypeVPNVerbunden
-
- - - - - - - - - - - - \ No newline at end of file diff --git a/modules/templates/form_emailtemplate.js b/modules/templates/form_emailtemplate.js new file mode 100644 index 0000000..181057a --- /dev/null +++ b/modules/templates/form_emailtemplate.js @@ -0,0 +1,14 @@ +function initpage(){ + console.log(parent.usersystem.getsysinfo()); + tinymce.init({ + selector: 'textarea.richtextedit', + branding: false, + menubar:false, + statusbar: false, + plugins: 'searchreplace autolink directionality visualblocks visualchars advlist lists textpattern', + toolbar: 'bold italic underline strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | removeformat', + image_advtab: true, + language: 'de', +}); + //parent.usersystem.setProperty("testproperty",{id:"TEST"}); +} \ No newline at end of file diff --git a/modules/templates/form_printtemplate.html b/modules/templates/form_printtemplate.html new file mode 100644 index 0000000..47ad799 --- /dev/null +++ b/modules/templates/form_printtemplate.html @@ -0,0 +1,103 @@ + + + + + + + + + + +Druck Template + + + +
+ +
+ +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+ +
+
+
+
Seite 1
+
+
+
Seite 2
+
+
+
+
+
+ + +
+
+
+ +
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/modules/settings/form_printtemplate.js b/modules/templates/form_printtemplate.js similarity index 100% rename from modules/settings/form_printtemplate.js rename to modules/templates/form_printtemplate.js diff --git a/modules/templates/from_emailtemplate.html b/modules/templates/from_emailtemplate.html new file mode 100644 index 0000000..a6c6e70 --- /dev/null +++ b/modules/templates/from_emailtemplate.html @@ -0,0 +1,85 @@ + + + + + + + + + + +Email-Template + + + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+ + +
+
+
+ + +
+
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/modules/templates/index.html b/modules/templates/index.html new file mode 100644 index 0000000..763b0a9 --- /dev/null +++ b/modules/templates/index.html @@ -0,0 +1,60 @@ + + + + + + + + + + +Templates + + + +
+ + + + + + + + + + +
NameSpracheFormTypStandard
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/modules/templates/index.js b/modules/templates/index.js new file mode 100644 index 0000000..fca4ca2 --- /dev/null +++ b/modules/templates/index.js @@ -0,0 +1,16 @@ +function initpage(){ + +} + + +function template_edit(){ + +} + +function template_duplicate(){ + +} + +function template_delete(){ + +} \ No newline at end of file diff --git a/modules/settings/lib/emailtemplate.js b/modules/templates/lib/emailtemplate.js similarity index 100% rename from modules/settings/lib/emailtemplate.js rename to modules/templates/lib/emailtemplate.js diff --git a/modules/settings/lib/printtemplate.js b/modules/templates/lib/printtemplate.js similarity index 63% rename from modules/settings/lib/printtemplate.js rename to modules/templates/lib/printtemplate.js index 6ca67db..a0346f2 100644 --- a/modules/settings/lib/printtemplate.js +++ b/modules/templates/lib/printtemplate.js @@ -1,6 +1,6 @@ var printtemplate = { new: function(){ - + parent.browserapp.loadmodulepage('templates','form_printtemplate',{"id":""}); }, edit: function(){