Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved javascripts and css into common dirs #267

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
118 changes: 59 additions & 59 deletions careersPage.css → css/careersPage.css
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
@charset "utf-8";
/* CATS Applicant Tracking System Careers Page
Released: 11.13.2007
Created By: Sae Vang
*/
/* COMMON */
body, html { margin: 0; padding: 0; background: #ffffff; font: normal 12px/14px Arial, Helvetica, sans-serif; color: #000000; }
#container { margin: 0 auto; padding: 0; width: 930px; height: auto; }
#logo { float: left; margin: 0; }
#logo img { width: 424px; height: 103px; }
#actions { float: right; margin: 0; width: 310px; height: 100px; background: #efefef; border: 1px solid #cccccc; }
#actions img { float: left; margin: 2px 6px 2px 15px; width: 130px; height: 25px; }
#footer { clear: both; margin: 20px auto 0 auto; width: 150px; }
#footer img { width: 137px; height: 38px; }
a:link, a:active { color: #1763b9; }
a:hover { color: #c75a01; }
a:visited { color: #333333; }
h1 { margin: 0 0 10px 0; font: bold 18px Arial, Helvetica, sans-serif; }
h2 { margin: 8px 0 8px 15px; font: bold 14px Arial, Helvetica, sans-serif; }
h3 { margin: 0; font: bold 14px Arial, Helvetica, sans-serif; }
p { font: normal 12px Arial, Helvetica, sans-serif; }
img { border: none; }
strong { font-weight: bold; }
em { font-style: italics; }
/* CONTENTS ON PAGE SPECS */
#careerContent { clear: both; padding: 15px 0 0 0; }
/* DISPLAY ALL JOBS PAGE */
#displayTable { width: 930px; }
#displayTable tr.header { background: #e0e0e0; border: 1px solid #cccccc; border-left: none; border-right: none; }
#displayTable tr.odd { background: #ffffff; }
#displayTable tr.even { background: #ebebeb; }
#displayTable td { padding: 5px; }
/* DISPLAY JOB DETAILS */
#detailsTable { width: 400px; }
#detailsTable td.detailsHeader { width: 30%; }
div#discriptive { float: left; width: 585px; }
div#detailsTools { float: right; width: 330px; height: 70px; background: #ffffff; border: 1px solid #cccccc; }
div#detailsTools img { float: left; margin: 2px 6px 5px 15px; }
/* DISPLAY APPLICATION FORM */
div.applyBoxLeft, div.applyBoxRight { width: 450px; height: 470px; background: #f9f9f9; border: 1px solid #cccccc; border-top: none; }
div.applyBoxLeft { float: left; margin: 0 10px 30px 0; }
div.applyBoxRight { float: right; margin: 0 0 30px 10px; }
div.applyBoxLeft div, div.applyBoxRight div { margin: 0 0 5px 0; padding: 3px 10px; background: #efefef; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; }
div.applyBoxLeft table, div.applyBoxRight table { margin: 0 auto; width: 420px; }
div.applyBoxLeft table td, div.applyBoxRight table td { padding: 3px; vertical-align: top; }
td.label { text-align: right; width: 110px; }
label { font-weight: bold; }
input#documentFile { width: 342px; }
input.inputbox { width: 285px; height: 15px; }
input.submitbutton { float: right; width: 195px; height: 25px; }
textarea { margin: 8px 0 0 0; width: 410px; height: 170px; }
@charset "utf-8";
/* CATS Applicant Tracking System Careers Page
Released: 11.13.2007
Created By: Sae Vang
*/

/* COMMON */
body, html { margin: 0; padding: 0; background: #ffffff; font: normal 12px/14px Arial, Helvetica, sans-serif; color: #000000; }
#container { margin: 0 auto; padding: 0; width: 930px; height: auto; }
#logo { float: left; margin: 0; }
#logo img { width: 424px; height: 103px; }
#actions { float: right; margin: 0; width: 310px; height: 100px; background: #efefef; border: 1px solid #cccccc; }
#actions img { float: left; margin: 2px 6px 2px 15px; width: 130px; height: 25px; }
#footer { clear: both; margin: 20px auto 0 auto; width: 150px; }
#footer img { width: 137px; height: 38px; }

a:link, a:active { color: #1763b9; }
a:hover { color: #c75a01; }
a:visited { color: #333333; }

h1 { margin: 0 0 10px 0; font: bold 18px Arial, Helvetica, sans-serif; }
h2 { margin: 8px 0 8px 15px; font: bold 14px Arial, Helvetica, sans-serif; }
h3 { margin: 0; font: bold 14px Arial, Helvetica, sans-serif; }
p { font: normal 12px Arial, Helvetica, sans-serif; }
img { border: none; }
strong { font-weight: bold; }
em { font-style: italics; }


/* CONTENTS ON PAGE SPECS */
#careerContent { clear: both; padding: 15px 0 0 0; }

/* DISPLAY ALL JOBS PAGE */
#displayTable { width: 930px; }
#displayTable tr.header { background: #e0e0e0; border: 1px solid #cccccc; border-left: none; border-right: none; }
#displayTable tr.odd { background: #ffffff; }
#displayTable tr.even { background: #ebebeb; }
#displayTable td { padding: 5px; }

/* DISPLAY JOB DETAILS */
#detailsTable { width: 400px; }
#detailsTable td.detailsHeader { width: 30%; }
div#discriptive { float: left; width: 585px; }
div#detailsTools { float: right; width: 330px; height: 70px; background: #ffffff; border: 1px solid #cccccc; }
div#detailsTools img { float: left; margin: 2px 6px 5px 15px; }

/* DISPLAY APPLICATION FORM */
div.applyBoxLeft, div.applyBoxRight { width: 450px; height: 470px; background: #f9f9f9; border: 1px solid #cccccc; border-top: none; }
div.applyBoxLeft { float: left; margin: 0 10px 30px 0; }
div.applyBoxRight { float: right; margin: 0 0 30px 10px; }
div.applyBoxLeft div, div.applyBoxRight div { margin: 0 0 5px 0; padding: 3px 10px; background: #efefef; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; }
div.applyBoxLeft table, div.applyBoxRight table { margin: 0 auto; width: 420px; }
div.applyBoxLeft table td, div.applyBoxRight table td { padding: 3px; vertical-align: top; }
td.label { text-align: right; width: 110px; }
label { font-weight: bold; }
input#documentFile { width: 342px; }
input.inputbox { width: 285px; height: 15px; }
input.submitbutton { float: right; width: 195px; height: 25px; }
textarea { margin: 8px 0 0 0; width: 410px; height: 170px; }
textarea.inputboxlarge { width: 285px; height: 70px; }
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ td.softMiddle {
}
#statusBar {
height: 31px;
background: #6B94F2 url(images/parser/statusBar.jpg);
background: #6B94F2 url(../../images/parser/statusBar.jpg);
width: 1px;
}
div.stepContainer {
Expand Down
2 changes: 1 addition & 1 deletion modules/install/install.css → css/install/install.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ p.success
*/
background-color: transparent !important;
background-color: #333;
/* background-image\**\: url('images/maskBG.gif') !important; */
/* background-image\**\: url('../../images/maskBG.gif') !important; */
background-image: none;
background-repeat: repeat;
display: none;
Expand Down
2 changes: 1 addition & 1 deletion modules/login/login.css → css/login/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ div.clear
*/
background-color: transparent !important;
background-color: #333;
/* background-image\**\: url('images/maskBG.gif') !important; */
/* background-image\**\: url('../../images/maskBG.gif') !important; */
background-image: none;
background-repeat: repeat;
display: none;
Expand Down
38 changes: 19 additions & 19 deletions main.css → css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ a:hover
/* Inactive Tab */
#header ul#primary a.inactive
{
background: #E2E2E2 url(images/tabs/inactive.jpg) no-repeat;
background: #E2E2E2 url(../images/tabs/inactive.jpg) no-repeat;
height: 21px;
width: 81px;
margin: 3px 3px 0px 0px; /* 1px more margin-left than a.active. */
Expand All @@ -181,7 +181,7 @@ a:hover
/* Active Tab */
#header ul#primary a.active
{
background: #E2E2E2 url(images/tabs/active.jpg) no-repeat;
background: #E2E2E2 url(../images/tabs/active.jpg) no-repeat;
height: 24px;
width: 81px;
margin: 1px 2px 0px 0px;
Expand Down Expand Up @@ -259,7 +259,7 @@ a:hover
margin: 0px 0px 0px 0px;
padding: 5px 10px 5px 0px;
background: #fff;
background-image: url('images/mru_background.gif');
background-image: url('../images/mru_background.gif');
background-repeat: repeat-x;
text-align: right;
}
Expand Down Expand Up @@ -287,7 +287,7 @@ a:hover
font: normal normal normal 12px Arial, Tahoma, sans-serif;
color: #000;
background: #fff;
background-image: url('images/mru_background.gif');
background-image: url('../images/mru_background.gif');
background-repeat: repeat-x;

}
Expand Down Expand Up @@ -331,7 +331,7 @@ a:hover
padding: 0px 0px 0px 0px;
float: left;
background-color: transparent;
background: url('images/cats_icon.gif') no-repeat center;
background: url('../images/cats_icon.gif') no-repeat center;
width: 55px;
height: 55px;
}
Expand Down Expand Up @@ -386,7 +386,7 @@ a:hover

p.note
{
background-image: url('images/bgBlue.gif');
background-image: url('../images/bgBlue.gif');
background-repeat: repeat-x;
padding: 4px;
margin-top: 0px;
Expand All @@ -400,7 +400,7 @@ p.note

p.noteUnsized
{
background-image: url('images/bgBlue.gif');
background-image: url('../images/bgBlue.gif');
background-repeat: repeat-x;
padding: 4px;
margin-top: 0px;
Expand All @@ -413,7 +413,7 @@ p.noteUnsized

.noteUnsizedSpan
{
background-image: url('images/bgBlue.gif');
background-image: url('../images/bgBlue.gif');
background-repeat: repeat-x;
padding: 4px;
margin-top: 0px;
Expand All @@ -426,7 +426,7 @@ p.noteUnsized

p.warning
{
background-image: url('images/orange_gradient.jpg');
background-image: url('../images/orange_gradient.jpg');
background-repeat: repeat-x;
padding: 4px;
margin-top: 0px;
Expand All @@ -440,7 +440,7 @@ p.warning

p.perror
{
background-image: url('images/red_gradient.jpg');
background-image: url('../images/red_gradient.jpg');
background-repeat: repeat-x;
padding: 4px;
margin-top: 0px;
Expand Down Expand Up @@ -513,7 +513,7 @@ table.notsortable th
border-left: none;
border-right: none;
padding: 2px 4px 2px 4px;
background-image: url('images/sort_table_bg.gif');
background-image: url('../images/sort_table_bg.gif');
color: #000080;
font: normal normal bold 12px Arial, Tahoma, sans-serif;
}
Expand Down Expand Up @@ -579,7 +579,7 @@ table.statisticsTable th
border-left: none;
border-right: none;
padding: 2px 4px 2px 4px;
background-image: url('images/sort_table_bg.gif');
background-image: url('../images/sort_table_bg.gif');
color: #000080;
font: normal normal bold 12px Arial, Tahoma, sans-serif;
}
Expand Down Expand Up @@ -620,7 +620,7 @@ tr.evenTableRow-onmouseover

.editTable
{
background: url('images/bgGrayForm.gif');
background: url('../images/bgGrayForm.gif');
background-repeat: repeat-x;
background-position: top;
background-color: #f4f4f4;
Expand Down Expand Up @@ -756,7 +756,7 @@ p.freeformbottom
font-size: 12px;
padding-left: 8px;
padding-right: 8px;
background: url('images/button_bg.gif') repeat-x #f0f0f0;
background: url('../images/button_bg.gif') repeat-x #f0f0f0;
border: 1px solid #a4a4a4;
}

Expand All @@ -772,7 +772,7 @@ p.freeformbottom
font-size: 12px;
padding-left: 8px;
padding-right: 8px;
background: url('images/button_bg_down.gif') repeat-x #f0f0f0;
background: url('../images/button_bg_down.gif') repeat-x #f0f0f0;
border: 1px solid #a4a4a4;
}

Expand All @@ -783,7 +783,7 @@ p.freeformbottom
font-size: 12px;
padding-left: 8px;
padding-right: 8px;
background: url('images/button_bg.gif') repeat-x #f0f0f0;
background: url('../images/button_bg.gif') repeat-x #f0f0f0;
border: 1px solid #a4a4a4;
}

Expand All @@ -794,7 +794,7 @@ p.freeformbottom
font-size: 12px;
padding-left: 8px;
padding-right: 8px;
background: url('images/button_bg_down.gif') repeat-x #f0f0f0;
background: url('../images/button_bg_down.gif') repeat-x #f0f0f0;
border: 1px solid #a4a4a4;
}

Expand Down Expand Up @@ -944,7 +944,7 @@ span.validationError
*/
background-color: transparent !important;
background-color: #333;
/* background-image\**\: url('images/maskBG.gif') !important; */
/* background-image\**\: url('../images/maskBG.gif') !important; */
background-image: none;
background-repeat: repeat;
display: none;
Expand Down Expand Up @@ -1188,7 +1188,7 @@ input.selectAll
line-height: normal;
font-size-adjust: none;
font-stretch: normal;
background-image: url('images/lightblue_gradient_15.jpg');
background-image: url('../images/lightblue_gradient_15.jpg');
background-repeat: repeat;
background-attachment: scroll;
color: white;
Expand Down
File renamed without changes.
16 changes: 8 additions & 8 deletions modules/settings/downloads.css → css/settings/downloads.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* Downloads Supported Types > Settings tab > Downloads */
#settingsDownloads { clear: both; width: 600px; }
#settingsDownloads h4 { margin: 15px 0 0 0;font: bold 14px Arial, sans-serif; color: #000; }
table.downloadSupportedGrid { margin: 0 0 15px 0; padding: 0; border: 1px solid #ccc; border-left: none; text-align: left; width: 600px; }
table.downloadSupportedGrid tr.headers { background: #f3e1d2; }
table.downloadSupportedGrid tr.headers span { vertical-align: super; }
table.downloadSupportedGrid td { padding: 0 0 0 10px; border-left: 1px solid #ccc; height: 25px; }
/* Downloads Supported Types > Settings tab > Downloads */

#settingsDownloads { clear: both; width: 600px; }
#settingsDownloads h4 { margin: 15px 0 0 0;font: bold 14px Arial, sans-serif; color: #000; }
table.downloadSupportedGrid { margin: 0 0 15px 0; padding: 0; border: 1px solid #ccc; border-left: none; text-align: left; width: 600px; }
table.downloadSupportedGrid tr.headers { background: #f3e1d2; }
table.downloadSupportedGrid tr.headers span { vertical-align: super; }
table.downloadSupportedGrid td { padding: 0 0 0 10px; border-left: 1px solid #ccc; height: 25px; }
table.downloadSupportedGrid td.category { width: 125px; font: normal 14px Arial, sans-serif; text-align: left; }
File renamed without changes.
2 changes: 1 addition & 1 deletion modules/wizard/style.css → css/wizard/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ td.wizardBody { font-size: 14px; background-color: #DDE2FF; color: #ffffff; heig
td.sectionTitle { background-color: #FFDE90; padding: 10px; font-size: 12px; font-weight: bold; }
td.sectionTitleCurrent { background-color: #FFB400; padding: 10px; font-size: 12px; font-weight: bold; }
input.button { height: 20px; color: #333; font-size: 12px; padding-left: 8px; padding-right: 8px;
background: url('images/button_bg.gif') repeat-x #f0f0f0; border: 1px solid #a4a4a4; cursor: pointer; }
background: url('../../images/button_bg.gif') repeat-x #f0f0f0; border: 1px solid #a4a4a4; cursor: pointer; }
#loadingBar { position: absolute; width: 650px; text-align: center; top: 25%; padding: 10px;
left: 18%; border: 5px solid #e0e0e0; background-color: #f0f0f0; font-size: 38px; font-weight: bold;
color: #666666; visibility: hidden; }
Expand Down
2 changes: 1 addition & 1 deletion installtest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<html>
<head>
<title>CATS - Installation Test Script</title>
<style type="text/css" media="all">@import "main.css";</style>
<style type="text/css" media="all">@import "css/main.css";</style>
<style type="text/css" media="all">
table.test_output
{
Expand Down
2 changes: 1 addition & 1 deletion installwizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<script type="text/javascript" src="js/lib.js"></script>
<script type="text/javascript" src="js/install.js"></script>
<script type="text/javascript" src="js/submodal/subModal.js"></script>
<style type="text/css" media="all">@import "modules/install/install.css";</style>
<style type="text/css" media="all">@import "css/install/install.css";</style>
</head>

<body>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion js/submodal/loading.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<title>Loading...</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" media="all">@import "../../main.css";</style>
<style type="text/css" media="all">@import "../../css/main.css";</style>
</head>

<body>
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions lib/TemplateUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ private static function _printCommonHeader($pageTitle, $headIncludes = array())
echo '<script type="text/javascript" src="js/jquery-1.3.2.min.js'.$javascriptAntiCache.'"></script>', "\n";
echo '<script type="text/javascript">CATSIndexName = "'.CATSUtility::getIndexName().'";</script>', "\n";

$headIncludes[] = 'main.css';
$headIncludes[] = 'css/main.css';

foreach ($headIncludes as $key => $filename)
{
Expand All @@ -1212,8 +1212,8 @@ private static function _printCommonHeader($pageTitle, $headIncludes = array())
}
}

echo '<!--[if IE]><link rel="stylesheet" type="text/css" href="ie.css" /><![endif]-->', "\n";
echo '<![if !IE]><link rel="stylesheet" type="text/css" href="not-ie.css" /><![endif]>', "\n";
echo '<!--[if IE]><link rel="stylesheet" type="text/css" href="css/ie.css" /><![endif]-->', "\n";
echo '<![if !IE]><link rel="stylesheet" type="text/css" href="css/not-ie.css" /><![endif]>', "\n";
echo '</head>', "\n\n";
}

Expand Down
Loading