-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tabs: Fetch and Display forms from webservices
The forms uploaded by developers from community website, are being fetched from Webservices where the request to add a new form is being processed. If a valid request is created, the form is added to the database. Therefore, we can fetch those forms and display them on the projects website. Closes #284
- Loading branch information
Showing
4 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!DOCTYPE html> | ||
<div class="main-content container-fluid"> | ||
<div class="row"> | ||
<div class="col m8 offset-m2"> | ||
<h1 class="fine center">Open Source Forms</h1> | ||
<br> | ||
</div> | ||
</div> | ||
</div> | ||
<section> | ||
<div class="container"> | ||
<table class="striped" ng-show="osforms.formsList.length !== 0" style="margin-bottom:20px;"> | ||
<thead> | ||
<tr class="center-align-text"> | ||
<th>Title</th> | ||
<th>Submissions Till</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr ng-repeat="form in osforms.formsList"> | ||
<td> | ||
<div> | ||
<strong><a href="{{ form.url }}" data-proofer-ignore>{{ form.title }}</a></strong> | ||
<div style="padding-left: 10px;"> | ||
<p ng-show="form.description !== null">{{ form.description }}</p> | ||
<p ng-show="form.user !== null"> | ||
Uploaded by: <a href="https://github.com/{{ form.user }}" data-proofer-ignore>{{ form.user }}</a> | ||
</p> | ||
</div> | ||
</div> | ||
</td> | ||
<td> | ||
{{ form.expiry_date | date:"medium" }} | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<div class="apply-flex" ng-show="osforms.formsList.length === 0" style="padding: 5% 0;"> | ||
<h6> | ||
No forms have been uploaded, yet! If you are already a member of organization and a developer, | ||
you can share it with us on <a href="https://community.coala.io/">Community website</a> | ||
by logging-in. | ||
</h6> | ||
</div> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters