1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00

move templates from project_elements to projects

This commit is contained in:
Sylvain 2020-06-01 17:52:20 +02:00
parent b243486444
commit cc3ed864d0
4 changed files with 14 additions and 14 deletions

View File

@ -7,20 +7,20 @@
</div> </div>
<div class="col-xs-10 col-sm-10 col-md-8 b-l"> <div class="col-xs-10 col-sm-10 col-md-8 b-l">
<section class="heading-title"> <section class="heading-title">
<h1 translate>{{ 'app.admin.project_elements.projects_elements_management' }}</h1> <h1 translate>{{ 'app.admin.projects.projects_settings' }}</h1>
</section> </section>
</div> </div>
<div class="col-xs-12 col-sm-12 col-md-3 b-t hide-b-md"> <div class="col-xs-12 col-sm-12 col-md-3 b-t hide-b-md">
<section class="heading-actions wrapper"> <section class="heading-actions wrapper">
<a class="btn btn-ng btn-warning b-2x rounded m-t-sm upper text-sm abuses-button" ui-sref="app.admin.manage_abuses" role="button" translate>{{ 'app.admin.project_elements.manage_abuses' }}</a> <a class="btn btn-ng btn-warning b-2x rounded m-t-sm upper text-sm abuses-button" ui-sref="app.admin.manage_abuses" role="button" translate>{{ 'app.admin.projects.manage_abuses' }}</a>
</section> </section>
</div> </div>
</div> </div>
</section> </section>
<section class="m-lg project-elements" <section class="m-lg projects"
ui-tour="project-elements" ui-tour="projects"
ui-tour-backdrop="true" ui-tour-backdrop="true"
ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'" ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'"
ui-tour-use-hotkeys="true" ui-tour-use-hotkeys="true"
@ -30,13 +30,13 @@
<div class="col-md-12"> <div class="col-md-12">
<uib-tabset justified="true"> <uib-tabset justified="true">
<uib-tab heading="{{ 'app.admin.project_elements.materials' | translate }}"> <uib-tab heading="{{ 'app.admin.projects.materials' | translate }}">
<ng-include src="'<%= asset_path "admin/project_elements/materials.html" %>'"></ng-include> <ng-include src="'<%= asset_path "admin/project_elements/materials.html" %>'"></ng-include>
</uib-tab> </uib-tab>
<uib-tab heading="{{ 'app.admin.project_elements.themes' | translate }}"> <uib-tab heading="{{ 'app.admin.projects.themes' | translate }}">
<ng-include src="'<%= asset_path "admin/project_elements/themes.html" %>'"></ng-include> <ng-include src="'<%= asset_path "admin/project_elements/themes.html" %>'"></ng-include>
</uib-tab> </uib-tab>
<uib-tab heading="{{ 'app.admin.project_elements.licences' | translate }}"> <uib-tab heading="{{ 'app.admin.projects.licences' | translate }}">
<ng-include src="'<%= asset_path "admin/project_elements/licences.html" %>'"></ng-include> <ng-include src="'<%= asset_path "admin/project_elements/licences.html" %>'"></ng-include>
</uib-tab> </uib-tab>
</uib-tabset> </uib-tabset>

View File

@ -1,10 +1,10 @@
<button type="button" class="btn btn-warning m-t m-b" ng-click="addLicence()" translate>{{ 'app.admin.project_elements.add_a_new_licence' }}</button> <button type="button" class="btn btn-warning m-t m-b" ng-click="addLicence()" translate>{{ 'app.admin.projects.add_a_new_licence' }}</button>
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th style="width:30%" translate>{{ 'app.admin.project_elements.name' }}</th> <th style="width:30%" translate>{{ 'app.admin.projects.name' }}</th>
<th style="width:50%" class="hidden-xs" translate>{{ 'app.admin.project_elements.description' }}</th> <th style="width:50%" class="hidden-xs" translate>{{ 'app.admin.projects.description' }}</th>
<th style="width:20%"></th> <th style="width:20%"></th>
</tr> </tr>
</thead> </thead>

View File

@ -1,9 +1,9 @@
<button type="button" class="btn btn-warning m-b m-t" ng-click="addComponent()" translate>{{ 'app.admin.project_elements.add_a_material' }}</button> <button type="button" class="btn btn-warning m-b m-t" ng-click="addComponent()" translate>{{ 'app.admin.projects.add_a_material' }}</button>
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th style="width:80%" translate>{{ 'app.admin.project_elements.name' }}</th> <th style="width:80%" translate>{{ 'app.admin.projects.name' }}</th>
<th style="width:20%"></th> <th style="width:20%"></th>
</tr> </tr>
</thead> </thead>

View File

@ -1,9 +1,9 @@
<button type="button" class="btn btn-warning m-t m-b" ng-click="addTheme()" translate>{{ 'app.admin.project_elements.add_a_new_theme' }}</button> <button type="button" class="btn btn-warning m-t m-b" ng-click="addTheme()" translate>{{ 'app.admin.projects.add_a_new_theme' }}</button>
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th style="width:80%" translate>{{ 'app.admin.project_elements.name' }}</th> <th style="width:80%" translate>{{ 'app.admin.projects.name' }}</th>
<th style="width:20%"></th> <th style="width:20%"></th>
</tr> </tr>
</thead> </thead>