summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakkalot <makkalot@gmail.com>2008-06-18 16:00:23 +0300
committermakkalot <makkalot@gmail.com>2008-06-18 16:00:23 +0300
commitebc444b74e9386bdeb259bef382d1f75e43c221a (patch)
tree1895868db704a1eb40fb934647bba15573f12402
parent801729bacc64df7463ef96ff571707e9877eb54a (diff)
downloadfunc-ebc444b74e9386bdeb259bef382d1f75e43c221a.tar.gz
func-ebc444b74e9386bdeb259bef382d1f75e43c221a.tar.xz
func-ebc444b74e9386bdeb259bef382d1f75e43c221a.zip
some updates in templates
-rw-r--r--funcweb/funcweb/templates/minion.html2
-rw-r--r--funcweb/funcweb/templates/minions.html3
-rw-r--r--funcweb/funcweb/templates/module.html2
3 files changed, 4 insertions, 3 deletions
diff --git a/funcweb/funcweb/templates/minion.html b/funcweb/funcweb/templates/minion.html
index dcb5c6f..a526764 100644
--- a/funcweb/funcweb/templates/minion.html
+++ b/funcweb/funcweb/templates/minion.html
@@ -8,7 +8,7 @@
<ul py:for="minion, mods in modules.items()">
<h2>${minion[:13]}</h2>
<li py:for="module in mods">
- <a href="#" onclick="myj('#col4').hide();myj('#col3').hide().load('/minion/${minion}/${module}').show('slow');">${module}</a>
+ <a href="#" onclick="myj('#col5').hide();myj('#col3').hide().load('/minion/${minion}/${module}').show('slow');">${module}</a>
</li>
</ul>
</div>
diff --git a/funcweb/funcweb/templates/minions.html b/funcweb/funcweb/templates/minions.html
index 605080f..6a39f54 100644
--- a/funcweb/funcweb/templates/minions.html
+++ b/funcweb/funcweb/templates/minions.html
@@ -10,13 +10,14 @@
<ul>
<li><h2>minions</h2></li>
<li py:for="minion in minions">
- <a onclick="jQuery('#col3').hide();myj('#col4').hide();myj('#col2').hide().load('/minion/${minion}').show('slow');" href="#">${minion}</a>
+ <a onclick="jQuery('#col3').hide();myj('#col4').hide();myj('#col5').hide();getElement('col2').innerHTML=toHTML(IMG({src:'../static/images/loading.gif',width:'80',height:'80'}));myj('#col2').hide().load('/minion/${minion}').show('slow');" href="#">${minion}</a>
</li>
</ul>
</div>
<div class="col" id="col2" />
<div class="col" id="col3" />
<div class="col" id="col4" />
+ <div class="col" id="col5" />
</div>
</body>
</html>
diff --git a/funcweb/funcweb/templates/module.html b/funcweb/funcweb/templates/module.html
index f169007..a4794d0 100644
--- a/funcweb/funcweb/templates/module.html
+++ b/funcweb/funcweb/templates/module.html
@@ -7,7 +7,7 @@
<ul py:for="minion, methods in modules.items()">
<h2>${module}</h2>
<li py:for="method in methods">
- <a href="#" onclick="myj('#col2').hide();myj('#col4').hide().load('/method_display/${minion}/${module}/${method}').show('slow')">${method}</a>
+ <a href="#" onclick="myj('#col2').hide();myj('#col5').hide().show('slow');myj('#col4').hide().load('/method_display/${minion}/${module}/${method}').show('slow')">${method}</a>
</li>
</ul>
</div>