📄 useradmin.tmpl
字号:
## $Id: UserAdmin.tmpl 4175 2007-08-23 12:55:19Z jodal $## Extends the MainTemplate for header-information, nav-logo and navigation-bar.## Contains common template code for the useradmin panel.###### Copyright 2003, 2004 Norwegian University of Science and Technology#### This file is part of Network Administration Visualized (NAV)#### NAV is free software; you can redistribute it and/or modify## it under the terms of the GNU General Public License as published by## the Free Software Foundation; either version 2 of the License, or## (at your option) any later version.#### NAV is distributed in the hope that it will be useful,## but WITHOUT ANY WARRANTY; without even the implied warranty of## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the## GNU General Public License for more details.#### You should have received a copy of the GNU General Public License## along with NAV; if not, write to the Free Software## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA###### Authors: Morten Vold <morten.vold@itea.ntnu.no>## Magnar Sveen <magnars@idi.ntnu.no>###extends nav.web.templates.MainTemplate.MainTemplate#attr $path = [("Home", "/"), ("User Administration", "/useradmin/index"), ("Index", "False")]#def useradmin() This space intentionally left blank#end def#block content<h2>User Administration</h2>#set $menu = (('accountlist', 'Account List'), ('account', 'Account Details'), ('grouplist', 'Group List'), ('group', 'Group Details'))<div class="tabs"><ul>#set $current = $getVar('current', 'accountlist')#for $slug, $name in $menu #if $slug == $current <li class="tabactive"><a href="$slug">$name</a></li> #else <li><a href="$slug">$name</a></li> #end if#end for</ul></div><div class="tabcontent">#if $varExists('information')<h3>$information</h3>#end if#if $varExists('statusMessage')<p><font color="#FF0000">$statusMessage</font><br></p>#end if$useradmin()</div> <!-- tabcontent -->#end block content#block additionalCSS$default_table_CSS$default_tabs_CSS#end block additionalCSS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -