<glyph unicode="" glyph-name="entry" d="M393.929 713.001l174.72-174.764-174.72-174.827v116.073h-324.558v117.572h324.558zM205.76 960h749.061v-843.557l-279.544-180.587v180.587h-469.517v322.548h85.455v-233.539h384.062v571.835l143.461 93.764h-527.523v-233.535h-85.455z" />
<glyph unicode="" glyph-name="lock" d="M521.113 345.977c-36.247 0-65.622-30.173-65.622-67.384 0-26.94 15.629-49.757 37.892-60.574v-91.901h55.619v91.957c22.292 10.76 37.947 33.661 37.947 60.517 0 37.211-29.428 67.384-65.836 67.384zM511.933 882.117c-91.257 0-165.188-80.448-165.188-179.648v-94.869c0-11.971 1.142-23.651 3.186-35.018h324.163c2.071 11.367 3.184 23.047 3.184 35.018v94.869c0 99.2-74.089 179.648-165.345 179.648zM511.933 960c122.569 0 222-108.056 222-241.289v-127.351c0-8.021-0.396-15.951-1.087-23.8 62.837-17.306 109.461-79.119 109.461-152.847v-320.929c0-87.113-65.041-157.781-145.152-157.781h-370.284c-80.244 0-145.179 70.668-145.179 157.781v320.929c0 73.757 46.598 135.541 109.515 152.88-0.69 7.816-1.088 15.746-1.088 23.767v127.351c0 133.232 99.271 241.289 221.816 241.289z" />
<glyph unicode="" glyph-name="unlock" d="M500.472 357.966c-50.471 0-91.375-41.364-91.375-92.479 0-36.908 21.775-68.247 52.794-83.072v-126.117h77.391v126.212c31.052 14.729 52.797 46.159 52.797 82.976 0 51.115-40.934 92.479-91.607 92.479zM452.81 959.958c90.471 1.822 176.486-56.22 211.078-151.903l42.359-117.054c6.804-18.844 11.019-38.031 13.14-57.156l-60.906 0.746c-1.25 16.539-4.652 33.204-10.496 49.403l-31.514 87.276c-32.967 91.078-128.617 136.429-213.798 101.076-85.183-35.291-127.339-137.766-94.341-229.002l28.868-79.958h289.913l90.183-1.151c-0.030-0.186-0.060-0.343-0.060-0.529 70.675-10.497 125.071-75.316 125.071-153.869v-316.25c0-85.904-64.948-155.584-145.158-155.584h-370.297c-80.125 0-145.16 69.68-145.16 155.584v316.25c0 68.085 40.963 125.865 97.829 146.892l-29.507 81.607c-44.219 122.474 12.56 260.148 126.785 307.524 25 10.384 50.681 15.588 76.013 16.098z" />
+<glyph unicode="" glyph-name="category" d="M632.965 307.194v-260.497h320.022v260.497zM236.496 342.238l-53.124-106.723-118.088-16.801 85.126-83.363-20.481-117.444 105.607 55.042 105.287-55.682-19.681 117.444 85.606 82.883-117.928 17.601zM562.080 404.16h461.952v-461.95h-461.952zM0 404.16h461.952v-461.934h-461.952zM230.976 861.302l-159.956-277.049h319.911l-79.978 138.525zM793.133 872.015c-82.564 0-149.45-66.702-149.45-149.235 0-82.385 66.886-149.243 149.45-149.243 82.406 0 149.292 66.858 149.292 149.243 0 82.534-66.886 149.235-149.292 149.235zM0 953.759h461.952v-461.962h-461.952zM562.078 953.76h461.952v-461.968h-461.952z" />
+<glyph unicode="" glyph-name="vacancydays" d="M440.576 617.536l60.752-30.48c17.296-621.056 391.136-651.056 391.136-651.056h-349.152c-203.376 163.936-150.192 654.48-150.192 654.48zM668.568 959.978c142.582 1.91 235.284-118.058 227.397-277.457-66.24 160.75-267.727 179.613-353.263 91.711 201.439 23.968 480.895-116.75 283.088-519.639-39.504 307.595-277.504 402.889-381.215 417.369-144.447-10.464-335.375-168.893-345.007-414.969-306.399 398.057 184.735 544.519 303.199 499.224-27.104 64.367-194.319 117.438-368.607-28.943 63.312 411.721 413.823 146.813 413.823 146.813 80.66 58.974 155.776 85.024 220.586 85.892z" />
+<glyph unicode="" glyph-name="sector" d="M369.796 543.236c-21.646-0.589-122.661-41.523-111.068-51.392 13.153-11.33 47.996-39.607 59.337-39.607 11.313 0 49.935 74.462 55.589 88.573 0.707 1.771-0.765 2.51-3.858 2.426zM221.988 716.273c-16.176-0.073-32.162-1.473-35.88-3.963-8.437-5.61-31.119-99.868-19.779-90.46 11.343 9.467 85.774 79.166 93.336 87.616 4.236 4.801-16.878 6.901-37.676 6.807zM267.16 817.528c55.835-0.239 111.197-2.719 121.555-6.727 20.749-8.011 102.742-145.582 117.304-165.407 14.653-19.765-2.784-45.201-2.784-45.201l-120.43-213.404 253.871-204.151 1.945-0.191c6.281-0.682 10.206-1.616 10.206-1.616 31.395 31.174 59.289 41.548 82.598 41.417 47.728-0.27 76.237-44.589 76.237-44.589s86.209 11.656 97.524-92.962c0 0 35.808-1.889 33.965-32.062 0 0 70.62 11.327 84.776-52.729h-629.519c0 56.573 99.869 54.651 99.869 54.651 4.749 60.295 56.557 52.81 56.557 52.81 1.2 40.536 18.828 59.945 38.809 68.838l2.291 0.914-225.238 181.126-6.262-11.096c0 0 16.969-19.328 35.373-36.748 18.342-17.468-1.406-49.465-1.406-49.465l-128.614-246.013c0 0-23.122-24.437-59.871-7.516-36.776 16.986-26.371 55.589-26.371 55.589s109.302 206.361 106.021 217.719c-3.343 11.315-117.332 145.597-117.332 145.597s-1.875-147.483-4.281-162.564c-2.343-15.092-77.712-250.217-77.712-250.217s-31.091-20.264-56.557-8.937c-25.467 11.344-29.685 40.060-29.685 40.060s56.059 203.114 57.963 219.094c1.875 16.028-3.75 235.605 0 247.388 3.782 11.781 42.434 46.619 42.434 46.619l-25.467 18.375c0 0 0.392 4.798 1.251 13.040l0.262 2.483-51.222 41.19 20.279 25.186 35.641-28.661 0.281 2.011c8.771 61.144 27.369 154.383 61.346 179.419 12.249 4.962 68.556 6.966 124.391 6.727zM556.962 905.524c52.304 0 94.707-42.405 94.707-94.719 0-52.308-42.403-94.698-94.707-94.698-52.309 0-94.71 42.39-94.71 94.698 0 52.314 42.401 94.719 94.71 94.719z" />
</font></defs></svg>
\ No newline at end of file
@font-face {
font-family: 'pot';
src:
- url('fonts/pot.ttf?cyqpff') format('truetype'),
- url('fonts/pot.woff?cyqpff') format('woff'),
- url('fonts/pot.svg?cyqpff#pot') format('svg');
+ url('fonts/pot.ttf?8s8vvb') format('truetype'),
+ url('fonts/pot.woff?8s8vvb') format('woff'),
+ url('fonts/pot.svg?8s8vvb#pot') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
-moz-osx-font-smoothing: grayscale;
}
+.icon-category:before {
+ content: "\e97d";
+}
+.icon-vacancydays:before {
+ content: "\e97e";
+}
+.icon-sector:before {
+ content: "\e97f";
+}
.icon-lock:before {
content: "\e97b";
}
-[% appversion = '0.9.9.5' %]
+[% appversion = '0.9.9.6' %]
<!DOCTYPE html>
<html lang="fr">
currentview = null;
let periodunits = [{"value":"week","text":"Semaine(s)"},{"value":"month","text":"Mois"}];
+let periodtypes = [{"value":"1-14","text":"1-14"},{"value":"15-49","text":"15-49"},{"value":">=50","text":">=50"}];
function initpage(){
companies.inittable();
staffgroups.inittable();
current_schemata: null,
current_view: 'basedata',
name: "companies",
- choices:{"reportperiodunit":null,"payedpauses":null},
+ choices:{"reportperiodunit":null,"payedpauses":null,"periodtypes":null},
initform: function(){
flatpickr("#reportperiodstart",{altInput: true,
altFormat: "d.m.Y",
showSearch: false,
afterClose: function(){dataform.saveschemafield(document.getElementById('payedpauses'),'public');}
});
+ companies.choices["periodtypes"] = new SlimSelect({
+ select: "#periodtypes",
+ showSearch: false,
+ afterClose: function(){dataform.saveschemafield(document.getElementById('periodtypes'),'public');}
+ });
dataform.fillselectlist(companies.choices["reportperiodunit"],periodunits,'value','text');
+ dataform.fillselectlist(companies.choices["periodtypes"],periodtypes,'value','text');
},
inittable: function(){
companies.initform();
</div>
</div>
<div class="row" style="margin-top: 5px;">
+ <div class="cell container" style="width: 120px;">
+ <select class="select data_companies " id="periodtypes" data-column="periodtypes" data-table="companies" data-id="" value="" name="companies_periodtypes" >
+ </select>
+ <label for="companies_reportperiodunit" class="label ">Type</label>
+ </div>
<div class="cell container">
<input type="text" class="input data_companies datefield" id="reportperiodstart" name="companies_reportperiodstart" data-column="reportperiodstart" data-table="companies" data-id="" value="" onblur="dataform.saveschemafield(this,'public');"/>
<label for="companies_reportperiodstart" class="label">début</label>
</select>
<label for="companies_payedpauses" class="label ">Pauses payées</label>
</div>
- <!--<div class="cell" style="padding-left: 10px;">
- <div class="cell" style="width: 40px;">
- <input class="check data_companies " id="payedpause" name="companies_payedpauses" data-column="payedpauses" data-table="companies" data-id="" value="1" type="checkbox" onchange="dataform.saveschemafield(this,'public');">
- </div>
- <div class="cell">
- pauses payées
- </div>
- </div>-->
+
</div>
</div>
<div class="half">
--- /dev/null
+
+schemata = "public";
+currentview = null;
+
+function initpage(){
+ sector.inittable()
+}
+
+let sector ={
+ tbl: null,
+ initform: function(){
+
+ },
+ inittable: function(){
+ sector.initform();
+ sector.tbl = new Tabulator("#tbl_sector", {
+
+ height: "calc(100vh - 55px)",
+ layout: "fitDataFill",
+ selectable: 1,
+ rowClick:function(e, row){
+ sector.edit();
+
+ },
+ rowContext:function(e, row){e.preventDefault();},
+ columns:[
+ {title:"Type Periode",field:"periodtype",resizable:false},
+ {title:"Secteur",field:"sector",resizable:false}
+ ]
+ });
+ sector.gettbldata();
+ },
+ gettbldata: function(id){
+ // postData("db.cgi", { "get": "companiesdata","schemata":"public"}).then(data => {
+ // companies.tbl.setData(data.result.sqldata).then(function(){
+ // if (companies.current_company){
+ // companies.tbl.table.selectRow(companies.current_company);
+ // }
+ // });
+ // });
+ },
+ add: function(){
+
+ },
+ confirmremove: function(){
+
+ },
+ remove: function(){
+
+ },
+ edit: function(){
+ // let udata = companies.tbl.getSelectedData();
+ // if (udata[0]) {
+ // companies.current_schemata = udata[0].schemata;
+ // dataform.cleanform2("companies",companies.choices);
+ // postData("db.cgi",{ "get": "company", "schemata":udata[0].schemata}).then(data => {
+ // dataform.fillformbydataclass2("companies",companies.choices,data.result.data);});
+ // staffgroups.gettbldata();
+ // worktimes.gettbldata();
+ // users.gettbldata();
+ // companies.setview(companies.current_view);
+ // } else {
+ // app.viewpanel('nodata');
+ // }
+ },
+ save: function(){
+ // dataform.saveform("companies",schemata,null);
+ // app.viewpanel("tbl_companies");
+ },
+ // afterdeletecallback: function(data){
+ // companies.gettbldata();
+ // app.viewpanel("tbl_companies");
+ // },
+ setview: function(viewname){
+ // let sel = companies.tbl.getSelectedData();
+ // if (sel[0]){
+ // companies.current_view = viewname;
+ // app.viewpanel(viewname);
+ // }
+ }
+}
--- /dev/null
+
+schemata = "public";
+currentview = null;
+
+function initpage(){
+ vacancydays.inittable();
+}
+
+let vacancydays ={
+ tbl: null,
+ initform: function(){
+
+ },
+ inittable: function(){
+ vacancydays.initform();
+ vacancydays.tbl = new Tabulator("#tbl_year", {
+
+ height: "calc(100vh - 55px)",
+ layout: "fitDataFill",
+ selectable: 1,
+ rowClick:function(e, row){
+ vacancydays.edit();
+
+ },
+ rowContext:function(e, row){e.preventDefault();},
+ columns:[
+ {title:"Année",field:"year",resizable:false},
+ ]
+ });
+ vacancydays.gettbldata();
+ },
+ gettbldata: function(id){
+ // postData("db.cgi", { "get": "companiesdata","schemata":"public"}).then(data => {
+ // companies.tbl.setData(data.result.sqldata).then(function(){
+ // if (companies.current_company){
+ // companies.tbl.table.selectRow(companies.current_company);
+ // }
+ // });
+ // });
+ },
+ add: function(){
+
+ },
+ confirmremove: function(){
+
+ },
+ remove: function(){
+
+ },
+ edit: function(){
+ // let udata = companies.tbl.getSelectedData();
+ // if (udata[0]) {
+ // companies.current_schemata = udata[0].schemata;
+ // dataform.cleanform2("companies",companies.choices);
+ // postData("db.cgi",{ "get": "company", "schemata":udata[0].schemata}).then(data => {
+ // dataform.fillformbydataclass2("companies",companies.choices,data.result.data);});
+ // staffgroups.gettbldata();
+ // worktimes.gettbldata();
+ // users.gettbldata();
+ // companies.setview(companies.current_view);
+ // } else {
+ // app.viewpanel('nodata');
+ // }
+ },
+ save: function(){
+ // dataform.saveform("companies",schemata,null);
+ // app.viewpanel("tbl_companies");
+ },
+ // afterdeletecallback: function(data){
+ // companies.gettbldata();
+ // app.viewpanel("tbl_companies");
+ // },
+ setview: function(viewname){
+ // let sel = companies.tbl.getSelectedData();
+ // if (sel[0]){
+ // companies.current_view = viewname;
+ // app.viewpanel(viewname);
+ // }
+ }
+}
--- /dev/null
+
+schemata = "public";
+currentview = null;
+
+function initpage(){
+ vacancytypes.inittable()
+}
+
+let vacancytypes ={
+ tbl: null,
+ initform: function(){
+
+ },
+ inittable: function(){
+ vacancytypes.initform();
+ vacancytypes.tbl = new Tabulator("#tbl_vacancytype", {
+
+ height: "calc(100vh - 55px)",
+ layout: "fitDataFill",
+ selectable: 1,
+ rowClick:function(e, row){
+ vacancytypes.edit();
+
+ },
+ rowContext:function(e, row){e.preventDefault();},
+ columns:[
+ {title:"Type",field:"vacancytype",resizable:false},
+ ]
+ });
+ vacancytypes.gettbldata();
+ },
+ gettbldata: function(id){
+ // postData("db.cgi", { "get": "companiesdata","schemata":"public"}).then(data => {
+ // companies.tbl.setData(data.result.sqldata).then(function(){
+ // if (companies.current_company){
+ // companies.tbl.table.selectRow(companies.current_company);
+ // }
+ // });
+ // });
+ },
+ add: function(){
+
+ },
+ confirmremove: function(){
+
+ },
+ remove: function(){
+
+ },
+ edit: function(){
+ // let udata = companies.tbl.getSelectedData();
+ // if (udata[0]) {
+ // companies.current_schemata = udata[0].schemata;
+ // dataform.cleanform2("companies",companies.choices);
+ // postData("db.cgi",{ "get": "company", "schemata":udata[0].schemata}).then(data => {
+ // dataform.fillformbydataclass2("companies",companies.choices,data.result.data);});
+ // staffgroups.gettbldata();
+ // worktimes.gettbldata();
+ // users.gettbldata();
+ // companies.setview(companies.current_view);
+ // } else {
+ // app.viewpanel('nodata');
+ // }
+ },
+ save: function(){
+ // dataform.saveform("companies",schemata,null);
+ // app.viewpanel("tbl_companies");
+ },
+ // afterdeletecallback: function(data){
+ // companies.gettbldata();
+ // app.viewpanel("tbl_companies");
+ // },
+ setview: function(viewname){
+ // let sel = companies.tbl.getSelectedData();
+ // if (sel[0]){
+ // companies.current_view = viewname;
+ // app.viewpanel(viewname);
+ // }
+ }
+}
</header>
<div class="bar">
<a class="bar-item bodybtn" href="[% abspath %]admin.html"><span class="icon icon-apps" style="font-size: 24px;"/></span>Entreprises</a>
+ <a class="bar-item bodybtn" href="[% abspath %]sectors.html"><span class="icon icon-sector" style="font-size: 24px;"/></span>Secteurs</a>
+ <a class="bar-item bodybtn" href="[% abspath %]vacancydays.html"><span class="icon icon-vacancydays" style="font-size: 24px;"/></span>jours feriés</a>
+ <a class="bar-item bodybtn" href="[% abspath %]vacancytypes.html"><span class="icon icon-category" style="font-size: 24px;"/></span>types de congés</a>
</div>
</div>
[% END %]
+++ /dev/null
-\r
-\r
-[% quserdata = dksdb.query("select * from users where id='${session.id}';") %]\r
-[% user = quserdata.get_all() %]\r
-<div class="display-container">\r
- <div class="bar toolbar">\r
- <a class="bar-item toolbarbtn" href="[% abspath %]index.html"><span class="icon icon-back" style="font-size: 16px;"></span>retour</a>\r
- <div class="bar-item PageHeadTitle">Profile</div>\r
- </div>\r
-</div>\r
-<div class="display-container margin center">\r
-<div class="cell-row ">\r
- <div class="cell container padding-24 margin-bottom left-align" style="width: 400px;">\r
- <form id="frm_account">\r
- <fieldset>\r
- <legend>données d'accès</legend>\r
- \r
- <div class="row-padding">\r
- <div class="container">\r
- \r
- <div class="container" >\r
- \r
- <input type="text" class="input data_users readonly " id="username" data-column="username" data-table="users" data-id="" name="users_username" value="ksaffran@dks.lu" readonly />\r
- <label for="users_username" class="label">E-Mail (Login)</label>\r
- </div>\r
- <div class="bar-block">\r
- <button class="bar-item button blue-grey" onclick="opendlgusername();return false;">Changer E-Mail (Login)</button>\r
- <div class="bar-item right"> </div>\r
- <button class="bar-item button blue-grey" onclick="opendlgpassword();return false;">Changer mot de passe</button>\r
- \r
- \r
- </div> \r
- </div>\r
- <div class="container margin-top padding">\r
- \r
- \r
- </div>\r
- </div>\r
- </fieldset>\r
- </form>\r
- </div>\r
- \r
-</div>\r
- \r
- \r
- \r
- </div> \r
-\r
-\r
- [% INCLUDE module/profile/dlgpassword.tt %]\r
- [% INCLUDE module/profile/dlgusername.tt %]\r
- <script type="text/javascript" src="profile/profile.js?v=[% appversion %]"></script>\r
- \r
-\r
--- /dev/null
+
+<div class="display-container">
+ <div class="bar toolbar">
+ <a class="bar-item toolbarbtn" href="[% abspath %]index.html"><span class="icon icon-back" style="font-size: 16px;"></span>retour</a>
+ <div class="bar-item PageHeadTitle">Configuration Secteurs</div>
+ [% IF (session.usergroup == 'admin') %]
+ <!--<button class="bar-item toolbarbtn" onclick="companies.setview('basedata');"><span class="icon icon-staff" style="font-size: 16px;"></span>Données de base</button>
+ <button class="bar-item toolbarbtn" onclick="users.gettbldata();companies.setview('users');"><span class="icon icon-user" style="font-size: 16px;"></span>Utilisateurs</button>
+ <button class="bar-item toolbarbtn" onclick="worktimes.gettbldata();companies.setview('worktimes');"><span class="icon icon-package" style="font-size: 16px;"></span>Secteur</button>
+ <div class="toolbar" id="tbar_tbl_companies">
+ <button class="bar-item toolbarbtn right" onclick="schemadataset.remove();"><span class="icon icon-remove text-red" style="font-size: 16px;"></span>supprimer</button>
+ <button class="bar-item toolbarbtn right" onclick="schemadataset.add();"><span class="icon icon-plus" style="font-size: 16px;"></span>ajouter</button>
+ </div>-->
+ [% END %]
+ </div>
+</div>
+[% IF (session.usergroup == 'admin') %]
+<div class="display-container">
+ <div class="cell-row">
+ <div class="cell" style="width: 200px;">
+ <div id="tbl_sector"></div>
+ </div>
+ <div class="cell moduletoolbar">
+ [% INCLUDE block/pnl_nodata.tt %]
+ <div class="panel" id="pnl_sector" style="display: none;">
+ <div class="bar moduletoolbar">
+ <div class="bar-item SubHeadTitle">
+ Configuration sectoriel POT
+ </div>
+ <!--<button class="bar-item toolbarbtn right" onclick="worktimes.remove(); return false;" id="btn_delete_staffcontract"><span class="icon icon-remove text-red" style="font-size: 16px;"></span>supprimer</button>
+ <button class="bar-item toolbarbtn right" onclick="worktimes.edit(); return false;"><span class="icon icon-edit" style="font-size: 16px;"></span>éditer</button>
+ <button class="bar-item toolbarbtn right" onclick="worktimes.add(); return false;"><span class="icon icon-plus" style="font-size: 16px;"></span>ajouter</button>-->
+
+ </div>
+ <div id="tbl_sectordata"></div>
+ </div>
+ </div>
+ </div>
+</div>
+<script type="text/javascript" src="admin/sectors.js?v=[% appversion %]"></script>
+[% END %]
--- /dev/null
+
+<div class="display-container">
+ <div class="bar toolbar">
+ <a class="bar-item toolbarbtn" href="[% abspath %]index.html"><span class="icon icon-back" style="font-size: 16px;"></span>retour</a>
+ <div class="bar-item PageHeadTitle">Jours feriés</div>
+ [% IF (session.usergroup == 'admin') %]
+ <!--<button class="bar-item toolbarbtn" onclick="companies.setview('basedata');"><span class="icon icon-staff" style="font-size: 16px;"></span>Données de base</button>
+ <button class="bar-item toolbarbtn" onclick="users.gettbldata();companies.setview('users');"><span class="icon icon-user" style="font-size: 16px;"></span>Utilisateurs</button>
+ <button class="bar-item toolbarbtn" onclick="worktimes.gettbldata();companies.setview('worktimes');"><span class="icon icon-package" style="font-size: 16px;"></span>Secteur</button>
+ <div class="toolbar" id="tbar_tbl_companies">
+ <button class="bar-item toolbarbtn right" onclick="schemadataset.remove();"><span class="icon icon-remove text-red" style="font-size: 16px;"></span>supprimer</button>
+ <button class="bar-item toolbarbtn right" onclick="schemadataset.add();"><span class="icon icon-plus" style="font-size: 16px;"></span>ajouter</button>
+ </div>-->
+ [% END %]
+ </div>
+</div>
+[% IF (session.usergroup == 'admin') %]
+<div class="display-container">
+ <div class="cell-row">
+ <div class="cell" style="width: 200px;">
+ <div id="tbl_year"></div>
+ </div>
+ <div class="cell moduletoolbar">
+ [% INCLUDE block/pnl_nodata.tt %]
+ <div class="panel" id="pnl_vacancydays" style="display: none;">
+ <div class="bar moduletoolbar">
+ <div class="bar-item SubHeadTitle">
+ Jours feriés
+ </div>
+ <!--<button class="bar-item toolbarbtn right" onclick="worktimes.remove(); return false;" id="btn_delete_staffcontract"><span class="icon icon-remove text-red" style="font-size: 16px;"></span>supprimer</button>
+ <button class="bar-item toolbarbtn right" onclick="worktimes.edit(); return false;"><span class="icon icon-edit" style="font-size: 16px;"></span>éditer</button>
+ <button class="bar-item toolbarbtn right" onclick="worktimes.add(); return false;"><span class="icon icon-plus" style="font-size: 16px;"></span>ajouter</button>-->
+
+ </div>
+ <div id="tbl_vacancydays"></div>
+ </div>
+ </div>
+ </div>
+</div>
+<script type="text/javascript" src="admin/vacancydays.js?v=[% appversion %]"></script>
+[% END %]
--- /dev/null
+
+<div class="display-container">
+ <div class="bar toolbar">
+ <a class="bar-item toolbarbtn" href="[% abspath %]index.html"><span class="icon icon-back" style="font-size: 16px;"></span>retour</a>
+ <div class="bar-item PageHeadTitle">Configuration Types de congés</div>
+ [% IF (session.usergroup == 'admin') %]
+ <!--<button class="bar-item toolbarbtn" onclick="companies.setview('basedata');"><span class="icon icon-staff" style="font-size: 16px;"></span>Données de base</button>
+ <button class="bar-item toolbarbtn" onclick="users.gettbldata();companies.setview('users');"><span class="icon icon-user" style="font-size: 16px;"></span>Utilisateurs</button>
+ <button class="bar-item toolbarbtn" onclick="worktimes.gettbldata();companies.setview('worktimes');"><span class="icon icon-package" style="font-size: 16px;"></span>Secteur</button>
+ <div class="toolbar" id="tbar_tbl_companies">
+ <button class="bar-item toolbarbtn right" onclick="schemadataset.remove();"><span class="icon icon-remove text-red" style="font-size: 16px;"></span>supprimer</button>
+ <button class="bar-item toolbarbtn right" onclick="schemadataset.add();"><span class="icon icon-plus" style="font-size: 16px;"></span>ajouter</button>
+ </div>-->
+ [% END %]
+ </div>
+</div>
+[% IF (session.usergroup == 'admin') %]
+<div class="display-container">
+ <div class="cell-row">
+ <div class="cell" style="width: 200px;">
+ <div id="tbl_vacancytype"></div>
+ </div>
+ <div class="cell moduletoolbar">
+ [% INCLUDE block/pnl_nodata.tt %]
+ <div class="panel" id="pnl_vacancytype" style="display: none;">
+ <div class="bar moduletoolbar">
+ <div class="bar-item SubHeadTitle">
+ Types de congés
+ </div>
+ <!--<button class="bar-item toolbarbtn right" onclick="worktimes.remove(); return false;" id="btn_delete_staffcontract"><span class="icon icon-remove text-red" style="font-size: 16px;"></span>supprimer</button>
+ <button class="bar-item toolbarbtn right" onclick="worktimes.edit(); return false;"><span class="icon icon-edit" style="font-size: 16px;"></span>éditer</button>
+ <button class="bar-item toolbarbtn right" onclick="worktimes.add(); return false;"><span class="icon icon-plus" style="font-size: 16px;"></span>ajouter</button>-->
+
+ </div>
+ <div id="tbl_vacancytypedata"></div>
+ </div>
+ </div>
+ </div>
+</div>
+<script type="text/javascript" src="admin/vacancytypes.js?v=[% appversion %]"></script>
+[% END %]