Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Update browser menu
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed Aug 5, 2019
1 parent 2f5953c commit 991d891
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 29 deletions.
3 changes: 3 additions & 0 deletions app/assets/templates/theme/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<!-- NOTE: your theme files will be mounted to /theme when installed to a site -->
<!-- you should import all of your theme's content from the /theme subdirectory -->

<!-- To test your theme, create another website and use this theme on it -->
<!-- You will be able to view the results on that test website -->

<!doctype html>
<html>
<head>
Expand Down
36 changes: 7 additions & 29 deletions app/shell-menus/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,31 +89,22 @@ class BrowserMenu extends LitElement {
<span class="label">New Tab</span>
<span class="shortcut">${this.accelerators.newTab}</span>
</div>
</div>
<div class="section">
<div class="menu-item" @click=${this.onCreateSite}>
<i class="fas fa-plus"></i>
<span class="label">Create New Website</span>
</div>
<div class="menu-item" @click=${e => this.onOpenPage(e, 'beaker://start/websites')}>
<i class="fas fa-sitemap"></i>
<span class="label">My Websites</span>
<span class="label">New Website</span>
</div>
</div>
<div class="section">
<div class="menu-item" @click=${e => this.onOpenPage(e, 'beaker://start/applications')}>
<i class="far fa-window-restore"></i>
<span class="label">Applications</span>
</div>
<div class="menu-item" @click=${e => this.onOpenPage(e, 'beaker://start/bookmarks')}>
<i class="far fa-star"></i>
<span class="label">Bookmarks</span>
<div class="menu-item" @click=${e => this.onOpenFile()}>
<i></i>
<span class="label">Open File...</span>
<span class="shortcut">${this.accelerators.openFile}</span>
</div>
</div>
<div class="section">
<div class="menu-item downloads" @click=${e => this.onClickDownloads(e)}>
<i class="fas fa-arrow-down"></i>
<span class="label">Downloads</span>
Expand All @@ -125,26 +116,13 @@ class BrowserMenu extends LitElement {
<span class="label">History</span>
<span class="shortcut">${this.accelerators.history}</span>
</div>
<div class="menu-item" @click=${e => this.onOpenPage(e, 'beaker://start/search')}>
<i class="fas fa-search"></i>
<span class="label">Search</span>
</div>
<div class="menu-item" @click=${e => this.onOpenPage(e, 'beaker://settings')}>
<i class="fas fa-cog"></i>
<span class="label">Settings</span>
</div>
</div>
<div class="section">
<div class="menu-item" @click=${e => this.onOpenFile()}>
<i></i>
<span class="label">Open File...</span>
<span class="shortcut">${this.accelerators.openFile}</span>
</div>
</div>
<div class="section">
<div class="menu-item" @click=${e => this.onOpenPage(e, 'dat://beakerbrowser.com/docs/')}>
<i class="far fa-question-circle"></i>
Expand Down

0 comments on commit 991d891

Please sign in to comment.