Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh root@123.123.123.123
Add ssh fingerprint and enter password provided in email
<!-- Not the FULL view --> | |
<link rel="stylesheet" href="{{ url('css/sir-trevor-icons.css')}}" type="text/css"> | |
<link rel="stylesheet" href="{{ url('css/sir-trevor.css')}}" type="text/css"> | |
<!-- Using some Bootstrap here --> | |
<div class="container"> | |
<div class="row" id="post-form-container"> | |
<h3>Create A Post</h3> | |
<form method="post" action="form" id="post-form" role="form"> | |
<div class="form-group"> |
These editors try to give good UX for WYSIWYG :
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<script src="jquery.ketchup.all.min.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<div id="email"> | |
<span>Enter your email to sign up</span> | |
<form action="/subscribe.php" id="invite" method="POST"> |
# http://stackoverflow.com/a/8936202 | |
# | |
# ActiveAdmin already includes the necessary jquery in active_admin/base, | |
# so just add this to javascripts/active_admin.js after //= require active_admin/base | |
# | |
# | |
# Serialize and Sort | |
# | |
# model_name - you guessed it, the name of the model we are calling sort on. | |
# This is the actual variable name, no need to change it. |
<div> | |
<label for="sort-by">Sort by</label> | |
<select id="sort-by"> | |
<option value="manual">Featured</option> | |
<option value="price-ascending">Price: Low to High</option> | |
<option value="price-descending">Price: High to Low</option> | |
<option value="title-ascending">A-Z</option> | |
<option value="title-descending">Z-A</option> | |
<option value="created-ascending">Oldest to Newest</option> | |
<option value="created-descending">Newest to Oldest</option> |
<form id="contact" name="contact" method="post"> | |
<fieldset> | |
<label for="name" id="name">Name<span class="required">*</span></label> | |
<input type="text" name="name" id="name" size="30" value="" required/> | |
<label for="email" id="email">Email<span class="required">*</span></label> | |
<input type="text" name="email" id="email" size="30" value="" required/> | |
<label for="phone" id="phone">Phone</label> | |
<input type="text" name="phone" id="phone" size="30" value="" /> |
<!-- START of Facebook Open Graph--> | |
<meta property="og:site_name" content="{Title}"/> | |
{block:PermalinkPage} | |
<meta property="og:url" content="{Permalink}"/> | |
<meta property="og:type" content="article"/> | |
{block:Posts} | |
{block:Text} |