Fix spacing to use spaces instead of tabs.

This commit is contained in:
yackob03 2013-10-01 19:36:57 -04:00
parent a7537ba621
commit 70685e2aa8
2 changed files with 80 additions and 80 deletions

View file

@ -19,41 +19,41 @@
<div class="panel-heading">User Access Permissions</div> <div class="panel-heading">User Access Permissions</div>
<div class="panel-body"> <div class="panel-body">
<table class="permissions"> <table class="permissions">
<thead> <thead>
<tr> <tr>
<td>User</td> <td>User</td>
<td>Permissions</td> <td>Permissions</td>
<td></td> <td></td>
</tr> </tr>
</thead> </thead>
<tr ng-repeat="(username, permission) in permissions"> <tr ng-repeat="(username, permission) in permissions">
<td class="user"> <td class="user">
<i class="icon-user"></i> <i class="icon-user"></i>
<span>{{username}}</span> <span>{{username}}</span>
</td> </td>
<td class="user-permissions"> <td class="user-permissions">
<div class="btn-group btn-group-sm"> <div class="btn-group btn-group-sm">
<button type="button" class="btn btn-default" ng-click="setRole(username, 'read')" ng-class="{read: 'active', write: '', admin: ''}[permission.role]">Read only</button> <button type="button" class="btn btn-default" ng-click="setRole(username, 'read')" ng-class="{read: 'active', write: '', admin: ''}[permission.role]">Read only</button>
<button type="button" class="btn btn-default" ng-click="setRole(username, 'write')" ng-class="{read: '', write: 'active', admin: ''}[permission.role]">Write</button> <button type="button" class="btn btn-default" ng-click="setRole(username, 'write')" ng-class="{read: '', write: 'active', admin: ''}[permission.role]">Write</button>
<button type="button" class="btn btn-default" ng-click="setRole(username, 'admin')" ng-class="{read: '', write: '', admin: 'active'}[permission.role]">Admin</button> <button type="button" class="btn btn-default" ng-click="setRole(username, 'admin')" ng-class="{read: '', write: '', admin: 'active'}[permission.role]">Admin</button>
</div> </div>
</td> </td>
<td> <td>
<span class="delete-ui" tabindex="0" title="Delete Permission"> <span class="delete-ui" tabindex="0" title="Delete Permission">
<span class="delete-ui-button" ng-click="deleteRole(username)"><button class="btn btn-danger">Delete</button></span> <span class="delete-ui-button" ng-click="deleteRole(username)"><button class="btn btn-danger">Delete</button></span>
<i class="icon-remove"></i> <i class="icon-remove"></i>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<input id="userSearch" class="form-control" placeholder="Add new user..."> <input id="userSearch" class="form-control" placeholder="Add new user...">
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>
<br> <br>
@ -62,24 +62,24 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">Repository Settings</div> <div class="panel-heading">Repository Settings</div>
<div class="panel-body"> <div class="panel-body">
<div class="repo-access-state" ng-show="!repo.is_public"> <div class="repo-access-state" ng-show="!repo.is_public">
<div class="state-icon"><i class="icon-lock"></i></div> <div class="state-icon"><i class="icon-lock"></i></div>
This repository is currently <b>private</b>. Only users on the above access list may view and interact with it. This repository is currently <b>private</b>. Only users on the above access list may view and interact with it.
<div class="change-access"> <div class="change-access">
<button class="btn btn-danger" ng-click="askChangeAccess('public')">Make Public</button> <button class="btn btn-danger" ng-click="askChangeAccess('public')">Make Public</button>
</div> </div>
</div> </div>
<div class="repo-access-state" ng-show="repo.is_public"> <div class="repo-access-state" ng-show="repo.is_public">
<div class="state-icon"><i class="icon-unlock-alt"></i></div> <div class="state-icon"><i class="icon-unlock-alt"></i></div>
This repository is currently <b>public</b> and is visible to all users, and may be pulled by all users. This repository is currently <b>public</b> and is visible to all users, and may be pulled by all users.
<div class="change-access"> <div class="change-access">
<button class="btn btn-danger" ng-click="askChangeAccess('private')">Make Private</button> <button class="btn btn-danger" ng-click="askChangeAccess('private')">Make Private</button>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
@ -90,8 +90,8 @@
<div class="panel-heading">Delete Repository</div> <div class="panel-heading">Delete Repository</div>
<div class="panel-body"> <div class="panel-body">
<div class="repo-delete"> <div class="repo-delete">
<div class="alert alert-danger">Deleting a repository <b>cannot be undone</b>. Here be dragons!</div> <div class="alert alert-danger">Deleting a repository <b>cannot be undone</b>. Here be dragons!</div>
<button class="btn btn-danger" ng-click="askDelete()">Delete Repository</button> <button class="btn btn-danger" ng-click="askDelete()">Delete Repository</button>
</div> </div>
</div> </div>
</div> </div>
@ -125,9 +125,9 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="alert alert-warning"> <div class="alert alert-warning">
Warning: This will allow <b>anyone</b> to pull from this repository Warning: This will allow <b>anyone</b> to pull from this repository
</div> </div>
Are you sure you want to make this repository public? Are you sure you want to make this repository public?
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-danger" ng-click="changeAccess('public')">Make Public</button> <button type="button" class="btn btn-danger" ng-click="changeAccess('public')">Make Public</button>
@ -148,9 +148,9 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="alert alert-warning"> <div class="alert alert-warning">
Warning: Only users on the permissions list will be able to access this repository. Warning: Only users on the permissions list will be able to access this repository.
</div> </div>
Are you sure you want to make this repository private? Are you sure you want to make this repository private?
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-success" ng-click="changeAccess('private')">Make Private</button> <button type="button" class="btn btn-success" ng-click="changeAccess('private')">Make Private</button>

