v20200402
authorkilian@dks-pc1 <ksaffran@dks.lu>
Fri, 3 Apr 2020 06:20:02 +0000 (08:20 +0200)
committerkilian@dks-pc1 <ksaffran@dks.lu>
Fri, 3 Apr 2020 06:20:02 +0000 (08:20 +0200)
34 files changed:
server/CGI/index.cgi
server/CGI/tmpl/lang/de.tt
server/CGI/tmpl/lists/invoicedirection.tt
server/CGI/tmpl/lists/invoicetypes.tt
server/CGI/tmpl/lists/receipientlist.tt [new file with mode: 0644]
server/CGI/tmpl/lists/reportlist.tt [new file with mode: 0644]
server/CGI/tmpl/lists/senderlist.tt [new file with mode: 0644]
server/CGI/tmpl/lists/status.tt
server/CGI/tmpl/macro/fields.tt
server/CGI/tmpl/module/addresses.tt
server/CGI/tmpl/module/invoices.tt
server/CGI/tmpl/module/invoices/invoice.js [new file with mode: 0644]
server/CGI/tmpl/module/invoices/invoice.tt
server/CGI/tmpl/skeleton/index.tt
server/htdocs/css/w3pro.css
server/htdocs/img/icons/Apps.svg [new file with mode: 0644]
server/htdocs/img/icons/Apps_white.svg [new file with mode: 0644]
server/htdocs/img/icons/Banking_Transaction_white.svg
server/htdocs/img/icons/Bill2_white.svg
server/htdocs/img/icons/Bookings2_white.svg
server/htdocs/img/icons/Box_white.svg
server/htdocs/img/icons/Contacts_white.svg
server/htdocs/img/icons/Email.svg
server/htdocs/img/icons/Email_white.svg
server/htdocs/img/icons/Folder_white.svg
server/htdocs/img/icons/In_red.svg
server/htdocs/img/icons/Out_green.svg
server/htdocs/img/icons/PDF_white.svg
server/htdocs/img/icons/Preview_white.svg
server/htdocs/img/icons/Print_white.svg
server/htdocs/img/icons/Product2_white.svg
server/htdocs/img/icons/ViewPDF_white.svg
server/htdocs/img/icons/download_white.svg
server/htdocs/js/app.js

index eb38d04..c6ecdf1 100644 (file)
@@ -76,8 +76,9 @@ for (my $i=0;$i<$absnum;$i++){
 if ($vars->{page} !~ /\.tt$/) {
   $skl = "skeleton/file.tt";
 } else {
-  $vars->{page} = 'module/'.$vars->{page};
+  
 }
+$vars->{page} = 'module/'.$vars->{page};
 $vars->{appname} = 'invoicejournal';
 $vars->{pagename} = basename($vars->{page});
 $vars->{pagename} =~ s/\.tt$//;
index b6cc858..8349303 100644 (file)
@@ -28,6 +28,7 @@
     print => "drucken",
     send => "senden",
     create => "erstellen",
+    apps => "Apps"
 address => "Adresse",
 zip => "PLZ",
 city => "Ort",
index 53e84a2..0833344 100644 (file)
@@ -1,4 +1,8 @@
 [% invoicedirection = { 
-  "out" => {value => "out", text => "Eingang",class => ""},
-  "in" => {value => "in", text => "Ausgang",class=>""}
+  "out" => {value => "out", text => "Ausgang",class => ""},
+  "in" => {value => "in", text => "Eingang",class=>""}
+} %]
+[% invoicedirectionlist = { 
+  "0" => {value => "out", text => "Ausgang",class => ""},
+  "1" => {value => "in", text => "Eingang",class=>""}
 } %]
\ No newline at end of file
index ed5e413..972a986 100644 (file)
@@ -1,7 +1,7 @@
 [% invoicetypes = {
-  "invoice" => {value => "invoice", text => "Rechnung",class => ""},
-  "creditnote" => {value => "creditnote", text => "Gutschrift",class => ""},
-  "salary" = {value => "salary", text => "Gehalt",class => ""},
-  "taxes" => {value => "taxes", text => "Steuern",class => ""},
-  "payroll" => {value => "payroll", text => "Lohnkosten",class => ""}
+  "0" => {value => "invoice", text => "Rechnung",class => ""},
+  "1" => {value => "creditnote", text => "Gutschrift",class => ""},
+  "2" = {value => "salary", text => "Gehalt",class => ""},
+  "3" => {value => "taxes", text => "Steuern",class => ""},
+  "4" => {value => "payroll", text => "Lohnkosten",class => ""}
 } %]
\ No newline at end of file
diff --git a/server/CGI/tmpl/lists/receipientlist.tt b/server/CGI/tmpl/lists/receipientlist.tt
new file mode 100644 (file)
index 0000000..4608210
--- /dev/null
@@ -0,0 +1,3 @@
+[% FOREACH qreceip = dksdb.query("select id as value, receipient as text from addresses order by receipient;") %]
+[% receipientlist.${qreceip.item('text')} = qreceip %]
+[% END %]
diff --git a/server/CGI/tmpl/lists/reportlist.tt b/server/CGI/tmpl/lists/reportlist.tt
new file mode 100644 (file)
index 0000000..44b8160
--- /dev/null
@@ -0,0 +1,6 @@
+[% emptyval = '' %]
+[% reportlist.${emptyval} = { value => '', text => '' } %]
+
+[% FOREACH qreport = dksdb.query("select id as value, name as text from reports order by name;") %]
+[% reportlist.${qreport.item('text')} = qreport %]
+[% END %]
diff --git a/server/CGI/tmpl/lists/senderlist.tt b/server/CGI/tmpl/lists/senderlist.tt
new file mode 100644 (file)
index 0000000..dd88b03
--- /dev/null
@@ -0,0 +1,3 @@
+[% FOREACH qsenders = dksdb.query("select id as value, receipient as text from addresses where ijgroup='1' order by receipient;") %]
+[% senderlist.${qsenders.item('text')} = qsenders %]
+[% END %]
index f7a0789..c8d7f08 100644 (file)
@@ -6,4 +6,14 @@
   "overdue" => {value => "overdue","text" => "überfällig", class=> "w3-text-red"},
   "payed" => {value => "payed","text" => 'bezahlt', class=> "w3-text-green"},
   "canceled" => {value => "canceled","text" => "storniert", class=> "w3-text-grey"}
+    } %]
+
+[% statuslist = {
+  "0" => {value => "preparation", "text"=> "Vorbereitung", class=> "w3-text-black"},
+  "1" => {value => "planned","text" => "geplant", class=> "w3-text-blue"},
+  "2" => {value => "received","text" => "erhalten", class=> "w3-text-purple"},
+  "3" => {value => "sended","text" => "verschickt", class=> "w3-text-orange"},
+  "4" => {value => "overdue","text" => "überfällig", class=> "w3-text-red"},
+  "5" => {value => "payed","text" => 'bezahlt', class=> "w3-text-green"},
+  "6" => {value => "canceled","text" => "storniert", class=> "w3-text-grey"}
     } %]
\ No newline at end of file
index 19c3894..63907da 100644 (file)
@@ -1,24 +1,25 @@
-[% MACRO inputhidden(column,table,ident,value) BLOCK -%]
-        <input type="hidden" class="data_[% table %]" id="[% column %]" name="[% IF ident %]ident_[% END %][% table %]_[% column %]" value="[% value %]">
+[% MACRO inputhidden(column,table,id,value,ident) BLOCK -%]
+        <input type="hidden" class="data_[% table %]" data-id="[% id %]" data-column="[% column %]" data-table="[% table %]" id="[% table %]_[% column %][% IF id %]-[% id %][% END %]" name="[% IF ident %]ident_[% END %][% table %]_[% column %]" value="[% value %]"  onblur="record.savefield(this);">
 [% END -%]
-[% MACRO inputbox(column,table,id,title,type,classes,style,state,ivalue,plhold) BLOCK -%]
+[% MACRO inputbox(column,table,id,title,type,classes,style,state,ivalue,plhold,blurevent) BLOCK -%]
   <div class="">
         [% IF title %]<label for="[% table %]_[% column %]" class="w3-label">[% title %]</label>[% END %]
         
-        <input type="[% IF type == 'currency' %]number[% ELSE %][% type %][% END %]" data-id="[% id %]" data-column="[% column %]" data-table="[% table %]" class="w3-input w3-border[% IF type == 'currency'%]w3-right-align w3-currency[% END %]  [% IF state %][% state %][% END %]"   id="[% table %]_[% column %][% IF id %]-[% id %][% END %]" name="[% table %]_[% column %]" value="[% ivalue %]" [% IF plhold %]placeholder="[% plhold %]" [% END %] [% IF state %][% state %][% END %] onblur="record.savefield(this);"/>
+        <input type="[% IF type == 'currency' %]number[% ELSE %][% type %][% END %]" data-id="[% id %]" data-column="[% column %]" data-table="[% table %]" class="w3-input w3-border [% IF type == 'currency' %]w3-right-align w3-currency[% END %] [% IF type == 'number' %]w3-right-align[% END %]  [% IF state %][% state %][% END %]"   id="[% table %]_[% column %][% IF id %]-[% id %][% END %]" name="[% table %]_[% column %]" value="[% ivalue %]" [% IF plhold %]placeholder="[% plhold %]" [% END %] [% IF state %][% state %][% END %] onblur="record.savefield(this);[% IF blurevent%]blurevent[% END %]"/>
         
       </div>
 [% END -%]
-[% MACRO selectbox(column,table,id,title,type,classes,style,state,value,plhold,xoptions) BLOCK -%]
+[% MACRO selectbox(column,table,id,title,type,classes,style,state,svalue,plhold,xoptions,changeevent,blurevent) BLOCK -%]
   [% IF state == 'readonly' || state == 'disabled'  %]
-    [% inputbox(column,table,id,title,'text',classes,style,state,value,plhold) %]
+    [% inputbox(column,table,id,title,'text',classes,style,state,svalue,plhold) %]
   [% ELSE %]
   <div class="">
         [% IF title %]<label for="[% table %]_[% column %]" class="w3-label">[% title %]</label>[% END %]
-        <select class="w3-select w3-border data_[% table %] [% IF state.length > 0 %][% state %][% END %]" [% IF type == 'multiple' %]multiple=1[% END %] data-selected="[% value %]" data-id="[% id %]" data-column="[% column %]" data-table="[% table %]" value="[% value %]" id="[% table %]_[% column %][% IF id %]-[% id %][% END %]" name="[% table %]_[% column %]" [% IF plhold %]placeholder="[% plhold %]" [% END %] [% IF state.length > 0 %][% state %][% END %] onblur="record.savefield(this);">
+        <select class="w3-select w3-border data_[% table %] [% IF state.length > 0 %][% state %][% END %]" [% IF type == 'multiple' %]multiple=1[% END %] data-selected="[% value %]" data-id="[% id %]" data-column="[% column %]" data-table="[% table %]" value="[% svalue %]" id="[% table %]_[% column %][% IF id %]-[% id %][% END %]" name="[% table %]_[% column %]" [% IF plhold %]placeholder="[% plhold %]" [% END %] [% IF state.length > 0 %][% state %][% END %] onblur="record.savefield(this);[% IF blurevent%]blurevent[% END %]" onchange="[% IF changeevent %]changeevent[% END %]">
+          
           [% IF xoptions %]
-          [% FOREACH opt IN xoptions %]
-            <option value="[% opt.value %]" class="[% opt.class %]">[% opt.text %]</option>
+          [% FOREACH key IN xoptions.keys.sort %]
+            <option value="[% xoptions.item(key).item('value') %]" class="[% xoptions.item(key).item('class') %]" [% IF xoptions.item(key).item('value') == svalue %]selected[% END%]>[% xoptions.item(key).item('text') %]</option>
           [% END %]
           [% END %]
         </select>
index 2f729a8..2b4ca2b 100644 (file)
@@ -32,7 +32,7 @@
     
     <tbody style="height: calc(100vh - 180px);" id="ds_addresses">
       [% FOREACH adr = dksdb.query("select * from addresses order by receipient;") %]
-        <tr class="" id="ds_[% adr.id %]" data-id="[% adr.id %]" onclick="table.setselection('[% adr.id %]');">
+        <tr class="dataset" id="ds_[% adr.id %]" data-id="[% adr.id %]" onclick="table.setselection('[% adr.id %]');">
           <td style="min-width: [% cols.clientnumber %]px;width: [% cols.clientnumber %]px;max-width: [% cols.clientnumber %]px;">[% adr.clientnumber %]</td>
           <td style="min-width: [% cols.displayname %]px;width: [% cols.displayname %]px;max-width: [% cols.displayname %]px;">[% adr.receipient %]</td>
           <td style="min-width: [% cols.address %]px;width: [% cols.address %]px;max-width: [% cols.address %]px;">[% adr.address %] <br/> [% adr.country %] [% adr.zip %] [% adr.city %]</td>
index 50d9936..182b967 100644 (file)
@@ -36,7 +36,7 @@
 from invoices inv left join bookings bk on (inv.id=bk.id_invoice)
 group by inv.id order by inv.invoicedate desc")%]
     [% FOREACH inv = qinv.execute() %]  
