diff options
Diffstat (limited to 'application/modules/user/views')
6 files changed, 319 insertions, 192 deletions
diff --git a/application/modules/user/views/scripts/bootiso/index.phtml b/application/modules/user/views/scripts/bootiso/index.phtml index 526edc0..0d175e8 100644 --- a/application/modules/user/views/scripts/bootiso/index.phtml +++ b/application/modules/user/views/scripts/bootiso/index.phtml @@ -4,31 +4,27 @@ <?php echo $this->formButton('createbootiso', 'Create BootISO', array( 'onclick' => 'self.location="/user/bootiso/createbootiso/page/'.$this->page.'"', 'class' => 'addbutton'))?> -<table> - <tr> - <th>ID <span class='code'>bootosID</span></th> - <th>Title <span class='code'>title</span></th> - <th>GroupID <span class='code'>groupID</span></th> - <th>PrebootID <span class='code'>prebootID</span></th> - <th>Serialnumber <span class='code'>serialnumber</span></th> - <th>Changed <span class='code'>created</span></th> - <th>Expires <span class='code'>expires</span></th> - <th>Public <span class='code'>public</span></th> - <th colspan=3>Actions</th> - </tr> - <?php if(count($this->bootisolist)==0) - echo "</table> There are no BootISO's entries to display." ?> - <?php foreach ($this->bootisolist as $bootiso): ?> - <tr class=entry> - <td><?php echo $this->escape($bootiso->getID()); ?></td> - <td><?php echo $this->escape($bootiso->getTitle()); ?></td> - <td><?php echo $this->escape($bootiso->getGroupID()); ?></td> - <td><?php echo $this->escape($bootiso->getPrebootID()); ?></td> - <td><?php echo $this->escape($bootiso->getSerialnumber()); ?></td> - <td><?php echo $this->escape($bootiso->getCreated()); ?></td> - <td><?php echo $this->escape($bootiso->getExpires()); ?></td> - <td><?php echo $this->escape($bootiso->getPublic()); ?></td> - <td class='action'><a href="<?php echo $this->url( +<div class='searchvars'> + <div class='head'>Available searchfilter:</div> + <div class='code'>bootosID</div> + <div class='code'>title</div> + <div class='code'>groupID</div> + <div class='code'>prebootID</div> + <div class='code'>serialnumber</div> + <div class='code'>created</div> + <div class='code'>expires</div> + <div class='code'>public</div> +</div> + +<div class='listelement'> + <?php if(count($this->bootisolist)==0) + echo "There are no BootISO entries to display." ?> + <?php foreach ($this->bootisolist as $bootiso): ?> + <div class='element'> + <div class='number'><?php echo $this->escape($bootiso->getID()); ?></div> + <div class='content'> + <div class='actions'> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'bootiso', @@ -37,8 +33,8 @@ 'page' => $this->page ), 'default', - true, false) ?>"><img src='/media/img/download.png' alt='Download BootMedium' /></a></td> - <td class='action'><a href="<?php echo $this->url( + true, false) ?>"><img src='/media/img/download.png' alt='Download BootMedium' /></a> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'bootiso', @@ -47,8 +43,8 @@ 'page' => $this->page ), 'default', - true, false) ?>"><img src='/media/img/edit.png' alt='Edit BootISO' /></a></td> - <td class='action'><a href="<?php echo $this->url( + true, false) ?>"><img src='/media/img/edit.png' alt='Edit BootISO' /></a> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'bootiso', @@ -57,13 +53,38 @@ 'page' => $this->page ), 'default', - true) ?>"><img src='/media/img/delete.png' alt='Delete BootISO'/></a></td> - </tr> - <?php endforeach; ?> -</table> -<?php echo $this->pagination; ?> + true) ?>"><img src='/media/img/delete.png' alt='Delete BootISO'/></a> + </div> + <div class='title'><?php echo $this->escape($bootiso->getTitle()); ?></div> + <div class='subtitle'>Serialnumber: <?php echo $this->escape($bootiso->getSerialnumber()); ?></div> + <div class='details dispnone'> + <label>Group</label> + <div class='item'><?php echo $this->escape($bootiso->getGroupID()); ?></div> + <label>PreebootID</label> + <div class='item'><?php echo $this->escape($bootiso->getPrebootID()); ?></div> + <label>Created</label> + <div class='item'><?php echo $this->escape($bootiso->getCreated()); ?></div> + <label>Expires</label> + <div class='item'><?php echo $this->escape($bootiso->getExpires()); ?></div> + <label>Public</label> + <div class='item'><?php echo $this->escape($bootiso->getPublic()); ?></div> + </div> + </div> + <div class='clear'></div> + </div> + <?php endforeach; ?> +</div> +<?php echo $this->pagination; ?> - - - +<script> +$(document).ready(function(){ + if($('.element').find('.dispnone').length >= 1){ + $(this).find('.title').css('cursor','pointer'); + + $('.title').click(function(){ + $(this).parent().find('.dispnone').toggle(); + }); + } +}); +</script> diff --git a/application/modules/user/views/scripts/bootos/index.phtml b/application/modules/user/views/scripts/bootos/index.phtml index 0ea8f77..cb2a3aa 100644 --- a/application/modules/user/views/scripts/bootos/index.phtml +++ b/application/modules/user/views/scripts/bootos/index.phtml @@ -9,39 +9,31 @@ 'onclick' => 'self.location="/user/bootos/createbootos/page/'.$this->page.'"', 'class' => 'addbutton'))?> -<table> - <tr> - <th>ID <span class='code'>bootosID</span></th> - <th>Title <span class='code'>title</span></th> - <th>GroupID <span class='code'>groupID</span></th> - <th>ConfigID <span class='code'>configID</span></th> - <th>Init <span class='code'>init</span></th> - <th>Kernel <span class='code'>kernel</span></th> - <th>Kcl <span class='code'>kcl</span></th> - <th>Description <span class='code'>description</span></th> - <th>Changed <span class='code'>Changed</span></th> - <th>Expires <span class='code'>expires</span></th> - <th>Public <span class='code'>public</span></th> - <th colspan=3>Actions</th> - </tr> +<div class='searchvars'> + <div class='head'>Available searchfilter:</div> + <div class='code'>bootosID</div> + <div class='code'>title</div> + <div class='code'>groupID</div> + <div class='code'>configID</div> + <div class='code'>init</div> + <div class='code'>kernel</div> + <div class='code'>kcl</div> + <div class='code'>description</div> + <div class='code'>changed</div> + <div class='code'>expires</div> + <div class='code'>public</div> +</div> + +<div class='listelement'> <?php if(count($this->bootoslist)==0) - echo "</table> There are no BootOs's to display." ?> + echo "There are no BootOs's to display." ?> <?php foreach ($this->bootoslist as $bootos): ?> - <tr class=entry> - <td><?php echo $this->escape($bootos->getID()); ?></td> - <td><?php echo $this->escape($bootos->getTitle()); ?></td> - <td><?php echo $this->escape($bootos->getGroupID()); ?></td> - <td><?php echo $this->escape($bootos->getConfigID()); ?></td> - <td><?php echo $this->escape($bootos->getPath_init()); ?></td> - <td><?php echo $this->escape($bootos->getPath_kernel()); ?></td> - <td><?php echo $this->escape($bootos->getDefaultkcl()); ?></td> - <td><?php echo $this->escape($bootos->getDescription()); ?></td> - <td><?php echo $this->escape($bootos->getCreated()); ?></td> - <td><?php echo $this->escape($bootos->getExpires()); ?></td> - <td><?php echo $this->escape($bootos->getPublic()); ?></td> - <?php if($this->update[$bootos->getID()]==true): ?> - <td class='action'><a - href="<?php echo $this->url( + <div class='element'> + <div class='number'><?php echo $this->escape($bootos->getID()); ?></div> + <div class='content'> + <div class='actions'> + <?php if($this->update[$bootos->getID()]==true): ?> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'bootos', @@ -51,11 +43,10 @@ ), 'default', true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a></td> - <?php else: ?> - <td class='action'><img src='/media/img/update_grey.png' alt='No updates available' /></td> - <?php endif; ?> - <td class='action'><a - href="<?php echo $this->url( + <?php else: ?> + <a><img src='/media/img/update_grey.png' alt='No updates available' /></a> + <?php endif; ?> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'bootos', @@ -64,9 +55,8 @@ 'page' => $this->page ), 'default', - true, false) ?>"><img src='/media/img/edit.png' alt='Edit BootOS' /></a></td> - <td class='action'><a - href="<?php echo $this->url( + true, false) ?>"><img src='/media/img/edit.png' alt='Edit BootOS' /></a> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'bootos', @@ -75,14 +65,45 @@ 'page' => $this->page ), 'default', - true) ?>"><img src='/media/img/delete.png' alt='Delete BootOS' /></a></td> - </tr> + true) ?>"><img src='/media/img/delete.png' alt='Delete BootOS' /></a> + </div> + <div class='title'><?php echo $this->escape($bootos->getTitle()); ?></div> + <div class='subtitle'><?php echo $this->escape($bootos->getDescription()); ?></div> + <div class='details dispnone'> + <label>GroupID</label> + <div class='item'><?php echo $this->escape($bootos->getGroupID()); ?></div> + <label>ConfigID</label> + <div class='item'><?php echo $this->escape($bootos->getConfigID()); ?></div> + <label>initPath</label> + <div class='item'><?php echo $this->escape($bootos->getPath_init()); ?></div> + <label>kernelPath</label> + <div class='item'><?php echo $this->escape($bootos->getPath_kernel()); ?></div> + <label>Default KCL</label> + <div class='item'><?php echo $this->escape($bootos->getDefaultkcl()); ?></div> + <label>Created</label> + <div class='item'><?php echo $this->escape($bootos->getCreated()); ?></div> + <label>Expires</label> + <div class='item'><?php echo $this->escape($bootos->getExpires()); ?></div> + <label>Public</label> + <div class='item'><?php echo $this->escape($bootos->getPublic()); ?></div> + + </div> + </div> + <div class='clear'></div> + </div> <?php endforeach; ?> -</table> -<?php echo $this->pagination; ?> - - - - +</div> +<?php echo $this->pagination; ?> +<script> +$(document).ready(function(){ + if($('.element').find('.dispnone').length >= 1){ + $(this).find('.title').css('cursor','pointer'); + + $('.title').click(function(){ + $(this).parent().find('.dispnone').toggle(); + }); + } +}); +</script> diff --git a/application/modules/user/views/scripts/client/index.phtml b/application/modules/user/views/scripts/client/index.phtml index 95bf7a2..6b7c43f 100644 --- a/application/modules/user/views/scripts/client/index.phtml +++ b/application/modules/user/views/scripts/client/index.phtml @@ -4,19 +4,22 @@ <?php echo $this->formButton('createbootos', 'Create Client', array( 'onclick' => 'self.location="/user/client/addclient/page/'.$this->page.'"', 'class' => 'addbutton'))?> +<div class='searchvars'> + <div class='head'>Available searchfilter:</div> + <div class='code'>clientID</div> + <div class='code'>macadress</div> + <div class='code'>hardwarehash</div> +</div> -<?php if ($this->clients): ?> - <table> - <tr> - <th>MAC <span class='code'>macadress</span></th> - <th>Hardwarehash <span class='code'>hardwarehash</span></th> - <th colspan=2>Actions</th> - </tr> +<div class='listelement'> + <?php if(count($this->clients)==0) + echo "There are no Clients to display." ?> <?php foreach ($this->clients as $client): ?> - <tr class=entry> - <td class='monospace'><?php echo $this->escape($client['macadress']) ?></td> - <td class='monospace'><?php echo $this->escape($client['hardwarehash']) ?></td> - <td class='action'><a href="<?php echo $this->url( + <div class='element'> + <div class='number'><?php echo $this->escape($client['clientID']) ?></div> + <div class='content'> + <div class='actions'> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'client', @@ -25,8 +28,8 @@ 'page' => $this->page ), 'default', - true) ?>"><img src='/media/img/edit.png' alt='Edit Client'/></a></td> - <td class='action'><a href="<?php echo $this->url( + true) ?>"><img src='/media/img/edit.png' alt='Edit Client'/></a> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'client', @@ -35,11 +38,32 @@ 'page' => $this->page ), 'default', - true) ?>"><img src='/media/img/delete.png' alt='Delete Client'/></a></td> - </tr> - <?php endforeach ?> - </table> - <?php echo $this->pagination; ?> -<?php else: ?> - <p>There are no clients to display.</p> -<?php endif;?> + true) ?>"><img src='/media/img/delete.png' alt='Delete Client'/></a> + </div> + <!--<div class='title'>Title</div>--> + <!--<div class='subtitle'>Subtitle</div>--> + <div class='details'> + <label>MacAdress</label> + <div class='item'><?php echo $this->escape($client['macadress']) ?></div> + <label>Hardwarehash</label> + <div class='item'><?php echo $this->escape($client['hardwarehash']) ?></div> + </div> + </div> + <div class='clear'></div> + </div> + <?php endforeach ?> +</div> + +<?php echo $this->pagination; ?> + +<script> +$(document).ready(function(){ + if($('.element').find('.dispnone').length >= 1){ + $(this).find('.title').css('cursor','pointer'); + + $('.title').click(function(){ + $(this).parent().find('.dispnone').toggle(); + }); + } +}); +</script> diff --git a/application/modules/user/views/scripts/config/index.phtml b/application/modules/user/views/scripts/config/index.phtml index 0b62f7e..aa68975 100644 --- a/application/modules/user/views/scripts/config/index.phtml +++ b/application/modules/user/views/scripts/config/index.phtml @@ -5,29 +5,24 @@ <?php echo $this->formButton('createconfig', 'Create Config', array( 'onclick' => 'self.location="/user/config/createconfig/page/'.$this->page.'"', 'class' => 'addbutton'))?> +<div class='searchvars'> + <div class='head'>Available searchfilter:</div> + <div class='code'>title</div> + <div class='code'>shellscript</div> + <div class='code'>created</div> +</div> - -<table> - <tr> - <?php if(Pbs_Acl::checkRight('csai')): ?> - <th>ID <span class='code'>configID</span></th> - <?php endif; ?> - <th>Title <span class='code'>title</span></th> - <th>Shellscript <span class='code'>shellscript</span></th> - <th>Changed <span class='code'>created</span></th> - <th colspan=2>Actions</th> - </tr> - <?php if(count($this->configlist)==0) - echo "</table> There are no Config's to display." ?> - <?php foreach ($this->configlist as $config): ?> - <tr class=entry> - <?php if(Pbs_Acl::checkRight('csai')): ?> - <td><?php echo $this->escape($config->getID()); ?></td> - <?php endif; ?> - <td><?php echo $this->escape($config->getTitle()); ?></td> - <td><?php echo $this->escape($config->getShellscript()); ?></td> - <td><?php echo $this->escape($config->getCreated()); ?></td> - <td class='action'><a href="<?php echo $this->url( +<div class='listelement'> + <?php if(count($this->configlist)==0) + echo "There are no Config's to display." ?> + <?php foreach ($this->configlist as $config): ?> + <div class='element'> + <?php if(Pbs_Acl::checkRight('csai')): ?> + <div class='number'><?php echo $this->escape($config->getID()); ?></div> + <?php endif; ?> + <div class='content'> + <div class='actions'> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'config', @@ -36,8 +31,8 @@ 'page' => $this->page ), 'default', - true, false) ?>"><img src='/media/img/edit.png' alt='Edit Config'/></a></td> - <td class='action'><a href="<?php echo $this->url( + true, false) ?>"><img src='/media/img/edit.png' alt='Edit Config'/></a> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'config', @@ -46,15 +41,31 @@ 'page' => $this->page ), 'default', - true) ?>"><img src='/media/img/delete.png' alt='Delete Config'/></a></td> - </tr> - <?php endforeach; ?> -</table> -<?php echo $this->pagination; ?> - - + true) ?>"><img src='/media/img/delete.png' alt='Delete Config'/></a> + </div> + <div class='title'><?php echo $this->escape($config->getTitle()); ?></div> + <div class='details'> + <label>Shellscript</label> + <div class='item'><?php echo $this->escape($config->getShellscript()); ?></div> + <label>Created</label> + <div class='item'><?php echo $this->escape($config->getCreated()); ?></div> + </div> + </div> + <div class='clear'></div> + </div> + <?php endforeach; ?> +</div> +<?php echo $this->pagination; ?> - - - +<script> +$(document).ready(function(){ + if($('.element').find('.dispnone').length >= 1){ + $(this).find('.title').css('cursor','pointer'); + + $('.title').click(function(){ + $(this).parent().find('.dispnone').toggle(); + }); + } +}); +</script> diff --git a/application/modules/user/views/scripts/preboot/index.phtml b/application/modules/user/views/scripts/preboot/index.phtml index f1829e1..76420fb 100644 --- a/application/modules/user/views/scripts/preboot/index.phtml +++ b/application/modules/user/views/scripts/preboot/index.phtml @@ -8,22 +8,22 @@ <?php echo $this->formButton('createpreboot', 'Create PreBoot', array( 'onclick' => 'self.location="/user/preboot/createpreboot/page/'.$this->page.'"', 'class' => 'addbutton'))?> -<table> - <tr> - <th>ID <span class='code'>prebootID</span></th> - <th>Title <span class='code'>title</span></th> - <th>Preboot Path <span class='code'>path_preboot</span></th> - <th colspan=3>Actions</th> - </tr> - <?php if(count($this->prebootlist)==0) - echo "</table> There are no Preboot entries to display." ?> +<div class='searchvars'> + <div class='head'>Available searchfilter:</div> + <div class='code'>prebootID</div> + <div class='code'>title</div> + <div class='code'>path_preboot</div> +</div> + +<div class='listelement'> + <?php if(count($this->prebootlist)==0) + echo "There are no Preboot entries to display." ?> <?php foreach ($this->prebootlist as $preboot): ?> - <tr class=entry> - <td><?php echo $this->escape($preboot->getID()); ?></td> - <td><?php echo $this->escape($preboot->getTitle()); ?></td> - <td><?php echo $this->escape($preboot->getPath_preboot()); ?></td> - <?php if($this->update[$preboot->getID()]==true): ?> - <td class='action'><a href="<?php echo $this->url( + <div class='element'> + <div class='number'><?php echo $this->escape($preboot->getID()); ?></div> + <div class='content'> + <div class='actions'> + <?php if($this->update[$preboot->getID()]==true): ?><a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'preboot', @@ -32,11 +32,11 @@ 'page' => $this->page ), 'default', - true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a></td> - <?php else: ?> - <td class='action'><img src='/media/img/update_grey.png' alt='No updates available' /></td> - <?php endif; ?> - <td class='action'><a href="<?php echo $this->url( + true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a> + <?php else: ?> + <a><img src='/media/img/update_grey.png' alt='No updates available' /></a> + <?php endif; ?> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'preboot', @@ -45,8 +45,8 @@ 'page' => $this->page ), 'default', - true, false) ?>"><img src='/media/img/edit.png' alt='Edit Preboot' /></a></td> - <td class='action'><a href="<?php echo $this->url( + true, false) ?>"><img src='/media/img/edit.png' alt='Edit Preboot' /></a> + <a href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'preboot', @@ -55,8 +55,29 @@ 'page' => $this->page ), 'default', - true) ?>"><img src='/media/img/delete.png' alt='Delete Preboot'/></a></td> - </tr> + true) ?>"><img src='/media/img/delete.png' alt='Delete Preboot'/></a> + </div> + <div class='title'><?php echo $this->escape($preboot->getTitle()); ?></div> + <div class='details'> + <label>Prebootpath:</label> + <div class='item'><?php echo $this->escape($preboot->getPath_preboot()); ?></div> + </div> + </div> + <div class='clear'></div> + </div> <?php endforeach; ?> -</table> +</div> + <?php echo $this->pagination; ?> + +<script> +$(document).ready(function(){ + if($('.element').find('.dispnone').length >= 1){ + $(this).find('.title').css('cursor','pointer'); + + $('.title').click(function(){ + $(this).parent().find('.dispnone').toggle(); + }); + } +}); +</script> diff --git a/application/modules/user/views/scripts/session/index.phtml b/application/modules/user/views/scripts/session/index.phtml index 32c8e04..a5ed851 100644 --- a/application/modules/user/views/scripts/session/index.phtml +++ b/application/modules/user/views/scripts/session/index.phtml @@ -1,31 +1,60 @@ <h1>Session</h1> <?php echo $this->searchform; ?> -<table> -<tr> - <th>ID <span class='code'>sessionID</span></th> - <th>alphasessionID <span class='code'>alphasessionID</span></th> - <th>ClientID <span class='code'>clientID</span></th> - <th>BootmenuentryID <span class='code'>bootmenyentryID</span></th> - <th>BootOsID <span class='code'>bootosID</span></th> - <th>BootIsoID <span class='code'>bootisoID</span></th> - <th>MembershipID <span class='code'>membershipID</span></th> - <th>Time <span class='code'>time</span></th> - <th>IP <span class='code'>ip</span></th> - <th>IPv6 <span class='code'>ip6</span></th> -</tr> -<?php foreach ($this->sessions as $session): ?> - <tr class=entry> - <td><?php echo $this->escape($session->getID()) ?></td> - <td><?php echo $this->escape($session->getAlphasessionID()) ?></td> - <td><?php echo $this->escape($session->getClientID()) ?></td> - <td><?php echo $this->escape($session->getBootmenuentryID()) ?></td> - <td><?php echo $this->escape($session->getBootosID()) ?></td> - <td><?php echo $this->escape($session->getBootisoID()) ?></td> - <td><?php echo $this->escape($session->getMembershipID()) ?></td> - <td><?php echo $this->escape($session->getTime()) ?></td> - <td><?php echo $this->escape($session->getIp()) ?></td> - <td><?php echo $this->escape($session->getIp6()) ?></td> - </tr> -<?php endforeach ?> -</table> +<div class='searchvars'> + <div class='head'>Available searchfilter:</div> + <div class='code'>sessionID</div> + <div class='code'>alphasessionID</div> + <div class='code'>clientID</div> + <div class='code'>bootmenyentryID</div> + <div class='code'>bootosID</div> + <div class='code'>bootisoID</div> + <div class='code'>membershipID</div> + <div class='code'>time</div> + <div class='code'>ip</div> + <div class='code'>ip6</div> +</div> + +<div class='listelement'> + <?php if(count($this->sessions)==0) + echo "There are no Sessions to display." ?> + <?php foreach ($this->sessions as $session): ?> + <div class='element'> + <div class='number'><?php echo $this->escape($session->getID()) ?></div> + <div class='content'> + <div class='title'>Alphasession <?php echo $this->escape($session->getAlphasessionID()) ?></div> + <div class='subtitle'><?php echo $this->escape($session->getTime()) ?></div> + <div class='details dispnone'> + <label>ClientID</label> + <div class='item'><?php echo $this->escape($session->getClientID()) ?> </div> + <label>BootmenuentryID</label> + <div class='item'><?php echo $this->escape($session->getBootmenuentryID()) ?> </div> + <label>BootosID</label> + <div class='item'><?php echo $this->escape($session->getBootosID()) ?> </div> + <label>BootIsoID</label> + <div class='item'><?php echo $this->escape($session->getBootisoID()) ?> </div> + <label>MembershipID</label> + <div class='item'><?php echo $this->escape($session->getMembershipID()) ?> </div> + <label>IP</label> + <div class='item'><?php echo $this->escape($session->getIp()) ?> </div> + <label>IP6</label> + <div class='item'><?php echo $this->escape($session->getIp6()) ?> </div> + </div> + </div> + <div class='clear'></div> + </div> + <?php endforeach ?> +</div> + <?php echo $this->pagination; ?> + +<script> +$(document).ready(function(){ + if($('.element').find('.dispnone').length >= 1){ + $(this).find('.title').css('cursor','pointer'); + + $('.title').click(function(){ + $(this).parent().find('.dispnone').toggle(); + }); + } +}); +</script> |
