Преглед на файлове

[beeswax] Show welcome screen (when metastore is empty)

The welcome screen wasn't ported to the jquery style yet.
This fix made it show up, instead of generating stack traces.
We still need to beautify it.
bc Wong преди 14 години
родител
ревизия
6c0975bf0e
променени са 1 файла, в които са добавени 8 реда и са изтрити 3 реда
  1. 8 3
      apps/beeswax/src/beeswax/templates/index.mako

+ 8 - 3
apps/beeswax/src/beeswax/templates/index.mako

@@ -13,8 +13,13 @@
 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
-<%namespace name="wrappers" file="header_footer.mako" />
-${wrappers.head(toolbar=True)}
+<%!
+from desktop.views import commonheader, commonfooter
+%>
+<%namespace name="comps" file="beeswax_components.mako" />
+<%namespace name="layout" file="layout.mako" />
+${commonheader("Beeswax", "beeswax", "100px")}
+${layout.menubar(section='tables')}
 
 <div class="bw-welcome">
   <h2>Welcome to Beeswax for Hive</h2>
@@ -41,4 +46,4 @@ ${wrappers.head(toolbar=True)}
     </li>
   </ul>
 </div>
-${wrappers.foot()}
+${commonfooter()}