Skip to content

[Issue #246] GUI: Add a frontend menu with default operators - #291

Merged
Jimmy-VVang merged 4 commits into
masterfrom
jimmy-ui-menu
Nov 23, 2016
Merged

Jimmy-VVang merged 4 commits into
masterfrom
jimmy-ui-menu

Conversation

@Jimmy-VVang

@Jimmy-VVang Jimmy-VVang commented Nov 23, 2016 •

Copy link
Copy Markdown
Contributor

Add basic structure of index.html
setup basic formatting with style.css / basic javascript with app.js

@kishore-narendran kishore-narendran changed the title Added Menu with default matchers [Issue #246] Added Menu with default matchers Nov 23, 2016
@chenlica chenlica changed the title [Issue #246] Added Menu with default matchers [Issue #246] Add GUI Menu with default matchers Nov 23, 2016
@chenlica chenlica changed the title [Issue #246] Add GUI Menu with default matchers [Issue #246] Add GUI menu with default matchers Nov 23, 2016
@kishore-narendran
kishore-narendran changed the base branch from jimmy-ui-thirdparty to master November 23, 2016 22:49
Comment thread textdb/textdb-gui/index.html Outdated
<!-- Menu -->
<ul>
<li class="-matcher">Create Matcher</li>
<li class="-matcher">Create Matcher</li>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Class names, are usually all lowercase. Or are delimited by -, _.

@chenlica chenlica changed the title [Issue #246] Add GUI menu with default matchers [Issue #246] Add GUI menu with default operators Nov 23, 2016
@chenlica chenlica changed the title [Issue #246] Add GUI menu with default operators [Issue #246] Add a GUI frontend menu with default operators Nov 23, 2016
Comment thread textdb/textdb-gui/js/app.js Outdated
@@ -0,0 +1,34 @@
var main = function(){

$('.icon-menu').click(function(){

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use anonymous functions, declare the function above as var iconMenuClick = function() {}

Comment thread textdb/textdb-gui/js/app.js Outdated
}, 200);
});

$('.icon-close').click(function(){

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assign the function to a variable and then pass it on.

@chenlica chenlica changed the title [Issue #246] Add a GUI frontend menu with default operators [Issue #246] GUI: Add a frontend menu with default operators Nov 23, 2016
@Jimmy-VVang
Jimmy-VVang merged commit 88f5810 into master Nov 23, 2016
@Jimmy-VVang
Jimmy-VVang deleted the jimmy-ui-menu branch November 23, 2016 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants