diff options
author | makkalot <makkalot@gmail.com> | 2008-08-06 01:16:12 +0300 |
---|---|---|
committer | makkalot <makkalot@gmail.com> | 2008-08-06 01:16:12 +0300 |
commit | 8775f3987987bec0e1033383804cd2d2d5b2d1d6 (patch) | |
tree | ecf5c06e1be94b9b0bd4e7882cb6a8ac85020560 /funcweb | |
parent | a0e4e882492882dcfb1edb8e87e980fdc17e863a (diff) | |
download | func-8775f3987987bec0e1033383804cd2d2d5b2d1d6.tar.gz func-8775f3987987bec0e1033383804cd2d2d5b2d1d6.tar.xz func-8775f3987987bec0e1033383804cd2d2d5b2d1d6.zip |
writing all your js functioanlity inside html is ugly lets remove that and also remove the jequery things
Diffstat (limited to 'funcweb')
-rw-r--r-- | funcweb/funcweb/templates/index.html | 2 | ||||
-rw-r--r-- | funcweb/funcweb/templates/methods.html | 2 | ||||
-rw-r--r-- | funcweb/funcweb/templates/minions.html | 2 | ||||
-rw-r--r-- | funcweb/funcweb/templates/modules.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/funcweb/funcweb/templates/index.html b/funcweb/funcweb/templates/index.html index 3f3944d..f0604e1 100644 --- a/funcweb/funcweb/templates/index.html +++ b/funcweb/funcweb/templates/index.html @@ -12,7 +12,7 @@ <div class="minionsbigbox" id="minionsbigbox" py:if="minions"> <div align="center" class="graytexts">Mininons</div> <div id="minionstexts" py:for="minion in minions"> - <a onclick="myj('#resultcontent').hide();myj('#widgetcontent').hide();myj('#methotdscontent').hide();myj('#modulescontent').hide().load('/funcweb/minion/${minion}').show('slow');" href="#modulescontent" class="minionstextblue">${minion}</a> + <a onclick="list_minion_modules('${minion}');" href="#modulescontent" class="minionstextblue">${minion}</a> </div> </div> <div class="errorbox" id="errorbox" py:if="not minions">There is no minion to display with that glob, try something different</div> diff --git a/funcweb/funcweb/templates/methods.html b/funcweb/funcweb/templates/methods.html index 9f06cbb..8c8465c 100644 --- a/funcweb/funcweb/templates/methods.html +++ b/funcweb/funcweb/templates/methods.html @@ -8,7 +8,7 @@ <span py:for="minion, methods in modules.items()"> <div align="center" class="graytexts">${minion}.${module}</div> <div class="minionstextblue" id="methodstextbox" py:for="method in methods"> - <a href="#widgetcontent" onclick="myj('#resultcontent').hide();myj('#widgetcontent').hide().load('/funcweb/method_display/${minion}/${module}/${method}').show('slow')" class="minionstextblue">${method}</a> + <a href="#widgetcontent" onclick="get_method_widget('${minion}','${module}','${method}');" class="minionstextblue">${method}</a> </div> </span> </div> diff --git a/funcweb/funcweb/templates/minions.html b/funcweb/funcweb/templates/minions.html index 08863e8..7659bcd 100644 --- a/funcweb/funcweb/templates/minions.html +++ b/funcweb/funcweb/templates/minions.html @@ -7,7 +7,7 @@ <div class="minionsbigbox" id="minionsbigbox" py:if="minions"> <div align="center" class="graytexts">Minions</div> <div id="minionstexts" py:for="minion in minions"> - <a onclick="myj('#resultcontent').hide();myj('#widgetcontent').hide();myj('#methotdscontent').hide();myj('#modulescontent').hide().load('/funcweb/minion/${minion}').show('slow');" href="#modulescontent" class="minionstextblue">${minion}</a> + <a onclick="list_minion_modules('${minion}');" href="#modulescontent" class="minionstextblue">${minion}</a> </div> </div> <div class="errorbox" id="errorbox" py:if="not minions">There is no minion to display with that glob, try something different</div> diff --git a/funcweb/funcweb/templates/modules.html b/funcweb/funcweb/templates/modules.html index 2d8107b..c610c11 100644 --- a/funcweb/funcweb/templates/modules.html +++ b/funcweb/funcweb/templates/modules.html @@ -8,7 +8,7 @@ <div align="center" class="graytexts">${minion}</div> <div class="modulestexts" id="modulestexts" py:for="module in modules"> - <a href="#methotdscontent" class="minionstextblue" onclick="myj('#widgetcontent').hide();myj('#resultcontent').hide();myj('#methotdscontent').hide().load('/funcweb/minion/${minion}/${module}').show('slow')">${module}</a> + <a href="#methotdscontent" class="minionstextblue" onclick="list_module_methods('${minion}','${module}');">${module}</a> </div> </span> </div> |