mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-17 01:36:31 +01:00
get context, dependencies and admin scenarios running
This commit is contained in:
parent
7bce774daa
commit
d7aebf03a0
16 changed files with 49 additions and 40 deletions
|
|
@ -434,7 +434,7 @@ var TodoItems = {
|
|||
return confirm(i18n['contexts.new_context_pre'] + givenContextName + i18n['contexts.new_context_post']);
|
||||
},
|
||||
generate_predecessor: function(todo_id, todo_spec) {
|
||||
var img = "<img id=\"delete_dep_"+todo_id+"\" class=\"icon_delete_dep\" src=\""+ relative_to_root('images/blank.png') + "\">";
|
||||
var img = "<img id=\"delete_dep_"+todo_id+"\" class=\"icon_delete_dep\" src=\""+ relative_to_root('assets/blank.png') + "\">";
|
||||
var anchor = "<a class=\"icon_delete_dep\" id=\""+todo_id+"\" href=\"#\">" + img + "</a>";
|
||||
var li = "<li style=\"display:none\" id=\"pred_"+todo_id+"\">"+ anchor +" "+ todo_spec + "</li>";
|
||||
return li;
|
||||
|
|
@ -728,7 +728,8 @@ var ProjectListPage = {
|
|||
};
|
||||
$.post(relative_to_root('projects/update/'+project_id), {
|
||||
'project[name]': value,
|
||||
'update_project_name': 'true'
|
||||
'update_project_name': 'true',
|
||||
'_method': 'put'
|
||||
}, highlight, 'script');
|
||||
return(value);
|
||||
},
|
||||
|
|
@ -843,8 +844,9 @@ var ContextListPage = {
|
|||
var highlight = function(){
|
||||
$('div.context span#context_name').effect('highlight', {}, 500);
|
||||
};
|
||||
$.post(relative_to_root('contexts/update/'+context_id), {
|
||||
'context[name]': value
|
||||
$.post(relative_to_root('contexts/'+context_id), {
|
||||
'context[name]': value,
|
||||
'_method': 'put'
|
||||
}, highlight);
|
||||
return value;
|
||||
},
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ a:hover {
|
|||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
div.footer a {
|
||||
div.footer a {
|
||||
text-decoration: underline;
|
||||
color: #999999;
|
||||
}
|
||||
|
|
@ -58,12 +58,12 @@ h2 a:hover {
|
|||
}
|
||||
|
||||
h4.alert {
|
||||
border: 1px solid #666666;
|
||||
border: 1px solid #666666;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h4.warning {
|
||||
border: 1px solid #ED2E38;
|
||||
border: 1px solid #ED2E38;
|
||||
background-color: #F6979C;
|
||||
color: #000;
|
||||
}
|
||||
|
|
@ -72,7 +72,7 @@ h4.error {
|
|||
background:#c00;
|
||||
}
|
||||
h4.notice {
|
||||
border: 1px solid #007E00;
|
||||
border: 1px solid #007E00;
|
||||
background-color: #c2ffc2;
|
||||
color: #007E00;
|
||||
}
|
||||
|
|
@ -91,7 +91,7 @@ span.r {
|
|||
}
|
||||
|
||||
span.prj, span.ctx{
|
||||
font-size: small;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
#ctx, #pjr {
|
||||
|
|
@ -102,7 +102,7 @@ span.prj, span.ctx{
|
|||
padding: 0.1em 0;
|
||||
}
|
||||
|
||||
/* Draw attention to some text
|
||||
/* Draw attention to some text
|
||||
Same format as traffic lights */
|
||||
.red {
|
||||
color: #fff;
|
||||
|
|
@ -259,20 +259,20 @@ input#todo_description, input#todo_tag_list, textarea#todo_notes, select#todo_pr
|
|||
}
|
||||
|
||||
.prev a {
|
||||
background: url(images/previous.png) left center no-repeat;
|
||||
background: url(assets/previous.png) left center no-repeat;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.prev a:hover {
|
||||
background: #cc3334 url(images/previous.png) left center no-repeat;
|
||||
background: #cc3334 url(assets/previous.png) left center no-repeat;
|
||||
}
|
||||
|
||||
.next a {
|
||||
text-align:right;
|
||||
background: url(images/next.png) right center no-repeat;
|
||||
background: url(assets/next.png) right center no-repeat;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.next a:hover {
|
||||
background: #cc3334 url(images/next.png) right center no-repeat;
|
||||
background: #cc3334 url(assets/next.png) right center no-repeat;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,23 +71,23 @@ h4.alert {
|
|||
}
|
||||
|
||||
h4.warning {
|
||||
border: 1px solid #ED2E38;
|
||||
border: 1px solid #ED2E38;
|
||||
background-color: #F6979C;
|
||||
color: #000000;
|
||||
}
|
||||
h4.error {
|
||||
color:#fff;
|
||||
color:#fff;
|
||||
background:#c00;
|
||||
}
|
||||
h4.notice {
|
||||
border: 1px solid #007E00;
|
||||
border: 1px solid #007E00;
|
||||
background-color: #c2ffc2;
|
||||
color: #007E00;
|
||||
}
|
||||
|
||||
/*#notice {
|
||||
padding: 2px;
|
||||
border: 1px solid #007E00;
|
||||
border: 1px solid #007E00;
|
||||
background-color: #c2ffc2;
|
||||
color: #007E00;
|
||||
margin-bottom: 15px;
|
||||
|
|
@ -147,8 +147,8 @@ input.login_text {
|
|||
width:200px;
|
||||
}
|
||||
input.open_id {
|
||||
background: url(../images/open-id-login-bg.gif) no-repeat;
|
||||
background-color: #fff;
|
||||
background: url(/assets/open-id-login-bg.gif) no-repeat;
|
||||
background-color: #fff;
|
||||
background-position: 0 50%;
|
||||
color: #000;
|
||||
padding-left: 18px;
|
||||
|
|
|
|||
|
|
@ -1313,7 +1313,7 @@ button.positive, .widgets a.positive{
|
|||
}
|
||||
|
||||
.blockUI.blockOverlay {
|
||||
background-image:url('../images/waiting.gif');
|
||||
background-image:url('/assets/waiting.gif');
|
||||
background-repeat:no-repeat;
|
||||
background-position:center center;
|
||||
background-color:white;
|
||||
|
|
@ -1321,21 +1321,21 @@ button.positive, .widgets a.positive{
|
|||
}
|
||||
|
||||
.bigWaiting {
|
||||
background-image:url('../images/bigWaiting.gif');
|
||||
background-image:url('/assets/bigWaiting.gif');
|
||||
background-repeat:no-repeat;
|
||||
background-position:center 20%;
|
||||
background-color:white;
|
||||
}
|
||||
|
||||
.blackWaiting {
|
||||
background-image:url('../images/blackWaiting.gif');
|
||||
background-image:url('/assets/blackWaiting.gif');
|
||||
background-repeat:no-repeat;
|
||||
background-position:center center;
|
||||
background-color:black;
|
||||
}
|
||||
|
||||
.bigBlackWaiting {
|
||||
background-image:url('../images/bigBlackWaiting.gif');
|
||||
background-image:url('/assets/bigBlackWaiting.gif');
|
||||
background-repeat:no-repeat;
|
||||
background-position:center center;
|
||||
background-color:black;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue