Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Lenny <jlenny@gitlab.com>2019-02-14 17:30:33 +0300
committerJason Lenny <jlenny@gitlab.com>2019-02-27 15:02:53 +0300
commit2ee035ded4fb44db61613209ef9306cc34ef109d (patch)
tree6710ed5cb6a6c615ddfda2235fe99637b26be945
parent61c1509cc992959ac5021d10825d5dbf9dd2c091 (diff)
Initial commit with boilerplate
-rw-r--r--app/assets/javascripts/projects/project_new.js8
-rw-r--r--lib/gitlab/project_template.rb2
-rw-r--r--spec/lib/gitlab/project_template_spec.rb2
3 files changed, 12 insertions, 0 deletions
diff --git a/app/assets/javascripts/projects/project_new.js b/app/assets/javascripts/projects/project_new.js
index 1ade1811033..a3eeba305ae 100644
--- a/app/assets/javascripts/projects/project_new.js
+++ b/app/assets/javascripts/projects/project_new.js
@@ -121,6 +121,14 @@ const bindEvents = () => {
text: 'NodeJS Express',
icon: '.template-option .icon-express',
},
+ ios-swift: {
+ text: 'iOS',
+ icon: '.template-option svg.icon-ios-swift',
+ },
+ android: {
+ text: 'Android',
+ icon: '.template-option svg.icon-android',
+ },
spring: {
text: 'Spring',
icon: '.template-option .icon-spring',
diff --git a/lib/gitlab/project_template.rb b/lib/gitlab/project_template.rb
index 9b6ff602fcd..5275c812ce6 100644
--- a/lib/gitlab/project_template.rb
+++ b/lib/gitlab/project_template.rb
@@ -30,6 +30,8 @@ module Gitlab
ProjectTemplate.new('express', 'NodeJS Express', _('Includes an MVC structure to help you get started.'), 'https://gitlab.com/gitlab-org/project-templates/express', 'illustrations/logos/express.svg'),
ProjectTemplate.new('dotnetcore', '.NET Core', _('A .NET Core console application template, customizable for any .NET Core project'), 'https://gitlab.com/gitlab-org/project-templates/dotnetcore', 'illustrations/logos/dotnet.svg'),
ProjectTemplate.new('gomicro', 'Go Micro', _('Go Micro is a framework for micro service development.'), 'https://gitlab.com/gitlab-org/project-templates/go-micro'),
+ ProjectTemplate.new('ios-swift', 'iOS (Swift)', _('A ready-to-go iOS Swift app.'), 'https://gitlab.com/TO_BE_DETERMINED'),
+ ProjectTemplate.new('android', 'Android', _('A ready-to-go Android app.'), 'https://gitlab.com/TO_BE_DETERMINED'),
ProjectTemplate.new('hugo', 'Pages/Hugo', _('Everything you need to create a GitLab Pages site using Hugo.'), 'https://gitlab.com/pages/hugo'),
ProjectTemplate.new('jekyll', 'Pages/Jekyll', _('Everything you need to create a GitLab Pages site using Jekyll.'), 'https://gitlab.com/pages/jekyll'),
ProjectTemplate.new('plainhtml', 'Pages/Plain HTML', _('Everything you need to create a GitLab Pages site using plain HTML.'), 'https://gitlab.com/pages/plain-html'),
diff --git a/spec/lib/gitlab/project_template_spec.rb b/spec/lib/gitlab/project_template_spec.rb
index 115097e0d26..ea18ec656f8 100644
--- a/spec/lib/gitlab/project_template_spec.rb
+++ b/spec/lib/gitlab/project_template_spec.rb
@@ -9,6 +9,8 @@ describe Gitlab::ProjectTemplate do
described_class.new('express', 'NodeJS Express', 'Includes an MVC structure, .gitignore, Gemfile, and more great stuff', 'https://gitlab.com/gitlab-org/project-templates/express'),
described_class.new('dotnetcore', '.NET Core', 'A .NET Core console application template, customizable for any .NET Core project', 'https://gitlab.com/gitlab-org/project-templates/dotnetcore'),
described_class.new('gomicro', 'Go Micro', 'Go Micro is a framework for micro service development.', 'https://gitlab.com/gitlab-org/project-templates/go-micro'),
+ described_class.new('ios-swift', 'iOS (Swift)', 'A ready-to-go iOS Swift app.', 'https://gitlab.com/TO_BE_DETERMINED'),
+ described_class.new('android', 'Android', 'A ready-to-go Android app.', 'https://gitlab.com/TO_BE_DETERMINED'),
described_class.new('hugo', 'Pages/Hugo', 'Everything you need to get started using a Hugo Pages site.', 'https://gitlab.com/pages/hugo'),
described_class.new('jekyll', 'Pages/Jekyll', 'Everything you need to get started using a Jekyll Pages site.', 'https://gitlab.com/pages/jekyll'),
described_class.new('plainhtml', 'Pages/Plain HTML', 'Everything you need to get started using a plain HTML Pages site.', 'https://gitlab.com/pages/plain-html'),