-    <tr  class="" id="ds_[% inv.id %]" data-id="[% inv.id %]" onclick="table.setselection('[% inv.id %]');">
+    <tr  class="dataset" id="ds_[% inv.id %]" data-id="[% inv.id %]" onclick="table.setselection('[% inv.id %]');">
       <td style="min-width: [% cols.date %]px;width: [% cols.date %]px;max-width: [% cols.date %]px;">[% inv.invoicedate %]</td>
       <td style="min-width: [% cols.inout %]px;width: [% cols.inout %]px;max-width: [% cols.inout %]px;">
         [% IF inv.direction == 'out' %]<img src="[% abspath %][% staticpath %]img/icons/Out_green.svg" style="height: 20px;">[% ELSE %]<img src="[% abspath %][% staticpath %]img/icons/In_red.svg" style="height: 20px;">[% END %]
diff --git a/server/CGI/tmpl/module/invoices/invoice.js b/server/CGI/tmpl/module/invoices/invoice.js
new file mode 100644 (file)
index 0000000..919969d
--- /dev/null
@@ -0,0 +1,46 @@
+//  function initmodule(){
+ var invoice = {
+  changeReceipient: function(){
+    
+  },
+  changeSender: function(){
+
+  },
+  addBooking: function(){
+
+  },
+  deleteBooking: function(){
+
+  },
+  editBooking: function(){
+
+  },
+  deleteBooking: function(){
+     
+  },
+  addProduct: function(){
+     
+  },
+  changedStatus: function(){
+
+  },
+  changedInvoicedate: function(){
+
+  },
+  changedDirection: function(){
+
+  },
+  createPDF: function(){
+
+  },
+  openPDF: function(){
+
+  },
+  sendEmail: function(){
+
+  },
+  ImportPDF: function(){
+
+  }
+ }
+//  }
index 1c6755f..6839851 100644 (file)
 [% PROCESS lists/status.tt %]
 [% PROCESS lists/invoicetypes.tt %]
 [% PROCESS lists/invoicedirection.tt %]
