Skip to content

Commit 41aa33f

Browse files
committed
add base adminhtml layout files
1 parent ec6b6c4 commit 41aa33f

File tree

6 files changed

+48
-2
lines changed

6 files changed

+48
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
class Hackathon_AsyncIndex_Block_Adminhtml_Process_Stats extends Mage_Adminhtml_Block_Template
4+
{
5+
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
4+
class Hackathon_AsyncIndex_Helper_Data extends Mage_Core_Helper_Abstract
5+
{
6+
7+
}

app/code/community/Hackathon/AsyncIndex/etc/config.xml

+21-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,31 @@
66
</Hackathon_AsyncIndex>
77
</modules>
88
<global>
9+
<blocks>
10+
<hackathon_asyncindex>
11+
<class>Hackathon_AsyncIndex_Block</class>
12+
</hackathon_asyncindex>
13+
</blocks>
14+
<helpers>
15+
<hackathon_asyncindex>
16+
<class>Hackathon_AsyncIndex_Helper</class>
17+
</hackathon_asyncindex>
18+
</helpers>
919
<models>
10-
<psr0autoloader>
20+
<hackathon_asyncindex>
1121
<class>Hackathon_AsyncIndex_Model</class>
12-
</psr0autoloader>
22+
</hackathon_asyncindex>
1323
</models>
1424
<events>
1525
</events>
1626
</global>
27+
<adminhtml>
28+
<layout>
29+
<updates>
30+
<hackathon_asyncindex>
31+
<file>hackathon_asyncindex.xml</file>
32+
</hackathon_asyncindex>
33+
</updates>
34+
</layout>
35+
</adminhtml>
1736
</config>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<layout version="0.1.0">
3+
<adminhtml_process_list>
4+
<reference name="content">
5+
<block type="hackathon_asyncindex/adminhtml_process_stats" name="process_stats" template="hackathon/process_stats.phtml" />
6+
</reference>
7+
</adminhtml_process_list>
8+
</layout>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
<div class="asyncindex-process-stats">
3+
4+
</div>

modman

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/app/code/community/Hackathon/AsyncIndex /app/code/community/Hackathon/AsyncIndex
2+
/app/design/adminhtml/default/default/layout/hackathon_asyncindex.xml /app/design/adminhtml/default/default/layout/
3+
/app/design/adminhtml/default/default/template/hackathon/* /app/design/adminhtml/default/default/template/hackathon/
24
/app/etc/Hackathon_AsyncIndex.xml /app/etc/modules/Hackathon_AsyncIndex.xml
35
/shell/hackathon_async_index.php /shell/hackathon_async_index.php

0 commit comments

Comments
 (0)