Remove secr static stuff, will re-add whatever is used afterwards.

- Legacy-Id: 19749
This commit is contained in:
Lars Eggert 2021-12-06 19:29:03 +00:00
parent 406aa1e5a0
commit 1a7ed54783
69 changed files with 2 additions and 4521 deletions

View file

@ -1,787 +0,0 @@
/*
DJANGO Admin styles
*/
body {
margin: 0;
padding: 0;
font-size: 12px;
font-family: "Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
color: #333;
background: #fff;
}
/* LINKS */
a:link, a:visited {
color: #5b80b2;
text-decoration: none;
}
a:hover {
color: #036;
}
a img {
border: none;
}
a.section:link, a.section:visited {
color: white;
text-decoration: none;
}
/* GLOBAL DEFAULTS */
p, ol, ul, dl {
margin: .2em 0 .8em 0;
}
p {
padding: 0;
line-height: 140%;
}
h1,h2,h3,h4,h5 {
font-weight: bold;
}
h1 {
font-size: 18px;
color: #666;
padding: 0 6px 0 0;
margin: 0 0 .2em 0;
}
h2 {
font-size: 16px;
margin: 1em 0 .5em 0;
}
h2.subhead {
font-weight: normal;
margin-top: 0;
}
h3 {
font-size: 14px;
margin: .8em 0 .3em 0;
color: #666;
font-weight: bold;
}
h4 {
font-size: 12px;
margin: 1em 0 .8em 0;
padding-bottom: 3px;
}
h5 {
font-size: 10px;
margin: 1.5em 0 .5em 0;
color: #666;
text-transform: uppercase;
letter-spacing: 1px;
}
ul li {
list-style-type: square;
padding: 1px 0;
}
ul.plainlist {
margin-left: 0 !important;
}
ul.plainlist li {
list-style-type: none;
}
li ul {
margin-bottom: 0;
}
li, dt, dd {
font-size: 11px;
line-height: 14px;
}
dt {
font-weight: bold;
margin-top: 4px;
}
dd {
margin-left: 0;
}
form {
margin: 0;
padding: 0;
}
fieldset {
margin: 0;
padding: 1em;
}
blockquote {
font-size: 11px;
color: #777;
margin-left: 2px;
padding-left: 10px;
border-left: 5px solid #ddd;
}
code, pre {
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
background: inherit;
color: #666;
font-size: 11px;
}
pre.literal-block {
margin: 10px;
background: #eee;
padding: 6px 8px;
}
code strong {
color: #930;
}
hr {
clear: both;
color: #eee;
background-color: #eee;
height: 1px;
border: none;
margin: 0;
padding: 0;
font-size: 1px;
line-height: 1px;
}
/* TEXT STYLES & MODIFIERS */
.small {
font-size: 11px;
}
.tiny {
font-size: 10px;
}
p.tiny {
margin-top: -2px;
}
.mini {
font-size: 9px;
}
p.mini {
margin-top: -3px;
}
.help, p.help {
font-size: 10px !important;
color: #999;
}
p img, h1 img, h2 img, h3 img, h4 img, td img {
vertical-align: middle;
}
.quiet, a.quiet:link, a.quiet:visited {
color: #999 !important;
font-weight: normal !important;
}
.quiet strong {
font-weight: bold !important;
}
.float-right {
float: right;
}
.float-left {
float: left;
}
.clear {
clear: both;
}
.align-left {
text-align: left;
}
.align-right {
text-align: right;
}
.example {
margin: 10px 0;
padding: 5px 10px;
background: #efefef;
}
.nowrap {
white-space: nowrap;
}
/* TABLES */
table {
border-collapse: collapse;
border-color: #ccc;
}
td, th {
font-size: 11px;
line-height: 13px;
border-bottom: 1px solid #eee;
vertical-align: top;
padding: 5px;
font-family: "Lucida Grande", Verdana, Arial, sans-serif;
}
th {
text-align: left;
font-size: 12px;
font-weight: bold;
}
thead th,
tfoot td {
color: #666;
padding: 2px 5px;
font-size: 11px;
background: #e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x;
border-left: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
tfoot td {
border-bottom: none;
border-top: 1px solid #ddd;
}
thead th:first-child,
tfoot td:first-child {
border-left: none !important;
}
thead th.optional {
font-weight: normal !important;
}
fieldset table {
border-right: 1px solid #eee;
}
tr.row-label td {
font-size: 9px;
padding-top: 2px;
padding-bottom: 0;
border-bottom: none;
color: #666;
margin-top: -1px;
}
tr.alt {
background: #f6f6f6;
}
.row1 {
background: #EDF3FE;
}
.row2 {
background: white;
}
/* SORTABLE TABLES */
thead th a:link, thead th a:visited {
color: #666;
display: block;
}
table thead th.sorted {
background-position: bottom left !important;
}
table thead th.sorted a {
padding-right: 13px;
}
table thead th.ascending a {
background: url(../img/admin/arrow-down.gif) right .4em no-repeat;
}
table thead th.descending a {
background: url(../img/admin/arrow-up.gif) right .4em no-repeat;
}
/* ORDERABLE TABLES */
table.orderable tbody tr td:hover {
cursor: move;
}
table.orderable tbody tr td:first-child {
padding-left: 14px;
background-image: url(../img/admin/nav-bg-grabber.gif);
background-repeat: repeat-y;
}
table.orderable-initalized .order-cell, body>tr>td.order-cell {
display: none;
}
/* FORM DEFAULTS */
input, textarea, select {
margin: 2px 0;
padding: 2px 3px;
vertical-align: middle;
font-family: "Lucida Grande", Verdana, Arial, sans-serif;
font-weight: normal;
font-size: 11px;
}
textarea {
vertical-align: top !important;
}
input[type=text], input[type=password], textarea, select, .vTextField {
border: 1px solid #ccc;
}
/* FORM BUTTONS */
.button, input[type=submit], input[type=button], .submit-row input {
background: white url(../img/admin/nav-bg.gif) bottom repeat-x;
padding: 3px;
color: black;
border: 1px solid #bbb;
border-color: #ddd #aaa #aaa #ddd;
}
.button:active, input[type=submit]:active, input[type=button]:active {
background-image: url(../img/admin/nav-bg-reverse.gif);
background-position: top;
}
.button.default, input[type=submit].default, .submit-row input.default {
border: 2px solid #5b80b2;
background: #7CA0C7 url(../img/admin/default-bg.gif) bottom repeat-x;
font-weight: bold;
color: white;
float: right;
}
.button.default:active, input[type=submit].default:active {
background-image: url(../img/admin/default-bg-reverse.gif);
background-position: top;
}
/* MODULES */
.module {
border: 1px solid #ccc;
margin-bottom: 5px;
background: white;
}
.module p, .module ul, .module h3, .module h4, .module dl, .module pre {
padding-left: 10px;
padding-right: 10px;
}
.module blockquote {
margin-left: 12px;
}
.module ul, .module ol {
margin-left: 1.5em;
}
.module h3 {
margin-top: .6em;
}
.module h2, .module caption, .inline-group h2 {
margin: 0;
padding: 2px 5px 3px 5px;
font-size: 11px;
text-align: left;
font-weight: bold;
background: #7CA0C7 url(../img/admin/default-bg.gif) top left repeat-x;
color: white;
}
.module table {
border-collapse: collapse;
}
/* MESSAGES & ERRORS */
ul.messagelist {
padding: 0 0 5px 0;
margin: 0;
}
ul.messagelist li {
font-size: 12px;
display: block;
padding: 4px 5px 4px 25px;
margin: 0 0 3px 0;
border-bottom: 1px solid #ddd;
color: #666;
background: #ffc url(../img/admin/icon_success.gif) 5px .3em no-repeat;
}
/******** User feedback messages ********/
ul.messages {
padding: 0 0 5px 0;
margin: 0;
}
ul.messages li {
font-size: 12px;
display: block;
padding: 4px 5px 4px 25px;
margin: 0 0 3px 0;
border-bottom: 1px solid #ddd;
color: #666;
}
.info,
.success,
.warning,
.error,
.validation {
padding: 4px 5px 4px 25px;
margin: 0 0 3px 0;
border-bottom: 1px solid #ddd;
}
.info {
background: #ffc url(../img/admin/icon_success.gif) 5px .3em no-repeat;
}
.success {
background: #ffc url(../img/admin/icon_success.gif) 5px .3em no-repeat;
}
.warning {
background: #ffc url(../img/admin/icon_alert.gif) 5px .3em no-repeat;
}
.error {
background: #ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat;
}
/******** /User feedback messages ********/
.errornote {
font-size: 12px !important;
display: block;
padding: 4px 5px 4px 25px;
margin: 0 0 3px 0;
border: 1px solid red;
color: red;
background: #ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat;
}
ul.errorlist {
margin: 0 !important;
padding: 0 !important;
}
.errorlist li {
font-size: 12px !important;
display: block;
padding: 4px 5px 4px 25px;
margin: 0 0 3px 0;
border: 1px solid red;
color: white;
background: red url(../img/admin/icon_alert.gif) 5px .3em no-repeat;
}
td ul.errorlist {
margin: 0 !important;
padding: 0 !important;
}
td ul.errorlist li {
margin: 0 !important;
}
.errors {
background: #ffc;
}
.errors input, .errors select {
border: 1px solid red;
}
div.system-message {
background: #ffc;
margin: 10px;
padding: 6px 8px;
font-size: .8em;
}
div.system-message p.system-message-title {
padding: 4px 5px 4px 25px;
margin: 0;
color: red;
background: #ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat;
}
.description {
font-size: 12px;
padding: 5px 0 0 12px;
}
/* BREADCRUMBS */
div.breadcrumbs {
background: white url(../img/admin/nav-bg-reverse.gif) 0 -10px repeat-x;
padding: 2px 8px 3px 8px;
font-size: 11px;
color: #999;
border-top: 1px solid white;
border-bottom: 1px solid #ccc;
text-align: left;
}
/* ACTION ICONS */
.addlink {
padding-left: 12px;
background: url(../img/admin/icon_addlink.gif) 0 .2em no-repeat;
}
.changelink {
padding-left: 12px;
background: url(../img/admin/icon_changelink.gif) 0 .2em no-repeat;
}
.deletelink {
padding-left: 12px;
background: url(../img/admin/icon_deletelink.gif) 0 .25em no-repeat;
}
a.deletelink:link, a.deletelink:visited {
color: #CC3434;
}
a.deletelink:hover {
color: #993333;
}
/* OBJECT TOOLS */
.object-tools {
font-size: 10px;
font-weight: bold;
font-family: Arial,Helvetica,sans-serif;
padding-left: 0;
float: right;
position: relative;
margin-top: -2.4em;
margin-bottom: -2em;
}
.form-row .object-tools {
margin-top: 5px;
margin-bottom: 5px;
float: none;
height: 2em;
padding-left: 3.5em;
}
.object-tools li {
display: block;
float: left;
background: url(../img/admin/tool-left.gif) 0 0 no-repeat;
padding: 0 0 0 8px;
margin-left: 2px;
height: 16px;
}
.object-tools li:hover {
background: url(../img/admin/tool-left_over.gif) 0 0 no-repeat;
}
.object-tools a:link, .object-tools a:visited {
display: block;
float: left;
color: white;
padding: .1em 14px .1em 8px;
height: 14px;
background: #999 url(../img/admin/tool-right.gif) 100% 0 no-repeat;
}
.object-tools a:hover, .object-tools li:hover a {
background: #5b80b2 url(../img/admin/tool-right_over.gif) 100% 0 no-repeat;
}
.object-tools a.viewsitelink, .object-tools a.golink {
background: #999 url(../img/admin/tooltag-arrowright.gif) top right no-repeat;
padding-right: 28px;
}
.object-tools a.viewsitelink:hover, .object-tools a.golink:hover {
background: #5b80b2 url(../img/admin/tooltag-arrowright_over.gif) top right no-repeat;
}
.object-tools a.addlink {
background: #999 url(../img/admin/tooltag-add.gif) top right no-repeat;
padding-right: 28px;
}
.object-tools a.addlink:hover {
background: #5b80b2 url(../img/admin/tooltag-add_over.gif) top right no-repeat;
}
/* OBJECT HISTORY */
table#change-history {
width: 100%;
}
table#change-history tbody th {
width: 16em;
}
/* PAGE STRUCTURE */
#container {
position: relative;
width: 100%;
min-width: 760px;
padding: 0;
}
#content {
margin: 10px 15px;
}
#header {
width: 100%;
}
#content-main {
float: left;
width: 100%;
}
#content-related {
float: right;
width: 18em;
position: relative;
margin-right: -19em;
}
#footer {
clear: both;
padding: 10px;
}
/* COLUMN TYPES */
.colMS {
margin-right: 20em !important;
}
.colSM {
margin-left: 20em !important;
}
.colSM #content-related {
float: left;
margin-right: 0;
margin-left: -19em;
}
.colSM #content-main {
float: right;
}
.popup .colM {
width: 95%;
}
.subcol {
float: left;
width: 46%;
margin-right: 15px;
}
.dashboard #content {
width: 500px;
}
/* HEADER */
#header {
background: #417690;
color: #ffc;
overflow: hidden;
}
#header a:link, #header a:visited {
color: white;
}
#header a:hover {
text-decoration: underline;
}
#branding h1 {
padding: 0 10px;
font-size: 18px;
margin: 8px 0;
font-weight: normal;
color: #f4f379;
}
#branding h2 {
padding: 0 10px;
font-size: 14px;
margin: -8px 0 8px 0;
font-weight: normal;
color: #ffc;
}
#user-tools {
position: absolute;
top: 0;
right: 0;
padding: 1.2em 10px;
font-size: 11px;
text-align: right;
}
/* SIDEBAR */
#content-related h3 {
font-size: 12px;
color: #666;
margin-bottom: 3px;
}
#content-related h4 {
font-size: 11px;
}
#content-related .module h2 {
background: #eee url(../img/admin/nav-bg.gif) bottom left repeat-x;
color: #666;
}

