Permalink
Browse files

from controls; schema

  • Loading branch information...
1 parent 62f6247 commit 900ff2d2433b34f786fd7fa5df2193287428eb7b Gatlin C Johnson committed Jan 4, 2013
Showing with 57 additions and 3 deletions.
  1. +54 −0 schema.sql
  2. +3 −3 templates/branch.html.ep
View
@@ -0,0 +1,54 @@
+-- MySQL dump 10.13 Distrib 5.5.27, for osx10.7 (i386)
+--
+-- Host: localhost Database: deployrable
+-- ------------------------------------------------------
+-- Server version 5.5.27
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `projects`
+--
+
+DROP TABLE IF EXISTS `projects`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `projects` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `title` varchar(50) DEFAULT NULL,
+ `host` varchar(200) DEFAULT NULL,
+ `repo` varchar(20) DEFAULT NULL,
+ `path` varchar(50) DEFAULT NULL,
+ `port` int(11) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `projects`
+--
+
+LOCK TABLES `projects` WRITE;
+/*!40000 ALTER TABLE `projects` DISABLE KEYS */;
+/*!40000 ALTER TABLE `projects` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2013-01-04 0:04:01
View
@@ -51,13 +51,13 @@
<div class="control-group">
<label class="control-label" for="name">Name</label>
<div class="controls">
- <input type="text" id="name" name="name">
+ <input type="text" id="name" name="name" class="input-block-level">
</div><!-- .controls -->
</div><!-- .control-group -->
<div class="control-group">
<label class="control-label" for="image">Image</label>
<div class="controls">
- <select name="image" id="image">
+ <select name="image" id="image" class="input-block-level">
<% foreach my $i (@$images) { %>
<option value="<%= $i->{id} %>"><%= $i->{name} %></option>
<% } %>
@@ -67,7 +67,7 @@
<div class="control-group">
<label class="control-label" for="flavor">Flavors</label>
<div class="controls">
- <select name="flavor" id="flavor">
+ <select name="flavor" id="flavor" class="input-block-level">
<% foreach my $f (@$flavors) { %>
<option value="<%= $f->{id} %>"><%= $f->{name} %></option>
<% } %>

0 comments on commit 900ff2d

Please sign in to comment.