Steps
Step 1. Find a picture and upload to https://www.base64-image.de/
Step 2. Copy base64 string
Step 3. Go to https://plnkr.co/ to do test
Here has an url to demonstrate
https://plnkr.co/edit/xt2W5IFQgvqgOwwmgHUT?p=preview
body { -webkit-text-size-adjust: 100%; }
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <div class="row"> <div class="col-sm-12"> <div class="form-group" style="display:inline"> <label>即時應用系統異常追蹤整合</label> <div> <input type="radio" name="sentryOption" [checked]="newProject.sentryOption==='0'" (click)="newProject.sentryOption='0'">立即建立專案關聯 <span style="padding-left:20px"> <input type="radio" name="sentryOption" [checked]="newProject.sentryOption==='1'" (click)="newProject.sentryOption='1'">選擇既有的關聯 </span> <span style="padding-left:5px"> <select class="form-control" name="sentryProjectId" [(ngModel)]="newProject.sentryProjectId" [style.width.px]="50" *ngIf="newProject.sentryOption==='1'" > <option value="" selected> 請選擇 </option> <option *ngFor="let sp of sentryProjects" [ngValue]="sp.slug">{{sp.slug}}</option> </select> </span> </div> </div> </div> </div> |
display:inline-block
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <div class="row"> <div class="col-sm-12"> <div class="form-group" style="display:inline"> <label>即時應用系統異常追蹤整合</label> <div> <input type="radio" name="sentryOption" [checked]="newProject.sentryOption==='0'" (click)="newProject.sentryOption='0'">立即建立專案關聯 <span style="padding-left:20px"> <input type="radio" name="sentryOption" [checked]="newProject.sentryOption==='1'" (click)="newProject.sentryOption='1'">選擇既有的關聯 </span> <span style="padding-left:5px"> <select class="form-control" name="sentryProjectId" [(ngModel)]="newProject.sentryProjectId" [style.width.px]="50" *ngIf="newProject.sentryOption==='1'" style="display:inline-block;"> <option value="" selected> 請選擇 </option> <option *ngFor="let sp of sentryProjects" [ngValue]="sp.slug">{{sp.slug}}</option> </select> </span> </div> </div> </div> </div> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | <div class="row"> <div class="col-sm-12"> <div class="col-sm-6 "> <label class="control-label label-width-4 text-right">預算階段</label> <input type="radio" value="P0" data-ng-model="dbm003eFormBean.budgetStatus" data-ng-hide="hideBudgetStatusP0"> {{budgetStatusP0Text}} <input type="radio" value="P1" data-ng-model="dbm003eFormBean.budgetStatus" data-ng-hide="hideBudgetStatusP1"> {{budgetStatusP1Text}} <input type="radio" value="F0" data-ng-model="dbm003eFormBean.budgetStatus" data-ng-hide="hideBudgetStatusF0"> {{budgetStatusF0Text}} <input type="radio" value="F1" data-ng-model="dbm003eFormBean.budgetStatus" data-ng-hide="hideBudgetStatusF1"> {{budgetStatusF1Text}} <input type="radio" value="F2" data-ng-model="dbm003eFormBean.budgetStatus" data-ng-hide="hideBudgetStatusF2"> {{budgetStatusF2Text}} </div> <div class="col-sm-6 "> </div> </div> </div> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <div class="row"> <div class="col-sm-12"> <div class="col-sm-12 "> <label class="control-label label-width-4 text-right">預算階段</label> <input type="radio" value="P0" data-ng-model="dbm003eFormBean.budgetStatus" data-ng-hide="hideBudgetStatusP0" style="margin: 0px 0px 0px 6px"> {{budgetStatusP0Text}} <input type="radio" value="P1" data-ng-model="dbm003eFormBean.budgetStatus" data-ng-hide="hideBudgetStatusP1" style="margin: 0px 0px 0px 6px"> {{budgetStatusP1Text}} <input type="radio" value="F0" data-ng-model="dbm003eFormBean.budgetStatus" data-ng-hide="hideBudgetStatusF0" style="margin: 0px 0px 0px 6px"> {{budgetStatusF0Text}} <input type="radio" value="F1" data-ng-model="dbm003eFormBean.budgetStatus" data-ng-hide="hideBudgetStatusF1" style="margin: 0px 0px 0px 6px"> {{budgetStatusF1Text}} <input type="radio" value="F2" data-ng-model="dbm003eFormBean.budgetStatus" data-ng-hide="hideBudgetStatusF2" style="margin: 0px 0px 0px 6px"> {{budgetStatusF2Text}} </div> </div> </div> |