Skip to content

Commit

Permalink
remove travis and fix projects and index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushmanwebdeveloper authored and andibraeu committed Dec 16, 2023
1 parent 5d26ac2 commit 83cc819
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 119 deletions.
62 changes: 0 additions & 62 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ license:
short_form: GNU AGPL v3.0
organization: freifunk.net
description: A website that showcases interesting projects, using Angular JS.
baseurl: "/freifunk-projects" # the subpath of your site, e.g. /blog
url: "https://ayushmanwebdeveloper.github.io" # the base hostname & protocol for your site
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://projects.freifunk.net/" # the base hostname & protocol for your site
githuburl: "https://github.com/freifunk/projects"

chat:
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</li>
<li ng-class="{active:nc.isSet('/completed')}">
<a ng-click="nc.setView('/completed')" onmousedown="keyPressed(event, '#/completed')" onerror="">
Completed Projects
COMPLETED PROJECTS
</a>
</li>
<li><a href="{{ site.githuburl }}" target="_blank" title="Fork us on GitHub"><i class="fa fa-github fa-2x"
Expand Down
166 changes: 112 additions & 54 deletions partials/tabs/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<div class="col m8 col offset-m2 s12">
<div class="filter-projects-inputs">
<div class="input-field searchbar">
<input ng-model="searchText" placeholder="Search for a project" id="search" type="search" class="validate"> </div>
<input ng-model="searchText" placeholder="Search for a project" id="search" type="search" class="validate">
</div>
<div class="filter-btn apply-flex center-content">
<a id="filters" class="waves-effect waves-light btn-large" ng-click="toggleFiltersDisplay()">
<b>Filter Projects</b>
Expand All @@ -24,7 +25,8 @@ <h4><b>Filter Projects</b></h4>
<div class="filters-inputs apply-flex">
<div class="filter-select-fields apply-flex evenly-spread-content">
<label class="project-filter" ng-repeat="(filter, metadata) in projectFilterOptions">
<select class="{{ filter }}-selector" ng-model="metadata.model" ng-change="setModelList(filter, metadata.model)" name="{{ filter }}-selector" multiple>
<select class="{{ filter }}-selector" ng-model="metadata.model"
ng-change="setModelList(filter, metadata.model)" name="{{ filter }}-selector" multiple>
<option value="" disabled>{{ metadata.label }}</option>
<option value="{{ value }}" ng-repeat="(key, value) in metadata.options">{{ key }}</option>
</select>
Expand All @@ -51,30 +53,60 @@ <h4><b>Filter Projects</b></h4>
<div class="no-projects-found" ng-show="projectList.length === 0">
{{ message.noProjectsFound }}
</div>
<div ng-repeat="project in projectList | filter: searchText | orderBy: sortOrder" class="card child">
<div class="card-content waves-effect" ng-click="lc.showProject(project)">
<div class="card-title center">{{ project.name }}</div>
<div btf-markdown="project.desc" class="markdown"></div>
<div ng-repeat="project in projectList | filter: searchText | orderBy: sortOrder">
<div class="card child" ng-if="project.status != 'completed'">
<div class="card-content waves-effect" ng-click="lc.showProject(project)">
<div class="card-title center">{{ project.name }}</div>
<div btf-markdown="project.desc" class="markdown"></div>
</div>
<div ng-show="project.mentors.length>0" class="card-action"> <span
ng-repeat="mentor in project.mentors | limitTo:4"><a
ng-href="https://github.com/{{mentor.github_handle}}" class="mentors-github-id" target="_blank">{{
mentor.name }}</a></span> </div>
<div ng-show="project.difficulty.length>0" class="project-overview-element clickable card-action"> <span
ng-click="search(project.difficulty)" class="pr-element-detail chip">{{ project.difficulty }}</span>
<span ng-show="project.size.length>0" ng-click="search(project.size)"
class="pr-element-detail chip">{{ project.size }}</span> <br>
</div>
<div ng-show="project.initiatives.length>0" class="project-overview-element clickable card-action">
<span ng-click="search(initiative)" class="pr-element-detail chip"
ng-repeat="initiative in project.initiatives">{{ initiative }}</span>
<br>
</div>
<div ng-show="project.collaborating_projects.length>0 && project.status.length<1"
class="project-overview-element clickable card-action"> <span ng-click="search(project)"
class="pr-element-detail chip" ng-repeat="project in project.collaborating_projects">{{ project
}}</span>
<br>
</div>
<div ng-show="project.status=='suspended'" class="purple white-text flag card-action center"> <span
class="status-title">SUSPENDED</span>
<br> <span class="tiny">At the moment this project is suspended. Come back later if you're still
interested or contact the community.</span>
</div>
<div ng-show="project.status.indexOf('in_review') != -1 && project.mentors.length>=1"
class="blue white-text card-action center"> <span class="status-title">IN REVIEW</span>
<br> <span class="tiny">This idea is currently in review. Please visit this idea later, too, as there
may be some changes.</span>
</div>
<div ng-show="project.status.indexOf('in_progress') != -1 && project.mentors.length>=1"
class="yellow black-text card-action center"> <span class="status-title">IN PROGRESS</span>
<br> <span class="tiny">Work on this project is going on at full pace!</span>
</div>
<div ng-show="project.status.indexOf('in_progress') != -1"
class="yellow black-text flag card-action center"> <span class="status-title">IN PROGRESS</span>
<br> <span class="tiny">Work on this project is going on at full pace!</span>
</div>
<div ng-show="project.status.indexOf('completed') != -1 && project.mentors.length>=1"
class="green white-text card-action center"> <span class="status-title">COMPLETED</span>
<br> <span class="tiny">Hooray!</span>
</div>
<div ng-show="project.status.indexOf('disabled') != -1 || project.mentors.length<1"
class="grey white-text card-action center"> <span class="status-title">DISABLED</span>
<br> <span class="tiny">This project is currently unavailable. See project description for
details</span>
</div>
</div>
<div ng-show="project.mentors.length>0" class="card-action"> <span ng-repeat="mentor in project.mentors | limitTo:4"><a ng-href="https://github.com/{{mentor.github_handle}}" class="mentors-github-id" target="_blank">{{ mentor.name }}</a></span> </div>
<div ng-show="project.difficulty.length>0" class="project-overview-element clickable card-action"> <span ng-click="search(project.difficulty)" class="pr-element-detail chip">{{ project.difficulty }}</span>
<span ng-show="project.size.length>0" ng-click="search(project.size)" class="pr-element-detail chip">{{ project.size }}</span> <br> </div>
<div ng-show="project.initiatives.length>0" class="project-overview-element clickable card-action"> <span ng-click="search(initiative)" class="pr-element-detail chip" ng-repeat="initiative in project.initiatives">{{ initiative }}</span>
<br> </div>
<div ng-show="project.collaborating_projects.length>0 && project.status.length<1" class="project-overview-element clickable card-action"> <span ng-click="search(project)" class="pr-element-detail chip" ng-repeat="project in project.collaborating_projects">{{ project }}</span>
<br> </div>
<div ng-show="project.status=='suspended'" class="purple white-text flag card-action center"> <span class="status-title">SUSPENDED</span>
<br> <span class="tiny">At the moment this project is suspended. Come back later if you're still interested or contact the community.</span> </div>
<div ng-show="project.status.indexOf('in_review') != -1 && project.mentors.length>=1" class="blue white-text card-action center"> <span class="status-title">IN REVIEW</span>
<br> <span class="tiny">This idea is currently in review. Please visit this idea later, too, as there may be some changes.</span> </div>
<div ng-show="project.status.indexOf('in_progress') != -1 && project.mentors.length>=1" class="yellow black-text card-action center"> <span class="status-title">IN PROGRESS</span>
<br> <span class="tiny">Work on this project is going on at full pace!</span> </div>
<div ng-show="project.status.indexOf('in_progress') != -1" class="yellow black-text flag card-action center"> <span class="status-title">IN PROGRESS</span>
<br> <span class="tiny">Work on this project is going on at full pace!</span> </div>
<div ng-show="project.status.indexOf('completed') != -1 && project.mentors.length>=1" class="green white-text card-action center"> <span class="status-title">COMPLETED</span>
<br> <span class="tiny">Hooray!</span> </div>
<div ng-show="project.status.indexOf('disabled') != -1 || project.mentors.length<1" class="grey white-text card-action center"> <span class="status-title">DISABLED</span>
<br> <span class="tiny">This project is currently unavailable. See project description for details</span> </div>
</div>
</div>
</div>
Expand All @@ -90,60 +122,86 @@ <h4><b>Filter Projects</b></h4>
<ul class="req-ul">
<li btf-markdown="req" class="milestones" ng-repeat="req in currentProject.requirements"></li>
</ul>
<br> </div>
<br>
</div>
<div ng-show="currentProject.initiatives.length>0">
<div class="small-heading uppercase">Initiatives</div> <span class="chip" ng-repeat="initiative in currentProject.initiatives">{{ initiative }}</span>
<br> </div>
<div class="small-heading uppercase">Initiatives</div> <span class="chip"
ng-repeat="initiative in currentProject.initiatives">{{ initiative }}</span>
<br>
</div>
<div ng-show="currentProject.collaborating_projects.length>0">
<div class="small-heading uppercase">Collaborating projects</div> <span class="pr-element-detail chip" ng-repeat="project in currentProject.collaborating_projects">{{ project }}</span>
<br> </div>
<div class="small-heading uppercase">Collaborating projects</div> <span class="pr-element-detail chip"
ng-repeat="project in currentProject.collaborating_projects">{{ project }}</span>
<br>
</div>
<div ng-show="currentProject.tags.length>0">
<div class="small-heading uppercase">Tags</div> <span class="pr-element-detail chip" ng-repeat="tags in currentProject.tags">{{ tags }}</span> </div>
<div class="small-heading uppercase">Tags</div> <span class="pr-element-detail chip"
ng-repeat="tags in currentProject.tags">{{ tags }}</span>
</div>
<div ng-show="currentProject.difficulty" class="project-detail-element">
<div class="small-heading uppercase">Difficulty</div> <span class="pr-element-detail chip">{{ currentProject.difficulty }}</span> </div>
<div class="small-heading uppercase">Difficulty</div> <span class="pr-element-detail chip">{{
currentProject.difficulty }}</span>
</div>
<div ng-show="currentProject.size" class="project-detail-element">
<div class="small-heading uppercase">Size</div> <span class="pr-element-detail chip">{{ currentProject.size }}</span> </div>
<div class="small-heading uppercase">Size</div> <span class="pr-element-detail chip">{{ currentProject.size
}}</span>
</div>
<div ng-show="currentProject.mentors.length>0" class="project-detail-element">
<div class="small-heading uppercase">Mentors</div>
<span class="pr-element-detail chip" ng-repeat="mentor in currentProject.mentors">
<a ng-href="https://github.com/{{mentor.github_handle}}" class="mentors-github-id chip" target="_blank">@{{ mentor.name }}</a>
</span>
<span class="pr-element-detail chip" ng-repeat="mentor in currentProject.mentors">
<a ng-href="https://github.com/{{mentor.github_handle}}" class="mentors-github-id chip" target="_blank">@{{
mentor.name }}</a>
</span>
</div>
<div ng-show="currentProject.mentors.length>0" class="project-detail-element">
<div class="small-heading uppercase">Contact Mentors</div>
<span class="pr-element-detail chip" ng-repeat="mentor in currentProject.mentors">
<a ng-href="https://github.com/{{mentor.github_handle}}" class="mentors-github-id chip" target="_blank">@{{ mentor.name }}</a>
<a ng-if="mentor.email" ng-href="mailto:{{mentor.email}}" class="mentors-contact" target="_blank"><i class="fa-solid fa-envelope" style="color:#555555"></i></a>&nbsp;
<div ng-if="mentor.other_chat_options" ng-repeat="chat in mentor.other_chat_options" style="display: inline-block;">
<a ng-if="chat" ng-href="{{chat}}" class="mentor-contact" target="_blank"><i class="fa-solid fa-comment" style="color:#555555"></i></a>
<a ng-href="https://github.com/{{mentor.github_handle}}" class="mentors-github-id chip" target="_blank">@{{
mentor.name }}</a>
<a ng-if="mentor.email" ng-href="mailto:{{mentor.email}}" class="mentors-contact" target="_blank"><i
class="fa-solid fa-envelope" style="color:#555555"></i></a>&nbsp;
<div ng-if="mentor.other_chat_options" ng-repeat="chat in mentor.other_chat_options"
style="display: inline-block;">
<a ng-if="chat" ng-href="{{chat}}" class="mentor-contact" target="_blank"><i class="fa-solid fa-comment"
style="color:#555555"></i></a>
</div>
</span>
</div>
<div ng-show="currentProject.developers_involved.length>0" class="project-detail-element">
<div class="small-heading uppercase">Developers Involved</div> <span class="pr-element-detail chip" ng-repeat="developers in currentProject.developers_involved"><a ng-href="https://github.com/{{developers}}" class="developers-github-id" target="_blank">@{{developers}}</a></span> </div>
<div class="small-heading uppercase">Developers Involved</div> <span class="pr-element-detail chip"
ng-repeat="developers in currentProject.developers_involved"><a ng-href="https://github.com/{{developers}}"
class="developers-github-id" target="_blank">@{{developers}}</a></span>
</div>
<div ng-show="currentProject.issues.length>0" class="project-detail-element">
<div class="small-heading uppercase">Related issues</div> <span ng-click="redirect(issue)" class="pr-element-detail chip clickable" ng-repeat="issue in currentProject.issues">{{ issue | format_issue }}</span>
<div class="small-heading uppercase">Related issues</div> <span ng-click="redirect(issue)"
class="pr-element-detail chip clickable" ng-repeat="issue in currentProject.issues">{{ issue | format_issue
}}</span>
<br>
<br>
<br>
<br> </div>
<br>
</div>
</div>
<div class="col m8 dashboard">
<div btf-markdown="currentProject.content" class="description markdown"></div>
<br>
<br> </div>
<br>
</div>
</div>
</div>
<i ng-show="currentProject" ng-click="moveToNext('left')" class="fa fa-arrow-circle-left arrow-click arrow-move-left" aria-hidden="true"></i>
<i ng-show="currentProject" ng-click="moveToNext('right')" class="fa fa-arrow-circle-right arrow-click arrow-move-right" aria-hidden="true"></i>
<i ng-show="currentProject" ng-click="moveToNext('left')" class="fa fa-arrow-circle-left arrow-click arrow-move-left"
aria-hidden="true"></i>
<i ng-show="currentProject" ng-click="moveToNext('right')"
class="fa fa-arrow-circle-right arrow-click arrow-move-right" aria-hidden="true"></i>
</section>


<script>
$(document).ready(function(){
$(document).ready(function () {
$('.explore').click(function () {
$('html,body').animate({
scrollTop: $(".showcase").offset().top},
scrollTop: $(".showcase").offset().top
},
'slow');
})

Expand All @@ -156,13 +214,13 @@ <h4><b>Filter Projects</b></h4>
out_duration: 200, // Transition out duration
starting_top: '10%', // Starting top style attribute
ending_top: '10%', // Ending top style attribute
ready:function(modal, trigger) { // Callback for Modal open. Modal and trigger parameters available.
ready: function (modal, trigger) { // Callback for Modal open. Modal and trigger parameters available.
$(this).focus();
},complete:function(){
angular.element('#projectCtrl').scope().updateLink();
angular.element('#projectCtrl').scope().$apply();
} // Callback for Modal close
}, complete: function () {
angular.element('#projectCtrl').scope().updateLink();
angular.element('#projectCtrl').scope().$apply();
} // Callback for Modal close
}
);
})
</script>
</script>

0 comments on commit 83cc819

Please sign in to comment.