Skip to content

Commit

Permalink
styles for custom tag form field
Browse files Browse the repository at this point in the history
  • Loading branch information
dottorblaster committed May 4, 2016
1 parent ce1f252 commit 2a93278
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion static/styles.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -98,10 +98,15 @@ header .header-copyright a {
-wekbit-border-radius: 10px; -wekbit-border-radius: 10px;
} }



.flash { .flash {
background: #cdf; background: #cdf;
padding: 20px; padding: 20px;
font-size: 15px; font-size: 15px;
color: #346; color: #346;
} }

.with-margins {
margin-top: 10px;
margin-bottom: 10px;
}

8 changes: 4 additions & 4 deletions templates/upload.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ <h1><span class="muted">Import into:</span> {{ bloginfo['blog']['title'] }}</h1>
Please select the Wordpress export XML file you'd like to import. Visit Wordpress.org for more information about <a href="http://en.support.wordpress.com/export/">exporting a Wordpress blog</a>. Please select the Wordpress export XML file you'd like to import. Visit Wordpress.org for more information about <a href="http://en.support.wordpress.com/export/">exporting a Wordpress blog</a>.
</div> </div>


<form method="post" action="/upload" enctype="multipart/form-data" id="upload-form"> <form class="pure-form" method="post" action="/upload" enctype="multipart/form-data" id="upload-form">
<div> <div class="with-margins">
<input type="file" name="wordpress_xml" /> <input type="file" name="wordpress_xml" />
</div> </div>


<div> <div class="with-margins">
<input type="text" name="custom_tags" placeholder="Custom tags"/> <input type="text" name="custom_tags" placeholder="Custom tags"/>
</div> </div>


<div> <div class="with-margins">
<input type="hidden" name="tumblog_name" value="{{ tumblog_name }}" /> <input type="hidden" name="tumblog_name" value="{{ tumblog_name }}" />
<button type="submit" class="pure-button pure-button-primary">Submit</button> <button type="submit" class="pure-button pure-button-primary">Submit</button>
</div> </div>
Expand Down

0 comments on commit 2a93278

Please sign in to comment.