From 2ee035ded4fb44db61613209ef9306cc34ef109d Mon Sep 17 00:00:00 2001 From: Jason Lenny Date: Thu, 14 Feb 2019 14:30:33 +0000 Subject: Initial commit with boilerplate --- app/assets/javascripts/projects/project_new.js | 8 ++++++++ lib/gitlab/project_template.rb | 2 ++ spec/lib/gitlab/project_template_spec.rb | 2 ++ 3 files changed, 12 insertions(+) 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'), -- cgit v1.2.3