View file

@ -1,845 +0,0 @@
/*
Overrides (override existing properties from Django admin css)
*/
#container {
margin: 0 auto;
width: 760px;
}
#content {
margin: 10px auto;
}
#footer {
/* background-color: #DDDDDD;
background-color: #EEEEFF; */
color: #888888;
margin-top: 8px;
padding: 6px 0;
text-align: left;
font-size: 10px;
}
#footer-logo {
border-top: 1px solid #DDDDDD;
padding-top: 9px;
}
#footer-version {
float: left;
border-top: 1px solid #DDDDDD;
padding-top: 9px;
}
#footer ul {
margin: 0;
padding: 0 0 9px;
}
#footer li {
list-style-type: none;
font-size: 10px;
}
/*.inline-group th, td {
padding: 3px;
}*/
.object-tools {
float: left;
margin-bottom: 0;
margin-top: 0;
}
.errorlist li {
background: #FF8080 url(../img/admin/icon_alert.gif) no-repeat scroll 5px 0.3em;
border: 1px solid #FF8080;
}
/* ==========================================================================
General Styles
========================================================================== */
.alert {
color: red;
}
.breadcrumbs td {
border-bottom: none;
}
.internal-form {
padding: 1em;
}
.message-right {
float: right;
color: Red;
}
.locked {
float: right;
}
.locked a {
color: Red;
text-decoration: underline;
}
.locked a:hover {
color: Blue;
text-decoration: underline;
}
.unlocked {
float: right;
}
.unlocked a {
color: White;
text-decoration: underline;
}
.unlocked a:hover {
color: Blue;
text-decoration: underline;
}
.login {
float: right;
color: white;
font-size: 12px;
vertical-align: bottom;
padding-right: 10px;
}
.menu li {
list-style-type: none;
}
ul.none li {
list-style-type: none;
}
.required {
color: red;
}
.loading {
display: block;
margin-left: auto;
margin-right: auto;
padding-top: 10px;
}
td.border-right {
border-right: #ccc 1px solid;
padding: 0;
}
tr.green-row {
background-color: #A5EEAA;
}
tr.red-row {
background-color: #FF66FF;
}
table.full-width {
width: 100%;
}
table.center {
margin-left: auto;
margin-right: auto;
width: 100%;
}
.new-style th {
text-align: right;
}
/* Buttons
========================================================================== */
.action-group ul {
list-style-type: none;
margin: 0;
padding: 7px;
text-align: center;
}
.action-group li {
list-style-type: none;
padding: 4px;}
.button.standard, input.standard[type="submit"] {
background: none;
}
.button-group {
clear: both;
width: auto;
height: 2.5em;
padding: 4px 7px;
background: white url(../img/admin/nav-bg.gif) 0 100% repeat-x;
border: 0 solid #ccc;
border-top: 1px solid #ccc;
margin: 5px 0 0 0;
overflow: hidden;
}
.button-group ul {
list-style-type: none;
margin: 0;
padding: 7px;
text-align: center;
}
.button-group li {
display: inline;
padding: 5px;
}
button.fancy:hover {
background-color: #ffc;
}
/* Navigation Bar
========================================================================== */
#nav {
padding: 0;
}
.list-nav {
padding-left: 0;
margin-left: 0;
background-color: #36648B;
color: White;
width: 100%;
overflow: auto;
}
.list-nav li { display: inline; }
.list-nav li a {
padding: 0.2em;
width: 19%;
background-color: #36648B;
color: White;
text-decoration: none;
text-align: center;
float: left;
border-left: 1px solid #fff;
}
.rooms-times-nav .list-nav li a {
width: 25%;
}
.list-nav li.selected a {
background-color: #4F94CD;
}
.list-nav li.leftmost a {
border-left: none;
}
.list-nav li a:hover {
background-color: #4F94CD;
color: #fff;
}
.list-nav a.current {
background-color: #7CA0C7;
}
/* ==========================================================================
Announcement Tool
========================================================================== */
#announce-table input[type="text"] {
width: 40em;
}
#announce-table #id_body {
width: 40em;
}
#announce-table td {
border-bottom: none;
}
#announce-table th {
border-bottom: none;
}
#announce-confirm {
color: black;
font-family: "Courier New",Courier,monospace;
}
/* ==========================================================================
Area Tool
========================================================================== */
#areas-list-table td {
padding-left: 1em;
padding-right: 1em;
}
#area-awp-table input[type="text"] {
width: 40em;
}
#area-add-table #id_comments {
width: 40em;
}
#area-add-table #id_name {
width: 40em;
}
/* ==========================================================================
Draft Tool
========================================================================== */
input.draft-file-input {
width: 40em;
}
.draft-container #id_title {
height: 4em;
width: 40em;
}
.draft-container #id_pages {
width: 4em;
}
.draft-container #id_internal_comments {
height: 4em;
width: 40em;
}
.draft-container #id_abstract {
height: 15em;
width: 40em;
}
#draft-confirm-email th {
text-align: right;
font-weight: normal;
padding-right: 2em;
}
#draft-file-table label {
width: 12em;
/* text-align: right;
margin-right: 0.5em; */
margin-left: 1em;
display: block;
}
#draft-search-table th {
width: 15em;
}
#draft-view-col1 {
float: left;
width: 600px;
margin: 0;
border-right: 1px solid #CCCCCC;
}
#draft-view-col2 {
float: left;
width: 157px;
margin: 0;
padding: 0;
}
#draft-edit-col1 {
float: left;
width: 620px;
margin: 0;
border-right: 1px solid #CCCCCC;
}
#draft-edit-col2 {
float: left;
width: 137px;
margin: 0;
padding: 0;
}
#draft-edit-table #id_name {
width: 30em;
}
#draft-email-table #id_cc {
width: 60em;
}
#draft-email-table #id_subject {
width: 60em;
}
#draft-email-table #id_to {
width: 60em;
}
#draft-email-table #id_body {
width: 60em;
}
#draft-search-form #id_document_title {
width: 40em;
}
#draft-search-form #id_group {
width: 40em;
}
#draft-search-form #id_filename {
width: 40em;
}
#draft-obsoletes-table input[type="text"] {
width: 3.5em;
}
/* ==========================================================================
Group Tool
========================================================================== */
.awp-form input {
width: 30em;
}
#groups-table #id_name,#id_list_email,#id_list_subscribe,#id_list_archive {
width: 40em;
}
#groups-table #id_comments {
width: 40em;
}
#group-description-form #id_description {
width: 90%;
}
#group-search-results td {
font-size: xx-small;
}
#groups-people-col1 {
width: 75%;
}
#groups-people-col2 {
width: 25%;
}
#groups-view-col1 {
float: left;
width: 620px;
margin: 0;
border-right: 1px solid #CCCCCC;
}
#groups-view-col2 {
float: left;
width: 137px;
margin: 0;
padding: 0;
}
/* ==========================================================================
Meeting Tool
========================================================================== */
#misc-sessions .from-base-schedule {
text-align: centeR;
opacity: 0.7;
}
#misc-session-edit-form input[type="text"] {
width: 30em;
}
#additional-info-form #id_text {
width: 90%;
}
#meetings-schedule-form input[type="text"] {
width: 30em;
}
#timeslot-form #id_time,#id_duration {
width: 5em;
}
#timeslot-form #id_name {
width: 30em;
}
#timeslot-form th {
width: 60px;
}
#id_duration input {
width: 5em;
}
tr.break td {
border-top: 2px solid black;
}
tr.cancelled {
background-color: #e12817;
color: white;
}
#id_schedule_selector {
display: inline;
}
#id_rooms_table input[type="number"] {
width: 4em;
}
/* ==========================================================================
Proceedings Tool
========================================================================== */
input#id_slide_name {
width: 30em;
}
input#id_title {
width: 30em;
}
div.interim-scroll {
height: 300px;
overflow: auto;
}
.highlight {
color: #FF0000;
}
.internal-form label {
float: left;
width: 100px;
text-align: right;
padding-right: 10px;
}
.internal-form select {
min-width: 100px;
}
#interim-directory-table td {
padding-left: 2em;
padding-right: 2em;
}
#proceedings-interim-table td {
white-space:pre-wrap;
padding-left: 1em;
padding-right: 1em;
/* font-family: "Courier",monospace; */
}
#proceedings-list-table td {
padding-left: 1em;
padding-right: 1em;
}
#proceedings-add-table th {
width: 25%;
}
#proceedings-edit-table th {
width: 25%;
}
#proceedings-upload-table th {
text-align: right;
width: 30%;
}
#proceedings-view-first-col {
width: 30%;
}
#proceedings-left-col {
float: left;
width: 378px;
margin: 0;
border-right: 1px solid #CCCCCC;
}
#proceedings-right-col {
float: left;
width: 377px;
margin: 0;
border-right: 1px solid #CCCCCC;
border-left: 1px solid #CCCCCC;
}
#recording-form #id_external_url {
width: 40em;
}
td.hidden {
display: none;
}
td.document-name {
white-space: nowrap;
}
/* ==========================================================================
Role Tool
========================================================================== */
.name-autocomplete {
width: 300px;
}
/* ==========================================================================
Rolodex Tool
========================================================================== */
form[id^="rolodex-"] input[type=text] {
width: 25em;
}
form[id^="rolodex-"] #id_address {
width: 25em;
height: 7em;
}
/* ==========================================================================
Session Request Tool
========================================================================== */
tr.bg1 {
background: #CCCCCC;
}
tr.bg2 {
background: #EEEEEE;
}
tr.bg3 {
background: #DDDDDD;
}
/*
table#sessions-new-table td {
padding: 2px;
border-spacing: 2px;
border: 1;
}
*/
#id_number_attendee {
width: 3em;
}
input.wg_constraint { width: 37em; }
input.wg_constraint:disabled {
background-color: #ffe0e0;
cursor: not-allowed;
}
ul.session-buttons {
padding-left: 2px;
margin-left: 0;
}
.session-buttons li {
list-style-type: none;
padding-left: 0;
}
/* ==========================================================================
Telechat Tool
========================================================================== */
#telechat-sidebar {
float: left;
width: 294px;
background: url("../img/admin/default-bg.gif") repeat-x scroll left top #7CA0C7;
color: white;
min-height: 500px;
padding: 0 0 0 6px;
}
#telechat-sidebar h2 {
text-align: center;
}
#telechat-sidebar ul {
/*list-style-type: none;*/
padding: 0;
}
#telechat-sidebar ul.doc-list {
list-style-type: circle;
}
#telechat-sidebar ul.doc-list {
margin-bottom: 0.8em;
}
ul.doc-list li {
list-style-type: circle;
}
#telechat-sidebar ul ul {
list-style-type: circle;
}
#telechat-sidebar a:link {
color: #FFFF99;
}
#telechat-sidebar a:visited {
color: #FFFF99;
}
#telechat-sidebar a:hover {
color: #FF0000;
}
#telechat-sidebar li.level1 {
font-size: 110%;
}
#telechat-sidebar li.level3 + li.level2 {
margin-top: 1em;
}
#telechat-sidebar li.level3 + li.level1 {
margin-top: 1.5em;
}
#telechat-sidebar li div {
font-style: italic;
}
#telechat-positions-table td {
text-align: center;
}
/*
#telechat-sidebar ol {
list-style-position: outside;
counter-reset: item;
padding: 0px;
}
#telechat-sidebar li { display: block }
#telechat-sidebar li li { display: block; padding: 3px 3px 3px 3px; }
#telechat-sidebar li:before { content: counters(item, ".") " "; counter-increment: item }
*/
#telechat-main {
float: left;
padding-left: 20px;
width: 640px;
}
#telechat-main pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
.right-nav {
float: right;
}
.telechat-warn h3 {
color: white;
text-align: center;
background-color: #FF66FF;
}
.telechat-button {
height: 2.5em;
padding: 4px 7px;
width: auto;
margin: 0 auto;
}
.telechat-button ul {
list-style-type: none;
margin: 0;
padding: 7px;
text-align: center;
}
.telechat-button li {
list-style-type: none;
text-align: center;
}
/* ==========================================================================
Redesign Section
========================================================================== */
table.amstable {
background-color: #F2F2E6;
}
table.amstable th {
color: #666666;
font-size: 12px;
font-weight: normal !important;
padding-left: 1em;
padding-right: 1em;
text-align: right;
}
table.amsview th {
border-bottom: none;
color: #666666;
font-size: 13px;
padding: 4px 10px 4px 4px;
text-align: right;
vertical-align: middle;
}
table.amsview td {
border-bottom: none;
vertical-align: middle;
padding: 4px 10px 4px 4px;
}
.button-group {
background: #F2F2E6;
}
td, th, li, h2 {
font-size: 12px;
}
.module h2 {
font-size: 12px;
}
thead th {
font-size: 12px;
}

