Created a new panel in the UI for auto run elements.
This commit is contained in:
@@ -90,6 +90,7 @@ module BeEF
|
||||
ui/panel/tabs/ZombieTabRTC.js
|
||||
ui/panel/Logout.js
|
||||
ui/panel/WelcomeTab.js
|
||||
ui/panel/AutoRunTab.js
|
||||
ui/panel/ModuleSearching.js
|
||||
]
|
||||
|
||||
|
||||
19
extensions/admin_ui/media/javascript/ui/panel/AutoRunTab.js
Normal file
19
extensions/admin_ui/media/javascript/ui/panel/AutoRunTab.js
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
AutoRunTab = function() {
|
||||
|
||||
autoRunHtml = " \
|
||||
<div style='font:11px tahoma,arial,helvetica,sans-serif;width:500px' > \
|
||||
<p>My custom panel :)</p>\
|
||||
</div>\
|
||||
";
|
||||
|
||||
AutoRunTab.superclass.constructor.call(this, {
|
||||
region:'center',
|
||||
padding:'10 10 10 10',
|
||||
html: autoRunHtml,
|
||||
autoScroll: true,
|
||||
border: false
|
||||
});
|
||||
};
|
||||
|
||||
Ext.extend(AutoRunTab, Ext.Panel, {});
|
||||
@@ -38,6 +38,8 @@ MainPanel = function(){
|
||||
|
||||
this.welcome_tab = new WelcomeTab;
|
||||
|
||||
this.auto_run_tab = new AutoRunTab;
|
||||
|
||||
MainPanel.superclass.constructor.call(this, {
|
||||
id:'main-tabs',
|
||||
activeTab:0,
|
||||
@@ -76,6 +78,15 @@ MainPanel = function(){
|
||||
items:[
|
||||
this.zombies_grid
|
||||
]
|
||||
},
|
||||
{
|
||||
id:'autorun-view',
|
||||
title:'Auto Run',
|
||||
layout:'border',
|
||||
hideMode:'offsets',
|
||||
items:[
|
||||
this.auto_run_tab
|
||||
]
|
||||
}]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user