summaryrefslogtreecommitdiff
path: root/ishtar_common/static
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/static')
-rw-r--r--ishtar_common/static/js/ishtar.js9
-rw-r--r--ishtar_common/static/media/images/info.pngbin0 -> 521 bytes
-rw-r--r--ishtar_common/static/media/style.css10
3 files changed, 19 insertions, 0 deletions
diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js
index b4a079ef8..0a15bfc23 100644
--- a/ishtar_common/static/js/ishtar.js
+++ b/ishtar_common/static/js/ishtar.js
@@ -105,6 +105,15 @@ function load_window(url, speed, on_success){
});
}
+function load_current_window(url, model_name){
+ var id = $("#current_" + model_name).val();
+ if (!id) return;
+ url = url.split('/');
+ url[url.length - 1] = id;
+ url.push('');
+ return load_window(url.join('/'));
+}
+
function load_url(url){
$("#progress").show();
$.ajax({
diff --git a/ishtar_common/static/media/images/info.png b/ishtar_common/static/media/images/info.png
new file mode 100644
index 000000000..6d9beb9ed
--- /dev/null
+++ b/ishtar_common/static/media/images/info.png
Binary files differ
diff --git a/ishtar_common/static/media/style.css b/ishtar_common/static/media/style.css
index e9f1a8bab..bbd14dd99 100644
--- a/ishtar_common/static/media/style.css
+++ b/ishtar_common/static/media/style.css
@@ -161,6 +161,16 @@ div#logo{
background-repeat:no-repeat;
}
+.display_details{
+ display:inline-block;
+ font-size:0;
+ color:transparent;
+ width:18px;
+ height:16px;
+ background-image:url(images/info.png);
+ background-repeat:no-repeat;
+}
+
div#language_form_div{
position:absolute;
right:0;