* Add htdocs (including jquery & nicEdit; need to sort out licensing)

* Update readme to reflect htdocs usage.
This commit is contained in:
Ross Poulton 2008-01-08 00:02:52 +00:00
parent d146283259
commit 5052d40876
5 changed files with 204 additions and 0 deletions

5
README
View File

@ -79,6 +79,11 @@ See the file 'LICENSE' for licensing terms and conditions.
./manage.py syncdb
to create database tables
6. Inside your MEDIA_ROOT folder, create a new folder called 'helpdesk' and
copy the contents of helpdesk/htdocs/ into it. Alternatively, create a
symlink:
ln -s /path/to/helpdesk/htdocs /path/to/media/helpdesk
#########################
4. Initial Configuration
#########################

143
htdocs/helpdesk.css Normal file
View File

@ -0,0 +1,143 @@
body {
font: 10pt "Trebuchet MS", Arial, sans-serif;
background-color: #fff;
text-align: center;
}
table {
border-collapse: collapse;
margin-top: 8px;
padding: 80px;
}
#container {
width: 600px;
margin: 0 auto;
text-align: left;
}
#header h1 {
float: left;
}
#header ul {
float: right;
}
#header li {
display: inline;
float: left;
padding-left: 5px;
}
#header, #body, #footer {
clear: both;
}
label {
font-weight: bold;
}
.row_tablehead {
background-color: #6593C0;
font-weight: bold;
color: #fff;
border-bottom: solid white 1px;
}
.row_tablehead td {
padding-left: 12px;
line-height: 16pt;
font-size: 12pt;
}
.row_columnheads {
background-color: #94C0E8;
font-size: 10pt;
line-height: 12pt;
}
th {
font-weight: bold;
color: #3E5F84;
text-align: left;
padding-left: 12px;
}
.row_odd {
background-color: #fff;
}
.row_even {
background-color: #ecf6fc;
}
.row_odd, .row_even {
color: #6C79A0;
border-bottom: solid #d5e7fd 1px;
}
.row_odd th, .row_even th {
font-size: 10pt;
}
.row_odd td:first-child, .row_even td:first-child {
padding-left: 12px;
}
.cell_bold {
font-weight: bold;
}
td a, th a {
color: inherit;
text-decoration: none;
}
td {
font-size: 10pt;
}
.hover {
background-color: #bcd4ec;
}
div.followup {
width: 100%;
border-top: solid #666 1px;
}
div.followup .title {
font-weight: bold;
font-size: 10pt;
}
div.followup .title span {
color: #aaa;
font-weight: normal;
}
span.private {
color: #aaa;
font-style: italic;
}
a.ticket_link_status_Closed {
text-decoration: line-through;
}
a.ticket_link_status_Open {
color: #393;
}
a.ticket_link_status_Reopened {
color: #393;
}
a.ticket_link_status_Resolved {
color: #996;
}
a.ticket_link_status {
color: #369;
font: 12pt Garamond;
}

1
htdocs/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

55
htdocs/nicEdit.js Normal file

File diff suppressed because one or more lines are too long

BIN
htdocs/nicEditorIcons.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB