EmWebAdmin 初步上手
2024-09-27 02:52:39
EmWebAdmin 简介:
// github 地址:
https://github.com/ZengjfOS/EmWebAdmin
// 介绍:
参考gentelella做的模板;
这是一个PHP网站模板系统,采用Smarty进行模板解析;
EmWebAdmin 使用:
// 将 EmWebAdmin clone 下来,或者直接下来。
// 我假设 EmWebAdmin 的目录为根目录
// 生成 网站
make
// 目录下的 output 就是生成的网站
SBC_7816_SDK6@aplex:/var/www/emwebadmin/EmWebAdmin-master$ ls output/
about.php customerData.php fonts index.php login.php smarty update.php
config customerSettings.php hardware.php js network.php sysSettings.php useful
css dataAndCalander.php images loginDealWith.php plain_page.php tpl
SBC_7816_SDK6@aplex:/var/www/emwebadmin/EmWebAdmin-master$
EmWebAdmin 的文件组成:
.
├── custom
│ ├── common # 一些不能被合成的php文件,自定义的css、js文件
│ │ ├── config # json配置文件目录
│ │ ├── config.php # PHP接写json配置文件,并保存在Smarty变量中
│ │ ├── css # 自定义的css样式
│ │ ├── js # 自定义的js样式
│ │ ├── loginDealWith.php # 处理登如验证
│ │ └── login.php # 登录界面
│ └── contents # 可以被合成的php文件,只需要专注于写内容就OK,完全支持bootstrap。
│ ├── about.php
│ ├── customerData.php
│ ├── customerSettings.php
│ ├── dataAndCalander.php
│ ├── hardware.php
│ ├── index.php
│ ├── network.php
│ ├── plain_page.php
│ └── update.php
├── LICENSE
├── Makefile # make依赖的Makefile文件,会调用bin/emWebAdmin文件执行相关操作
├── output # bin/emWebAdmin执行的输出目录
├── README.md
└── templates # 本websit依赖gentelella UI框架,并使用smarty作为template解析库
├── bin
│ └── emWebAdmin # 会被Makefile调用的可执行文件,会自动处理文件合成、拷贝等县官相关事务
├── dependents # gentelella通用的依赖的js、css库
│ ├── css
│ ├── fonts
│ ├── images
│ ├── js
│ ├── smarty
│ └── useful
├── gentelella
│ ├── base.tpl # 很重要的基板
│ ├── foot.tpl
│ ├── head.tpl
│ ├── nav.tpl
│ └── tail.tpl
└── smarty
├── config # template模板
└── preprocess # template预处理,session处理也在内
// 复制: https://github.com/Aplexchenfl/EmWebAdmin
最新文章
- APM程序分析-ArduCopter.cpp
- css3新增选择器
- CSSText属性批量修改样式
- C# 在winform或者wpf中显示控制台窗口
- MS SQL中使用UPDATE ... INNER JOIN ...
- iOS8定位问题解决方案
- spring容器IOC创建对象<;三>;
- Networking
- Entity Framework with MySQL 学习笔记一(乐观并发)
- [Windows Phone]修改应用程序主题
- JAVA学习:多态
- Bug(案例)图片的垂直出现隐藏
- 查看UDP连接情况
- CSS中link与import的区别
- Android 之xml解析
- CentOS7.5下安装、配置mariadb --CentOS7.5
- 加载更多的ajax 字符串拼接
- 让不支持MVC3的服务器/空间/虚拟主机 支持MVC3 (前提是必须支持 .net 4.0才可以)
- 【配置、开发】Spark入门教程[2]
- git提交提示workspace.xml出现conflicted
热门文章
- 解决Windows server 2012 R2 系统使用IIS8浏览Asp程序出现";An error occurred on the server when processing the URL";错误
- magento 12 配置安装教程
- [ES6] 05. The leg keyword -- 3. Block Scope
- <;The Art of Readable Code>; 笔记二 (上)
- org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is javax.xml.strea
- UDP socket也可以使用connect系统调用
- 算法笔记_039:杨辉三角形(Java)
- UML和模式应用学习笔记-2(迭代和进化式开发)
- jvm分析备忘
- java web 中的MVC