View file

@ -1,354 +0,0 @@
@import url('widgets.css');
/* FORM ROWS */
.form-row {
overflow: hidden;
padding: 8px 12px;
font-size: 11px;
border-bottom: 1px solid #eee;
}
.form-row img, .form-row input {
vertical-align: middle;
}
form .form-row p {
padding-left: 0;
font-size: 11px;
}
/* FORM LABELS */
form h4 {
margin: 0 !important;
padding: 0 !important;
border: none !important;
}
label {
font-weight: normal !important;
color: #666;
font-size: 12px;
}
.required label, label.required {
font-weight: bold !important;
color: #333 !important;
}
/* RADIO BUTTONS */
form ul.radiolist li {
list-style-type: none;
}
form ul.radiolist label {
float: none;
display: inline;
}
form ul.inline {
margin-left: 0;
padding: 0;
}
form ul.inline li {
float: left;
padding-right: 7px;
}
/* ALIGNED FIELDSETS */
.aligned label {
display: block;
padding: 3px 10px 0 0;
float: left;
width: 8em;
}
.aligned ul label {
display: inline;
float: none;
width: auto;
}
.colMS .aligned .vLargeTextField, .colMS .aligned .vXMLLargeTextField {
width: 350px;
}
form .aligned p, form .aligned ul {
margin-left: 7em;
padding-left: 30px;
}
form .aligned table p {
margin-left: 0;
padding-left: 0;
}
form .aligned p.help {
padding-left: 38px;
}
.aligned .vCheckboxLabel {
float: none !important;
display: inline;
padding-left: 4px;
}
.colM .aligned .vLargeTextField, .colM .aligned .vXMLLargeTextField {
width: 610px;
}
.checkbox-row p.help {
margin-left: 0;
padding-left: 0 !important;
}
fieldset .field-box {
float: left;
margin-right: 20px;
}
/* WIDE FIELDSETS */
.wide label {
width: 15em !important;
}
form .wide p {
margin-left: 15em;
}
form .wide p.help {
padding-left: 38px;
}
.colM fieldset.wide .vLargeTextField, .colM fieldset.wide .vXMLLargeTextField {
width: 450px;
}
/* COLLAPSED FIELDSETS */
fieldset.collapsed * {
display: none;
}
fieldset.collapsed h2, fieldset.collapsed {
display: block !important;
}
fieldset.collapsed h2 {
background-image: url(../img/admin/nav-bg.gif);
background-position: bottom left;
color: #999;
}
fieldset.collapsed .collapse-toggle {
background: transparent;
display: inline !important;
}
/* MONOSPACE TEXTAREAS */
fieldset.monospace textarea {
font-family: "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace;
}
/* SUBMIT ROW */
.submit-row {
padding: 5px 7px;
text-align: right;
background: white url(../img/admin/nav-bg.gif) 0 100% repeat-x;
border: 1px solid #ccc;
margin: 5px 0;
overflow: hidden;
}
.submit-row input {
margin: 0 0 0 5px;
}
.submit-row p {
margin: 0.3em;
}
.submit-row p.deletelink-box {
float: left;
}
.submit-row .deletelink {
background: url(../img/admin/icon_deletelink.gif) 0 50% no-repeat;
padding-left: 14px;
}
/* CUSTOM FORM FIELDS */
.vSelectMultipleField {
vertical-align: top !important;
}
.vCheckboxField {
border: none;
}
.vDateField, .vTimeField {
margin-right: 2px;
}
.vURLField {
width: 30em;
}
.vLargeTextField, .vXMLLargeTextField {
width: 48em;
}
.flatpages-flatpage #id_content {
height: 40.2em;
}
.module table .vPositiveSmallIntegerField {
width: 2.2em;
}
.vTextField {
width: 20em;
}
.vIntegerField {
width: 5em;
}
.vForeignKeyRawIdAdminField {
width: 5em;
}
/* INLINES */
.inline-group {
padding: 0;
border: 1px solid #ccc;
margin: 10px 0;
}
.inline-group .aligned label {
width: 8em;
}
.inline-related {
position: relative;
}
.inline-related h3 {
margin: 0;
color: #666;
padding: 3px 5px;
font-size: 11px;
background: #e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x;
border-bottom: 1px solid #ddd;
}
.inline-related h3 span.delete {
float: right;
}
.inline-related h3 span.delete label {
margin-left: 2px;
font-size: 11px;
}
.inline-related fieldset {
margin: 0;
background: #fff;
border: none;
}
.inline-related fieldset.module h3 {
margin: 0;
padding: 2px 5px 3px 5px;
font-size: 11px;
text-align: left;
font-weight: bold;
background: #bcd;
color: #fff;
}
.inline-group .tabular fieldset.module {
border: none;
border-bottom: 1px solid #ddd;
}
.inline-related.tabular fieldset.module table {
width: 100%;
}
.last-related fieldset {
border: none;
}
.inline-group .tabular tr.has_original td {
padding-top: 2em;
}
.inline-group .tabular tr td.original {
padding: 2px 0 0 0;
width: 0;
_position: relative;
}
.inline-group .tabular th.original {
width: 0px;
padding: 0;
}
.inline-group .tabular td.original p {
position: absolute;
left: 0;
height: 1.1em;
padding: 2px 7px;
overflow: hidden;
font-size: 9px;
font-weight: bold;
color: #666;
_width: 700px;
}
.inline-group ul.tools {
padding: 0;
margin: 0;
list-style: none;
}
.inline-group ul.tools li {
display: inline;
padding: 0 5px;
}
.inline-group div.add-row,
.inline-group .tabular tr.add-row td {
color: #666;
padding: 3px 5px;
border-bottom: 1px solid #ddd;
background: #e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x;
}
.inline-group .tabular tr.add-row td {
padding: 4px 5px 3px;
border-bottom: none;
}
.inline-group ul.tools a.add,
.inline-group div.add-row a,
.inline-group .tabular tr.add-row td a {
background: url(../img/admin/icon_addlink.gif) 0 50% no-repeat;
padding-left: 14px;
font-size: 11px;
outline: 0; /* Remove dotted border around link */
}
.empty-form {
display: none;
}

View file

@ -1,50 +0,0 @@
function getCookie(name){
var cname = name + "=";
var dc = document.cookie;
if (dc.length > 0) {
begin = dc.indexOf(cname);
if (begin != -1) {
begin += cname.length;
end = dc.indexOf(";", begin);
if (end == -1) end = dc.length;
return unescape(dc.substring(begin, end));
}
}
return null;
}
function setCookie(name, value, expires, path, domain, secure) {
document.cookie = name + "=" + escape(value) +
((expires == null) ? "" : "; expires=" + expires) +
((path == null) ? "" : "; path=" + path) +
((domain == null) ? "" : "; domain=" + domain) +
((secure == null) ? "" : "; secure");
}
function delCookie (name,path,domain) {
if (getCookie(name)) {
document.cookie = name + "=" +
((path == null) ? "" : "; path=" + path) +
((domain == null) ? "" : "; domain=" + domain) +
"; expires=Thu, 01-Jan-70 00:00:01 GMT";
}
}
function setStyle (cstyleSheet) {
var styleSheet = cstyleSheet;
if(styleSheet=="0") { styleSheet = getCookie('styleSheet'); }
var sheet1 = document.getElementById("sheet1");
var sheet2 = document.getElementById("sheet2");
var sheet3 = document.getElementById("sheet3");
var sheet4 = document.getElementById("sheet4");
sheet1.disabled=true;
sheet2.disabled=true;
sheet3.disabled=true;
sheet4.disabled=true;
if(styleSheet=="1") { sheet1.disabled=false; }
else if(styleSheet=="2") { sheet2.disabled=false; }
else if(styleSheet=="3") { sheet3.disabled=false; }
else if(styleSheet=="4") { sheet4.disabled=false; }
else { styleSheet="1"; sheet1.disabled=false; }
setCookie('styleSheet',styleSheet,"Mon, 31-Dec-2035 23:59:59 GMT","/");
}