-[% qinv =dksdb.query("select * from invoices where id='${params.id}';") %]
-[% inv = qadr.get_all() %]
+[% PROCESS lists/senderlist.tt %]
+[% PROCESS lists/receipientlist.tt %]
+[% PROCESS lists/reportlist.tt %]
+[% USE Dumper %]
+[% qinv =dksdb.query("select inv.*
+,printf('%.2f',sum(round(bk.quantity * bk.unitamount,2))) as netamount
+,printf('%.2f',sum(round(round(bk.quantity * bk.unitamount,2) * bk.taxpercent,2))) as vatamount
+,printf('%.2f',sum(round(bk.quantity * bk.unitamount,2)) + sum(round(round(bk.quantity * bk.unitamount,2) * bk.taxpercent,2))) as grossamount
+from invoices inv left join bookings bk on (inv.id=bk.id_invoice) where inv.id = '${params.id}'") %]
+[% qbook =dksdb.prepare("SELECT id, id_invoice, id_product, producttype, sku, replace(quantity,'.',',') as quantity, replace(printf('%.2f',coalesce(unitamount,0.0)),'.',',') as unitamount, unit,name, description, taxamount,taxpercent
+,replace(printf('%.2f',taxpercent * 100),'.',',') as vatpercent
+,replace(printf('%.2f',round(quantity * unitamount,2)),'.',',') as netamount
+,replace(printf('%.2f',round(case when taxpercent is not null then round(quantity * unitamount,2) * taxpercent else coalesce(taxamount,0.00 ) end,2)),'.',',') as vatamount
+,replace(printf('%.2f',round(quantity * unitamount,2) + round(case when taxpercent is not null then round(quantity * unitamount,2) * taxpercent else coalesce(taxamount,0.00 ) end,2)),'.',',') as grossamount
+from bookings where id_invoice = '${params.id}';") %]
+[% inv = qinv.get_all() %]
 <div class="w3-display-container w3-animate-left">
   <div class="w3-container w3-bar TopNavigation">
     <button class="w3-bar-item Button_Navigation" onclick="app.getpage('invoices');"><img src="[% abspath %][% staticpath %]img/icons/back_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.back %]</button>
     <div class="w3-bar-item PageHeadTitle">[% lbl.invoice %]</div>
-    <div class="w3-bar-item" style="width: 150px;">[% selectbox('status','invoices','','','','','','','','','Status') %]</div>
-    <button class="w3-bar-item Button_Navigation w3-right" onclick=""><img src="[% abspath %][% staticpath %]img/icons/PDF_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.create %]</button>
-    <button class="w3-bar-item Button_Navigation w3-right" onclick=""><img src="[% abspath %][% staticpath %]img/icons/Print_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.print %]</button>
-    <button class="w3-bar-item Button_Navigation w3-right" onclick=""><img src="[% abspath %][% staticpath %]img/icons/Preview_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.preview %]</button>
-    <button class="w3-bar-item Button_Navigation w3-right" onclick=""><img src="[% abspath %][% staticpath %]img/icons/ViewPDF_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.open %]</button>
-    <button class="w3-bar-item Button_Navigation w3-right" onclick=""><img src="[% abspath %][% staticpath %]img/icons/download_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.import %]</button>
-    <button class="w3-bar-item Button_Navigation w3-right" onclick=""><img src="[% abspath %][% staticpath %]img/icons/folder_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.open %]</button>
-    <button class="w3-bar-item Button_Navigation w3-right" onclick=""><img src="[% abspath %][% staticpath %]img/icons/Email_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.send %]</button>
+
+    <button class="w3-bar-item Button_Navigation w3-right" onclick="invoice.createPDF();"><img src="[% abspath %][% staticpath %]img/icons/PDF_white.svg" style=" height: 16px;"><br>[% lbl.create %]</button>
+    <button class="w3-bar-item Button_Navigation w3-right" onclick="invoice.openPDF();"><img src="[% abspath %][% staticpath %]img/icons/ViewPDF_white.svg" style=" height: 16px;"><br>[% lbl.open %]</button>
+    <button class="w3-bar-item Button_Navigation w3-right" onclick="invoice.importPDF();"><img src="[% abspath %][% staticpath %]img/icons/download_white.svg" style=" height: 16px;"><br>[% lbl.import %]</button>
+    <button class="w3-bar-item Button_Navigation w3-right" onclick="invoice.sendEmail();"><img src="[% abspath %][% staticpath %]img/icons/Email_white.svg" style=" height: 16px;"><br>[% lbl.send %]</button>
   </div>
-  
-  <div class="w3-container">
+  [% #Dumper.dump(senderlist) %]
+  <div class="w3-container w3-margin-bottom">
+    [% inputhidden('id','invoices',inv.0.id,inv.0.id,'') %]
+    [% inputhidden('pdffile','invoices',inv.0.id,inv.0.pdffile,'') %]
     <div class="w3-row">
-      <div class="w3-cell w3-container">
+      <div class="w3-cell w3-container w3-padding">
         <div class="w3-row">
-          <div class="w3-cell" style="width: 100px;"> 
-            [% selectbox('direction','invoices','','Richtung','','','','','','','') %]
+          <div class="w3-cell" style="width: 150px;"> 
+            [% selectbox('direction','invoices',inv.0.id,'Richtung','','','','',inv.0.direction,'',invoicedirectionlist,'invoice.changeDirection(this);','') %]
           </div>
-          <div class="w3-cell" style="width: 100px;">
+          <div class="w3-cell" style="width: 150px;">
             
-            [% selectbox('invoicetype','invoices','','Typ','','','','','','','') %]
-          </div>
-          <div class="w3-cell" style="width: 200px;">
-            [% reports = [
-              {value => "dks-deutsch", text =>"DKS Deutsch",class => ""},
-              {value => "sitc-deutsch", text =>  "Saffran IT - Deutsch",class => ""}
-            ] %]
-            [% selectbox('id_template','invoices','','Vorlage','','','','','','',reports) %]
+            [% selectbox('invoicetype','invoices',inv.0.id,'Typ','','','','',inv.0.invoicetype,'',invoicetypes,'','') %]
           </div>
           
+          
+        </div>
+        <div class="row">
+          <div class="w3-cell" style="width: 300px;">
+            
+            [% selectbox('id_template','invoices',inv.0.id,'Vorlage','','','','',inv.0.id_template,'',reportlist) %]
+          </div>
         </div>
         <div class="w3-row">
-          <div class="w3-cell" style="width: 60px;">
-            [% inputbox('invoicedate','invoices','','Datum','date','','','','','') %]
+          <div class="w3-cell" style="max-width: 130px;">
+            [% inputbox('invoicedate','invoices',inv.0.id,'Datum','date','','','',inv.0.invoicedate,'') %]
           </div>
-          <div class="w3-cell" style="width: 50px;">
-            [% inputbox('deadlinedate','invoices','','Tage','number','','','','','') %]
+          <div class="w3-cell" style="width: 40px;">
+            [% inputbox('deadlinedays','invoices',inv.0.id,'Tage','number','','','',inv.0.deadlinedays,'') %]
           </div>
-          <div class="w3-cell" style="width: 60px;">
-            [% inputbox('deadlinedate','invoices','','Fälligkeit','date','','','','','') %]
+          <div class="w3-cell" style="max-width: 130px;">
+            [% inputbox('deadlinedate','invoices',inv.0.id,'Fälligkeit','date','','','',inv.0.deadlinedate,'') %]
           </div>
           
         </div>
+        
         <div class="w3-row">
+          <div class="w3-cell"  style="width: 300px;">
+            [% inputbox('reminderdates','invoices',inv.0.id,'Mahnungsdaten','text','','','',inv.0.reminderdates,'') %]
+        </div>
+          
+        </div>
+        <div class="row">
+          <div class="w3-cell" style="width: 100px;">
+            [% inputbox('byear','invoices',inv.0.id,'G.Jahr','number','','','',inv.0.bussinessyear,'') %]
+          </div>
+          
+        </div>
+      </div>
+      <div class="w3-cell w3-container w3-padding">
+        <div class="w3-row" >
           <div class="w3-cell" style="width: 400px;">
-          [% inputbox('reference','invoices','','Referenz','text','','','','','') %]
+            [% selectbox('id_sender','invoices',inv.0.id,'Sender','','','','',inv.0.id_sender,'',senderlist) %]
+          </div>
+        </div>
+        <div class="w3-row" >
+          <div class="w3-cell" style="width: 400px;">
+            [% inputbox('sendername','invoices',inv.0.id,'Name','text','','','',inv.0.sendername,'') %]
           </div>
-          <!-- <div class="w3-cell" style="width: 150px;">
-            
-          </div> -->
         </div>
         <div class="w3-row">
-          <div class="w3-cell"  style="width: 300px;">
-          [% inputbox('reminderdates','invoices','','Mahnungsdaten','text','','','','','') %]
+          <div class="w3-cell" style="width: 400px;">
+            [% inputbox('senderaddress','invoices',inv.0.id,'Adresse','text','','','',inv.0.senderaddress,'') %]
+          </div>
         </div>
-          <div class="w3-cell" style="width: 100px;">
-            [% inputbox('byear','invoices','','G.Jahr','text','','')%]
+        <div class="w3-row">
+          <div class="w3-cell" style="width: 40px;">
+            [% inputbox('sendercountry','invoices',inv.0.id,'Land','text','','','',inv.0.sendercountry,'') %]
+          </div>
+          <div class="w3-cell" style="width: 90px;">
+            [% inputbox('senderzip','invoices',inv.0.id,'PLZ','text','','','',inv.0.senderzip,'') %]
+          </div>
+          <div class="w3-cell" style="width: 270px;">
+            [% inputbox('sendercity','invoices',inv.0.id,'Ort','text','','','',inv.0.sendercity,'') %]
           </div>
         </div>
-        
+        <div class="w3-row">
+          <div class="w3-cell" style="width: 400px;">
+          [% inputbox('reference','invoices',inv.0.id,'Referenz','text','','','',inv.0.reference,'') %]
+        </div>
+        </div>
       </div>
-      <div class="w3-cell">
+      <div class="w3-cell w3-container w3-padding">
+        <div class="w3-row" >
+          <div class="w3-cell" style="width: 400px;">
+            [% selectbox('id_receipient','invoices',inv.0.id,'Empfänger','','','','',inv.0.id_receipient,'',receipientlist) %]
+          </div>
+        </div>
         <div class="w3-row" >
-          <div class="w3-cell">
-            [% inputbox('receipientname','invoices','','Empfänger','','','','','','','') %]
+          <div class="w3-cell" style="width: 400px;">
+            [% inputbox('receipientname','invoices',inv.0.id,'Name','text','','','',inv.0.receipientname,'') %]
           </div>
         </div>
         <div class="w3-row">
-          <div class="w3-cell">
-            [% inputbox('receipientaddress','invoices','','Adresse','','','','','','','') %]
+          <div class="w3-cell" style="width: 400px;">
+            [% inputbox('receipientaddress','invoices',inv.0.id,'Adresse','text','','','',inv.0.receipientaddress,'') %]
           </div>
         </div>
         <div class="w3-row">
-          <div class="w3-cell">
-            [% inputbox('receipientcountry','invoices','','Land','','','','','','','') %]
+          <div class="w3-cell" style="width: 40px;">
+            [% inputbox('receipientcountry','invoices',inv.0.id,'Land','text','','','',inv.0.receipientcountry,'') %]
           </div>
-          <div class="w3-cell">
-            [% inputbox('receipientzip','invoices','','PLZ','','','','','','','') %]
+          <div class="w3-cell" style="width: 90px;">
+            [% inputbox('receipientzip','invoices',inv.0.id,'PLZ','text','','','',inv.0.receipientzip,'') %]
           </div>
-          <div class="w3-cell">
-            [% inputbox('receipientcity','invoices','','Ort','','','','','','','') %]
+          <div class="w3-cell" style="width: 270px;">
+            [% inputbox('receipientcity','invoices',inv.0.id,'Ort','text','','','',inv.0.receipientcity,'') %]
           </div>
         </div>
+        <div class="w3-cell" style="width: 200px;">
+            [% inputbox('clientnumber','invoices',inv.0.id,'Kunden-Nummer','text','','','',inv.0.clientnumber,'') %]
+          </div>
+          <div class="w3-cell" style="width: 200px;">
+            [% inputbox('vatid','invoices',inv.0.id,'USt.-Id','text','','','',inv.0.receipientvatid,'') %]
+          </div>
       </div>
-      <div class="w3-cell">
-            [% inputbox('netamount','invoices','','Netto','currency','w3-large','','readonly','00000.00','') %] 
-            [% inputbox('vatamount','invoices','','MwSt','currency','','','readonly','0000.00','') %]
-            [% inputbox('grossamount','invoices','','Brutto','currency','','','readonly','000000.00','') %] 
-            [% inputbox('payedamount','invoices','','Bezahlt','currency','','','','000000.00','') %]
+      <div class="w3-cell w3-container w3-padding" style="width: 200px;">
+            [% selectbox('status','invoices',inv.0.id,'Status','','','','',inv.0.status,'',statuslist,'invoice.changedStatus(this);') %]
+            [% inputbox('netamount','invoices',inv.0.id,'Netto','currency','w3-large','','readonly',inv.0.netamount,'') %] 
+            [% inputbox('vatamount','invoices',inv.0.id,'MwSt','currency','','','readonly',inv.0.vatamount,'') %]
+            [% inputbox('grossamount','invoices',inv.0.id,'Brutto','currency','','','readonly',inv.0.grossamount,'') %] 
+            [% inputbox('payedamount','invoices',inv.0.id,'Bezahlt','currency','','','',inv.0.payedamount,'invoice.setPayed(this);') %]
           </div>
     </div>
   </div>
   <div class="w3-container w3-bar TopNavigation">
     <div class="w3-bar-item PageHeadTitle">[% lbl.bookings %]</div>
-    <button class="w3-bar-item Button_Navigation w3-right" onclick="record.remove('bookings');"><img src="[% abspath %][% staticpath %]img/icons/Trash_red.svg" style="color: #fff; height: 16px;"><br>
+    <button class="w3-bar-item Button_Navigation w3-right" onclick="invoice.removeBooking();"><img src="[% abspath %][% staticpath %]img/icons/Trash_red.svg" style="color: #fff; height: 16px;"><br>
       [% lbl.remove %]</button>
-      <button class="w3-bar-item Button_Navigation w3-right" onclick="record.duplicate('bookings/booking');"><img src="[% abspath %][% staticpath %]img/icons/Duplicate_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.duplicate %]</button>
-      <button class="w3-bar-item Button_Navigation w3-right" onclick="record.edit('bookings/booking');"><img src="[% abspath %][% staticpath %]img/icons/Edit_white.svg" style="color: #fff; height: 16px;"><br>
+      <button class="w3-bar-item Button_Navigation w3-right" onclick="invoice.duplicateBooking();"><img src="[% abspath %][% staticpath %]img/icons/Duplicate_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.duplicate %]</button>
+      <button class="w3-bar-item Button_Navigation w3-right" onclick="invoice.editBooking();"><img src="[% abspath %][% staticpath %]img/icons/Edit_white.svg" style="color: #fff; height: 16px;"><br>
         [% lbl.edit %]</button> 
-      <button class="w3-bar-item Button_Navigation w3-right" onclick="record.add('bookings/booking');"><img src="[% abspath %][% staticpath %]img/icons/Add_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.add %]</button>
-      <button class="w3-bar-item Button_Navigation w3-right" onclick="record.add('products/priduct');"><img src="[% abspath %][% staticpath %]img/icons/Add_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.product %]</button>
+      <button class="w3-bar-item Button_Navigation w3-right" onclick="invoice.addBooking();"><img src="[% abspath %][% staticpath %]img/icons/Add_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.add %]</button>
+      <button class="w3-bar-item Button_Navigation w3-right" onclick="invoice.addProduct();"><img src="[% abspath %][% staticpath %]img/icons/Add_white.svg" style="color: #fff; height: 16px;"><br>[% lbl.product %]</button>
   </div>
   <div class="portalpanel">
-          [% cols = { sku => 80 , quantity =>40,unit=>100,description => 500, vat => 80, netamount => 100 }%]
-        <table class="portal" sytle="height: calc(50vh - 60px);">
+          [% cols = { sku => 80 , quantity =>40,unit=>100,unitamount => 100,description => 500, vat => 90,vatpercent => 90, netamount => 100, grossamount => 120}%]
+        <table class="portal">
           <thead>
             <tr>
               <th style="min-width: [% cols.sku %]px;width: [% cols.sku %]px;max-width: [% cols.sku %]px;">SKU</th>
-              <th style="min-width: [% cols.quantity %]px;width: [% cols.quantity %]px;max-width: [% cols.quantity %]px;">Qu</th>
-              <th style="min-width: [% cols.description %]px;width: [% cols.description %]px;max-width: [% cols.description %]px;">Product/Dienstleistung</th>
+              <th style="min-width: [% cols.description %]px;width: [% cols.description %]px;max-width: [% cols.description %]px;">Name/ Beschreibung</th>
+              <th style="min-width: [% cols.quantity %]px;width: [% cols.quantity %]px;max-width: [% cols.quantity %]px;">Anz.</th>
+              <th style="min-width: [% cols.unit %]px;width: [% cols.unit %]px;max-width: [% cols.unit %]px;">Einheit</th>
+              <th style="min-width: [% cols.unitamount %]px;width: [% cols.unit %]px;max-width: [% cols.unit %]px;">Einheitspreis</th>
+              <th style="min-width: [% cols.vatpercent %]px;width: [% cols.vatpercent %]px;max-width: [% cols.vatpercent %]px;">MwSt.(%)</th>
               <th style="min-width: [% cols.vat %]px;width: [% cols.vat %]px;max-width: [% cols.vat %]px;">MwSt.</th>
               <th style="min-width: [% cols.netamount %]px;width: [% cols.netamount %]px;max-width: [% cols.netamount %]px;">Netto</th>
+              <th style="min-width: [% cols.grossamount %]px;width: [% cols.grossamount %]px;max-width: [% cols.grossamount %]px;">Brutto</th>
               <th></th>
             </tr>
           </thead>
           
-          <tbody style="height: calc(100vh - 440px);">
-            [% WHILE i < 10 %]
-            <tr>
-              <td style="min-width: [% cols.sku %]px;width: [% cols.sku %]px;max-width: [% cols.sku %]px;"><div class="portaltextdeader">SKU-001</div></td>
-              <td style="min-width: [% cols.quantity %]px;width: [% cols.quantity %]px;max-width: [% cols.quantity %]px;"><div class="portaltextdeader">1 E-mail</div></td>
-              <td style="min-width: [% cols.description %]px;width: [% cols.description %]px;max-width: [% cols.description %]px;"><div class="portalheader">Product/Dienstleistung</div></td>
-              <td style="min-width: [% cols.vat %]px;width: [% cols.vat %]px;max-width: [% cols.vat %]px;"><div class="portalheader">000,00€</div></td>
-              <td style="min-width: [% cols.netamount %]px;width: [% cols.netamount %]px;max-width: [% cols.netamount %]px;"><div class="portalheader">00000,00€</div></td>
+          <tbody style="height: calc(100vh - 500px);" id="ds_bookings">
+            [% FOREACH bk = qbook.execute() %]
+            <tr class="dataset" id="ds_[% bk.id %]" data-id="[% bk.id %]" onclick="table.setselection('[% bk.id %]');">
+              <td style="min-width: [% cols.sku %]px;width: [% cols.sku %]px;max-width: [% cols.sku %]px;">[% bk.sku %]</td>
+              <td style="min-width: [% cols.description %]px;width: [% cols.description %]px;max-width: [% cols.description %]px;"><strong>[% bk.name %]</strong><br/>[% bk.desciption %]</td>
+              <td class="w3-right-align" style="min-width: [% cols.quantity %]px;width: [% cols.quantity %]px;max-width: [% cols.quantity %]px;">[% bk.quantity %]</td>
+              <td style="min-width: [% cols.unit %]px;width: [% cols.unit %]px;max-width: [% cols.unit %]px;">[% bk.unit %]</td>
+              <td  class="w3-right-align" style="min-width: [% cols.unit %]px;width: [% cols.unit %]px;max-width: [% cols.unit %]px;">[% bk.unitamount %]€</td>
+              <td class="w3-right-align" style="min-width: [% cols.vatpercent %]px;width: [% cols.vatpercent %]px;max-width: [% cols.vatpercent %]px;">[% bk.vatpercent %]%</td>
+              <td class="w3-right-align" style="min-width: [% cols.vat %]px;width: [% cols.vat %]px;max-width: [% cols.vat %]px;">[% bk.vatamount %]€</td>
+              <td class="w3-right-align" style="min-width: [% cols.netamount %]px;width: [% cols.netamount %]px;max-width: [% cols.netamount %]px;">[% bk.netamount %]€</td>
+              <td class="w3-right-align" style="min-width: [% cols.grossamount %]px;width: [% cols.grossamount %]px;max-width: [% cols.grossamount %]px;">[% bk.grossamount %]€</td>
               <td></td>
             </tr>
-            [% i = i + 1 %]
             [% END %]
             
           </tbody>
         </table>
         </div>
 </div>
+<script src="invoices/invoice.js"></script>
index f3e3235..7e6ce35 100644 (file)
@@ -19,6 +19,7 @@
     <div class="w3-bar DKS" id="toolbar">
         <button onclick="app.refesh();" class="Button_Navigation w3-bar-item"><img  src="[% abspath %][% staticpath %]img/invoicejournal.png" style="height: 28px;"/><br/></button>
        <div class="w3-bar-item PageHeadTitle">Invoice Journal</div>
+       <button class="w3-bar-item Button_Navigation" onclick="app.getpage('index',null);"><img src="[% abspath %][% staticpath %]img/icons/Apps_white.svg" style="width: 28px;"><br/>[% lbl.apps %]</button>
       <button class="w3-bar-item Button_Navigation" onclick="app.getpage('invoices',null);"><img src="[% abspath %][% staticpath %]img/icons/Bill2_white.svg" style="width: 28px;"><br/>[% lbl.invoices %]</button>
       <button class="w3-bar-item Button_Navigation" onclick="app.getpage('addresses',null);"><img src="[% abspath %][% staticpath %]img/icons/Contacts_white.svg" style="width: 28px;"><br/>[% lbl.addresses %]</button>
       <button class="w3-bar-item Button_Navigation" onclick="app.getpage('products',null);"><img src="[% abspath %][% staticpath %]img/icons/Product2_white.svg" style="width: 28px;"><br/>[% lbl.products %]</button>
@@ -36,6 +37,7 @@
 <script src="[% abspath %][% staticpath %]js/app.js?v=[% vstamp %]"></script>
 <script src="[% abspath %][% staticpath %]js/table.js?v=[% vstamp %]"></script>
 <script src="[% abspath %][% staticpath %]js/record.js?v=[% vstamp %]"></script>
-
+<div id="modulescripts">
+</div>
 </body>
 </html>
\ No newline at end of file
index 46eff30..1f36915 100644 (file)
@@ -287,6 +287,7 @@ hr{border:0;border-top:1px solid #eee;margin:20px 0}
   display: block;
   color: #000;
   padding: 4px;
+  padding-right: 20px;
   width: 100%;
   max-width: 100%; 
   box-sizing: border-box;
@@ -400,10 +401,14 @@ input[type=number]::-webkit-outer-spin-button {
 }
 
 input[type=date]::-webkit-inner-spin-button, 
-input[type=dater]::-webkit-outer-spin-button { 
+input[type=date]::-webkit-outer-spin-button { 
   -webkit-appearance: none; 
   margin: 0; 
 }
+input[type=date]::-webkit-clear-button{
+  -webkit-appearance: none; 
+  margin: 0;
+}
 
   
 /* .mceContentBody { 
diff --git a/server/htdocs/img/icons/Apps.svg b/server/htdocs/img/icons/Apps.svg
new file mode 100644 (file)
index 0000000..cc7d380
--- /dev/null
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="utf-8"?> \r<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r      x="0px" y="0px" width="50px" height="50px" viewBox="0 0 64 53.96"> \r<path d="M45.681998,21.848L53.518001,21.848 53.518001,29.684999 45.681998,29.684999z M33.874999,21.848L41.710999,21.848 41.710999,29.684999 33.874999,29.684999z M21.849,21.848L29.685,21.848 29.685,29.684999 21.849,29.684999z M10.042,21.848L17.878,21.848 17.878,29.684999 10.042,29.684999z M45.681998,10.151001L53.518001,10.151001 53.518001,17.987 45.681998,17.987z M33.874999,10.151001L41.710999,10.151001 41.710999,17.987 33.874999,17.987z M21.849,10.151001L29.685,10.151001 29.685,17.987 21.849,17.987z M10.042,10.151001L17.878,10.151001 17.878,17.987 10.042,17.987z M3.9726601,4.1926918L3.9726601,35.7513 59.8073,35.7513 59.8073,4.1926918z M0,0L63.999999,0 63.999999,39.944 35.917001,39.944 35.917001,47.021789 36.221066,47.026938C54.064746,47.434648 50.647994,53.957998 50.647994,53.957998 48.330531,53.627337 39.393079,53.295374 39.393079,53.295373L39.393079,51.971223 24.165524,51.971223 23.833531,53.957998 12.910508,53.957998C8.9541752,48.682416,22.233809,47.40084,27.791899,47.097869L27.971,47.08845 27.971,39.944 0,39.944z"/> \r</svg>
\ No newline at end of file
diff --git a/server/htdocs/img/icons/Apps_white.svg b/server/htdocs/img/icons/Apps_white.svg
new file mode 100644 (file)
index 0000000..74de289
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 64 53.96"> \r
+<path fill="#fff" d="M45.681998,21.848L53.518001,21.848 53.518001,29.684999 45.681998,29.684999z M33.874999,21.848L41.710999,21.848 41.710999,29.684999 33.874999,29.684999z M21.849,21.848L29.685,21.848 29.685,29.684999 21.849,29.684999z M10.042,21.848L17.878,21.848 17.878,29.684999 10.042,29.684999z M45.681998,10.151001L53.518001,10.151001 53.518001,17.987 45.681998,17.987z M33.874999,10.151001L41.710999,10.151001 41.710999,17.987 33.874999,17.987z M21.849,10.151001L29.685,10.151001 29.685,17.987 21.849,17.987z M10.042,10.151001L17.878,10.151001 17.878,17.987 10.042,17.987z M3.9726601,4.1926918L3.9726601,35.7513 59.8073,35.7513 59.8073,4.1926918z M0,0L63.999999,0 63.999999,39.944 35.917001,39.944 35.917001,47.021789 36.221066,47.026938C54.064746,47.434648 50.647994,53.957998 50.647994,53.957998 48.330531,53.627337 39.393079,53.295374 39.393079,53.295373L39.393079,51.971223 24.165524,51.971223 23.833531,53.957998 12.910508,53.957998C8.9541752,48.682416,22.233809,47.40084,27.791899,47.097869L27.971,47.08845 27.971,39.944 0,39.944z"/> \r
+</svg>
\ No newline at end of file
index e59f26f..24ec72a 100644 (file)
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 64 60.11"> 
-<path fill="#fff" d="M1.7490486,48.97502L32.389891,48.97502C32.893904,51.558016,33.977934,53.930014,35.486975,55.97201L0,55.97201z M45.792979,41.23501L45.792979,44.381369 49.520987,44.381369 53.248991,44.381369 53.248991,41.23501 55.955996,43.431261 58.664,45.627512 55.955996,47.823763 53.248991,50.020014 53.248991,46.593622 52.832991,46.593622 46.208979,46.593622 45.792979,46.593622 45.792979,50.020014 43.085974,47.823763 40.378973,45.627512 43.085974,43.431261z M49.522505,33.831042C43.01673,33.831042 37.724913,39.123038 37.724913,45.628031 37.724913,52.132021 43.01673,57.422018 49.522505,57.422018 56.025279,57.422018 61.316092,52.132021 61.316092,45.628031 61.316092,39.123038 56.025279,33.831042 49.522505,33.831042z M49.522505,31.148045C57.504225,31.148045 63.998999,37.645037 63.998999,45.628031 63.998999,53.611021 57.504225,60.105013 49.522505,60.105013 41.538783,60.105013 35.042006,53.611021 35.042006,45.628031 35.042006,37.645037 41.538783,31.148045 49.522505,31.148045z M43.727011,20.990004L54.222014,20.990004 52.473013,24.488018 52.473013,28.435034C51.512015,28.270033 50.531012,28.166033 49.523013,28.166033 48.128012,28.166033 46.77801,28.347035 45.477011,28.658036L45.477011,24.488018z M22.738024,20.990004L33.233027,20.990004 31.484028,24.488005 31.484028,45.477003 24.487025,45.477003 24.487025,24.488005z M1.7489761,20.990004L12.244019,20.990004 10.494845,24.488005 10.494845,45.477003 3.4981506,45.477003 3.4981506,24.488005z M27.98654,6.9969799C26.053462,6.9969799 24.487454,8.5629895 24.487454,10.494997 24.487454,12.427004 26.053462,13.993014 27.98654,13.993014 29.917544,13.993014 31.48355,12.427004 31.48355,10.494997 31.48355,8.5629895 29.917544,6.9969799 27.98654,6.9969799z M27.98654,0L55.972022,17.490999 2.0026847E-05,17.490999z"/> 
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 64 60.11"> \r
+<path fill="#fff" d="M1.7490486,48.97502L32.389891,48.97502C32.893904,51.558016,33.977934,53.930014,35.486975,55.97201L0,55.97201z M45.792979,41.23501L45.792979,44.381369 49.520987,44.381369 53.248991,44.381369 53.248991,41.23501 55.955996,43.431261 58.664,45.627512 55.955996,47.823763 53.248991,50.020014 53.248991,46.593622 52.832991,46.593622 46.208979,46.593622 45.792979,46.593622 45.792979,50.020014 43.085974,47.823763 40.378973,45.627512 43.085974,43.431261z M49.522505,33.831042C43.01673,33.831042 37.724913,39.123038 37.724913,45.628031 37.724913,52.132021 43.01673,57.422018 49.522505,57.422018 56.025279,57.422018 61.316092,52.132021 61.316092,45.628031 61.316092,39.123038 56.025279,33.831042 49.522505,33.831042z M49.522505,31.148045C57.504225,31.148045 63.998999,37.645037 63.998999,45.628031 63.998999,53.611021 57.504225,60.105013 49.522505,60.105013 41.538783,60.105013 35.042006,53.611021 35.042006,45.628031 35.042006,37.645037 41.538783,31.148045 49.522505,31.148045z M43.727011,20.990004L54.222014,20.990004 52.473013,24.488018 52.473013,28.435034C51.512015,28.270033 50.531012,28.166033 49.523013,28.166033 48.128012,28.166033 46.77801,28.347035 45.477011,28.658036L45.477011,24.488018z M22.738024,20.990004L33.233027,20.990004 31.484028,24.488005 31.484028,45.477003 24.487025,45.477003 24.487025,24.488005z M1.7489761,20.990004L12.244019,20.990004 10.494845,24.488005 10.494845,45.477003 3.4981506,45.477003 3.4981506,24.488005z M27.98654,6.9969799C26.053462,6.9969799 24.487454,8.5629895 24.487454,10.494997 24.487454,12.427004 26.053462,13.993014 27.98654,13.993014 29.917544,13.993014 31.48355,12.427004 31.48355,10.494997 31.48355,8.5629895 29.917544,6.9969799 27.98654,6.9969799z M27.98654,0L55.972022,17.490999 2.0026847E-05,17.490999z"/> \r
 </svg>
\ No newline at end of file
index d9fd285..f66fe86 100644 (file)
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 994.48 1093.96"> 
-<path fill="#fff" d="M239.750991821289,1043.58226607392C253.667999267578,1043.58226607392 264.940994262695,1054.86205123017 264.940994262695,1068.75072310517 264.940994262695,1082.67845748017 253.667999267578,1093.95921919892 239.750991821289,1093.95921919892 225.835983276367,1093.95921919892 214.56298828125,1082.67845748017 214.56298828125,1068.75072310517 214.56298828125,1054.86205123017 225.835983276367,1043.58226607392 239.750991821289,1043.58226607392z M93.8241809606552,1043.39928267548C107.740937232971,1043.39928267548 119.010982513428,1054.68028853486 119.010984420776,1068.56920455048 119.010982513428,1082.49522994111 107.740937232971,1093.77428267548 93.8241809606552,1093.77428267548 79.9073276519775,1093.77428267548 68.6359844207764,1082.49522994111 68.6359920501709,1068.56920455048 68.6359844207764,1054.68028853486 79.9073276519775,1043.39928267548 93.8241809606552,1043.39928267548z M94.459946513176,871.199758749703L94.459946513176,934.453237753609 253.355880737305,928.042227011421 259.93489074707,871.199758749703z M0,803.720205527046L85.5028266906738,803.720205527046 85.5028266906738,836.403555136421 301.004974365234,836.403555136421 283.605941772461,958.227224570015 85.5028266906738,974.964224081734 85.5028266906738,994.916250448921 286.150939941406,994.916250448921 286.150939941406,1029.01427290986 56.5215606689453,1029.01427290986 56.5215606689453,836.403555136421 0,836.403555136421z M433.031234741211,798.150137167671C510.973281860352,798.300100546578 588.914352416992,798.240102987984 666.855422973633,798.240102987984 715.149429321289,798.240102987984 763.445449829102,798.230154257515 811.739517211914,798.250112753609 823.695510864258,798.250112753609 830.530532836914,804.039785605171 832.198501586914,816.028982382515 833.292495727539,823.878469687203 833.953506469727,831.577993612984 829.486526489258,839.117544394234 823.336502075195,849.486868124703 813.423477172852,852.526663046578 802.928482055664,852.596670370796 742.20344543457,852.966665487984 681.474380493164,852.776663046578 620.746353149414,852.766653280953 560.260330200195,852.766653280953 499.770278930664,852.926626425484 439.283248901367,852.616689902046 427.385238647461,852.556692343453 417.195236206055,847.856985312203 411.486221313477,836.287710409859 406.551223754883,826.278372030953 408.001235961914,816.028982382515 413.514236450195,807.57951949189 417.387222290039,801.649893027046 424.71223449707,798.140127402046 433.031234741211,798.150137167671z M431.592758178711,677.630178671578C556.891738891602,677.690176230171 682.19075012207,677.680166464546 807.488723754883,677.680166464546 825.322708129883,677.680166464546 838.240737915039,694.37932417939 833.302749633789,711.418508749703 829.617752075195,724.117849570015 822.383743286133,731.237539511421 807.718704223633,731.077505331734 746.033767700195,730.377554159859 684.33674621582,730.777517538765 622.643753051758,730.777517538765 559.276748657227,730.777517538765 495.910751342773,730.78752730439 432.542770385742,730.777517538765 418.729751586914,730.777517538765 406.304763793945,715.558279257515 408.729751586914,701.76897261689 410.153762817383,693.66936324189 411.993759155273,686.169729452828 419.903762817383,681.26994917939 423.733749389648,678.900076132515 427.197769165039,677.630178671578 431.592758178711,677.630178671578z M808.221389770508,558.360403280953C829.822463989258,558.280447226265 837.41145324707,582.110891562203 831.487442016602,595.97112105439 827.14143371582,606.15129683564 819.18440246582,611.961416464546 807.66438293457,611.881399374703 745.491287231445,611.411428671578 683.314102172852,611.661428671578 621.13801574707,611.661428671578 559.19987487793,611.661428671578 497.262741088867,611.661428671578 435.326583862305,611.661428671578 419.242568969727,611.661428671578 413.15153503418,606.501333456734 410.170547485352,590.340994101265 407.644546508789,576.650747519234 411.132553100586,568.530630331734 422.345565795898,561.480459433296 425.881576538086,559.25041792939 429.671585083008,558.550405722359 433.728591918945,558.550405722359 558.559860229492,558.560415487984 683.391128540039,558.79045699189 808.221389770508,558.360403280953z M67.4396743774414,454.068105917671C67.699275970459,453.980581503609 67.994815826416,454.090627890328 68.3479804992676,454.515951376656 67.9948139190674,454.776113730171 67.6430473327637,455.04631636689 66.7469844818115,454.806143027046 66.9564056396484,454.440908652046 67.1800708770752,454.15569136689 67.4396743774414,454.068105917671z M456.319046020508,278.471029501656C470.538101196289,278.341024618843 486.855117797852,293.50334761689 482.146102905273,311.196096640328 477.77311706543,327.628622275093 471.279098510742,333.219473105171 454.388046264648,333.219473105171 426.166000366211,333.219473105171 397.942947387695,333.219473105171 369.720901489258,333.219473105171 341.257827758789,333.219473105171 312.750778198242,332.229330282906 284.350723266602,333.559530478218 265.465682983398,334.449667196968 248.749649047852,309.945883017281 260.752670288086,292.643209677437 266.106689453125,284.922018271187 272.882705688477,278.641073446968 283.397705078125,278.651052695015 341.038833618164,278.691061239937 398.68196105957,278.961111288765 456.319046020508,278.471029501656z M457.827621459961,159.400381308296C466.018600463867,159.330373984078 481.000564575195,171.681036215523 482.163558959961,181.961553793648 484.918563842773,206.292883139351 468.656600952148,216.193395834664 448.661636352539,216.773428183296 421.895706176758,217.55347273896 395.089767456055,216.963445883492 368.301834106445,216.963445883492 342.46989440918,216.963445883492 316.637954711914,216.92343733857 290.80598449707,216.983450155953 270.446060180664,217.023443442085 261.384078979492,204.472784262398 256.790084838867,189.792013388374 254.376098632813,182.071584921578 264.391067504883,166.490759115914 273.337051391602,162.500539999703 277.983032226563,160.430441122749 282.698028564453,159.39038680146 287.880020141602,159.470403891304 303.901977539063,159.700399618843 319.929946899414,159.55039046357 335.954879760742,159.55039046357 376.579818725586,159.55039046357 417.205703735352,159.740392904976 457.827621459961,159.400381308296z M617.639724731445,0.000119525742775295C626.194717407227,-0.0198438761144644 632.624771118164,2.46013639519515 638.251724243164,8.04017947266402 646.269729614258,15.9901649768144 654.751724243164,23.4301054293901 662.619827270508,31.6002466494829 671.879776000977,41.2101347262651 681.54377746582,50.6503202731401 691.235794067383,59.9400884921342 721.956802368164,89.3803007418901 752.151809692383,119.400312643746 781.764785766602,149.960119467476 794.655838012695,163.260168295601 808.554885864258,175.510168295601 821.174880981445,189.020178061226 850.166885375977,220.050207358101 882.315872192383,247.850256186226 911.730911254883,278.440115195015 937.196914672852,304.930074911812 964.235916137695,329.880270224312 989.055923461914,357.020162802437 992.732925415039,361.040182333687 994.484939575195,365.230123739937 994.47395324707,370.900289755562 994.303909301758,468.010153036812 994.34992980957,565.120229941109 994.34992980957,662.230093222359 994.34992980957,757.910269003609 994.381912231445,853.590200644234 994.330947875977,949.270132284859 994.316909790039,975.850210409859 987.547927856445,1000.48009322236 971.929946899414,1022.25011275361 958.618911743164,1040.81017134736 942.809951782227,1056.54015181611 922.774917602539,1068.24010298798 899.567886352539,1081.78014205048 874.912857055664,1088.21019576142 848.211868286133,1088.2001859958 681.733779907227,1088.13011763642 515.255722045898,1088.1201078708 348.776596069336,1088.33019087861 342.311614990234,1088.34020064423 341.137619018555,1086.63011763642 341.129623413086,1080.54015181611 341.104614257813,1062.4501859958 342.310623168945,1044.34020064423 340.549606323242,1026.26012251923 340.337615966797,1024.07018111298 341.270614624023,1021.68004439423 344.589614868164,1022.10021040986 346.236618041992,1022.32018111298 347.934616088867,1022.14024947236 349.608627319336,1022.14024947236 509.866714477539,1022.14024947236 670.127822875977,1022.36022017548 830.386856079102,1021.94005415986 858.913833618164,1021.86022017548 886.035842895508,1015.47008345673 906.68489074707,993.190054159859 920.51692199707,978.260122519234 928.294937133789,960.740102987984 928.304946899414,940.310171347359 928.386917114258,767.860220175484 928.298904418945,595.410269003609 928.479934692383,422.950094443062 928.487930297852,416.500143271187 926.983901977539,414.840231161812 920.443923950195,414.860250693062 856.58088684082,415.140279989937 792.710891723633,415.470113974312 728.853775024414,414.800192099312 703.994827270508,414.540182333687 679.350784301758,410.480123739937 656.656814575195,399.400289755562 645.180740356445,393.800192099312 634.195755004883,387.400289755562 624.813735961914,378.110250693062 612.802749633789,366.220113974312 601.034744262695,354.160299521187 592.772750854492,339.450094443062 582.744735717773,321.600240927437 575.212753295898,302.730123739937 575.233749389648,281.65032027314 575.297744750977,212.760168295601 575.179733276367,143.870290976265 575.396743774414,74.980138998726 575.415725708008,69.2001249606401 574.319747924805,67.5302030856401 568.172744750977,67.5402128512651 457.903671264648,67.7601835543901 347.636611938477,67.5702421481401 237.368591308594,67.7901899630815 210.406555175781,67.8402616793901 189.527351379395,80.0802519137651 173.675918579102,101.790189963082 162.904037475586,116.550214987496 159.235038757324,133.32024214814 159.162002563477,150.850271445015 158.858337402344,225.000158529976 158.947334289551,299.150289755562 159.150314331055,373.300192099312 159.175140380859,381.980123739937 156.811336517334,723.560171347359 148.943313598633,722.810171347359 132.008724212646,721.200063925484 115.716413497925,723.810171347359 100.084028720856,730.580190878609 95.4894044399261,732.570181112984 92.8774433415383,732.350210409859 92.8920095348312,725.860220175484 93.0745536088943,643.580190878609 92.9095735978335,221.910314779976 93.0934931337833,139.620290976265 93.1344138681889,121.480146628121 98.7642164230347,104.440107565621 106.163519859314,88.1002790744096 111.540782928467,76.2201444918901 116.754514694214,64.2802030856401 126.119003295898,54.530172568062 139.469326019287,40.6303007418901 152.51602935791,25.7401640231401 169.966026306152,17.710104208687 186.287551879883,10.2001259143144 203.18856048584,2.91033170769515 221.881591796875,1.36024795124831 230.645568847656,0.630302589634084 239.355575561523,0.300224464634084 248.086547851563,0.300176870325231 371.270645141602,0.210136574009084 494.455673217773,0.350273292759084 617.639724731445,0.000119525742775295z"/> 
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 994.48 1093.96"> \r
+<path fill="#fff" d="M239.750991821289,1043.58226607392C253.667999267578,1043.58226607392 264.940994262695,1054.86205123017 264.940994262695,1068.75072310517 264.940994262695,1082.67845748017 253.667999267578,1093.95921919892 239.750991821289,1093.95921919892 225.835983276367,1093.95921919892 214.56298828125,1082.67845748017 214.56298828125,1068.75072310517 214.56298828125,1054.86205123017 225.835983276367,1043.58226607392 239.750991821289,1043.58226607392z M93.8241809606552,1043.39928267548C107.740937232971,1043.39928267548 119.010982513428,1054.68028853486 119.010984420776,1068.56920455048 119.010982513428,1082.49522994111 107.740937232971,1093.77428267548 93.8241809606552,1093.77428267548 79.9073276519775,1093.77428267548 68.6359844207764,1082.49522994111 68.6359920501709,1068.56920455048 68.6359844207764,1054.68028853486 79.9073276519775,1043.39928267548 93.8241809606552,1043.39928267548z M94.459946513176,871.199758749703L94.459946513176,934.453237753609 253.355880737305,928.042227011421 259.93489074707,871.199758749703z M0,803.720205527046L85.5028266906738,803.720205527046 85.5028266906738,836.403555136421 301.004974365234,836.403555136421 283.605941772461,958.227224570015 85.5028266906738,974.964224081734 85.5028266906738,994.916250448921 286.150939941406,994.916250448921 286.150939941406,1029.01427290986 56.5215606689453,1029.01427290986 56.5215606689453,836.403555136421 0,836.403555136421z M433.031234741211,798.150137167671C510.973281860352,798.300100546578 588.914352416992,798.240102987984 666.855422973633,798.240102987984 715.149429321289,798.240102987984 763.445449829102,798.230154257515 811.739517211914,798.250112753609 823.695510864258,798.250112753609 830.530532836914,804.039785605171 832.198501586914,816.028982382515 833.292495727539,823.878469687203 833.953506469727,831.577993612984 829.486526489258,839.117544394234 823.336502075195,849.486868124703 813.423477172852,852.526663046578 802.928482055664,852.596670370796 742.20344543457,852.966665487984 681.474380493164,852.776663046578 620.746353149414,852.766653280953 560.260330200195,852.766653280953 499.770278930664,852.926626425484 439.283248901367,852.616689902046 427.385238647461,852.556692343453 417.195236206055,847.856985312203 411.486221313477,836.287710409859 406.551223754883,826.278372030953 408.001235961914,816.028982382515 413.514236450195,807.57951949189 417.387222290039,801.649893027046 424.71223449707,798.140127402046 433.031234741211,798.150137167671z M431.592758178711,677.630178671578C556.891738891602,677.690176230171 682.19075012207,677.680166464546 807.488723754883,677.680166464546 825.322708129883,677.680166464546 838.240737915039,694.37932417939 833.302749633789,711.418508749703 829.617752075195,724.117849570015 822.383743286133,731.237539511421 807.718704223633,731.077505331734 746.033767700195,730.377554159859 684.33674621582,730.777517538765 622.643753051758,730.777517538765 559.276748657227,730.777517538765 495.910751342773,730.78752730439 432.542770385742,730.777517538765 418.729751586914,730.777517538765 406.304763793945,715.558279257515 408.729751586914,701.76897261689 410.153762817383,693.66936324189 411.993759155273,686.169729452828 419.903762817383,681.26994917939 423.733749389648,678.900076132515 427.197769165039,677.630178671578 431.592758178711,677.630178671578z M808.221389770508,558.360403280953C829.822463989258,558.280447226265 837.41145324707,582.110891562203 831.487442016602,595.97112105439 827.14143371582,606.15129683564 819.18440246582,611.961416464546 807.66438293457,611.881399374703 745.491287231445,611.411428671578 683.314102172852,611.661428671578 621.13801574707,611.661428671578 559.19987487793,611.661428671578 497.262741088867,611.661428671578 435.326583862305,611.661428671578 419.242568969727,611.661428671578 413.15153503418,606.501333456734 410.170547485352,590.340994101265 407.644546508789,576.650747519234 411.132553100586,568.530630331734 422.345565795898,561.480459433296 425.881576538086,559.25041792939 429.671585083008,558.550405722359 433.728591918945,558.550405722359 558.559860229492,558.560415487984 683.391128540039,558.79045699189 808.221389770508,558.360403280953z M67.4396743774414,454.068105917671C67.699275970459,453.980581503609 67.994815826416,454.090627890328 68.3479804992676,454.515951376656 67.9948139190674,454.776113730171 67.6430473327637,455.04631636689 66.7469844818115,454.806143027046 66.9564056396484,454.440908652046 67.1800708770752,454.15569136689 67.4396743774414,454.068105917671z M456.319046020508,278.471029501656C470.538101196289,278.341024618843 486.855117797852,293.50334761689 482.146102905273,311.196096640328 477.77311706543,327.628622275093 471.279098510742,333.219473105171 454.388046264648,333.219473105171 426.166000366211,333.219473105171 397.942947387695,333.219473105171 369.720901489258,333.219473105171 341.257827758789,333.219473105171 312.750778198242,332.229330282906 284.350723266602,333.559530478218 265.465682983398,334.449667196968 248.749649047852,309.945883017281 260.752670288086,292.643209677437 266.106689453125,284.922018271187 272.882705688477,278.641073446968 283.397705078125,278.651052695015 341.038833618164,278.691061239937 398.68196105957,278.961111288765 456.319046020508,278.471029501656z M457.827621459961,159.400381308296C466.018600463867,159.330373984078 481.000564575195,171.681036215523 482.163558959961,181.961553793648 484.918563842773,206.292883139351 468.656600952148,216.193395834664 448.661636352539,216.773428183296 421.895706176758,217.55347273896 395.089767456055,216.963445883492 368.301834106445,216.963445883492 342.46989440918,216.963445883492 316.637954711914,216.92343733857 290.80598449707,216.983450155953 270.446060180664,217.023443442085 261.384078979492,204.472784262398 256.790084838867,189.792013388374 254.376098632813,182.071584921578 264.391067504883,166.490759115914 273.337051391602,162.500539999703 277.983032226563,160.430441122749 282.698028564453,159.39038680146 287.880020141602,159.470403891304 303.901977539063,159.700399618843 319.929946899414,159.55039046357 335.954879760742,159.55039046357 376.579818725586,159.55039046357 417.205703735352,159.740392904976 457.827621459961,159.400381308296z M617.639724731445,0.000119525742775295C626.194717407227,-0.0198438761144644 632.624771118164,2.46013639519515 638.251724243164,8.04017947266402 646.269729614258,15.9901649768144 654.751724243164,23.4301054293901 662.619827270508,31.6002466494829 671.879776000977,41.2101347262651 681.54377746582,50.6503202731401 691.235794067383,59.9400884921342 721.956802368164,89.3803007418901 752.151809692383,119.400312643746 781.764785766602,149.960119467476 794.655838012695,163.260168295601 808.554885864258,175.510168295601 821.174880981445,189.020178061226 850.166885375977,220.050207358101 882.315872192383,247.850256186226 911.730911254883,278.440115195015 937.196914672852,304.930074911812 964.235916137695,329.880270224312 989.055923461914,357.020162802437 992.732925415039,361.040182333687 994.484939575195,365.230123739937 994.47395324707,370.900289755562 994.303909301758,468.010153036812 994.34992980957,565.120229941109 994.34992980957,662.230093222359 994.34992980957,757.910269003609 994.381912231445,853.590200644234 994.330947875977,949.270132284859 994.316909790039,975.850210409859 987.547927856445,1000.48009322236 971.929946899414,1022.25011275361 958.618911743164,1040.81017134736 942.809951782227,1056.54015181611 922.774917602539,1068.24010298798 899.567886352539,1081.78014205048 874.912857055664,1088.21019576142 848.211868286133,1088.2001859958 681.733779907227,1088.13011763642 515.255722045898,1088.1201078708 348.776596069336,1088.33019087861 342.311614990234,1088.34020064423 341.137619018555,1086.63011763642 341.129623413086,1080.54015181611 341.104614257813,1062.4501859958 342.310623168945,1044.34020064423 340.549606323242,1026.26012251923 340.337615966797,1024.07018111298 341.270614624023,1021.68004439423 344.589614868164,1022.10021040986 346.236618041992,1022.32018111298 347.934616088867,1022.14024947236 349.608627319336,1022.14024947236 509.866714477539,1022.14024947236 670.127822875977,1022.36022017548 830.386856079102,1021.94005415986 858.913833618164,1021.86022017548 886.035842895508,1015.47008345673 906.68489074707,993.190054159859 920.51692199707,978.260122519234 928.294937133789,960.740102987984 928.304946899414,940.310171347359 928.386917114258,767.860220175484 928.298904418945,595.410269003609 928.479934692383,422.950094443062 928.487930297852,416.500143271187 926.983901977539,414.840231161812 920.443923950195,414.860250693062 856.58088684082,415.140279989937 792.710891723633,415.470113974312 728.853775024414,414.800192099312 703.994827270508,414.540182333687 679.350784301758,410.480123739937 656.656814575195,399.400289755562 645.180740356445,393.800192099312 634.195755004883,387.400289755562 624.813735961914,378.110250693062 612.802749633789,366.220113974312 601.034744262695,354.160299521187 592.772750854492,339.450094443062 582.744735717773,321.600240927437 575.212753295898,302.730123739937 575.233749389648,281.65032027314 575.297744750977,212.760168295601 575.179733276367,143.870290976265 575.396743774414,74.980138998726 575.415725708008,69.2001249606401 574.319747924805,67.5302030856401 568.172744750977,67.5402128512651 457.903671264648,67.7601835543901 347.636611938477,67.5702421481401 237.368591308594,67.7901899630815 210.406555175781,67.8402616793901 189.527351379395,80.0802519137651 173.675918579102,101.790189963082 162.904037475586,116.550214987496 159.235038757324,133.32024214814 159.162002563477,150.850271445015 158.858337402344,225.000158529976 158.947334289551,299.150289755562 159.150314331055,373.300192099312 159.175140380859,381.980123739937 156.811336517334,723.560171347359 148.943313598633,722.810171347359 132.008724212646,721.200063925484 115.716413497925,723.810171347359 100.084028720856,730.580190878609 95.4894044399261,732.570181112984 92.8774433415383,732.350210409859 92.8920095348312,725.860220175484 93.0745536088943,643.580190878609 92.9095735978335,221.910314779976 93.0934931337833,139.620290976265 93.1344138681889,121.480146628121 98.7642164230347,104.440107565621 106.163519859314,88.1002790744096 111.540782928467,76.2201444918901 116.754514694214,64.2802030856401 126.119003295898,54.530172568062 139.469326019287,40.6303007418901 152.51602935791,25.7401640231401 169.966026306152,17.710104208687 186.287551879883,10.2001259143144 203.18856048584,2.91033170769515 221.881591796875,1.36024795124831 230.645568847656,0.630302589634084 239.355575561523,0.300224464634084 248.086547851563,0.300176870325231 371.270645141602,0.210136574009084 494.455673217773,0.350273292759084 617.639724731445,0.000119525742775295z"/> \r
 </svg>
\ No newline at end of file
index f2e0838..63b6bf3 100644 (file)
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 36.15 64"> 
-<path fill="#fff" d="M34.121552,40.051L36.144999,43.16945 15.130303,56.796999 13.106756,53.677217 13.106756,53.675916 8.6079996,46.735841 11.726523,44.71375 16.22783,51.65373z M0,36.751001L27.249001,36.751001 27.249001,42.554475 23.151356,45.210752 23.151356,40.848707 4.0964856,40.848707 4.0964856,59.901056 23.151356,59.901056 23.151356,53.548086 27.249001,50.890455 27.249001,64.000001 0,64.000001z M34.121553,3.3010007L36.145,6.4182236 15.130303,20.046001 13.106757,16.926167 13.106757,16.924866 8.6079996,9.9846706 11.726523,7.9638004 16.227831,14.904045z M0,0L27.249001,0 27.249001,5.8034441 23.151356,8.4597235 23.151356,4.0990154 4.0964847,4.0990154 4.0964847,23.149955 23.151356,23.149955 23.151356,16.798385 27.249001,14.140756 27.249001,27.249 0,27.249z"/> 
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 36.15 64"> \r
+<path fill="#fff" d="M34.121552,40.051L36.144999,43.16945 15.130303,56.796999 13.106756,53.677217 13.106756,53.675916 8.6079996,46.735841 11.726523,44.71375 16.22783,51.65373z M0,36.751001L27.249001,36.751001 27.249001,42.554475 23.151356,45.210752 23.151356,40.848707 4.0964856,40.848707 4.0964856,59.901056 23.151356,59.901056 23.151356,53.548086 27.249001,50.890455 27.249001,64.000001 0,64.000001z M34.121553,3.3010007L36.145,6.4182236 15.130303,20.046001 13.106757,16.926167 13.106757,16.924866 8.6079996,9.9846706 11.726523,7.9638004 16.227831,14.904045z M0,0L27.249001,0 27.249001,5.8034441 23.151356,8.4597235 23.151356,4.0990154 4.0964847,4.0990154 4.0964847,23.149955 23.151356,23.149955 23.151356,16.798385 27.249001,14.140756 27.249001,27.249 0,27.249z"/> \r
 </svg>
\ No newline at end of file
index 035f607..a943303 100644 (file)
@@ -1,9 +1,9 @@
-<?xml version="1.0" encoding="utf-8"?>
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
-        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">
-<polygon  fill="#fff" points="11.476,7.766 11.476,22.481 0,17.21 0,3.677       "/>
-<polygon  fill="#fff" points="24,3.677 20.336,4.936 20.336,13.163 17.261,14.168 17.261,5.991 12.532,7.617 12.534,22.63 
-               24,17.847       "/>
-<polygon  fill="#fff" points="20.129,3.875 23.409,2.758 11.744,0 8.986,0.749           "/>
-<polyline  fill="#fff" points="0.709,2.996 11.586,6.779 16.823,4.998 5.616,1.694               "/>
-</svg>
+<?xml version="1.0" encoding="utf-8"?>\r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r
+        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">\r
+<polygon  fill="#fff" points="11.476,7.766 11.476,22.481 0,17.21 0,3.677       "/>\r
+<polygon  fill="#fff" points="24,3.677 20.336,4.936 20.336,13.163 17.261,14.168 17.261,5.991 12.532,7.617 12.534,22.63 \r
+               24,17.847       "/>\r
+<polygon  fill="#fff" points="20.129,3.875 23.409,2.758 11.744,0 8.986,0.749           "/>\r
+<polyline  fill="#fff" points="0.709,2.996 11.586,6.779 16.823,4.998 5.616,1.694               "/>\r
+</svg>\r
index 06c0c86..0a082d5 100644 (file)
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 769.77 768"> 
-<path fill="#fff" d="M421.284,381.888C339.661,381.888,268.338,443.52,228.7,535.488L613.911,535.488C574.229,443.52,502.906,381.888,421.284,381.888z M421.327,232.512C379.604,232.512 345.833,262.387 345.833,299.212 345.833,336 379.604,365.913 421.327,365.913 463.008,365.913 496.778,336 496.778,299.212 496.778,262.387 463.008,232.512 421.327,232.512z M72.7557,0L769.768,0 769.768,768 72.7557,768 72.7557,717.964 0,717.964 0,666.662 72.7557,666.662 72.7557,562.752 0,562.752 0,511.45 72.7557,511.45 72.7557,407.539 0,407.539 0,356.237 72.7557,356.237 72.7557,252.364 0,252.364 0,201.062 72.7557,201.062 72.7557,97.1519 0,97.1519 0,45.8496 72.7557,45.8496z"/> 
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 769.77 768"> \r
+<path fill="#fff" d="M421.284,381.888C339.661,381.888,268.338,443.52,228.7,535.488L613.911,535.488C574.229,443.52,502.906,381.888,421.284,381.888z M421.327,232.512C379.604,232.512 345.833,262.387 345.833,299.212 345.833,336 379.604,365.913 421.327,365.913 463.008,365.913 496.778,336 496.778,299.212 496.778,262.387 463.008,232.512 421.327,232.512z M72.7557,0L769.768,0 769.768,768 72.7557,768 72.7557,717.964 0,717.964 0,666.662 72.7557,666.662 72.7557,562.752 0,562.752 0,511.45 72.7557,511.45 72.7557,407.539 0,407.539 0,356.237 72.7557,356.237 72.7557,252.364 0,252.364 0,201.062 72.7557,201.062 72.7557,97.1519 0,97.1519 0,45.8496 72.7557,45.8496z"/> \r
 </svg>
\ No newline at end of file
index d7cbfaf..0aa4133 100644 (file)
@@ -1,9 +1,9 @@
-<?xml version="1.0" encoding="utf-8"?>
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
-        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">
-<polygon points="24,19.194 15.565,12.661 24,4.39       "/>
-<polygon points="0,4.031 8.794,12.542 0,19.782         "/>
-<path d="M13.6,14.844c-0.5,0.493-1.62,0.493-2.311-0.164l-1.664-1.307L0.75,20.441L24,20.416l-8.91-6.806
-               L13.6,14.844z"/>
-<path d="M23.56,3.451l-9.896,9.685c-0.658,0.566-1.729,0.566-2.393,0L0.75,3.469L23.56,3.451z"/>
-</svg>
+<?xml version="1.0" encoding="utf-8"?>\r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r
+        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">\r
+<polygon points="24,19.194 15.565,12.661 24,4.39       "/>\r
+<polygon points="0,4.031 8.794,12.542 0,19.782         "/>\r
+<path d="M13.6,14.844c-0.5,0.493-1.62,0.493-2.311-0.164l-1.664-1.307L0.75,20.441L24,20.416l-8.91-6.806\r
+               L13.6,14.844z"/>\r
+<path d="M23.56,3.451l-9.896,9.685c-0.658,0.566-1.729,0.566-2.393,0L0.75,3.469L23.56,3.451z"/>\r
+</svg>\r
index e25faca..06b5b07 100644 (file)
@@ -1,9 +1,9 @@
-<?xml version="1.0" encoding="utf-8"?>
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
-        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">
-<polygon fill="#fff" points="24,19.194 15.565,12.661 24,4.39   "/>
-<polygon fill="#fff" points="0,4.031 8.794,12.542 0,19.782     "/>
-<path fill="#fff" d="M13.6,14.844c-0.5,0.493-1.62,0.493-2.311-0.164l-1.664-1.307L0.75,20.441L24,20.416l-8.91-6.806
-               L13.6,14.844z"/>
-<path fill="#fff" d="M23.56,3.451l-9.896,9.685c-0.658,0.566-1.729,0.566-2.393,0L0.75,3.469L23.56,3.451z"/>
-</svg>
+<?xml version="1.0" encoding="utf-8"?>\r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r
+        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">\r
+<polygon fill="#fff" points="24,19.194 15.565,12.661 24,4.39   "/>\r
+<polygon fill="#fff" points="0,4.031 8.794,12.542 0,19.782     "/>\r
+<path fill="#fff" d="M13.6,14.844c-0.5,0.493-1.62,0.493-2.311-0.164l-1.664-1.307L0.75,20.441L24,20.416l-8.91-6.806\r
+               L13.6,14.844z"/>\r
+<path fill="#fff" d="M23.56,3.451l-9.896,9.685c-0.658,0.566-1.729,0.566-2.393,0L0.75,3.469L23.56,3.451z"/>\r
+</svg>\r
index bf24904..de55dc9 100644 (file)
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 22.94 15.26"> 
-<path  fill="#fff" d="M5.388822,5.0339882L22.943006,5.0339882 18.721215,15.256989 1.6100047,15.256989z M0,0L6.6660105,0 8.0000125,2.9348083 18.70703,2.9348083 18.70403,3.8337495 4.5530072,3.8337495 0.33200061,15.257004 0,15.257004z"/> 
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 22.94 15.26"> \r
+<path  fill="#fff" d="M5.388822,5.0339882L22.943006,5.0339882 18.721215,15.256989 1.6100047,15.256989z M0,0L6.6660105,0 8.0000125,2.9348083 18.70703,2.9348083 18.70403,3.8337495 4.5530072,3.8337495 0.33200061,15.257004 0,15.257004z"/> \r
 </svg>
\ No newline at end of file
index 2719d6e..705c299 100644 (file)
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 337.75 309"> 
-<path fill="#f00" d="M168.877288818359,0L337.753997802734,125.378739102553 232.19889831543,125.378739102553 232.19889831543,309.000000699232 105.555671691895,309.000000699232 105.555671691895,125.378739102553 0,125.378739102553z"/> 
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 337.75 309"> \r
+<path fill="#f00" d="M168.877288818359,0L337.753997802734,125.378739102553 232.19889831543,125.378739102553 232.19889831543,309.000000699232 105.555671691895,309.000000699232 105.555671691895,125.378739102553 0,125.378739102553z"/> \r
 </svg>
\ No newline at end of file
index e03e87a..1c03e1c 100644 (file)
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 301.9 319"> 
-<path fill="#0f0" d="M94.3515322208405,0L207.552948236465,0 207.552948236465,189.563659667969 301.904999017715,189.563659667969 150.952224969864,319 0,189.563659667969 94.3515322208405,189.563659667969z"/> 
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 301.9 319"> \r
+<path fill="#0f0" d="M94.3515322208405,0L207.552948236465,0 207.552948236465,189.563659667969 301.904999017715,189.563659667969 150.952224969864,319 0,189.563659667969 94.3515322208405,189.563659667969z"/> \r
 </svg>
\ No newline at end of file
index 816c7c2..d59b81e 100644 (file)
@@ -1,15 +1,15 @@
-<?xml version="1.0" encoding="utf-8"?>
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
-        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">
-<polygon fill="#fff" points="22.042,8.168 13.957,8.168 13.957,0.084 "/>
-<path fill="#fff" d="M11.638,15.152c-0.328,0-0.539,0.029-0.664,0.057v4.24c0.125,0.03,0.327,0.03,0.509,0.03
-               c1.328,0.009,2.192-0.722,2.192-2.27C13.687,15.863,12.898,15.152,11.638,15.152z"/>
-<path fill="#fff" d="M5.972,15.133c-0.298,0-0.501,0.028-0.607,0.057v1.915c0.125,0.027,0.279,0.038,0.491,0.038
-               c0.779,0,1.259-0.395,1.259-1.059C7.114,15.488,6.701,15.133,5.972,15.133z"/>
-<path fill="#fff" d="M11.874,9.979V0H1.833v24h20.209l0.033-14.021H11.874z M7.971,17.584c-0.5,0.472-1.24,0.683-2.105,0.683
-               c-0.192,0-0.366-0.009-0.501-0.029v2.317H3.914v-6.394c0.453-0.077,1.086-0.135,1.98-0.135c0.903,0,1.549,0.174,1.98,0.521
-               c0.415,0.326,0.692,0.864,0.692,1.499S8.356,17.219,7.971,17.584z M14.158,19.786c-0.685,0.567-1.723,0.837-2.992,0.837
-               c-0.759,0-1.298-0.048-1.663-0.097v-6.365c0.537-0.087,1.239-0.135,1.979-0.135c1.23,0,2.031,0.222,2.655,0.693
-               c0.673,0.499,1.096,1.297,1.096,2.442C15.233,18.402,14.78,19.257,14.158,19.786z M20.162,15.275h-2.49v1.481h2.326v1.193h-2.326
-               v2.604h-1.471v-6.48h3.961V15.275z"/>
-</svg>
+<?xml version="1.0" encoding="utf-8"?>\r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r
+        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">\r
+<polygon fill="#fff" points="22.042,8.168 13.957,8.168 13.957,0.084 "/>\r
+<path fill="#fff" d="M11.638,15.152c-0.328,0-0.539,0.029-0.664,0.057v4.24c0.125,0.03,0.327,0.03,0.509,0.03\r
+               c1.328,0.009,2.192-0.722,2.192-2.27C13.687,15.863,12.898,15.152,11.638,15.152z"/>\r
+<path fill="#fff" d="M5.972,15.133c-0.298,0-0.501,0.028-0.607,0.057v1.915c0.125,0.027,0.279,0.038,0.491,0.038\r
+               c0.779,0,1.259-0.395,1.259-1.059C7.114,15.488,6.701,15.133,5.972,15.133z"/>\r
+<path fill="#fff" d="M11.874,9.979V0H1.833v24h20.209l0.033-14.021H11.874z M7.971,17.584c-0.5,0.472-1.24,0.683-2.105,0.683\r
+               c-0.192,0-0.366-0.009-0.501-0.029v2.317H3.914v-6.394c0.453-0.077,1.086-0.135,1.98-0.135c0.903,0,1.549,0.174,1.98,0.521\r
+               c0.415,0.326,0.692,0.864,0.692,1.499S8.356,17.219,7.971,17.584z M14.158,19.786c-0.685,0.567-1.723,0.837-2.992,0.837\r
+               c-0.759,0-1.298-0.048-1.663-0.097v-6.365c0.537-0.087,1.239-0.135,1.979-0.135c1.23,0,2.031,0.222,2.655,0.693\r
+               c0.673,0.499,1.096,1.297,1.096,2.442C15.233,18.402,14.78,19.257,14.158,19.786z M20.162,15.275h-2.49v1.481h2.326v1.193h-2.326\r
+               v2.604h-1.471v-6.48h3.961V15.275z"/>\r
+</svg>\r
index 082713a..1ba2c0e 100644 (file)
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 49.01 64"> 
-<path fill="#fff" d="M26.039215,27.629606C24.107988,27.5842 22.149706,28.184616 20.511932,29.472662 16.77305,32.416664 16.125353,37.835873 19.06934,41.576878 22.011927,45.318378 27.430601,45.964779 31.172083,43.021477 34.913666,40.078873 35.559963,34.660168 32.615376,30.918665 30.960508,28.813955 28.522223,27.687988 26.039215,27.629606z M26.175369,21.674006C30.374353,21.772219 34.498257,23.675474 37.298256,27.23436 41.403736,32.454266 41.370037,39.598373 37.681053,44.73708L49.014999,59.141796 42.839928,64 31.546482,49.648384C25.63571,52.165989 18.550442,50.550785 14.386461,45.260479 9.4086151,38.932873 10.50158,29.769463 16.82905,24.790958 19.598192,22.613169 22.909492,21.597618 26.175369,21.674006z M17.5919,3.8808338E-30L35.9291,3.8808338E-30C38.934898,-3.5527137E-15,41.373001,2.4387343,41.373001,5.4433918L41.373001,24.876833 41.308846,24.805635C40.161221,23.562506,38.841671,22.462914,37.384888,21.539429L37.016998,21.312212 37.016998,5.4433918C37.016998,4.8445082,36.527302,4.3547654,35.9291,4.3547649L17.877001,4.3547649 17.584,13.852381C17.584,13.852381,17.205099,20.131718,10.2845,19.373112L4.3529701,19.213013 4.3529701,46.19437C4.3529696,46.795174,4.8424096,47.281574,5.4440298,47.281574L9.5967226,47.281574 9.7358932,47.479958C10.809489,48.970966,12.10646,50.308796,13.581778,51.45116L13.827712,51.637001 5.4440298,51.637001C2.4367697,51.637001,-2.9663937E-07,49.200287,2.7083472E-14,46.19437L2.7083472E-14,18.560608 2.156249,16.286495 2.15833,16.225395 13.4551,4.3547649 13.4238,4.3547649 10.4036,7.5417938 13.5677,4.1882553 13.6134,4.1882553 13.7129,4.0832739 13.7227,4.0832739z"/> 
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 49.01 64"> \r
+<path fill="#fff" d="M26.039215,27.629606C24.107988,27.5842 22.149706,28.184616 20.511932,29.472662 16.77305,32.416664 16.125353,37.835873 19.06934,41.576878 22.011927,45.318378 27.430601,45.964779 31.172083,43.021477 34.913666,40.078873 35.559963,34.660168 32.615376,30.918665 30.960508,28.813955 28.522223,27.687988 26.039215,27.629606z M26.175369,21.674006C30.374353,21.772219 34.498257,23.675474 37.298256,27.23436 41.403736,32.454266 41.370037,39.598373 37.681053,44.73708L49.014999,59.141796 42.839928,64 31.546482,49.648384C25.63571,52.165989 18.550442,50.550785 14.386461,45.260479 9.4086151,38.932873 10.50158,29.769463 16.82905,24.790958 19.598192,22.613169 22.909492,21.597618 26.175369,21.674006z M17.5919,3.8808338E-30L35.9291,3.8808338E-30C38.934898,-3.5527137E-15,41.373001,2.4387343,41.373001,5.4433918L41.373001,24.876833 41.308846,24.805635C40.161221,23.562506,38.841671,22.462914,37.384888,21.539429L37.016998,21.312212 37.016998,5.4433918C37.016998,4.8445082,36.527302,4.3547654,35.9291,4.3547649L17.877001,4.3547649 17.584,13.852381C17.584,13.852381,17.205099,20.131718,10.2845,19.373112L4.3529701,19.213013 4.3529701,46.19437C4.3529696,46.795174,4.8424096,47.281574,5.4440298,47.281574L9.5967226,47.281574 9.7358932,47.479958C10.809489,48.970966,12.10646,50.308796,13.581778,51.45116L13.827712,51.637001 5.4440298,51.637001C2.4367697,51.637001,-2.9663937E-07,49.200287,2.7083472E-14,46.19437L2.7083472E-14,18.560608 2.156249,16.286495 2.15833,16.225395 13.4551,4.3547649 13.4238,4.3547649 10.4036,7.5417938 13.5677,4.1882553 13.6134,4.1882553 13.7129,4.0832739 13.7227,4.0832739z"/> \r
 </svg>
\ No newline at end of file
index 44366b8..392cf6b 100644 (file)
@@ -1,8 +1,8 @@
-<?xml version="1.0" encoding="utf-8"?>
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
-        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">
-<path fill="#fff" d="M22.814,3.814H1.185C0.53,3.814,0,4.346,0,5v10.666c0,0.654,0.53,1.186,1.185,1.186h2.552v5.758h16.407
-               v-5.758h2.671c0.653,0,1.185-0.531,1.185-1.186V5C23.999,4.346,23.468,3.814,22.814,3.814z M19.144,21.609H4.737V10.642h14.407
-               V21.609z"/>
-<rect fill="#fff" x="6.167" width="11.664" height="2.476"/>
-</svg>
+<?xml version="1.0" encoding="utf-8"?>\r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r
+        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">\r
+<path fill="#fff" d="M22.814,3.814H1.185C0.53,3.814,0,4.346,0,5v10.666c0,0.654,0.53,1.186,1.185,1.186h2.552v5.758h16.407\r
+               v-5.758h2.671c0.653,0,1.185-0.531,1.185-1.186V5C23.999,4.346,23.468,3.814,22.814,3.814z M19.144,21.609H4.737V10.642h14.407\r
+               V21.609z"/>\r
+<rect fill="#fff" x="6.167" width="11.664" height="2.476"/>\r
+</svg>\r
index dd64d1d..1ae22e7 100644 (file)
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 59.52 64.89"> 
-<path fill="#fff" d="M42.5273,41.723001C43.526165,41.723001 44.334997,42.532689 44.334997,43.52985 44.334997,44.527212 43.526165,45.337 42.5273,45.337 41.529735,45.337 40.721001,44.527212 40.721001,43.52985 40.721001,42.532689 41.529735,41.723001 42.5273,41.723001z M42.526852,38.675563C39.845855,38.675563 37.672762,40.848755 37.672762,43.529648 37.672762,46.21204 39.845855,48.383831 42.526852,48.383831 45.209139,48.383831 47.382336,46.21204 47.382336,43.529648 47.382336,40.848755 45.209139,38.675563 42.526852,38.675563z M42.526852,26.538999C51.91102,26.538999 59.519001,34.145677 59.519001,43.529648 59.519001,52.91382 51.91102,60.521997 42.526852,60.521997 33.142777,60.521997 25.535999,52.91382 25.536,43.529648 25.535999,34.145677 33.142777,26.538999 42.526852,26.538999z M42.526997,2.0219994L41.908512,25.210945C32.078032,25.541048 24.17721,33.62052 24.17721,43.530008 24.17721,48.569153 26.220764,53.138992 29.52009,56.459223L12.752867,64.890997 11.296,5.1781483z M31.717268,0L40.941,1.1314697 9.709528,4.2877789 11.166617,63.999998 1.9426556,59.144499 0,2.9126587z"/> 
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 59.52 64.89"> \r
+<path fill="#fff" d="M42.5273,41.723001C43.526165,41.723001 44.334997,42.532689 44.334997,43.52985 44.334997,44.527212 43.526165,45.337 42.5273,45.337 41.529735,45.337 40.721001,44.527212 40.721001,43.52985 40.721001,42.532689 41.529735,41.723001 42.5273,41.723001z M42.526852,38.675563C39.845855,38.675563 37.672762,40.848755 37.672762,43.529648 37.672762,46.21204 39.845855,48.383831 42.526852,48.383831 45.209139,48.383831 47.382336,46.21204 47.382336,43.529648 47.382336,40.848755 45.209139,38.675563 42.526852,38.675563z M42.526852,26.538999C51.91102,26.538999 59.519001,34.145677 59.519001,43.529648 59.519001,52.91382 51.91102,60.521997 42.526852,60.521997 33.142777,60.521997 25.535999,52.91382 25.536,43.529648 25.535999,34.145677 33.142777,26.538999 42.526852,26.538999z M42.526997,2.0219994L41.908512,25.210945C32.078032,25.541048 24.17721,33.62052 24.17721,43.530008 24.17721,48.569153 26.220764,53.138992 29.52009,56.459223L12.752867,64.890997 11.296,5.1781483z M31.717268,0L40.941,1.1314697 9.709528,4.2877789 11.166617,63.999998 1.9426556,59.144499 0,2.9126587z"/> \r
 </svg>
\ No newline at end of file
index b3e047a..e10bab0 100644 (file)
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 41.89 36.72"> 
-<path fill="#fff" d="M7.6448536,28.572465C5.1143398,29.321172 3.2635136,31.219585 2.6202049,31.95009 2.6280251,31.808189 2.356535,32.261993 2.356535,32.261993 2.356535,32.261993 2.4607849,32.133092 2.6202049,31.95009 2.6175251,32.005491 2.5765038,32.142791 2.4554157,32.441694 2.0205956,33.515901 3.3663025,33.488502 3.3663025,33.488502 7.1807442,32.910997 7.6448536,28.572465 7.6448536,28.572465z M29.497485,24.916215C28.788642,24.916154 28.351388,24.958539 28.351388,24.958539 32.41118,28.265863 36.186571,27.494958 36.186571,27.494958 37.732168,27.302356 35.374073,25.970947 35.374073,25.970947 33.193819,25.071157 30.85073,24.916334 29.497485,24.916215z M15.625316,15.985075C15.625316,15.985075,14.15922,23.086126,12.327924,25.192241L22.486601,23.68123C22.486601,23.68123,17.424112,19.144097,15.625316,15.985075z M34.571964,7.8262539C34.769434,7.8133474,34.994606,7.8998456,35.23263,8.0976054L36.79708,9.4043382C37.556257,10.040459,38.799718,11.079494,39.559395,11.712915L41.125042,13.021558C41.886219,13.65698,41.874519,14.685113,41.104244,15.304233L39.515696,16.582876C38.74422,17.206696,37.483257,18.22163,36.711882,18.842151L35.123232,20.120092C34.353255,20.743913,33.731476,20.222995,33.742476,18.966455L33.763976,16.552374 24.553265,16.552374C23.904886,16.552374,23.379,16.025556,23.379,15.377135L23.379,12.830751C23.379,12.18303,23.904886,11.656913,24.553265,11.656913L33.808373,11.656913 33.829072,9.2285321C33.837186,8.3641583,34.137532,7.8546474,34.571964,7.8262539z M15.822783,2.8691583C15.709185,2.8831162 15.592195,3.0075927 15.478817,3.3033819 15.478817,3.3033819 14.930717,5.9252309 16.302514,10.281932 16.302515,10.281933 17.469812,6.8248974 16.590914,4.1791182 16.590914,4.1791182 16.228488,2.8193059 15.822783,2.8691583z M14.581626,0.00061225891C15.662847,-0.04088068 16.637714,2.0410428 16.637714,2.0410433 19.668307,8.5202198 16.802514,12.66025 16.802514,12.66025 19.803807,19.737801 25.818194,23.517129 25.818194,23.517129 31.661881,23.203327 35.925572,24.679838 35.925572,24.679838 39.279064,26.44415 38.156467,28.093362 38.156467,28.093362 34.641575,32.015291 24.318197,25.899246 24.318197,25.899246L11.011526,28.142162C9.0889406,34.722911 2.6631737,36.269222 2.6631737,36.269222 -0.40004921,36.715724 0.019384384,33.519802 0.019384384,33.519802 2.4100056,28.258064 8.4217119,27.047655 8.4217119,27.047655 10.789427,24.516437 14.660018,12.62055 14.660018,12.62055 10.749126,3.8301156 13.497121,0.90566444 13.497121,0.90566492 13.848995,0.26420975 14.221219,0.014443398 14.581626,0.00061225891z"/> 
+<?xml version="1.0" encoding="utf-8"?> \r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \r
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 41.89 36.72"> \r
+<path fill="#fff" d="M7.6448536,28.572465C5.1143398,29.321172 3.2635136,31.219585 2.6202049,31.95009 2.6280251,31.808189 2.356535,32.261993 2.356535,32.261993 2.356535,32.261993 2.4607849,32.133092 2.6202049,31.95009 2.6175251,32.005491 2.5765038,32.142791 2.4554157,32.441694 2.0205956,33.515901 3.3663025,33.488502 3.3663025,33.488502 7.1807442,32.910997 7.6448536,28.572465 7.6448536,28.572465z M29.497485,24.916215C28.788642,24.916154 28.351388,24.958539 28.351388,24.958539 32.41118,28.265863 36.186571,27.494958 36.186571,27.494958 37.732168,27.302356 35.374073,25.970947 35.374073,25.970947 33.193819,25.071157 30.85073,24.916334 29.497485,24.916215z M15.625316,15.985075C15.625316,15.985075,14.15922,23.086126,12.327924,25.192241L22.486601,23.68123C22.486601,23.68123,17.424112,19.144097,15.625316,15.985075z M34.571964,7.8262539C34.769434,7.8133474,34.994606,7.8998456,35.23263,8.0976054L36.79708,9.4043382C37.556257,10.040459,38.799718,11.079494,39.559395,11.712915L41.125042,13.021558C41.886219,13.65698,41.874519,14.685113,41.104244,15.304233L39.515696,16.582876C38.74422,17.206696,37.483257,18.22163,36.711882,18.842151L35.123232,20.120092C34.353255,20.743913,33.731476,20.222995,33.742476,18.966455L33.763976,16.552374 24.553265,16.552374C23.904886,16.552374,23.379,16.025556,23.379,15.377135L23.379,12.830751C23.379,12.18303,23.904886,11.656913,24.553265,11.656913L33.808373,11.656913 33.829072,9.2285321C33.837186,8.3641583,34.137532,7.8546474,34.571964,7.8262539z M15.822783,2.8691583C15.709185,2.8831162 15.592195,3.0075927 15.478817,3.3033819 15.478817,3.3033819 14.930717,5.9252309 16.302514,10.281932 16.302515,10.281933 17.469812,6.8248974 16.590914,4.1791182 16.590914,4.1791182 16.228488,2.8193059 15.822783,2.8691583z M14.581626,0.00061225891C15.662847,-0.04088068 16.637714,2.0410428 16.637714,2.0410433 19.668307,8.5202198 16.802514,12.66025 16.802514,12.66025 19.803807,19.737801 25.818194,23.517129 25.818194,23.517129 31.661881,23.203327 35.925572,24.679838 35.925572,24.679838 39.279064,26.44415 38.156467,28.093362 38.156467,28.093362 34.641575,32.015291 24.318197,25.899246 24.318197,25.899246L11.011526,28.142162C9.0889406,34.722911 2.6631737,36.269222 2.6631737,36.269222 -0.40004921,36.715724 0.019384384,33.519802 0.019384384,33.519802 2.4100056,28.258064 8.4217119,27.047655 8.4217119,27.047655 10.789427,24.516437 14.660018,12.62055 14.660018,12.62055 10.749126,3.8301156 13.497121,0.90566444 13.497121,0.90566492 13.848995,0.26420975 14.221219,0.014443398 14.581626,0.00061225891z"/> \r
 </svg>
\ No newline at end of file
index a7f9734..757a68d 100644 (file)
@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="utf-8"?>
-<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
-        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">
-<polygon fill="#fff" points="24,23.998 0,24 0,13.953 3.6,13.949 3.6,20.4 20.438,20.418 20.438,13.953 24,13.951 "/>
-<polygon  fill="#fff" points="9.656,6.551 9.656,0 14.168,0 14.168,6.551 19.124,6.551 12,15.576 4.877,6.551 "/>
-</svg>
+<?xml version="1.0" encoding="utf-8"?>\r
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r
+        x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24">\r
+<polygon fill="#fff" points="24,23.998 0,24 0,13.953 3.6,13.949 3.6,20.4 20.438,20.418 20.438,13.953 24,13.951 "/>\r
+<polygon  fill="#fff" points="9.656,6.551 9.656,0 14.168,0 14.168,6.551 19.124,6.551 12,15.576 4.877,6.551 "/>\r
+</svg>\r
index 7d27642..f0914d2 100644 (file)
@@ -1,3 +1,5 @@
+\r
+\r
 var app = {\r
     dataset: null,\r
     getpage: function(modulepage,data) {\r
@@ -10,49 +12,72 @@ var app = {
       req.reqdata("POST","page.cgi",rdata,app.loadpage);\r
     },\r
     loadpage: function(data){\r
-      document.getElementById("mainapp").innerHTML = data;\r
+      if (table){\r
+        table.selection = null;\r
+      }\r
+      document.getElementById("modulescripts").innerHTML ="";\r
+      document.getElementById("mainapp").innerHTML = '';\r
+      app.addmoduledata(data);\r
+      document.getElementById("mainapp").insertAdjacentHTML('afterbegin',data);\r
+      var re = '\<script src=\"(.+)\"\>';\r
+      var found = data.match(re);\r
+      console.log(found);\r
+      if (found){\r
+        console.log('script found!');\r
+        var se = document.createElement('script');\r
+        se.setAttribute('type', 'text/javascript');\r
+        se.setAttribute('src',found[1]);\r
+        document.getElementById("modulescripts").appendChild(se);\r
+      }\r
+      return false;\r
+    },\r
+    addmoduledata: function(data){\r
       \r
+      return false;\r
     },\r
-    loadappview: function(panelid) {\r
-      document.getElementById('modules').style.display = 'none';\r
-      document.getElementById('appview').style.display = 'block';\r
-        //console.log(appident);\r
-        //console.log(location.origin + '/app/' + appident + '/index.html');\r
-        //location.href = location.origin + '/app/' + appident + '.html';\r
+    execmodulescript: function(){\r
+      console.log('execute module script');\r
     },\r
-    loadapppage: function(pagename) {\r
+    // loadappview: function(panelid) {\r
+    //   document.getElementById('modules').style.display = 'none';\r
+    //   document.getElementById('appview').style.display = 'block';\r
+    //     //console.log(appident);\r
+    //     //console.log(location.origin + '/app/' + appident + '/index.html');\r
+    //     //location.href = location.origin + '/app/' + appident + '.html';\r
+    // },\r
+  //   loadapppage: function(pagename) {\r
        \r
-      console.log(location.origin + '/' + pagename + '.html' + ((app.dataset)?'?db=' + app.dataset:''));\r
-      location.href = location.origin + '/' + pagename + '.html' + ((app.dataset)?'?db=' + app.dataset:'');\r
-  },\r
-    loadmodulepage: function(modulepage, data) {\r
-        var pm = [];\r
-        if (typeof data == 'object') {\r
-          var xdata = [];\r
-          for (var i in data) {\r
-              var value = '';\r
-              if (typeof(data[i]) == 'object') {\r
-                  value = encodeURIComponent(JSON.stringify(data[i]));\r
-              } else {\r
-                  value = encodeURIComponent(data[i]);\r
-              }\r
-              xdata.push(i + "=" + value);\r
-          }\r
-          rdata = xdata.join("&");\r
-        } \r
-        if (app.dataset){\r
-          pm.push("db=" + app.dataset);\r
-        }\r
-        if (pm.length > 0) {\r
-            modulepage = modulepage + "?" + pm.join("&") + ((rdata != "")?'&' + rdata:"");\r
-        }\r
+  //     console.log(location.origin + '/' + pagename + '.html' + ((app.dataset)?'?db=' + app.dataset:''));\r
+  //     location.href = location.origin + '/' + pagename + '.html' + ((app.dataset)?'?db=' + app.dataset:'');\r
+  // },\r
+    // loadmodulepage: function(modulepage, data) {\r
+    //     var pm = [];\r
+    //     if (typeof data == 'object') {\r
+    //       var xdata = [];\r
+    //       for (var i in data) {\r
+    //           var value = '';\r
+    //           if (typeof(data[i]) == 'object') {\r
+    //               value = encodeURIComponent(JSON.stringify(data[i]));\r
+    //           } else {\r
+    //               value = encodeURIComponent(data[i]);\r
+    //           }\r
+    //           xdata.push(i + "=" + value);\r
+    //       }\r
+    //       rdata = xdata.join("&");\r
+    //     } \r
+    //     if (app.dataset){\r
+    //       pm.push("db=" + app.dataset);\r
+    //     }\r
+    //     if (pm.length > 0) {\r
+    //         modulepage = modulepage + "?" + pm.join("&") + ((rdata != "")?'&' + rdata:"");\r
+    //     }\r
         \r
-        document.getElementById("moduleframe").setAttribute('src', 'modules/' + modulepage);\r
-        document.getElementById('appview').style.display = 'none';\r
-        document.getElementById('modules').style.display = 'block';\r
+    //     document.getElementById("moduleframe").setAttribute('src', 'modules/' + modulepage);\r
+    //     document.getElementById('appview').style.display = 'none';\r
+    //     document.getElementById('modules').style.display = 'block';\r
         \r
           \r
-    },\r
+    // },\r
     \r
     // logout: function() {\r
     //     req.reqdata("POST", location.href, { "logout": "1" }, admin.reloadpage);\r
@@ -125,6 +150,7 @@ var app = {
 \r
 function reload_page() {\r
     location.href = location.href;\r
+    \r
 }\r
 \r
 // var mySidebar = document.getElementById("mySidebar");\r
@@ -155,9 +181,11 @@ function reload_page() {
 document.addEventListener("DOMContentLoaded", function() {\r
 \r
     //admin.setident();\r
-\r
+    // document.trigger('moduledataloaded');\r
+    // document.bind('moduledataloaded', app.execmodulescript());\r
     // if (basedb && basedb != "") {\r
     //     //console.log("INFO basedb:" + basedb);\r
-    app.getdatasets();\r
+    //app.getdatasets();\r
+    \r
     // }\r
 });
\ No newline at end of file