Skip to content

Commit

Permalink
Adding git commit button
Browse files Browse the repository at this point in the history
  • Loading branch information
WPsites committed Feb 7, 2013
1 parent bd3f13b commit ad527e1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
9 changes: 7 additions & 2 deletions WPide.php
Expand Up @@ -818,8 +818,13 @@ function the_filetree() {
<div id="wpide_footer_message"></div>
<div id="wpide_footer_message_last_saved"></div>
<div id="wpide_footer_message_unsaved"></div>
<a href="#" id="wpide_save" alt="Keyboard shortcut to save [Ctrl/Cmd + S]" title="Keyboard shortcut to save [Ctrl/Cmd + S]" class="button-primary">SAVE
FILE</a>

<a href="#" id="wpide_save" alt="Keyboard shortcut to save [Ctrl/Cmd + S]" title="Keyboard shortcut to save [Ctrl/Cmd + S]" class="button-primary">SAVE
FILE</a>

<a href="#" id="wpide_git" alt="Open the overlay to commit some files to a Git repository" title="Open the overlay to commit some files to a Git repository" class="button-secondary">Git commit files</a>


<input type="hidden" id="filename" name="filename" value="" />
<?php
if ( function_exists('wp_nonce_field') )
Expand Down
Binary file added images/git.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions wpide.css
Expand Up @@ -257,6 +257,15 @@
float: right;
}

#wpide_git{
float: right;
margin-right: 20px;
background-image: url(images/git.png);
background-repeat: no-repeat;
background-position: right center;
padding-right: 30px;
}

#publishing-action img{
visibility: hidden;
}
Expand Down

0 comments on commit ad527e1

Please sign in to comment.