49 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			HTML
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			HTML
		
	
	
		
			Executable File
		
	
	
	
	
<div layout="column">
 | 
						|
  <md-toolbar>
 | 
						|
 | 
						|
    <div class="md-toolbar-tools">
 | 
						|
      <h2 md-truncate flex>Bienvenue Claire Veronneau</h2>
 | 
						|
 | 
						|
      <md-button ng-click="logout()">
 | 
						|
        Se déconnecter
 | 
						|
      </md-button>
 | 
						|
    </div>
 | 
						|
 | 
						|
  </md-toolbar>
 | 
						|
</div>
 | 
						|
 | 
						|
<div layout="row" layout-align="center none">
 | 
						|
  <div ng-controller="AppCtrl" class="sample" layout="column" ng-cloak>
 | 
						|
  <md-content class="md-padding">
 | 
						|
    <md-tabs md-selected="selectedIndex" md-border-bottom md-autoselect>
 | 
						|
      <md-tab ng-repeat="tab in tabs"
 | 
						|
              ng-disabled="tab.disabled"
 | 
						|
              label="{{tab.title}}">
 | 
						|
        <div class="demo-tab tab{{$index%4}}" style="padding: 25px; text-align: center;">
 | 
						|
          <div ng-bind="tab.content"></div>
 | 
						|
          <br/>
 | 
						|
          <md-button class="md-primary md-raised" ng-click="removeTab( tab )" ng-disabled="tabs.length <= 1">Remove Tab</md-button>
 | 
						|
        </div>
 | 
						|
      </md-tab>
 | 
						|
    </md-tabs>
 | 
						|
  </md-content>
 | 
						|
 | 
						|
  <form ng-submit="addTab(tTitle,tContent)" layout="column" class="md-padding" style="padding-top: 0;">
 | 
						|
    <div layout="row" layout-sm="column">
 | 
						|
      <div flex style="position: relative;">
 | 
						|
        <h2 class="md-subhead" style="position: absolute; bottom: 0; left: 0; margin: 0; font-weight: 500; text-transform: uppercase; line-height: 35px; white-space: nowrap;">Add a new Tab:</h2>
 | 
						|
      </div>
 | 
						|
      <md-input-container>
 | 
						|
        <label for="label">Label</label>
 | 
						|
        <input type="text" id="label" ng-model="tTitle">
 | 
						|
      </md-input-container>
 | 
						|
      <md-input-container>
 | 
						|
        <label for="content">Content</label>
 | 
						|
        <input type="text" id="content" ng-model="tContent">
 | 
						|
      </md-input-container>
 | 
						|
      <md-button class="add-tab md-primary md-raised" ng-disabled="!tTitle || !tContent" type="submit" style="margin-right: 0;">Add Tab</md-button>
 | 
						|
    </div>
 | 
						|
  </form>
 | 
						|
 | 
						|
</div>
 | 
						|
</div> |