HTML: <link rel="stylesheet" href="views/show/tab.css"/> <div> <ul class="nav nav-tabs" ng-init="vm.activeTab=1"> <li ng-class="{active: vm.activeTab ...
分类:
其他好文 时间:
2016-08-10 06:28:22
阅读次数:
196
下面开始在UserManager.Web中利用easyUI构建web。 1. 先删除自带的controllers、models和views(里面的shared和web.config可以保存)下面的文件 2. 要利用easyUI,首先去网上下载jquery-easyui-1.3.2.zip,同时下载一 ...
分类:
数据库 时间:
2016-08-09 19:04:39
阅读次数:
382
HTML: <link rel="stylesheet" href="views/tree/checkbox.css"/> <div class="tree"> <ul> <li ng-repeat="country in vm.countries" ng-class="{closed:countr ...
分类:
其他好文 时间:
2016-08-09 02:13:29
阅读次数:
437
HTML: http://www.ngnice.com/showcase/#/tree/basic <link rel="stylesheet" href="views/tree/basic.css"/> <div class="tree"> <ul> <li ng-repeat="country ...
分类:
其他好文 时间:
2016-08-09 02:01:55
阅读次数:
513
models.py urls.py serializers.py views.py permissions.py ...
分类:
其他好文 时间:
2016-08-08 17:26:27
阅读次数:
194
母版页面中的@RenderBody()会读取引用该母板页面的子页面内容 在_ViewStart.cshtml是个特殊的页,所有页面执行之前都会先到这里执行@{Layout = "~/Views/Shared/_Layout.cshtml";},这里这句话的的作用是给所有页面加了这个母板页的布局,当子 ...
分类:
其他好文 时间:
2016-08-07 16:55:13
阅读次数:
159
打开谷歌api,对widget小部件做如下说明:
App Widgets are miniature application views that can be embedded in otherapplications(such as the Home screen) and receive periodic updates. These views arereferred to as Wid...
分类:
移动开发 时间:
2016-08-06 11:33:05
阅读次数:
289
1.在widgets/TestWidget.php中 2.在widgets/views/index.php 3.在其他需要使用的视图文件中 如下调用即可 注:~ 转载请注明出处。QQ1727728211 ...
分类:
其他好文 时间:
2016-08-05 19:45:19
阅读次数:
215
Django Template 你可能已经注意到我们在例子视图中返回文本的方式有点特别。 也就是说,HTML被直接硬编码在 Python 代码之中。 下面我们来调用html views index.html 项目urls 总项目urls 访问 http://127.0.0.1/payment Dja ...
分类:
其他好文 时间:
2016-08-04 22:57:31
阅读次数:
203
在TP框架中,为了各个模块加载静态文件方便,往往是不需要按照默认的方式放置静态文件到/app/模块名/VIEWS/下面,而是在顶级目录下创建一个新的目录(比如说./tpl目录下),来存放静态文件 设置方法: (1):在TP的入口文件中定义: define( 'TMPL_PATH' , './tpl/ ...
分类:
其他好文 时间:
2016-08-04 14:48:18
阅读次数:
154