moved inline css to file.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
.inline-label {
|
||||
display: inline-block;
|
||||
padding: 0 15px;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.inline-input {
|
||||
display: inline-block;
|
||||
margin-left: 15px;
|
||||
}
|
||||
@@ -9,10 +9,10 @@
|
||||
</div>
|
||||
<div ng-if="$ctrl.model.RepositoryAuthentication">
|
||||
<div class="form-group">
|
||||
<label for="repository_username" class="control-label text-left" style="display: inline-block; padding: 0 15px; min-width: 200px;">
|
||||
<label for="repository_username" class="control-label text-left inline-label">
|
||||
Username
|
||||
</label>
|
||||
<div style="display: inline-block; margin-left: 15px;">
|
||||
<div class="inline-input">
|
||||
<input
|
||||
type="text"
|
||||
class="form-control"
|
||||
@@ -25,11 +25,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="repository_password" class="control-label text-left" style="display: inline-block; padding: 0 15px; min-width: 200px;">
|
||||
<label for="repository_password" class="control-label text-left inline-label">
|
||||
Personal Access Token
|
||||
<portainer-tooltip position="bottom" message="Provide a personal access token or password"></portainer-tooltip>
|
||||
</label>
|
||||
<div style="display: inline-block; margin-left: 15px;">
|
||||
<div class="inline-input">
|
||||
<input
|
||||
type="password"
|
||||
class="form-control"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import controller from './git-form-auth-fieldset.controller.js';
|
||||
import './git-form-auth-fieldset.css';
|
||||
|
||||
export const gitFormAuthFieldset = {
|
||||
templateUrl: './git-form-auth-fieldset.html',
|
||||
|
||||
Reference in New Issue
Block a user