Skip to content

Commit

Permalink
Beta (alibaba#707)
Browse files Browse the repository at this point in the history
* feat: angular app scaffold

* chore: angular-materials

* chore: folder

* chore: optimize style

* feat: angular block card-list

* chore: generate angular materials

* feat: upgrade angular scaffold

* chore: rename angular-lite

* feat: anlular-lite

* chore: @angular-materials/[email protected]

* feat: modify assets path

* feat: ngx-admin

* feat: remove angular-lite scaffold

* feat: beta env

* fix: master assets path

* chore: add scaffoldConfig to ngx-admin

* fix: syntax error

* feat: add angualr blocks

* chore: bump versions

* fix: export component
  • Loading branch information
noyobo authored Jul 13, 2018
1 parent 718251b commit 3d5b75f
Show file tree
Hide file tree
Showing 379 changed files with 17,018 additions and 1,143 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ deploy:
on:
all_branches: true # 仅在 master | pre-depoly 分支进行 deploy
repo: alibaba/ice
condition: $TRAVIS_BRANCH =~ ^master|pre-depoly$
condition: $TRAVIS_BRANCH =~ ^master|pre-depoly|beta$
35 changes: 35 additions & 0 deletions angular-materials/blocks/basic-form/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "@angular-materials/basic-form",
"version": "1.0.1",
"description": "基于 Bootstrap 4 的表单区块",
"files": [
"src/",
"assets/"
],
"author": {
"name": "ICE Team",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/alibaba/ice"
},
"license": "MIT",
"keywords": [
"ice",
"ice-block",
"angular"
],
"blockConfig": {
"name": "basic-form",
"screenshot": "https://img.alicdn.com/tfs/TB1oIwnDWmWBuNjy1XaXXXCbXXa-1704-922.png",
"title": "用户信息表单区块",
"categories": [
"表单"
]
},
"publishConfig": {
"access": "public",
"registry": "http://registry.npmjs.com"
}
}
46 changes: 46 additions & 0 deletions angular-materials/blocks/basic-form/src/basic-form.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<form>
<div class="form-row">
<div class="form-group col-md-6">
<label for="inputEmail4">Email</label>
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
</div>
<div class="form-group col-md-6">
<label for="inputPassword4">Password</label>
<input type="password" class="form-control" id="inputPassword4" placeholder="Password">
</div>
</div>
<div class="form-group">
<label for="inputAddress">Address</label>
<input type="text" class="form-control" id="inputAddress" placeholder="1234 Main St">
</div>
<div class="form-group">
<label for="inputAddress2">Address 2</label>
<input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio, or floor">
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="inputCity">City</label>
<input type="text" class="form-control" id="inputCity">
</div>
<div class="form-group col-md-4">
<label for="inputState">State</label>
<select id="inputState" class="form-control">
<option selected>Choose...</option>
<option>...</option>
</select>
</div>
<div class="form-group col-md-2">
<label for="inputZip">Zip</label>
<input type="text" class="form-control" id="inputZip">
</div>
</div>
<div class="form-group">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="gridCheck">
<label class="form-check-label" for="gridCheck">
Check me out
</label>
</div>
</div>
<button type="submit" class="btn btn-primary">Sign in</button>
</form>
13 changes: 13 additions & 0 deletions angular-materials/blocks/basic-form/src/basic-form.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'basic-form',
templateUrl: './basic-form.component.html',
styleUrls: ['./basic-form.style.css'],
})
export class BasicFormComponent implements OnInit {

constructor() {}

ngOnInit() {}
}
2 changes: 1 addition & 1 deletion angular-materials/blocks/card-list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@angular-materials/card-list",
"version": "1.0.2",
"version": "1.0.3",
"description": "基于 Bootstrap 4 的卡片列表区块",
"files": [
"src/",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="row">
<div class="col">
<div class="card">
<img class="card-img-top" src="assets/img/card-list-01.jpg" alt="Card image cap">
<img class="card-img-top" src="assets/images/card-list-01.jpg" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
Expand All @@ -11,7 +11,7 @@ <h5 class="card-title">Card title</h5>
</div>
<div class="col">
<div class="card">
<img class="card-img-top" src="assets/img/card-list-01.jpg" alt="Card image cap">
<img class="card-img-top" src="assets/images/card-list-01.jpg" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
Expand All @@ -21,7 +21,7 @@ <h5 class="card-title">Card title</h5>
</div>
<div class="col">
<div class="card">
<img class="card-img-top" src="assets/img/card-list-01.jpg" alt="Card image cap">
<img class="card-img-top" src="assets/images/card-list-01.jpg" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
Expand All @@ -31,7 +31,7 @@ <h5 class="card-title">Card title</h5>
</div>
<div class="col">
<div class="card">
<img class="card-img-top" src="assets/img/card-list-01.jpg" alt="Card image cap">
<img class="card-img-top" src="assets/images/card-list-01.jpg" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
Expand Down
35 changes: 35 additions & 0 deletions angular-materials/blocks/table-list/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "@angular-materials/table-list",
"version": "1.0.1",
"description": "基于 Bootstrap 4 的表格列表区块",
"files": [
"src/",
"assets/"
],
"author": {
"name": "ICE Team",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/alibaba/ice"
},
"license": "MIT",
"keywords": [
"ice",
"ice-block",
"angular"
],
"blockConfig": {
"name": "table-list",
"screenshot": "https://img.alicdn.com/tfs/TB1IWx1D1uSBuNjSsplXXbe8pXa-1666-864.png",
"title": "表格列表",
"categories": [
"列表"
]
},
"publishConfig": {
"access": "public",
"registry": "http://registry.npmjs.com"
}
}
61 changes: 61 additions & 0 deletions angular-materials/blocks/table-list/src/table-list.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<table class="table">
<thead class="thead-dark">
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>

<table class="table">
<thead class="thead-light">
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
14 changes: 14 additions & 0 deletions angular-materials/blocks/table-list/src/table-list.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'table-list',
templateUrl: './table-list.component.html',
styleUrls: ['./table-list.style.css'],
})
export class TableListComponent implements OnInit {
title = 'Dashboard';

constructor() {}

ngOnInit() {}
}
Empty file.

This file was deleted.

27 changes: 0 additions & 27 deletions angular-materials/scaffolds/angular-lite/README.md

This file was deleted.

Loading

0 comments on commit 3d5b75f

Please sign in to comment.