|
24 | 24 | {contentBlock "projects-browse-introduction"}
|
25 | 25 |
|
26 | 26 | <div class="row">
|
27 |
| - <div class="col-sm-4 col-md-3 tags-ct"> |
28 |
| - <div class="btn-group btn-group-justified btn-group-xs margin-bottom" role="group"> |
29 |
| - <a href="#projects-by-topic" class="active btn btn-default" role="button" data-group="byTopic">{_ "topics"}</a> |
30 |
| - <a href="#projects-by-tech" class="btn btn-default" role="button" data-group="byTech">{_ "tech"}</a> |
31 |
| - <a href="#projects-by-event" class="btn btn-default" role="button" data-group="byEvent">{_ "events"}</a> |
32 |
| - <a href="#projects-by-event" class="btn btn-default" role="button" data-group="byStage">{_ "stages"}</a> |
33 |
| - </div> |
34 |
| - |
35 |
| - {template tagLink tagData rootUrl linkCls=""} |
36 |
| - <a class="{$linkCls}" href="{$rootUrl}?tag={$tagData.Handle}">{$tagData.Title}{if $tagData.itemsCount} <span class="badge pull-right">{$tagData.itemsCount|number_format}</span>{/if}</a> |
37 |
| - {/template} |
| 27 | + <div class="col-sm-4 col-md-3"> |
| 28 | + |
| 29 | + <form id="add-application" class="" tabindex="-1" role="dialog" aria-labelledby="add-member-title" action="/projects/{$Project->Handle}/add-application" method="POST"> |
| 30 | + <div class="radio list-group"> |
| 31 | + <label> |
| 32 | + <input type="checkbox" name="stage[]" value="Commenting" checked> |
| 33 | + <b>{_ Commenting}</b>: {Laddr\Project::getStageDescription(Commenting)} |
| 34 | + </label> |
| 35 | + </div> |
| 36 | + <div class="radio list-group"> |
| 37 | + <label> |
| 38 | + <input type="checkbox" name="stage[]" value="Bootstrapping" checked> |
| 39 | + <b>{_ Bootstrapping}</b>: {Laddr\Project::getStageDescription(Bootstrapping)} |
| 40 | + </label> |
| 41 | + </div> |
| 42 | + <div class="radio list-group"> |
| 43 | + <label> |
| 44 | + <input type="checkbox" name="stage[]" value="Prototyping" checked> |
| 45 | + <b>{_ Prototyping}</b>: {Laddr\Project::getStageDescription(Prototyping)} |
| 46 | + </label> |
| 47 | + </div> |
| 48 | + <div class="radio list-group"> |
| 49 | + <label> |
| 50 | + <input type="checkbox" name="stage[]" value="Testing" checked> |
| 51 | + <b>{_ Testing}</b>: {Laddr\Project::getStageDescription(Testing)} |
| 52 | + </label> |
| 53 | + </div> |
| 54 | + <div class="radio list-group"> |
| 55 | + <label> |
| 56 | + <input type="checkbox" name="stage[]" value="Maintaining" checked> |
| 57 | + <b>{_ Maintaining}</b>: {Laddr\Project::getStageDescription(Maintaining)} |
| 58 | + </label> |
| 59 | + </div> |
| 60 | + <div class="radio list-group"> |
| 61 | + <label> |
| 62 | + <input type="checkbox" name="stage[]" value="Drifting" checked> |
| 63 | + <b>{_ Drifting}</b>: {Laddr\Project::getStageDescription(Drifting)} |
| 64 | + </label> |
| 65 | + </div> |
| 66 | + <div class="radio list-group"> |
| 67 | + <label> |
| 68 | + <input type="checkbox" name="stage[]" value="Hibernating"> |
| 69 | + <b>{_ Hibernating}</b>: {Laddr\Project::getStageDescription(Hibernating)} |
| 70 | + </label> |
| 71 | + </div> |
| 72 | + <div class=""> |
| 73 | + <button class="btn btn-primary">{_ "Apply"}</button> |
| 74 | + </div> |
| 75 | + </form> |
38 | 76 |
|
39 |
| - <div class="tags list-group byTopic"> |
40 |
| - {foreach item=tag from=$projectsTags.byTopic} |
41 |
| - {tagLink tagData=$tag rootUrl="/projects" linkCls="list-group-item"} |
42 |
| - {/foreach} |
43 |
| - </div> |
44 |
| - <div class="tags list-group byTech" style="display: none"> |
45 |
| - {foreach item=tag from=$projectsTags.byTech} |
46 |
| - {tagLink tagData=$tag rootUrl="/projects" linkCls="list-group-item"} |
47 |
| - {/foreach} |
48 |
| - </div> |
49 |
| - <div class="tags list-group byEvent" style="display: none"> |
50 |
| - {foreach item=tag from=$projectsTags.byEvent} |
51 |
| - {tagLink tagData=$tag rootUrl="/projects" linkCls="list-group-item"} |
52 |
| - {/foreach} |
53 |
| - </div> |
54 |
| - <div class="tags list-group byStage" style="display: none"> |
55 |
| - {foreach item=stage from=$projectsStages} |
56 |
| - <a class="list-group-item" href="/projects?stage={$stage.Stage}">{$stage.Stage} <span class="badge pull-right">{$stage.itemsCount|number_format}</span></a> |
57 |
| - {/foreach} |
| 77 | + |
| 78 | + <div class="tags-ct"> |
| 79 | + <div class="btn-group btn-group-justified btn-group-xs margin-bottom" role="group"> |
| 80 | + <a href="#projects-by-topic" class="active btn btn-default" role="button" data-group="byTopic">{_ "topics"}</a> |
| 81 | + <a href="#projects-by-tech" class="btn btn-default" role="button" data-group="byTech">{_ "tech"}</a> |
| 82 | + <a href="#projects-by-event" class="btn btn-default" role="button" data-group="byEvent">{_ "events"}</a> |
| 83 | + </div> |
| 84 | + |
| 85 | + {template tagLink tagData rootUrl linkCls=""} |
| 86 | + <a class="{$linkCls}" href="{$rootUrl}?tag={$tagData.Handle}">{$tagData.Title}{if $tagData.itemsCount} <span class="badge pull-right">{$tagData.itemsCount|number_format}</span>{/if}</a> |
| 87 | + {/template} |
| 88 | + |
| 89 | + <div class="tags list-group byTopic"> |
| 90 | + {foreach item=tag from=$projectsTags.byTopic} |
| 91 | + {tagLink tagData=$tag rootUrl="/projects" linkCls="list-group-item"} |
| 92 | + {/foreach} |
| 93 | + </div> |
| 94 | + <div class="tags list-group byTech" style="display: none"> |
| 95 | + {foreach item=tag from=$projectsTags.byTech} |
| 96 | + {tagLink tagData=$tag rootUrl="/projects" linkCls="list-group-item"} |
| 97 | + {/foreach} |
| 98 | + </div> |
| 99 | + <div class="tags list-group byEvent" style="display: none"> |
| 100 | + {foreach item=tag from=$projectsTags.byEvent} |
| 101 | + {tagLink tagData=$tag rootUrl="/projects" linkCls="list-group-item"} |
| 102 | + {/foreach} |
| 103 | + </div> |
58 | 104 | </div>
|
59 | 105 | </div>
|
60 | 106 | <div class="col-sm-8 col-md-9">
|
|
0 commit comments