View file

@ -11,15 +11,15 @@
<div class="header"> <div class="header">
<h3> <h3>
<span class="icon-container"> <span class="icon-container">
<i class="icon-lock icon-large" ng-show="!repo.is_public" title="Private Repository"></i> <i class="icon-lock icon-large" ng-show="!repo.is_public" title="Private Repository"></i>
<i class="icon-hdd icon-large"></i> <i class="icon-hdd icon-large"></i>
</span> </span>
<span style="color: #aaa;"> {{repo.namespace}}</span> <span style="color: #ccc">/</span> {{repo.name}} <span style="color: #aaa;"> {{repo.namespace}}</span> <span style="color: #ccc">/</span> {{repo.name}}
<span class="settings-cog" ng-show="repo.can_admin" title="Repository Settings"> <span class="settings-cog" ng-show="repo.can_admin" title="Repository Settings">
<a href="{{ '#/repository/' + repo.namespace + '/' + repo.name + '/admin' }}"> <a href="{{ '#/repository/' + repo.namespace + '/' + repo.name + '/admin' }}">
<i class="icon-cog icon-large"></i> <i class="icon-cog icon-large"></i>
</a> </a>
</span> </span>
</h3> </h3>
@ -29,16 +29,16 @@
Get this repository: Get this repository:
<div class="pull-container"> <div class="pull-container">
<div class="input-group"> <div class="input-group">
<input id="pull-text" type="text" class="form-control" value="{{ 'docker pull quay.io/' + repo.namespace + '/' + repo.name }}" readonly> <input id="pull-text" type="text" class="form-control" value="{{ 'docker pull quay.io/' + repo.namespace + '/' + repo.name }}" readonly>
<span id="copyClipboard" class="input-group-addon" title="Copy to Clipboard" data-clipboard-target="pull-text"> <span id="copyClipboard" class="input-group-addon" title="Copy to Clipboard" data-clipboard-target="pull-text">
<i class="icon-copy"></i> <i class="icon-copy"></i>
</span> </span>
</div> </div>
</div> </div>
<div id="clipboardCopied" style="display: none"> <div id="clipboardCopied" style="display: none">
Copied to clipboard Copied to clipboard
</div> </div>
</div> </div>
</div> </div>
@ -90,19 +90,19 @@
<div ng-show="imageHistory"> <div ng-show="imageHistory">
<table class="images"> <table class="images">
<thead> <thead>
<tr> <tr>
<td>ID</td> <td>ID</td>
<td>Created</td> <td>Created</td>
<td>Comment</td> <td>Comment</td>
</tr> </tr>
</thead> </thead>
<tr ng-repeat="image in imageHistory"> <tr ng-repeat="image in imageHistory">
<td class="image-id" title="{{ image.id }}">{{ image.id }}</td> <td class="image-id" title="{{ image.id }}">{{ image.id }}</td>
<td><span am-time-ago="parseDate(image.created)"></span></td> <td><span am-time-ago="parseDate(image.created)"></span></td>
<td ng-bind-html-unsafe="getCommentFirstLine(image.comment)"></td> <td ng-bind-html-unsafe="getCommentFirstLine(image.comment)"></td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>
@ -116,10 +116,10 @@
<h4 class="modal-title">Edit Repository Description</h4> <h4 class="modal-title">Edit Repository Description</h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="wmd-panel"> <div class="wmd-panel">
<div id="wmd-button-bar-description"></div> <div id="wmd-button-bar-description"></div>
<textarea class="wmd-input" id="wmd-input-description" placeholder="Enter description">{{ repo.description }}</textarea> <textarea class="wmd-input" id="wmd-input-description" placeholder="Enter description">{{ repo.description }}</textarea>
</div> </div>
<div id="wmd-preview-description" class="wmd-panel wmd-preview"></div> <div id="wmd-preview-description" class="wmd-panel wmd-preview"></div>
</div> </div>