From 133de0d5cc925a92e0ea1a6fdcff6b56aea8de3f Mon Sep 17 00:00:00 2001
From: Kevin Abel <kevin.abel.0@gmail.com>
Date: Thu, 17 Apr 2014 17:17:02 -0500
Subject: [PATCH] Remove old CSS and port JS to new 4.0 style module

Also remove extra eclipse junk missed in previous commits
---
 .buildpath                          |   5 -
 .project                            |  35 ------
 www/js/.gitignore                   |   2 +
 www/{searchFunc.js => js/search.js} |   0
 www/searchCSS.css                   | 172 ----------------------------
 5 files changed, 2 insertions(+), 212 deletions(-)
 delete mode 100644 .buildpath
 delete mode 100644 .project
 create mode 100644 www/js/.gitignore
 rename www/{searchFunc.js => js/search.js} (100%)
 delete mode 100644 www/searchCSS.css

diff --git a/.buildpath b/.buildpath
deleted file mode 100644
index 8bcb4b5..0000000
--- a/.buildpath
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<buildpath>
-	<buildpathentry kind="src" path=""/>
-	<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
-</buildpath>
diff --git a/.project b/.project
deleted file mode 100644
index 9a376d6..0000000
--- a/.project
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-	<name>UNL_Search</name>
-	<comment></comment>
-	<projects>
-	</projects>
-	<buildSpec>
-		<buildCommand>
-			<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-		<buildCommand>
-			<name>org.eclipse.wst.validation.validationbuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-		<buildCommand>
-			<name>org.eclipse.dltk.core.scriptbuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-		<buildCommand>
-			<name>org.eclipse.wst.common.project.facet.core.builder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-	</buildSpec>
-	<natures>
-		<nature>net.vtst.ow.eclipse.less.nature</nature>
-		<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
-		<nature>org.eclipse.php.core.PHPNature</nature>
-		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
-	</natures>
-</projectDescription>
diff --git a/www/js/.gitignore b/www/js/.gitignore
new file mode 100644
index 0000000..723285d
--- /dev/null
+++ b/www/js/.gitignore
@@ -0,0 +1,2 @@
+/search.js.map
+/search.min.js
diff --git a/www/searchFunc.js b/www/js/search.js
similarity index 100%
rename from www/searchFunc.js
rename to www/js/search.js
diff --git a/www/searchCSS.css b/www/searchCSS.css
deleted file mode 100644
index 49a129e..0000000
--- a/www/searchCSS.css
+++ /dev/null
@@ -1,172 +0,0 @@
-/* Google/Peoplefinder Styles */
-
-
-/** Search Box **/
-#searchform {
-	margin-bottom: 10px;
-}
-#searchform fieldset {
-	
-}
-
-#searchform label {
-	display: none;
-}
-#searchform form {
-	background: #E9D78E; /* old browsers */
-    background: -moz-linear-gradient(top, #E9D78E 0%, #DCC679 100%); /* firefox */
-    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#E9D78E), color-stop(100%,#DCC679)); /* webkit */
-    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#E9D78E', endColorstr='#DCC679',GradientType=0 ); /* ie */
-    padding:13px;
-    border-radius:5px;
-    -moz-border-radius:5px;
-    -webkit-border-radius:5px;
-    width:100%;
-    overflow: auto;
-    -webkit-box-sizing: border-box;
-    -moz-box-sizing: border-box;
-    box-sizing: border-box;
-}
-
-#searchform input.search-query {
-    border: 1px solid #8A7C47;
-    color: #5C5C5C;
-    font-size: 1.5em;
-    height: 31px;
-    padding: 2px 0 0 8px;
-    width: 70%;
-}
-#searchform input.search-button {
-    -moz-border-radius: 5px;
-    -webkit-border-radius: 5px;
-    -border-radius: 5px;
-    font-size: 1.5em;
-    padding:4px 10px;
-    background: #897B42;
-    border: 1px solid #BDAB61;
-    color: #FFFFFF;
-    cursor: pointer;
-}
-
-@media (min-width: 480px) and (max-width: 599px) {
-    #maincontent .grid8 {
-        width: 49%;
-        margin-left: 0; /* It's the first column */
-    }
-    #maincontent #directory_results.grid4 {
-        width: 49%;
-        clear: none;
-        margin-left: 2%;
-    }
-}
-@media (min-width: 600px) {
-    #maincontent .grid8 {
-        width: 65.78%;
-        margin-left: 0; /* It's the first column */
-    }
-    #maincontent .grid4 {
-        width: 31.62%;
-        margin-left: 2.54%;
-        clear: none;
-    }
-}
-@media (min-width: 768px) {
-
-}
-
-/** Overridden directory styles **/
-#maincontent .recordDetails {
-	margin-left:8px;
-	max-width:155px;
-}
-#maincontent ul.pfResult li div.overflow {
-	cursor: auto;
-}
-#maincontent .pfResult a.cInfo {
-    font-size: 0.75em;
-    font-weight: bold;
-    text-transform: uppercase;
-    bottom: 0;
-}
-#maincontent .pfResult .fn, #maincontent .pfResult .fn a {font-size:12px; line-height:14px; min-height:14px;}
-#maincontent .pfResult .on-campus-dialing {display:block;margin-top:-5px;}
-
-/** The Search results **/
-.google-results .gsc-control-cse,
-.google-results .gsc-control-cse .gsc-table-result {
-    font-family: inherit;
-    font-size: 1em;
-}
-.google-results .gsc-search-box {
-    display: none;
-}
-.cse .gsc-control-cse, 
-.gsc-control-cse {
-    padding: 0;
-}
-
-.google-results .gsc-control-cse .gs-result .gs-title, 
-.google-results .gsc-control-cse .gs-result .gs-title * {
-    font-size: 1.1em;
-    text-decoration: none;
-    color: #BA0000;
-}
-
-.google-results .gsc-control-cse .gs-result .gs-title:hover, 
-.google-results .gsc-control-cse .gs-result .gs-title:hover * {
-    color: #EE0000;
-}
-
-.google-results .gs-webResult div.gs-visibleUrl-long {
-    display: block;
-    color: #897B42;
-}
-
-.google-results .gsc-results {
-	border-top: 1px solid #d0cece;
-}
-
-.google-results .gsc-results .gsc-cursor-box {
-	border-top: 1px solid #e6e6e6;
-	padding-top: 20px;
-}
-
-.google-results .gsc-webResult.gsc-result,
-.google-results  .gsc-results .gsc-imageResult {
-    border-top: 1px solid #e6e6e6;
-    border-bottom: 1px solid #d0cece;
-    background-color: #FFFFFF;
-    padding: 12px 5px;
-}
-.google-results .gsc-webResult.gsc-result:hover,
-.google-results .gsc-imageResult:hover {
-    background-color: #ECF4F9;
-}
-
-.google-results .gsc-results .gsc-cursor-box .gsc-cursor-page {	
-	display: block;
-	float: left;
-	border: 1px solid #dadada;
-	padding: 2px 4px;
-	text-decoration: none;
-	color: #BA0000;
-}
-.google-results .gsc-results .gsc-cursor-box .gsc-cursor-page:hover { 
-	background: #6e6e6e;
-	border: 1px solid #5e5e5e;
-	color: #fff;
-}
-.google-results .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
-	border: none;
-	font-size: 22px;
-	padding: 2px 6px;
-	color: #3e3e3e;
-}
-.google-results .gsc-results .gsc-cursor-box .gsc-cursor-current-page:hover {
-    background: none;
-    border: none;
-    color: #3e3e3e;
-}
-.google-results .gcsc-branding {
-	clear: both;
-}
-- 
GitLab