parent
ea87905527
commit
f992086625
2 changed files with 14 additions and 1 deletions
|
@ -1265,3 +1265,16 @@ a:focus {
|
||||||
top: 5px;
|
top: 5px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.co-alert-popin-warning {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 767px) {
|
||||||
|
.co-alert-popin-warning {
|
||||||
|
display: block;
|
||||||
|
margin: 0px;
|
||||||
|
margin-top: 10px;
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
<input id="repoName" name="repoName" type="text" class="form-control" placeholder="Repository Name" ng-model="repo.name"
|
<input id="repoName" name="repoName" type="text" class="form-control" placeholder="Repository Name" ng-model="repo.name"
|
||||||
required autofocus data-trigger="manual" data-content="{{ createError }}" data-placement="right" ng-pattern="/^[.a-z0-9_-]+$/">
|
required autofocus data-trigger="manual" data-content="{{ createError }}" data-placement="right" ng-pattern="/^[.a-z0-9_-]+$/">
|
||||||
</span>
|
</span>
|
||||||
<span class="co-alert co-alert-warning" ng-show="!newRepoForm.repoName.$error.required && !newRepoForm.repoName.$valid" style="margin-left: 10px;">
|
<span class="co-alert co-alert-warning co-alert-popin-warning" ng-show="!newRepoForm.repoName.$error.required && !newRepoForm.repoName.$valid">
|
||||||
Repository names must match [a-z0-9_-]+
|
Repository names must match [a-z0-9_-]+
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue