Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ready for testing. Calendar UI added
- Loading branch information
Showing
10 changed files
with
224 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
@import (inline) '../node_modules/fullcalendar/dist/fullcalendar.css'; | ||
|
||
.fc-event { | ||
cursor: pointer; | ||
} | ||
|
||
#plugin-calendar-cal-event-display .plugin-calendar-event { | ||
margin: -15px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,32 @@ | ||
<h1>[[calendar:calendar]]</h1> | ||
|
||
<div id="calendar"></div> | ||
|
||
<script>window['plugin-calendar'] = {{cal}};</script> | ||
<script src="{relative_path}/plugins/nodebb-plugin-calendar/root/calendar.js"></script> | ||
<style type="text/css" class="plugin-calendar-cal-styles">{{calendarEventsStyle}}</style> | ||
|
||
<div class="modal fade" id="plugin-calendar-cal-event-display" tabindex="-1" | ||
role="dialog" aria-labelledby="plugin-calendar-cal-event-display-title"> | ||
<div class="modal-dialog" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<button type="button" class="close" data-dismiss="modal" | ||
aria-label="[[global:buttons.close]]"> | ||
<i aria-hidden="true" class="fa fa-times"></i> | ||
</button> | ||
<h4 class="modal-title" id="plugin-calendar-cal-event-display-title"> | ||
[[calendar:event_title]] | ||
</h4> | ||
</div> | ||
<div class="modal-body"> | ||
<div class="plugin-calendar-event panel panel-success"></div> | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-default" data-dismiss="modal"> | ||
[[global:buttons.close]] | ||
</button> | ||
<a type="button" href="#" class="btn btn-primary" data-dismiss="modal"> | ||
[[calendar:go_to_post]] | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// TODO: convert to TypeScript? |
Oops, something went wrong.