Skip to content

Commit

Permalink
revert 8bf8871, fc2aad3, 503d338.
Browse files Browse the repository at this point in the history
some misplaced UI development changes
  • Loading branch information
pearkes committed Aug 7, 2015
1 parent 8bf8871 commit 00e35cd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 18 deletions.
3 changes: 0 additions & 3 deletions ui/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ DEPENDENCIES
sass
therubyracer
uglifier

BUNDLED WITH
1.10.3
3 changes: 2 additions & 1 deletion ui/development_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"ui_dir": ".",
"bootstrap": true,
"server": true,
"advertise_addr": "127.0.0.1",
"acl_datacenter": "dc1",
"acl_master_token": "dev",
"http_api_response_headers": {
"Access-Control-Allow-Origin": "*"
}
Expand Down
10 changes: 3 additions & 7 deletions ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,11 @@
{{#link-to 'kv' class='btn btn-default col-xs-12'}}Key/Value{{/link-to}}
</div>

<div class="col-md-1 col-sm-2 col-xs-8 col-md-offset-0 col-sm-offset-2 col-xs-offset-1">
{{#link-to 'acls' class='btn btn-small btn-default col-xs-12'}}ACL{{/link-to}}
<div class="col-md-2 col-sm-2 col-xs-8 col-md-offset-0 col-sm-offset-2 col-xs-offset-1">
{{#link-to 'acls' class='btn btn-default col-xs-12'}}ACL{{/link-to}}
</div>

<div class="col-md-1 col-sm-2 col-xs-8 col-md-offset-0 col-sm-offset-0 col-xs-offset-1">
{{#link-to 'map' class='btn btn-small btn-default col-xs-12'}}Map{{/link-to}}
</div>

<div class="col-md-2 col-sm-2 col-xs-6 col-md-offset-0 col-sm-offset-2 col-xs-offset-1">
<div class="col-md-2 col-sm-2 col-xs-6 col-md-offset-0 col-sm-offset-4 col-xs-offset-1">
<a {{bind-attr class=":col-xs-12 :btn hasFailingChecks:btn-warning:btn-success"}} {{action "toggle"}}> <span class="elip-overflow">{{model}} <span class="caret"></span></span> </a>

{{#if isDropdownVisible}}
Expand Down
3 changes: 0 additions & 3 deletions ui/javascripts/app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ App.Router.map(function() {
this.route("show", { path: "/:id" });
});

// Map
this.resource("map", { path: "/map" });

// Shows a page explaining that ACLs haven't been set-up
this.route("aclsdisabled", { path: "/aclsdisabled" });
// Shows a page explaining that the ACL key being used isn't
Expand Down
4 changes: 0 additions & 4 deletions ui/styles/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
.btn {
margin-top: 20px;
min-width: 100px;

&.btn-small {
min-width: 70px;
}
}

.btn-dropdown {
Expand Down

0 comments on commit 00e35cd

Please sign in to comment.