Skip to content
Browse files

small interface tweaks

  • Loading branch information...
1 parent b88f4cc commit 0f36acf293c25bb50516c9a8d77a3adbe1205a0e @brandonmwest committed Mar 30, 2012
Showing with 12 additions and 9 deletions.
  1. +6 −1 public/css/default.css
  2. +0 −2 public/js/default.js
  3. +3 −3 views/_templates.haml
  4. +3 −3 views/endpoints.haml
View
7 public/css/default.css
@@ -82,6 +82,11 @@ body {
.endpoint > .control-group > label {
width: auto;
text-align: left;
+ font-size:19.5px;
+}
+
+.endpoint > .control-group > .controls > .input > input {
+ font-size:19.5px;
}
.endpoint > .control-group > .controls {
@@ -93,4 +98,4 @@ body {
margin-right:10px;
}
-.parameters { clear:both; }
+.parameters { clear:both;}
View
2 public/js/default.js
@@ -1,5 +1,3 @@
-//SO MUCH SPAGHETTI!
-
$(function() {
$('.viewOutput').click(function(e){
var formdata = form2js('config', '.');
View
6 views/_templates.haml
@@ -2,13 +2,13 @@
.template.hide{:id => "endpointTemplate"}
.endpointTemplate.hide{:id => "ep[blank]"}
- .control-group.span5
+ .control-group.span5.endpointHead
%label.control-label{:for => "endpoints[blank].name"}
- Endpoint Name:
+ Endpoint:
.controls
.input
%input.endpointName{:name => "endpoints[blank].name", :id => "endpoints[blank].name", :value => "New Endpoint"}
- %span.endpoint-controls
+ .offset5.endpoint-controls
%input.btn.btn-info.addButton.addMethod(type="button" value='Add Method')
%input.btn.btn-danger.removeEndpoint(type="button" value='Delete Endpoint')
%ul.methods
View
6 views/endpoints.haml
@@ -23,14 +23,14 @@
-count=count+1
.endpoint.hide{:id => "ep#{count}"}
- .control-group.span5
+ .control-group.span5.endpointHead
%label.control-label{:for => "endpoints[#{count}].name"}
- Endpoint Name:
+ Endpoint:
.controls
.input
%input.endpointName{:name => "endpoints[#{count}].name", :id => "endpoints[#{count}].name", :value => "#{e.name}"}
- %span.endpoint-controls
+ .offset5.endpoint-controls
%input.btn.btn-info.addButton.addMethod(type="button" value='Add Method')
%input.btn.btn-danger.removeEndpoint(type="button" value='Delete Endpoint')
= partial :methods, :locals => {:endpoint => e, :endpointIndex => count}

0 comments on commit 0f36acf

Please sign in to comment.
Something went wrong with that request. Please try again.