python项目源码 日程管理_基于fullcalendar制作的日程管理小demo

一、项目地址:

二、项目功能概述:

该项目是基于fullcalendar而制作的日程管理,fullcalendar是一个基于jquery的日历插件,在该项目中,我们可以在日历上编辑我们的日程,并将日程通过日视图、周视图、月视图的方式来进行展示,也可以通过选择时间段来展示我们的日程。该项目使用artDialog来制作弹出框的效果,使用wickedpicker和bootstrap-datapicker来作为我们的时间选择插件,还选择了jquery-ui当中的slider来制作设置时间段的滑块效果。

该项目虽然没有建立后台数据库,只是用了两个php文件来暂时的存储我们编辑的日程,但在运行该项目的时候,仍然需要将其放在本地服务器的环境下。因为我们编辑完日程后,是通过ajax的方式提交给后台,然后再从后台取数据渲染更新到我们的日历上,不过由于没有把日程数据存到数据库,故刷新页面之后,我们编辑的日程会消失。

代码当中涉及ajax交互数据的这两个后台文件的地址分别为http://localhost/fullcalendar/detail.php和http://localhost/fullcalendar/events.php。故在运行该项目时,先把该项目文件夹的名字改为fullcalendar,然后再将其放在本地服务器的环境当中。

三、项目细节展示:

我们的日程管理日历当中的月视图、周视图、日视图分别为:

bVWdnG?w=1355&h=728

bVWdnH?w=1351&h=728

bVWdnK?w=1348&h=727

当我们点击标题栏左侧的设置按钮,会弹出如下的弹出框,可以通过滑块来设置时间段(以小时为单位),在确定之后就完成了我们的周视图和日视图当中每天展示的时间段的设置。

bVWdnY?w=699&h=415

bVWdnZ?w=1069&h=442

当我们点击标题栏右侧的查询按钮,会弹出如下的弹出框:

bVWdn8?w=504&h=434

我们在月视图、周视图、日视图当中用鼠标点击某一天会弹出如下的弹框,我们可以在此编辑那天的日程,在此不进行更多详情的填写,点击确定之后,就会在日程视图上呈现。

bVWdoB?w=580&h=356

bVWdoC?w=984&h=261

如果需要填写更详细的日程内容,可以点击上述弹出框当中的完整编辑按钮,则会弹出新建日程页面。(我们点击日历标题栏右侧的新建按钮也会弹出如下弹框)。在该弹框当中我们以事务内容的编辑为准,忽略事务标题,在这里我们可以选择更详尽的日程时间段,可以设置开始和结束时间段。当我们勾选全天时,则后边的时刻点消失;当勾选结束时间的时候,才会显示结束时间的设置;当勾选重复的时候,才会提供重复类型的选择,当我们在下拉列表当中选择不同的重复类型的时候,下面对应的重复时间会有不同的展示。当编辑完成,点击确定之后,日程事件就会展示在日历上了。

bVWdpe?w=568&h=656

bVWdpo?w=1068&h=667

我们用鼠标点击日历上某一个已建日程时,会弹出如下弹框,点击编辑则会进入编辑界面,对该日程事件进行编辑,确定后则日程更改,点击删除,则可以删除该日程。

bVWdpy?w=439&h=318

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
如果你是一个小型的办公网络,你可以创建一个服务器来进行日程安排,这只是一个开源的小服务器,你果你需要大的免费的软件去http://www.bedework.org/bedework/下载 使用教程 Installation Dependencies Radicale is written in pure python and does not depend on any librabry. It is known to work on Python 2.5, 2.6, 3.0 and 3.1 [1]. Linux users certainly have Python already installed. For Windows and MacOS users, please install Python [2] thanks to the adequate installer. [1] See Python Versions and OS Support for further information. [2] Python download page. Radicale Radicale can be freely downloaded on the project website, download section. Just get the file and unzip it in a folder of your choice. CalDAV Clients At this time Radicale has been tested and works fine with the latests version of Mozilla Sunbird (versions 0.9+), Mozilla Lightning (0.9+), and Evolution (2.30+). More clients will be supported in the future. However, it may work with any calendar client which implements CalDAV specifications too (luck is highly recommanded). To download Sunbird, go to the Sunbird project website and choose the latest version. Follow the instructions depending on your operating system. Simple Usage Starting Server To start Radicale CalDAV server, you have to launch the file called radicale.py located in the root folder of the software package. Using Sunbird or Lightning After starting Sunbird or Lightning, click on File and New Calendar. Upcoming window asks you about your calendar storage. Chose a calendar On the Network, otherwise Sunbird will use its own file system storage instead of Radicale's one and your calendar won't be remotely accessible. Next window asks you to provide information about remote calendar access. Protocol used by Radicale is CalDAV. A standard location for a basic use of a Radicale calendar is http://localhost:5232/user/calendar/, where you can replace user and calendar by some strings of your choice. Calendars are automatically created if needed. You can now customize your calendar by giving it a nickname and a color. This
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值