From: Ɓukasz Rekucki Date: Thu, 8 Oct 2009 15:33:54 +0000 (+0200) Subject: Added urls. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/e069e118b79156ab03fcc32b3e1c7b766b7ae92c Added urls. --- diff --git a/project/static/css/managment.css b/project/static/css/managment.css new file mode 100644 index 00000000..3777bcfc --- /dev/null +++ b/project/static/css/managment.css @@ -0,0 +1,36 @@ +table.request-report +{ + border: 2px groove black; + font-size: 12pt; + + margin-top: 3em; + margin-bottom: 2em; + margin-left: auto; + margin-right: auto; +} + +.request-report td, .request-report th { + vertical-align: top; + border-right: 1px solid black; + border-bottom: 1px solid black; + + padding: 0.4em 1em; + margin: 0em; +} + +.request-report th { + background-color: black; + color: white; +} + +.request-report .status-N { + background-color: teal; +} + +.request-report .status-R { + background-color: red; +} + +.request-report .status-A { + background-color: gray; +} \ No newline at end of file diff --git a/project/templates/manager/pull_request.html b/project/templates/manager/pull_request.html index c902da98..20e47fa6 100644 --- a/project/templates/manager/pull_request.html +++ b/project/templates/manager/pull_request.html @@ -35,7 +35,7 @@ $.ajax({ - url: '{% url pullrequest_list %}/'+id, + url: '{% url pullrequest_list %}/'+id, data: {action: 'accept'}, dataType: 'json', type: 'PUT',