Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving back to haml and adding jquery
- Loading branch information
Showing
8 changed files
with
71 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#content | ||
.intro | ||
Welcome to Wordnatra. | ||
%br | ||
To get started, search for a word. | ||
%br | ||
For information on this project, see the following: | ||
.links | ||
%ul | ||
%li =link_to 'Wordnatra', 'http://github.com/gnugeek/wordnatra/tree/master' | ||
%li =link_to 'Wordnet', 'http://wordnet.princeton.edu/' | ||
%li =link_to 'Ruby', 'http://www.ruby-lang.org/' | ||
%li =link_to 'MySQL', 'http://www.mysql.com' | ||
%li =link_to 'Sinatra', 'http://sinatra.rubyforge.org/' | ||
%li =link_to 'DataMapper', 'http://datamapper.org/doku.php' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
!!! | ||
%html{:lang => "en"} | ||
%head | ||
%title Wordnatra | ||
%link{:rel=>'stylesheet', :href=>'/stylesheets/style.css', :type => "text/css"} | ||
%script{:type=>'text/javascript', :src=>'jquery.js'} | ||
%body | ||
#banner Wordnatra | ||
|
||
#wordnet-search | ||
%form{:method => 'post'} | ||
%input{:type=>'text', :size=>40, :name=>'lemma', :id=>'lemma_search'} | ||
%input{:type =>'submit', :value=>'word'} | ||
|
||
=yield |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
%table.results{:summary=>"Wordnet search results for word #{@word.lemma}"} | ||
%tr | ||
%th wordid | ||
%td= @word.wordid | ||
%tr | ||
%th lemma | ||
%td= @word.lemma |