var _ESPACE_APOGEE = '/alfresco/wcs/api/path/content/workspace/SpacesStore/Company%20Home/APOGEE';
var _URL_WS_APPLIC = '/alfresco/wcs/apogee';
var _menu_cst_dmdes='<table width="200" cellspacing="0" cellpadding="0" border="0"><tr><td><a href="javascript:demanderRVN();" class="mainlevel">Demande de releve de notes</a></td><tr></table>';
function demanderRVN()
{ var _html = '<table><tr><td>ID Etudiant</td><td><input name="id_etudiant" id="id_etudiant"></td></tr>';
_html = _html + '<tr><td>Nom Etudiant</td><td><input name="nom" id="nom"></td></tr>';
_html = _html + '<tr><td clospan="2"><input type="submit" onclick="creerRVN();" value="OK"></td></tr></table>';
var panel = new Ext.Panel(
{ title:'Nouveau RVN',
closable:true,
html:_html
}
);
principal.add(panel);
principal.setActiveTab(panel);
}
function creerRVN()
{ var id=document.getElementById('id_etudiant').value;
Ext.Ajax.request(
{ url: '/alfresco/wcs/apogee/rvn/creer?id_etudiant='+id,
method: 'GET',
success: function(response, options)
{ Ext.Msg.show({ title:'Succès',
msg: response.responseText,
buttons: Ext.Msg.OK,
icon: Ext.MessageBox.INFO
});
},
failure: function()
{ Ext.MessageBox.hide();
Ext.Msg.show({ title:'Echec',
msg: 'Essayez A nouveau',
buttons: Ext.Msg.OK,
icon: Ext.MessageBox.ERROR
});
}
}
);
}
var menu=new Ext.Panel(
{ region:'west',
id:'west-panel',
title:'Mes demandes',
split:true,
width: 200,
minSize: 175,
maxSize: 400,
collapsible: true,
margins:'5 0 5 5',
cmargins:'5 5 5 5',
layout:'accordion',
layoutConfig:{animate:true},
items:
[ { title:'Consultation',
html: _menu_cst_dmdes,
border:false,
iconCls:'nav'
}
]
});
var tb ={ title:'Tableau de Bord',
xtype:'portal',
region:'center',
margins:'35 5 5 0',
items:
[ { columnWidth:1,
style:'padding:5px 5px 0 5px',
items:
[ { title: 'Demande de RELEVE',
layout:'fit',
html:' ETUDIANT'
}
]
}
]
};
principal=new Ext.TabPanel(
{ region:'center',
deferredRender:false,
enableTabScroll:true,
margins:'5 0 5 0',
activeTab:0,
items:
[ tb
]
}
);
Ext.BLANK_IMAGE_URL = _ESPACE_APOGEE + '/Applic/UI/ext/resources/images/default/button/s.gif';
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
Ext.onReady(function()
{ var viewport = new Ext.Viewport({
layout:'border',
items:[ new Ext.BoxComponent({ region:'north',el: 'north'}),
new Ext.BoxComponent({ region:'south',el: 'south'}),
menu,
principal
]
});
});
var _ESPACE_APOGEE = '/alfresco/wcs/api/path/content/workspace/SpacesStore/Company%20Home/APOGEE';
var _URL_WS_APPLIC = '/alfresco/wcs/apogee';
var _menu_cst_dmdes='<table width="200" cellspacing="0" cellpadding="0" border="0"><tr><td><a href="javascript:validerRVN();" class="mainlevel">validation</a></td><tr></table>';
function validerRVN()
{ var _html = '<tr><td clospan="2"><input type="submit" onclick="creerRVN();" value="accepter"></td><td clospan="2"><input type="submit" onclick="creerRVN();" value="rejet"></td> </tr></table>';
var panel = new Ext.Panel(
{ title:'valide',
closable:true,
html:_html
}
);
principal.add(panel);
principal.setActiveTab(panel);
}
function creerRVN()
{ var id=document.getElementById('id_etudiant').value;
Ext.Ajax.request(
{ url: '/alfresco/wcs/apogee/rvn/creer?id_etudiant='+id,
method: 'GET',
success: function(response, options)
{ Ext.Msg.show({ title:'Succès',
msg: response.responseText,
buttons: Ext.Msg.OK,
icon: Ext.MessageBox.INFO
});
},
failure: function()
{ Ext.MessageBox.hide();
Ext.Msg.show({ title:'Echec',
msg: 'Essayez A nouveau',
buttons: Ext.Msg.OK,
icon: Ext.MessageBox.ERROR
});
}
}
);
}
var menu=new Ext.Panel(
{ region:'west',
id:'west-panel',
title:'Demande',
split:true,
width: 200,
minSize: 175,
maxSize: 400,
collapsible: true,
margins:'5 0 5 5',
cmargins:'5 5 5 5',
layout:'accordion',
layoutConfig:{animate:true},
items:
[ { title:'Consultation',
html: _menu_cst_dmdes,
border:false,
iconCls:'nav'
}
]
});
var tb ={ title:'Tableau de Bord',
xtype:'portal',
region:'center',
margins:'35 5 5 0',
items:
[ { columnWidth:1,
style:'padding:5px 5px 0 5px',
items:
[ { title: 'D. RELEVE',
layout:'fit',
html:'Vice-doyen'
}
]
}
]
};
principal=new Ext.TabPanel(
{ region:'center',
deferredRender:false,
enableTabScroll:true,
margins:'5 0 5 0',
activeTab:0,
items:
[ tb
]
}
);
Ext.BLANK_IMAGE_URL = _ESPACE_APOGEE + '/Applic/UI/ext/resources/images/default/s.gif';
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
Ext.onReady(function()
{ var viewport = new Ext.Viewport({
layout:'border',
items:[ new Ext.BoxComponent({ region:'north',el: 'north'}),
new Ext.BoxComponent({ region:'south',el: 'south'}),
menu,
principal
]
});
});
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.