diff options
Diffstat (limited to 'ishtar_pdl')
| -rw-r--r-- | ishtar_pdl/__init__.py | 1 | ||||
| -rw-r--r-- | ishtar_pdl/models.py | 1 | ||||
| -rw-r--r-- | ishtar_pdl/static/pdl/JQueryCorporation.js | 14 | ||||
| -rw-r--r-- | ishtar_pdl/static/pdl/styles.css | 14 | ||||
| -rw-r--r-- | ishtar_pdl/templates/blocks/extra_head.html | 1 | 
5 files changed, 31 insertions, 0 deletions
| diff --git a/ishtar_pdl/__init__.py b/ishtar_pdl/__init__.py new file mode 100644 index 000000000..8d1c8b69c --- /dev/null +++ b/ishtar_pdl/__init__.py @@ -0,0 +1 @@ +  diff --git a/ishtar_pdl/models.py b/ishtar_pdl/models.py new file mode 100644 index 000000000..8d1c8b69c --- /dev/null +++ b/ishtar_pdl/models.py @@ -0,0 +1 @@ +  diff --git a/ishtar_pdl/static/pdl/JQueryCorporation.js b/ishtar_pdl/static/pdl/JQueryCorporation.js new file mode 100644 index 000000000..e65001506 --- /dev/null +++ b/ishtar_pdl/static/pdl/JQueryCorporation.js @@ -0,0 +1,14 @@ +var current_status = 'corporation'; + +$(function() { +    var $radios = $('input:radio[name=person_type]'); +    if($radios.is(':checked') === false) { +        $radios.filter('[value='+ current_status +']').prop('checked', true); +    } + +    $radios.change(function(){ +        var loc = window.location; +        window.location = loc.protocol + '//' + loc.host + loc.pathname + "?status=" + $('input:radio[name=person_type]:checked').val(); +    }); +    $("#corporation_div").show(); +}); diff --git a/ishtar_pdl/static/pdl/styles.css b/ishtar_pdl/static/pdl/styles.css new file mode 100644 index 000000000..f7a73f8eb --- /dev/null +++ b/ishtar_pdl/static/pdl/styles.css @@ -0,0 +1,14 @@ +div#validation-bar{ +    position: fixed; +    bottom: 0px; +    background-color: #CCC; +    width: 100%; +    left: 0px; +    height: 40px; +    padding: 5px; +} + +#reset_wizards{ +    right:50px; +    position:absolute; +} diff --git a/ishtar_pdl/templates/blocks/extra_head.html b/ishtar_pdl/templates/blocks/extra_head.html new file mode 100644 index 000000000..5a75d0728 --- /dev/null +++ b/ishtar_pdl/templates/blocks/extra_head.html @@ -0,0 +1 @@ +    <link rel="stylesheet" href="{{STATIC_URL}}/pdl/styles.css" /> | 