View file

@ -1,132 +0,0 @@
form ul {
list-style-type:none;
padding-left:0;
}
form li {
overflow:auto;
margin-top:15px;
}
form li label {
width:200px;
float:left;
text-align:right;
margin:2px 10px 0 0;
clear:left;
}
.errorlist li {
background:red;
color:white;
font-weight:bold;
padding:5px;
margin:0 0 5px 0;
}
form ol label {
width:auto;
}
form ol li li {
clear:left;
margin:5px 0 0 40px;
}
form ol li label {
float:none;
}
.autocompletes a img {
border:1px solid white;
}
.autocompletes a:hover img {
border:1px solid gray;
}
.ui-autocomplete {
width:500px;
}
body {
font-family: verdana, arial, sans-serif;
}
.alert {
color: red;
}
#content form fieldset#update_license_declaration input[type=checkbox] {
margin-left: 55px;
}
#content form input[type=text] {
width: 500px;
}
#content form {
width: 900px;
}
#content fieldset {
width: 860px;
}
#content form label[for=id_document_sections_0] {
height: 60px;
}
#content fieldset ol input {
/* TODO */
}
#id_notes {
vertical-align: top;
}
.ui-autocomplete {
width: 500px;
}
form ul {
list-style-type: none;
}
form li {
overflow: auto;
margin-top: 15px;
}
form li label {
width: 250px;
/* text-align: right; */
margin: 2px 10px 0 0;
/* clear: both; */
}
form li input {
margin-left: 15px;
text-align: top;
}
form li label input {
margin: 0;
}
form li textarea {
margin-left: 15px;
}
.autocompletes a img {
border: 1px solid white;
}
.autocompletes a:hover img {
border: 1px solid gray;
}
/*
#id_update_ipr {
text-align: center;
display: block;
}
*/
/* AMS Changes follow */
.button-group li {
margin-top: 0;
}
.ipr-container {
width: 900px;
margin-left: auto;
margin-right: auto;
}
#rfc_num_list {
list-style-type: none;
}
/* override main content div width */
#content {
margin: 10px auto;
width: 900px;
}

File diff suppressed because it is too large Load diff

View file

@ -1,10 +0,0 @@
#container {
margin: 0 auto;
width: 960px;
}
ul#list-nav li a {
width: 19%;
background-color: #36648B;
}

View file

@ -1,3 +0,0 @@
body {
background-image:url('../img/test-background.png');
}

View file

@ -1,506 +0,0 @@
/* SELECTOR (FILTER INTERFACE) */
.selector {
width: 580px;
float: left;
}
.selector select {
width: 270px;
height: 17.2em;
}
.selector-available, .selector-chosen {
float: left;
width: 270px;
text-align: center;
margin-bottom: 5px;
}
.selector-available h2, .selector-chosen h2 {
border: 1px solid #ccc;
}
.selector .selector-available h2 {
background: white url(../img/admin/nav-bg.gif) bottom left repeat-x;
color: #666;
}
.selector .selector-filter {
background: white;
border: 1px solid #ccc;
border-width: 0 1px;
padding: 3px;
color: #999;
font-size: 10px;
margin: 0;
text-align: left;
}
.selector .selector-chosen .selector-filter {
padding: 4px 5px;
}
.selector .selector-available input {
width: 230px;
}
.selector ul.selector-chooser {
float: left;
width: 22px;
height: 50px;
background: url(../img/admin/chooser-bg.gif) top center no-repeat;
margin: 8em 3px 0 3px;
padding: 0;
}
.selector-chooser li {
margin: 0;
padding: 3px;
list-style-type: none;
}
.selector select {
margin-bottom: 5px;
margin-top: 0;
}
.selector-add, .selector-remove {
width: 16px;
height: 16px;
display: block;
text-indent: -3000px;
}
.selector-add {
background: url(../img/admin/selector-add.gif) top center no-repeat;
margin-bottom: 2px;
}
.selector-remove {
background: url(../img/admin/selector-remove.gif) top center no-repeat;
}
a.selector-chooseall, a.selector-clearall {
display: block;
width: 6em;
text-align: left;
margin-left: auto;
margin-right: auto;
font-weight: bold;
color: #666;
padding: 3px 0 3px 18px;
}
a.selector-chooseall:hover, a.selector-clearall:hover {
color: #036;
}
a.selector-chooseall {
width: 7em;
background: url(../img/admin/selector-addall.gif) left center no-repeat;
}
a.selector-clearall {
background: url(../img/admin/selector-removeall.gif) left center no-repeat;
}
/* STACKED SELECTORS */
.stacked {
float: left;
width: 500px;
}
.stacked select {
width: 480px;
height: 10.1em;
}
.stacked .selector-available, .stacked .selector-chosen {
width: 480px;
}
.stacked .selector-available {
margin-bottom: 0;
}
.stacked .selector-available input {
width: 442px;
}
.stacked ul.selector-chooser {
height: 22px;
width: 50px;
margin: 0 0 3px 40%;
background: url(../img/admin/chooser_stacked-bg.gif) top center no-repeat;
}
.stacked .selector-chooser li {
float: left;
padding: 3px 3px 3px 5px;
}
.stacked .selector-chooseall, .stacked .selector-clearall {
display: none;
}
.stacked .selector-add {
background-image: url(../img/admin/selector_stacked-add.gif);
}
.stacked .selector-remove {
background-image: url(../img/admin/selector_stacked-remove.gif);
}
/* DATE AND TIME */
p.datetime {
line-height: 20px;
margin: 0;
padding: 0;
color: #666;
font-size: 11px;
font-weight: bold;
}
.datetime span {
font-size: 11px;
color: #ccc;
font-weight: normal;
white-space: nowrap;
}
table p.datetime {
font-size: 10px;
margin-left: 0;
padding-left: 0;
}
/* FILE UPLOADS */
p.file-upload {
line-height: 20px;
margin: 0;
padding: 0;
color: #666;
font-size: 11px;
font-weight: bold;
}
.file-upload a {
font-weight: normal;
}
.file-upload .deletelink {
margin-left: 5px;
}
/* CALENDARS & CLOCKS */
.calendarbox, .clockbox {
margin: 5px auto;
font-size: 11px;
width: 16em;
text-align: center;
background: white;
position: relative;
}
.clockbox {
width: auto;
}
.calendar {
margin: 0;
padding: 0;
}
.calendar table {
margin: 0;
padding: 0;
border-collapse: collapse;
background: white;
width: 99%;
}
.calendar caption, .calendarbox h2 {
margin: 0;
font-size: 11px;
text-align: center;
border-top: none;
}
.calendar th {
font-size: 10px;
color: #666;
padding: 2px 3px;
text-align: center;
background: #e1e1e1 url(../img/admin/nav-bg.gif) 0 50% repeat-x;
border-bottom: 1px solid #ddd;
}
.calendar td {
font-size: 11px;
text-align: center;
padding: 0;
border-top: 1px solid #eee;
border-bottom: none;
}
.calendar td.selected a {
background: #C9DBED;
}
.calendar td.nonday {
background: #efefef;
}
.calendar td.today a {
background: #ffc;
}
.calendar td a, .timelist a {
display: block;
font-weight: bold;
padding: 4px;
text-decoration: none;
color: #444;
}
.calendar td a:hover, .timelist a:hover {
background: #5b80b2;
color: white;
}
.calendar td a:active, .timelist a:active {
background: #036;
color: white;
}
.calendarnav {
font-size: 10px;
text-align: center;
color: #ccc;
margin: 0;
padding: 1px 3px;
}
.calendarnav a:link, #calendarnav a:visited, #calendarnav a:hover {
color: #999;
}
.calendar-shortcuts {
background: white;
font-size: 10px;
line-height: 11px;
border-top: 1px solid #eee;
padding: 3px 0 4px;
color: #ccc;
}
.calendarbox .calendarnav-previous, .calendarbox .calendarnav-next {
display: block;
position: absolute;
font-weight: bold;
font-size: 12px;
background: #C9DBED url(../img/admin/default-bg.gif) bottom left repeat-x;
padding: 1px 4px 2px 4px;
color: white;
}
.calendarnav-previous:hover, .calendarnav-next:hover {
background: #036;
}
.calendarnav-previous {
top: 0;
left: 0;
}
.calendarnav-next {
top: 0;
right: 0;
}
.calendar-cancel {
margin: 0 !important;
padding: 0;
font-size: 10px;
background: #e1e1e1 url(../img/admin/nav-bg.gif) 0 50% repeat-x;
border-top: 1px solid #ddd;
}
.calendar-cancel a {
padding: 2px;
color: #999;
}
ul.timelist, .timelist li {
list-style-type: none;
margin: 0;
padding: 0;
}
.timelist a {
padding: 2px;
}
/* INLINE ORDERER */
ul.orderer {
position: relative;
padding: 0 !important;
margin: 0 !important;
list-style-type: none;
}
ul.orderer li {
list-style-type: none;
display: block;
padding: 0;
margin: 0;
border: 1px solid #bbb;
border-width: 0 1px 1px 0;
white-space: nowrap;
overflow: hidden;
background: #e2e2e2 url(../img/admin/nav-bg-grabber.gif) repeat-y;
}
ul.orderer li:hover {
cursor: move;
background-color: #ddd;
}
ul.orderer li a.selector {
margin-left: 12px;
overflow: hidden;
width: 83%;
font-size: 10px !important;
padding: 0.6em 0;
}
ul.orderer li a:link, ul.orderer li a:visited {
color: #333;
}
ul.orderer li .inline-deletelink {
position: absolute;
right: 4px;
margin-top: 0.6em;
}
ul.orderer li.selected {
background-color: #f8f8f8;
border-right-color: #f8f8f8;
}
ul.orderer li.deleted {
background: #bbb url(../img/admin/deleted-overlay.gif);
}
ul.orderer li.deleted a:link, ul.orderer li.deleted a:visited {
color: #888;
}
ul.orderer li.deleted .inline-deletelink {
background-image: url(../img/admin/inline-restore.png);
}
ul.orderer li.deleted:hover, ul.orderer li.deleted a.selector:hover {
cursor: default;
}
/* EDIT INLINE */
.inline-deletelink {
display: block;
text-indent: -9999px;
background: transparent url(../img/admin/inline-delete.png) no-repeat;
width: 15px;
height: 15px;
margin: 0.4em 0;
border: 0px none;
}
.inline-deletelink:hover {
background-position: -15px 0;
cursor: pointer;
}
.editinline button.addlink {
border: 0px none;
color: #5b80b2;
font-size: 100%;
cursor: pointer;
}
.editinline button.addlink:hover {
color: #036;
cursor: pointer;
}
.editinline table .help {
text-align: right;
float: right;
padding-left: 2em;
}
.editinline tfoot .addlink {
white-space: nowrap;
}
.editinline table thead th:last-child {
border-left: none;
}
.editinline tr.deleted {
background: #ddd url(../img/admin/deleted-overlay.gif);
}
.editinline tr.deleted .inline-deletelink {
background-image: url(../img/admin/inline-restore.png);
}
.editinline tr.deleted td:hover {
cursor: default;
}
.editinline tr.deleted td:first-child {
background-image: none !important;
}
/* EDIT INLINE - STACKED */
.editinline-stacked {
min-width: 758px;
}
.editinline-stacked .inline-object {
margin-left: 210px;
background: white;
}
.editinline-stacked .inline-source {
float: left;
width: 200px;
background: #f8f8f8;
}
.editinline-stacked .inline-splitter {
float: left;
width: 9px;
background: #f8f8f8 url(../img/admin/inline-splitter-bg.gif) 50% 50% no-repeat;
border-right: 1px solid #ccc;
}
.editinline-stacked .controls {
clear: both;
background: #e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x;
padding: 3px 4px;
font-size: 11px;
border-top: 1px solid #ddd;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 836 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

View file

@ -1,66 +0,0 @@
/* Following functions based off code written by Arne Brodowski
http://www.arnebrodowski.de/blog/507-Add-and-remove-Django-Admin-Inlines-with-JavaScript.html
2012-02-01 customized for new Rolodex. Email formset doesn't have an id field, rather a "address"
field as primary key. Also for some reason the "active" boolean field doesn't get saved properly
if the checkbox input has an empty "value" argument.
*/
function increment_form_ids(el, to, name) {
var from = to-1
$(':input', $(el)).each(function(i,e){
var old_name = $(e).attr('name')
var old_id = $(e).attr('id')
$(e).attr('name', old_name.replace(from, to))
$(e).attr('id', old_id.replace(from, to))
if ($(e).attr('type') != 'checkbox') {
$(e).val('')
}
})
}
function add_inline_form(name) {
if (name=="email") {
var first = $('#id_'+name+'-0-address').parents('.inline-related')
}
else {
var first = $('#id_'+name+'-0-id').parents('.inline-related')
}
// check to see if this is a stacked or tabular inline
if (first.hasClass("tabular")) {
var field_table = first.parent().find('table > tbody')
var count = field_table.children().length
var copy = $('tr:last', field_table).clone(true)
copy.removeClass("row1 row2")
copy.find("input[name$='address']").removeAttr("readonly")
copy.addClass("row"+((count % 2) == 0 ? 1 : 2))
field_table.append(copy)
increment_form_ids($('tr:last', field_table), count, name)
}
else {
var last = $(first).parent().children('.last-related')
var copy = $(last).clone(true)
var count = $(first).parent().children('.inline-related').length
$(last).removeClass('last-related')
var header = $('h3', copy)
header.html(header.html().replace("#"+count, "#"+(count+1)))
$(last).after(copy)
increment_form_ids($(first).parents('.inline-group').children('.last-related'), count, name)
}
$('input#id_'+name+'-TOTAL_FORMS').val(count+1)
return false;
}
// Add all the "Add Another" links to the bottom of each inline group
$(function() {
var html_template = '<ul class="tools">'+
'<li>'+
'<a class="addlink" href="#" onclick="return add_inline_form(\'{{prefix}}\')">'+
'Add another</a>'+
'</li>'+
'</ul>'
$('.inline-group').each(function(i) {
//prefix is in the name of the input fields before the "-"
var prefix = $("input[type='hidden'][name!='csrfmiddlewaretoken']", this).attr("name").split("-")[0]
$(this).append(html_template.replace("{{prefix}}", prefix))
})
})

File diff suppressed because one or more lines are too long

View file

@ -1,6 +0,0 @@
/* proceedings-recordings.js - utility functions */
$(document).ready(function() {
$('#id_session').select2({ placeholder: 'Type group acronym or part of session name', width: '450px' });;
});

View file

@ -1,28 +0,0 @@
/* Copyright The IETF Trust 2021, All Rights Reserved
*
* JS support for the SessionForm
* */
(function() {
'use strict';
function track_common_input(input, name_suffix) {
const handler = function() {
const hidden_inputs = document.querySelectorAll(
'.session-details-form input[name$="-' + name_suffix + '"]'
);
for (let hi of hidden_inputs) {
hi.value = input.value;
}
};
input.addEventListener('change', handler);
handler();
}
function initialize() {
// Keep all the hidden inputs in sync with the main form
track_common_input(document.getElementById('id_attendees'), 'attendees');
track_common_input(document.getElementById('id_comments'), 'comments');
}
window.addEventListener('load', initialize);
})();

View file

@ -1,83 +0,0 @@
/* Copyright The IETF Trust 2021, All Rights Reserved
*
* JS support for the SessionPurposeAndTypeWidget
* */
(function() {
'use strict';
/* Find elements that are parts of the session details widgets. This is an
* HTMLCollection that will update if the DOM changes, so ok to evaluate immediately. */
const widget_elements = document.getElementsByClassName('session_purpose_widget');
/* Find the id prefix for each widget. Individual elements have a _<number> suffix. */
function get_widget_ids(elements) {
const ids = new Set();
for (let ii=0; ii < elements.length; ii++) {
const parts = elements[ii].id.split('_');
parts.pop();
ids.add(parts.join('_'));
}
return ids;
}
/* Set the 'type' element to a type valid for the currently selected purpose, if possible */
function set_valid_type(type_elt, purpose, allowed_types) {
const valid_types = allowed_types[purpose] || [];
if (valid_types.indexOf(type_elt.value) === -1) {
type_elt.value = (valid_types.length > 0) ? valid_types[0] : '';
}
}
/* Hide any type options not allowed for the selected purpose */
function update_type_option_visibility(type_option_elts, purpose, allowed_types) {
const valid_types = allowed_types[purpose] || [];
for (const elt of type_option_elts) {
if (valid_types.indexOf(elt.value) === -1) {
elt.setAttribute('hidden', 'hidden');
} else {
elt.removeAttribute('hidden');
}
}
}
/* Update visibility of 'type' select so it is only shown when multiple options are available */
function update_widget_visibility(elt, purpose, allowed_types) {
const valid_types = allowed_types[purpose] || [];
if (valid_types.length > 1) {
elt.removeAttribute('hidden'); // make visible
} else {
elt.setAttribute('hidden', 'hidden'); // make invisible
}
}
/* Update the 'type' select to reflect a change in the selected purpose */
function update_type_element(type_elt, purpose, type_options, allowed_types) {
update_widget_visibility(type_elt, purpose, allowed_types);
update_type_option_visibility(type_options, purpose, allowed_types);
set_valid_type(type_elt, purpose, allowed_types);
}
/* Factory for event handler with a closure */
function purpose_change_handler(type_elt, type_options, allowed_types) {
return function(event) {
update_type_element(type_elt, event.target.value, type_options, allowed_types);
};
}
/* Initialization */
function on_load() {
for (const widget_id of get_widget_ids(widget_elements)) {
const purpose_elt = document.getElementById(widget_id + '_0');
const type_elt = document.getElementById(widget_id + '_1');
const type_options = type_elt.getElementsByTagName('option');
const allowed_types = JSON.parse(type_elt.dataset.allowedOptions);
purpose_elt.addEventListener(
'change',
purpose_change_handler(type_elt, type_options, allowed_types)
);
update_type_element(type_elt, purpose_elt.value, type_options, allowed_types);
}
}
window.addEventListener('load', on_load, false);
})();

View file

@ -1,159 +0,0 @@
// Copyright The IETF Trust 2015-2021, All Rights Reserved
/* global alert */
var ietf_sessions; // public interface
(function() {
'use strict';
function get_formset_management_data(prefix) {
return {
total_forms: document.getElementById('id_' + prefix + '-TOTAL_FORMS').value,
};
}
function update_session_form_visibility(session_num, is_visible) {
const elt = document.getElementById('session_row_' + session_num);
if (elt) {
elt.hidden = !is_visible;
elt.querySelector('[name$="DELETE"]').value = is_visible ? '' : 'on';
}
}
function have_additional_session() {
const elt = document.getElementById('id_third_session');
return elt && elt.checked;
}
function update_for_num_sessions(val) {
const total_forms = get_formset_management_data('session_set').total_forms;
val = Number(val);
if (have_additional_session()) {
val++;
}
for (let i=0; i < total_forms; i++) {
update_session_form_visibility(i, i < val);
}
const only_one_session = (val === 1);
if (document.form_post.session_time_relation) {
document.form_post.session_time_relation.disabled = only_one_session;
document.form_post.session_time_relation.closest('tr').hidden = only_one_session;
}
if (document.form_post.joint_for_session) {
document.form_post.joint_for_session.disabled = only_one_session;
}
const third_session_row = document.getElementById('third_session_row');
if (third_session_row) {
third_session_row.hidden = val < 2;
}
}
function delete_last_joint_with_groups () {
var b = document.form_post.joint_with_groups.value;
var temp = b.split(' ');
temp.pop();
b = temp.join(' ');
document.form_post.joint_with_groups.value = b;
document.form_post.joint_with_groups_selector.selectedIndex=0;
}
/*******************************************************************/
// WG constraint UI support
// get the constraint field element for a given slug
function constraint_field(slug) {
return document.getElementById('id_constraint_' + slug);
}
// get the wg selection element for a given slug
function constraint_selector(slug) {
return document.getElementById('id_wg_selector_' + slug);
}
/**
* Handler for constraint select input 'change' event
*/
function wg_constraint_selector_changed() {
let slug = this.getAttribute('data-slug');
let cfield = constraint_field(slug);
// add selected value to constraint_field
cfield.value += ' ' + this.options[this.selectedIndex].value;
}
/**
* Remove the last group in a WG constraint field
*
* @param slug ConstraintName slug
*/
function delete_last_wg_constraint(slug) {
let cfield = constraint_field(slug);
if (cfield) {
var b = cfield.value;
var temp = b.split(' ');
temp.pop();
b = temp.join(' ');
cfield.value = b;
constraint_selector(slug).selectedIndex = 0;
}
}
/**
* Handle click event on a WG constraint's delete button
*
* @param slug ConstraintName slug
*/
function delete_wg_constraint_clicked(slug) {
delete_last_wg_constraint(slug);
}
/**
* Handler for the change event on the session count select or 'third session' checkbox
*/
function handle_num_session_change(event) {
const num_select_value = Number(event.target.value);
if (num_select_value !== 2) {
if (document.form_post.third_session) {
document.form_post.third_session.checked = false;
}
}
update_for_num_sessions(num_select_value);
}
function handle_third_session_change(event) {
const num_select_value = Number(document.getElementById('id_num_session').value);
if (num_select_value === 2) {
update_for_num_sessions(num_select_value);
} else {
event.target.checked = false;
}
}
/* Initialization */
function on_load() {
// Attach event handler to session count select
const num_session_select = document.getElementById('id_num_session');
num_session_select.addEventListener('change', handle_num_session_change);
const third_session_input = document.getElementById('id_third_session');
if (third_session_input) {
third_session_input.addEventListener('change', handle_third_session_change);
}
update_for_num_sessions(num_session_select.value);
// Attach event handlers to constraint selectors
let selectors = document.getElementsByClassName('wg_constraint_selector');
for (let index = 0; index < selectors.length; index++) {
selectors[index].addEventListener('change', wg_constraint_selector_changed, false)
}
}
// initialize after page loads
window.addEventListener('load', on_load, false);
// expose public interface methods
ietf_sessions = {
delete_last_joint_with_groups: delete_last_joint_with_groups,
delete_wg_constraint_clicked: delete_wg_constraint_clicked
}
})();

View file

@ -1,253 +0,0 @@
/* utils.js - utility functions */
// set X-CSRFToken AJAX request header
// from https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax
function getCookie(name) {
var cookieValue = null;
if (document.cookie && document.cookie != '') {
var cookies = document.cookie.split(';');
for (var i = 0; i < cookies.length; i++) {
var cookie = jQuery.trim(cookies[i]);
// Does this cookie string begin with the name we want?
if (cookie.substring(0, name.length + 1) == (name + '=')) {
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
break;
}
}
}
return cookieValue;
}
var csrftoken = getCookie('csrftoken');
function csrfSafeMethod(method) {
// these HTTP methods do not require CSRF protection
return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method));
}
function sameOrigin(url) {
// test that a given url is a same-origin URL
// url could be relative or scheme relative or absolute
var host = document.location.host; // host + port
var protocol = document.location.protocol;
var sr_origin = '//' + host;
var origin = protocol + sr_origin;
// Allow absolute or scheme relative URLs to same origin
return (url == origin || url.slice(0, origin.length + 1) == origin + '/') ||
(url == sr_origin || url.slice(0, sr_origin.length + 1) == sr_origin + '/') ||
// or any other URL that isn't scheme relative or absolute i.e relative.
!(/^(\/\/|http:|https:).*/.test(url));
}
$.ajaxSetup({
beforeSend: function(xhr, settings) {
if (!csrfSafeMethod(settings.type) && sameOrigin(settings.url)) {
// Send the token to same-origin, relative URLs only.
// Send the token only if the method warrants CSRF protection
// Using the CSRFToken value acquired earlier
xhr.setRequestHeader("X-CSRFToken", csrftoken);
}
}
});
// end set csrftoken
//returns the requested GET parameter from the URL
function get_param(param) {
var regex = '[?&]' + param + '=([^&#]*)';
var results = (new RegExp(regex)).exec(window.location.href);
if(results) return results[1];
return '';
}
function restripe(id) {
$(id + ' tbody tr:visible:even').removeClass('row1 row2').addClass('row1');
$(id + ' tbody tr:visible:odd').removeClass('row1 row2').addClass('row2');
}
function init_area_table() {
// add "Show All" button
$("#areas-button-list").append('<li><button type="button" id="areas-list-toggle" value="Show All">Show All</button></li>');
// register button
$("#areas-list-toggle").click(function() {
if (this.value == "Show All") {
$('#areas-list-table tbody tr:not(.active)').show();
$(this).val("Show Active");
$(this).text("Show Active");
} else if (this.value == "Show Active") {
$('#areas-list-table tbody tr:not(.active)').hide();
$(this).val("Show All");
$(this).text("Show All");
}
// restripe the table
restripe('#areas-list-table');
});
// hide non-active areas
$('#areas-list-table tbody tr:not(.active)').hide();
restripe('#areas-list-table');
}
function style_current_tab() {
path_array = window.location.pathname.split('/');
page = path_array[path_array.length-2];
id = "#nav-" + page;
$(id + ' a').addClass('current');
}
/*********************************
/*Functions : For Proceedings */
/*********************************/
function change_material_type(obj) {
if (obj.value == "Agenda") {
alert('agenda');
}
}
function init_proceedings_upload() {
// dynamic help message
$('#id_material_type').change(function() {
if(this.value == "slides") {
//alert('Presentation handler called');
$('div#id_file_help').html("Note 1: You can only upload a presentation file in txt, pdf, doc, or ppt/pptx. System will not accept presentation files in any other format.<br><br>Note 2: All uploaded files will be available to the public immediately on the Preliminary Page. However, for the Proceedings, ppt/pptx files will be converted to html format and doc files will be converted to pdf format manually by the Secretariat staff.");
$('#id_slide_name').attr('disabled', false);
}
if(this.value == "minutes") {
//alert('Minutes handler called');
$('div#id_file_help').html("Note: You can only upload minutes in txt/html/ppt/pdf formats. System will not accept minutes in any other format.");
$('#id_slide_name').attr('disabled', true);
$('#id_slide_name').val('');
}
if(this.value == "agenda") {
//alert('Agenda handler called');
$('div#id_file_help').html("Note: You can only upload agendas in txt/html/ppt/pdf formats. System will not accept agendas in any other format.");
$('#id_slide_name').attr('disabled', true);
$('#id_slide_name').val('');
}
});
// handle slide sorting
$('#slides.sortable tbody').sortable({
axis:'y',
//containment:'parent',
update: function(event, ui){
var data = $(this).sortable("toArray");
var element_id = ui.item.attr("id");
var slide_name = $("tr#"+element_id+" td.hidden").text();
var order = $.inArray(element_id,data);
$.post('/secr/proceedings/ajax/order-slide/',{'slide_name':slide_name,'order':order});
// restripe the table
restripe('#slides.sortable');
}
}).disableSelection();
}
function init_proceedings_table() {
// do only if table with secretariat class exists
if ($('table.secretariat').length) {
// add "Show All" button
$("#proceedings-meeting-buttons").append('<li><button type="button" id="proceedings-list-toggle" value="Show All">Show All</button></li>');
// register button
$("#proceedings-list-toggle").click(function() {
if (this.value == "Show All") {
$('#proceedings-list-table tbody tr:not(.open)').show();
$(this).val("Show Active");
$(this).text("Show Active");
} else if (this.value == "Show Active") {
$('#proceedings-list-table tbody tr:not(.open)').hide();
$(this).val("Show All");
$(this).text("Show All");
}
// restripe the table
restripe('#proceedings-list-table');
});
// hide non-active areas
$('#proceedings-list-table tbody tr:not(.open)').hide();
restripe('#proceedings-list-table');
}
}
$(document).ready(function() {
// set focus --------------------------------
if ( $("form[id^=group-role-assignment-form]").length > 0) {
$("#id_role_type").focus();
} else if ( $("form[id=draft-search-form]").length > 0) {
$("#id_filename").focus();
} else if ( $("form[id=drafts-add-form]").length > 0) {
$("#id_title").focus();
} else if ( $("form[id=proceedings-add-form]").length > 0) {
$("#id_start_date").focus();
} else if ( $("form[id=proceedings-upload-form]").length > 0) {
$("#id_group_name").focus();
} else if ( $("form[id=session-request-form]").length > 0) {
$("#id_num_session").focus();
} else if ( $(".rooms-times-nav").length > 0){
$("li.selected a").focus();
} else {
$("input:text:visible:enabled:first").focus();
}
// unset Primary Area selection unless it appears as URL parameter
//if (($('#id_primary_area').length) && (get_param('primary_area') == '')) {
// $('#id_primary_area')[0].selectedIndex = -1;
// special features for area list page
if ($('#areas-button-list').length) {
init_area_table();
}
// Setup autocomplete for adding names
if ($('input.name-autocomplete').length) {
$('input.name-autocomplete').autocomplete({
source: "/secr/areas/getpeople/",
minLength: 3,
select: function(event, ui) {
//match number inside paren and then strip paren
var id = ui.item.label.match(/\(\d+\)/);
var val = id[0].replace(/[\(\)]/g, "");
//alert(id,val);
//alert(id.match(/\d+/));
$.getJSON('/secr/areas/getemails/',{"id":val},function(data) {
$('#id_email option').remove();
$.each(data,function(i,item) {
$('#id_email').append('<option value="'+item.id+'">'+item.value+'</option>');
});
});
}
});
}
// nav bar setup
if ($('ul#list-nav').length) {
style_current_tab();
}
// auto populate Area Director List when primary area selected (add form)
$('#id_primary_area').change(function(){
$.getJSON('/secr/groups/get_ads/',{"area":$(this).val()},function(data) {
$('#id_primary_area_director option').remove();
$.each(data,function(i,item) {
$('#id_primary_area_director').append('<option value="'+item.id+'">'+item.value+'</option>');
});
});
});
// auto populate Area Director List when area selected (edit form)
$('#id_ietfwg-0-primary_area').change(function(){
$.getJSON('/secr/groups/get_ads/',{"area":$(this).val()},function(data) {
$('#id_ietfwg-0-area_director option').remove();
$.each(data,function(i,item) {
$('#id_ietfwg-0-area_director').append('<option value="'+item.id+'">'+item.value+'</option>');
});
});
});
// special features for Proceedings list page
if ($('#proceedings-button-list').length) {
init_proceedings_table();
}
// special features for Proceedings Upload Material Page
if ($('#proceedings-upload-table').length) {
init_proceedings_upload();
}
});

View file

@ -5,12 +5,12 @@
{% block extrastyle %}{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static 'secr/css/jquery-ui-1.11.4.custom.css' %}" />
<link rel="stylesheet" href="{% static 'select2/select2.css' %}">
<link rel="stylesheet" href="{% static 'ietf/css/select2.css' %}">
{% endblock %}
{% block extrahead %}{{ block.super }}
<script type="text/javascript" src="{% static 'secr/js/jquery-ui-1.11.4.custom.min.js' %}"></script>
<script src="{% static 'select2/select2.min.js' %}"></script>
<script src="{% static 'ietf/js/select2.js' %}"></script>
<script type="text/javascript" src="{% static 'secr/js/proceedings-recording.js' %}"></script>
{% endblock %}