Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/v2 #6

Merged
merged 2 commits into from
Nov 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions admin/css/custom-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,9 @@
.schedule_noti_p{
margin: 0;
}

/* sweet alert css */

.swal-overlay {
background-color: rgba(43, 165, 137, 0.45);
}
14 changes: 6 additions & 8 deletions admin/js/custom-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@ jQuery(document).ready(function($) {
// timepicker function
$('#man_times').chungTimePicker({
viewType: 1,
callback: function(e) {

// triggered after selecting
alert("hello");


}
});

// sweet alert js

$('.swal_alert_show').on('click',function(){
swal('You have to activate pro version first!');
})

// check active which option
$("#pts_form input:checkbox,#man_form input:checkbox").click(function(){
var this_name = $(this).attr("name");
//alert(this_name);
if(this_name === 'pub_check'){
if(this_name === 'pub_check')
{
$('#pub_check').attr("checked",true);
$('#cal_check').attr("checked",false);
}else if(this_name === 'cal_check'){
Expand Down
Binary file added admin/manage-schedule/assets/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions admin/manage-schedule/build/git-to-svn.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# This build script is called from a Jenkins job.
# When I push my local git repository to Github, Jenkins automatically commits it to SVN repo on WordPress.org.

# Removes the last trunk dir from local SVN
rm -rf /media/sf_D_DRIVE/Dropbox/Producao/publish-to-schedule/trunk/

# Re-crates trunk
mkdir /media/sf_D_DRIVE/Dropbox/Producao/publish-to-schedule/trunk

# Clone repository from GitHub
git clone https://github.com/alexbenfica/Publish-to-Schedule-WordPress-plugin.git /media/sf_D_DRIVE/Dropbox/Producao/publish-to-schedule/trunk/

# Removes git files from SVN trunk
rm -rf /media/sf_D_DRIVE/Dropbox/Producao/publish-to-schedule/trunk/.git

# Still can't make it work without typing password... so call a script to commit to SVN using password in command line.
sh /media/sf_D_DRIVE/DevelOffline/publish-to-schedule/commit-to-svn.sh
29 changes: 29 additions & 0 deletions admin/manage-schedule/humans.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
___ _ _ _ _
/ _ \_ _| |__ | (_)___| |__
/ /_)/ | | | '_ \| | / __| '_ \
/ ___/| |_| | |_) | | \__ \ | | |
\/ \__,_|_.__/|_|_|___/_| |_|

_
| |_ ___
| __|/ _ \
| |_| (_) |
\__|\___/

__ _ _ _
/ _\ ___| |__ ___ __| |_ _| | ___
\ \ / __| '_ \ / _ \/ _` | | | | |/ _ \
_\ \ (__| | | | __/ (_| | |_| | | __/
\__/\___|_| |_|\___|\__,_|\__,_|_|\___|


We are the humans behind Publish to Schedule!

/* TEAM */
Name: Alex Benfica
Title: Developer
Twitter: alextben

/* META */
Updated: 2016/02/09
See: http://humanstxt.org/
Binary file added admin/manage-schedule/lang/pt_BR.mo
Binary file not shown.
Loading