diff --git a/app/views/css/main.css b/app/views/css/main.css new file mode 100644 index 0000000..caf2e58 --- /dev/null +++ b/app/views/css/main.css @@ -0,0 +1,110 @@ +.glyphicon-thumbs-up{ + color: green; +} + +.glyphicon-thumbs-down{ + color: red; +} + +.tally{ +/* color: #8AB800; */ + margin-bottom: 0px; + font-size: 20pt; +} + +.nav{ + padding-top:10px; +} + + +.nav li { + display: inline; +} + +.jumbotron{ +background-color:#3399cc !important; +color: #fff !important; +border: 0px solid #3399cc; +border-radius: 10px; +} + +.logo-img{ + width:10%; + height:10%; + display: inline-block; +} +.btn{ + font-weight:bold; + color:#fff; + background-color: #3399cc; + overflow: hidden; + height:42px; +} + +.btn:hover{ +color:#fff; +background-color: #1f698d; +} + +.input-box{ + padding: 9px; + border: 2px solid #3399cc; + border-radius: 5px; + width: 700px; + font-size:14px; + display: inline-block; + overflow: hidden; +} + +.thumb{ + position: relative; + margin-bottom: 10px; + padding-top: 0px; +} + +.title { + display: inline; + color: black; + font-size: 30px; + padding-top: 5 px; +} + +ul{ + list-style-type: none; +} + +li{ + margin-bottom: 50px; + margin-top: 30px; +} + +.panel{ +/* border: 1px solid black; */ + box-shadow: 1px 1px 10px grey; +} + +.panel #voteCount{ + text-align: center; +} + +.panel-body{ + height: 150px; +} + +.panel-heading{ + background-color: #f1c40f; + height: 88px; +} + +.authorName{ + font-size: 18px; +} + +.panel button{ + background: transparent; + border: none; +} + +.desc { + text-align: left; +} diff --git a/app/views/images/NoteStrIcon.png b/app/views/images/NoteStrIcon.png new file mode 100644 index 0000000..39fe04d Binary files /dev/null and b/app/views/images/NoteStrIcon.png differ diff --git a/app/views/index.erb b/app/views/index.erb new file mode 100644 index 0000000..9dc9284 --- /dev/null +++ b/app/views/index.erb @@ -0,0 +1,481 @@ +Keith + + + +Drive +My Drive +NEW +Folders and views +My Drive +Shared with me +Google Photos +Recent +Starred +Trash +Name +Owner +Last modified +File size +Website +me +10:10 am +— +Sharedpics +me +Jun 29, 2015 +— +Final +me +May 29, 2015 +— +CIS 254 +me +May 24, 2015 +— +assign8 +me +May 21, 2015 +— +Shit +me +Apr 27, 2015 +— +Work +me +Mar 27, 2015 +— +Shapes +me +Mar 4, 2015 +— +Testfield +me +Feb 18, 2015 +— +Shared Resume +me +Feb 18, 2015 +— +IntegerSet +me +Feb 18, 2015 +— +assign2 +me +Feb 16, 2015 +— +CIS 114 +me +Feb 16, 2015 +— +.recommenders +me +Feb 12, 2015 +— +Rectangle +me +Feb 12, 2015 +— +Old +me +Feb 12, 2015 +— +.metadata +me +Feb 12, 2015 +— +Star Ronin +me +Feb 12, 2015 +— +Modern JavaScript Develop and Design - MG +me +Feb 5, 2015 +— +workspace +me +Jan 30, 2015 +— + +Iron Ghost.xlsm +me +Aug 8, 2015 +758 KB + +Soldier Tracker +me +Jul 1, 2015 +— + +SAM_2013_Getting_Started_Guide_Student_UPDATE.ppt +me +Jun 19, 2015 +6 MB + +Untitled document +me +Jun 16, 2015 +— + +060515 061315 Voucher doubles.pdf +me +Jun 7, 2015 +144 KB + +Final.zip +me +May 29, 2015 +88 KB + +assign8.zip +me +May 21, 2015 +568 KB + +document.pdf +me +Apr 23, 2015 +114 KB + +Durrius 2.0.pdf +me +Apr 4, 2015 +570 KB + +beefs.chum5 +me +Mar 31, 2015 +172 KB + +InternshipResume.docx +me +Mar 20, 2015 +21 KB + +ModernJSDD_CH07.pps +me +Mar 5, 2015 +433 KB + +Tracking.xlsx +me +Mar 5, 2015 +9 KB + +HoRNDIS-rel6.pkg +me +Mar 4, 2015 +114 KB + +10422980_1586144684958992_5126079436672262081_n.jpg +me +Mar 3, 2015 +33 KB + +nakasi-ktu84p-factory-76acdbe9.tgz +me +Feb 25, 2015 +363 MB + +InternshipResume.docx +me +Feb 20, 2015 +20 KB + +Cover Letter.docx +me +Feb 20, 2015 +14 KB + +assign2.zip +me +Feb 16, 2015 +163 KB + +Project2Files.zip +me +Feb 12, 2015 +4 KB + +Paul Deitel , Harvey Deitel - Java How To Program, 10th Edition (Early Objects).pdf +me +Jan 24, 2015 +15 MB +My Drive +Details +Activity +TODAY + +Youuploaded 2 items +10:10 AM +Style Sheet +main.css +HTML +index.html + +Youcreated an item in +10:10 AM +Google Drive Folder +My Drive +Google Drive Folder +Website +YESTERDAY + +Julia Ladutkoedited an item +Computer • Fri 10:38 PM +Image +IMG_2008.JPG + +Julia Ladutkoedited an item +Computer • Fri 10:38 PM +Image +IMG_2009.JPG + +Julia Ladutkoedited an item +Computer • Fri 10:38 PM +Image +IMG_2006.JPG + +Julia Ladutkoedited an item +Computer • Fri 10:38 PM +Image +IMG_2005.JPG + +Julia Ladutkoedited an item +Computer • Fri 10:38 PM +Image +IMG_2007.JPG + +Julia Ladutkoedited an item +Computer • Fri 10:37 PM +Image +IMG_2003.JPG + +Julia Ladutkoedited an item +Computer • Fri 10:37 PM +Image +IMG_2002.JPG + +Julia Ladutkoedited an item +Computer • Fri 10:37 PM +Image +IMG_2004.JPG +LAST WEEK + +Youuploaded an item +Aug 8 +Excel +Iron Ghost.xlsm +L +LEIGH DUGGANadded 25 items to +Aug 5 +Google Drive Folder +Sharedpics +Image +IMG_2167.JPG +Image +IMG_2176.JPG +Image +IMG_2183.JPG +Image +IMG_2163.JPG +Image +IMG_2007.JPG +Image +IMG_2172.JPG +Show all... +LAST MONTH + +Youedited an item +Jul 1 +Google Sheets +Soldier Tracker + +Youshared an item +Jul 1 +Excel +Tracking.xlsx +Can view +Anyone with the link + +Youshared an item +Jul 1 +Google Sheets +Soldier Tracker +G +Can comment +Glen Naftaniel + +Youcreated and shared an item in +Jul 1 +Google Drive Folder +My Drive +Google Sheets +Soldier Tracker +Can comment +Anyone with the link +EARLIER THIS YEAR + +Julia Ladutkocreated and shared 122 items in +Computer • Jun 30 +Google Drive Folder +Sharedpics +Image +IMG_20150628_142746.jpg +Image +IMG_20150628_143439.jpg +Image +IMG_20150628_130753.jpg +Image +IMG_20150628_143436.jpg +Image +IMG_20150628_142815.jpg +Image +IMG_20150628_130750.jpg +Show all... +L +Can edit +LEIGH DUGGAN +Can edit +Anyone with the link + +Can edit +You + +Youcreated and shared 18 items in +Mobile • Jun 30 +Google Drive Folder +Sharedpics +Image +IMG_20150626_154636.jpg +Image +IMG_20150626_154705.jpg +Image +IMG_20150626_154634.jpg +Image +IMG_20150620_195640.jpg +Image +IMG_20150628_115203.jpg +Image +IMG_20150626_155332.jpg +Show all... +L +Can edit +LEIGH DUGGAN +Can edit +Anyone with the link + +Youcreated and shared an item in +Mobile • Jun 29 +Google Drive Folder +My Drive +Google Drive Folder +Sharedpics +L +Can edit +LEIGH DUGGAN +Can edit +Anyone with the link + +Youuploaded an item +Jun 19 +PowerPoint +SAM_2013_Getting_Started_Guide_Student_UPDATE.ppt +Get Drive for PC +3 GB used (22%) +Buy more storage + +index.html +Open with + + + + + + + + + + + + + + +
+
+

Welcome to Eastman.

+

The most adequate web developer you've ever seen.

+ Learn More +
+
+
+ +
+
+

Neighborhood Guides

+

Not sure where to stay? We've created neighborhood guides for cities all around the world'

+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+

Travel

+

From apartments and rooms to treehouses and boats: stay in unique spaces in 192 countries.

+

See how to travel on Airbnb

+
+
+

Host

+

Renting out your unused space could pay your bills or fund your next vacation.

+

Learn more about hosting

+
+
+

Trust and Safety

+

From Verified ID to our worldwide customer support team, we've got your back.

+

Learn about trust at Airbnb

+
+
+
+
+ + \ No newline at end of file diff --git a/app/views/js/main.js b/app/views/js/main.js new file mode 100644 index 0000000..97fddd8 --- /dev/null +++ b/app/views/js/main.js @@ -0,0 +1,72 @@ +$(document).ready(function() { + $.getJSON( "js/test.json", function( data ) { + $.each( data, function( key, val ) { + $('#list').append( + '
  • \ +
    \ +
    \ +
    \ +

    ' + val.title + '

    \ +
    ' + val.author + '
    \ +
    \ +
    \ +
    ' + val.votes + '
    \ + \ + \ +
    \ +
    \ +
    \ +

    '+ val.description.slice(0,255) +'...Read More

    \ +
    \ +
    \ +
  • ' + ); + + + //begin event handler + var voteContainer = $("#card" + val.id).find(".upDownVote"); + + //var isUp = false; + //var isDown = false; + + voteContainer.find("#upVoteButton").click(function(evt){ + var btn = evt.currentTarget; // the clicked button + console.log("up:" + evt.currentTarget); + + /* + if(!isUp){ + val.votes++; + isUp = true; + } + else{ + val.votes--; + isUp = false; + } + $("#voteCount").text(val.votes); + */ + }); + + voteContainer.find("#downVoteButton").click(function(evt){ + var btn = evt.currentTarget; // the clicked button + console.log("down:" + evt.currentTarget); + + /* + if(!isDown){ + val.votes--; + isDown = true; + } + else{ + val.votes++; + isDown = false; + } + $("#voteCount").text(val.votes); + */ + }); + }); + }); + +}); diff --git a/app/views/js/test.json b/app/views/js/test.json new file mode 100644 index 0000000..9a2f655 --- /dev/null +++ b/app/views/js/test.json @@ -0,0 +1,24 @@ +[ + +{ +"id": 1, +"title": "title title title1", +"description": "Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Sure would be rad if you read the rest of this resource...", +"author": "Raplph author", +"votes": 10 +}, +{ +"id": 2, +"title": "title title title2", +"description": "Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Sure would be rad if you read the rest of this resource...", +"author": "Raplph author", +"votes": 2 +}, +{ +"id": 3, +"title": "title title title3", +"description": "Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Aavi eiqvqn eqivqjqe. Thoenqv eiqnd eqoov qqkedas wqow, winvqo! fwqifqncqei qcieqncqi qicq cqirpq cowq cwoq. Sure would be rad if you read the rest of this resource...", +"author": "Raplph author", +"votes": -1 +} +] \ No newline at end of file diff --git a/app/views/resultlist.html b/app/views/resultlist.html new file mode 100644 index 0000000..3e82928 --- /dev/null +++ b/app/views/resultlist.html @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + +
    +
    +

    Search Results

    +
    +
    +
    + + +
    + + + +