picoauth/picoauth-theme 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

picoauth/picoauth-theme

Composer 安装命令:

composer require picoauth/picoauth-theme

包简介

PicoAuth's default theme.

README 文档

README

The default theme for Pico CMS that can be used with the PicoAuth plugin. This theme depends on the PicoAuth plugin and will not work without it.

Feel free to use this theme as a template for your own customized theme for a Pico website using the PicoAuth plugin.

Features

  • Adds a login bar to the top of each page with an option to log in, register (if enabled).
  • For a logged user it displays a username, an option to logout and link to the page to change password (if enabled).
  • Can also display a small profile picture next to the username (if configured in PicoAuth).
  • Displays an option to Close locks session (if PageLock module is configured and at least 1 lock has been unlocked)
  • This theme is responsive.
  • Structure of the forms (login, registration, etc.) is kept default.

Installation

The recommended way of installation is using composer:

composer require picoauth/picoauth-theme

After the installation is complete, in Pico config.yml set theme: picoauth-theme.

Screenshot

Theme header

How to use

This theme contains only a set of simple Twig templates. The CSS is loaded from the PicoAuth plugin files (the plugin must be installed). The key part of this theme is index.twig which applies the default layout from PicoAuth to the whole Pico CMS website and also adds a login bar to the top of each page.

Customization

Refer to the Theme customization section of the PicoAuth Documentation for the full reference on how to create/customize themes when using PicoAuth.

统计信息

  • 总下载量: 162
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-06-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固