index.php 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798
  1. <?php
  2. session_start();
  3. if (isset($_SESSION['userlogin'], $_SESSION['userfirstname'])) {
  4. $email = $_SESSION['userlogin'];
  5. $name = $_SESSION['userfirstname'];
  6. if (isset($_SESSION['canvas_id'])) {
  7. $canvas_id = $_SESSION['canvas_id'];
  8. }
  9. }
  10. ?>
  11. <!DOCTYPE html>
  12. <html lang="en">
  13. <head>
  14. <meta charset="UTF-8">
  15. <meta name="viewport" content="width=device-width, initial-scale=1">
  16. <title>The Ethics Canvas</title>
  17. <!-- favicons -->
  18. <link rel="icon" href="../icon/favicon.ico"/>
  19. <!-- Bootstrap -->
  20. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
  21. <!-- Google font -->
  22. <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
  23. <!-- App style -->
  24. <link rel="stylesheet" type="text/css" href="css/canvas.css">
  25. <!-- php variables have to be retieved here as js variables -->
  26. <script type="text/javascript">
  27. var email_save_canvas = '<?php echo $email; ?>';
  28. var user_save_canvas = '<?php echo $name; ?>';
  29. var current_canvas_id = '<?php echo $canvas_id; ?>';
  30. </script>
  31. </head>
  32. <body>
  33. <div class="container-fluid">
  34. <form class="canvas-form form" action="mpdf/canvas-pdf.php" method="post" target="_blank">
  35. <!-- Canvas Form Header -->
  36. <div class="form-header row text-center">
  37. <div class="col-md-3 ">
  38. <!--logo -->
  39. <h1 class="page_title ">
  40. <a class="logo" href="../index.html">
  41. <img src="icons/logo-black-text.svg" alt="Online Ethics Canvas"/>
  42. </a>
  43. </h1>
  44. </div>
  45. <div class="col-md-3 ">
  46. <label class="project_title">Project Title</label>
  47. <input class="proj_title" name="field_00[]" type="text"/>
  48. </div>
  49. <div class="col-md-3 ">
  50. <label class="project_date">Date</label>
  51. <input class="proj_date" name="field_00[]" type="date"/>
  52. </div>
  53. <!-- login coming soon -->
  54. <div class="col-md-3 ">
  55. <?php if (!empty($name)) { ?>
  56. <!-- bootstrap dropdown component -->
  57. <div class="dropdown user-profile">
  58. <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
  59. <img src="../icon/profile.svg"/><span><?php echo $name; ?></span>
  60. <span class="caret"></span>
  61. </button>
  62. <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
  63. <li><a id="toDashboard" href="php/dashboard.php">Your Canvases</a></li>
  64. <!-- <li><a href="#">Something else here</a></li> -->
  65. <li role="separator" class="divider"></li>
  66. <li><a id="logout" href="#">Log Out</a></li>
  67. </ul>
  68. </div>
  69. <?php } ?>
  70. </div>
  71. </div>
  72. <!-- LAYOUT -->
  73. <!-- ================ 8/5 col=================== -->
  74. <div class="canvas-box">
  75. <div class="masonry-layout8-5" id="8-5-col-layout">
  76. <div class="masonry-layout__panel ">
  77. <div class="card field_01 masonry-layout__panel-content bg--purple ">
  78. <h2 class="field-title">
  79. <!-- FIELD 1 -->
  80. Individuals Affected
  81. </h2>
  82. <p class="intro">
  83. Relevant types of individual stakeholders affected by the project, such as men/women, user/non-user, age, category, etc.
  84. </p>
  85. <!-- Into text toggler -->
  86. <button type="button" class="intro-toggle">
  87. <!-- glyphicon glyphicon-minus-sign -->
  88. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  89. <span class="intro-toggle-text">Hide description</span>
  90. </button>
  91. <!-- Item list in the field -->
  92. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  93. <ul id="field_01" class="item_list sortable connectedList">
  94. <!-- html format of the added items: -->
  95. <!-- <li class="added_item">
  96. <span class=" handle glyphicon glyphicon-th"></span>
  97. <span class="glyphicon glyphicon-trash remove"></span>
  98. <textarea name="field_01[]">Item 1</textarea>
  99. </li> -->
  100. </ul>
  101. <!-- The Box With All User input Things -->
  102. <div class="add_box">
  103. <!-- # Add idea link -->
  104. <a class="add-idea" href="#">
  105. Add an idea
  106. </a>
  107. <!-- # User Input -->
  108. <div class="user-input">
  109. <label>Your Idea</label><br>
  110. <p>
  111. <textarea data-limit-rows="true" class="new_item expandable" rows="2" maxlength="100" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  112. </p>
  113. <p class="chars-count">
  114. <span class="chars">100</span>
  115. characters remaining</p>
  116. <button type="button" class="add_btn">Add</button>
  117. </div>
  118. <!-- end of user input -->
  119. </div>
  120. <!-- end of add_box-->
  121. </div>
  122. <!-- end of .card -->
  123. </div>
  124. <div class="masonry-layout__panel ">
  125. <div class="card field_05 masonry-layout__panel-content bg--blue">
  126. <h2 class="field-title">
  127. <!-- FIELD 5 -->
  128. Changes in Behaviour
  129. </h2>
  130. <p class="intro">
  131. Problematic differences in behaviour such as differences in habits, time schedules, choice of activities, etc.</p>
  132. <!-- Into text toggler -->
  133. <button type="button" class="intro-toggle">
  134. <!-- glyphicon glyphicon-minus-sign -->
  135. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  136. <span class="intro-toggle-text">Hide description</span>
  137. </button>
  138. <!-- Item list in the field -->
  139. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  140. <ul id="field_05" class="item_list sortable connectedList">
  141. <!-- html format of the added items: -->
  142. <!-- <li class="added_item">
  143. <span class=" handle glyphicon glyphicon-th"></span>
  144. <span class="glyphicon glyphicon-trash remove"></span>
  145. <textarea name="field_05[]">Item 1</textarea>
  146. </li> -->
  147. </ul>
  148. <!-- The Box With All User input Things -->
  149. <div class="add_box">
  150. <!-- # Add idea link -->
  151. <a class="add-idea" href="#">
  152. Add an idea
  153. </a>
  154. <!-- # User Input -->
  155. <div class="user-input">
  156. <label>Your Idea</label><br>
  157. <p>
  158. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  159. </p>
  160. <p class="chars-count">
  161. <span class="chars">100</span>
  162. characters remaining</p>
  163. <button type="button" class="add_btn">Add</button>
  164. </div>
  165. <!-- end of user input -->
  166. </div>
  167. <!-- end of add_box-->
  168. <!-- the field id icons -->
  169. </div>
  170. <!-- end of .card -->
  171. </div>
  172. <div class="masonry-layout__panel">
  173. <div class="card field_06 masonry-layout__panel-content bg--green ">
  174. <h2 class="field-title">
  175. <!-- Field 6 -->
  176. Changes in Relations
  177. </h2>
  178. <p class="intro">
  179. Problematic changes in relations between people, such ways of communication, frequency of interpersonal contact etc.</p>
  180. <!-- Into text toggler -->
  181. <button type="button" class="intro-toggle">
  182. <!-- glyphicon glyphicon-minus-sign -->
  183. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  184. <span class="intro-toggle-text">Hide description</span>
  185. </button>
  186. <!-- Item list in the field -->
  187. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  188. <ul id="field_06" class="item_list sortable connectedList">
  189. <!-- html format of the added items: -->
  190. <!-- <li class="added_item">
  191. <span class=" handle glyphicon glyphicon-th"></span>
  192. <span class="glyphicon glyphicon-trash remove"></span>
  193. <textarea name="field_06[]">Item 1</textarea>
  194. </li> -->
  195. </ul>
  196. <!-- The Box With All User input Things -->
  197. <div class="add_box">
  198. <!-- # Add idea link -->
  199. <a class="add-idea" href="#">
  200. Add an idea
  201. </a>
  202. <!-- # User Input -->
  203. <div class="user-input">
  204. <label>Your Idea</label><br>
  205. <p>
  206. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  207. </p>
  208. <p class="chars-count">
  209. <span class="chars">100</span>
  210. characters remaining</p>
  211. <button type="button" class="add_btn">Add</button>
  212. </div>
  213. <!-- end of user input -->
  214. </div>
  215. <!-- end of add_box-->
  216. </div>
  217. <!-- end of .card -->
  218. </div>
  219. <div class="masonry-layout__panel">
  220. <div class="card field_11 masonry-layout__panel-content bg--green1 ">
  221. <h2 class="field-title">
  222. <!-- Field 11 -->
  223. Social Conflicts
  224. </h2>
  225. <p class="intro">
  226. Possible social conflicts that could be caused by the project, such as labour conflicts, minority conflicts etc.</p>
  227. <!-- Into text toggler -->
  228. <button type="button" class="intro-toggle">
  229. <!-- glyphicon glyphicon-minus-sign -->
  230. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  231. <span class="intro-toggle-text">Hide description</span>
  232. </button>
  233. <!-- Item list in the field -->
  234. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  235. <ul id="field_11" class="item_list sortable connectedList">
  236. <!-- html format of the added items: -->
  237. <!-- <li class="added_item">
  238. <span class=" handle glyphicon glyphicon-th"></span>
  239. <span class="glyphicon glyphicon-trash remove"></span>
  240. <textarea name="field_11[]">Item 1</textarea>
  241. </li> -->
  242. </ul>
  243. <!-- The Box With All User input Things -->
  244. <div class="add_box">
  245. <!-- # Add idea link -->
  246. <a class="add-idea" href="#">
  247. Add an idea
  248. </a>
  249. <!-- # User Input -->
  250. <div class="user-input">
  251. <label>Your Idea</label><br>
  252. <p>
  253. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  254. </p>
  255. <p class="chars-count">
  256. <span class="chars">100</span>
  257. characters remaining</p>
  258. <button type="button" class="add_btn">Add</button>
  259. </div>
  260. <!-- end of user input -->
  261. </div>
  262. <!-- end of add_box-->
  263. </div>
  264. <!-- end of .card -->
  265. </div>
  266. <div class="masonry-layout__panel">
  267. <div class="card field_12 masonry-layout__panel-content bg--darkblue">
  268. <h2 class="field-title">
  269. <!-- Field 12 -->
  270. Resolving Ethical Impacts
  271. </h2>
  272. <p class="intro">
  273. Select the four most important ethical impacts you discussed. Discuss ways of solving these impacts by changing your project’s product/service design, organisation or by providing recommendations.</p>
  274. <!-- Into text toggler -->
  275. <button type="button" class="intro-toggle">
  276. <!-- glyphicon glyphicon-minus-sign -->
  277. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  278. <span class="intro-toggle-text">Hide description</span>
  279. </button>
  280. <!-- Item list in the field -->
  281. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  282. <ul id="field_12" class="item_list sortable connectedList">
  283. <!-- html format of the added items: -->
  284. <!-- <li class="added_item">
  285. <span class=" handle glyphicon glyphicon-th"></span>
  286. <span class="glyphicon glyphicon-trash remove"></span>
  287. <textarea name="field_12[]">Item 1</textarea>
  288. </li> -->
  289. </ul>
  290. <!-- The Box With All User input Things -->
  291. <div class="add_box">
  292. <!-- # Add idea link -->
  293. <a class="add-idea" href="#">
  294. Add an idea
  295. </a>
  296. <!-- # User Input -->
  297. <div class="user-input">
  298. <label>Your Idea</label><br>
  299. <p>
  300. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  301. </p>
  302. <p class="chars-count">
  303. <span class="chars">100</span>
  304. characters remaining</p>
  305. <button type="button" class="add_btn">Add</button>
  306. </div>
  307. <!-- end of user input -->
  308. </div>
  309. <!-- end of add_box-->
  310. </div>
  311. <!-- end of .card -->
  312. </div>
  313. <div class="masonry-layout__panel">
  314. <div class="card field_07 masonry-layout__panel-content bg--green">
  315. <h2 class="field-title">
  316. <!-- Field 7 -->
  317. Group Interests
  318. </h2>
  319. <p class="intro">
  320. Relevant ethical interests that other groups might have in your project; such as environmental, privacy, justice interests.</p>
  321. <!-- Into text toggler -->
  322. <button type="button" class="intro-toggle">
  323. <!-- glyphicon glyphicon-minus-sign -->
  324. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  325. <span class="intro-toggle-text">Hide description</span>
  326. </button>
  327. <!-- Item list in the field -->
  328. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  329. <ul id="field_07" class="item_list sortable connectedList">
  330. <!-- html format of the added items: -->
  331. <!-- <li class="added_item">
  332. <span class=" handle glyphicon glyphicon-th"></span>
  333. <span class="glyphicon glyphicon-trash remove"></span>
  334. <textarea name="field_07[]">Item 1</textarea>
  335. </li> -->
  336. </ul>
  337. <!-- The Box With All User input Things -->
  338. <div class="add_box">
  339. <!-- # Add idea link -->
  340. <a class="add-idea" href="#">
  341. Add an idea
  342. </a>
  343. <!-- # User Input -->
  344. <div class="user-input">
  345. <label>Your Idea</label><br>
  346. <p>
  347. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  348. </p>
  349. <p class="chars-count">
  350. <span class="chars">100</span>
  351. characters remaining</p>
  352. <button type="button" class="add_btn">Add</button>
  353. </div>
  354. <!-- end of user input -->
  355. </div>
  356. <!-- end of add_box-->
  357. </div>
  358. <!-- end of .card -->
  359. </div>
  360. <div class="masonry-layout__panel">
  361. <div class="card field_08 masonry-layout__panel-content bg--seagreen">
  362. <h2 class="field-title">
  363. <!-- Field 8 -->
  364. Public Sphere
  365. </h2>
  366. <p class="intro">
  367. How the general perception of somebody’s role in society can be affected by the project, e.g. people behaving more individualistic or collectivist, people behaving more or less materialistic.</p>
  368. <!-- Into text toggler -->
  369. <button type="button" class="intro-toggle">
  370. <!-- glyphicon glyphicon-minus-sign -->
  371. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  372. <span class="intro-toggle-text">Hide description</span>
  373. </button>
  374. <!-- Item list in the field -->
  375. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  376. <ul id="field_08" class="item_list sortable connectedList">
  377. <!-- html format of the added items: -->
  378. <!-- <li class="added_item">
  379. <span class=" handle glyphicon glyphicon-th"></span>
  380. <span class="glyphicon glyphicon-trash remove"></span>
  381. <textarea name="field_08[]">Item 1</textarea>
  382. </li> -->
  383. </ul>
  384. <!-- The Box With All User input Things -->
  385. <div class="add_box">
  386. <!-- # Add idea link -->
  387. <a class="add-idea" href="#">
  388. Add an idea
  389. </a>
  390. <!-- # User Input -->
  391. <div class="user-input">
  392. <label>Your Idea</label><br>
  393. <p>
  394. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  395. </p>
  396. <p class="chars-count">
  397. <span class="chars">100</span>
  398. characters remaining</p>
  399. <button type="button" class="add_btn">Add</button>
  400. </div>
  401. <!-- end of user input -->
  402. </div>
  403. <!-- end of add_box-->
  404. </div>
  405. <!-- end of .card -->
  406. </div>
  407. <div class="masonry-layout__panel ">
  408. <div class="card field_02 masonry-layout__panel-content bg--purple ">
  409. <h2 class="field-title">
  410. <!-- Field 2 -->
  411. Organisations and Groups Affected
  412. </h2>
  413. <p class="intro">
  414. Relavant collective stakeholders that can be affected by your project, such as environmental and religious groups, competing companies and government agencies; considering any interest they might have in the effects of the project.</p>
  415. <!-- Into text toggler -->
  416. <button type="button" class="intro-toggle">
  417. <!-- glyphicon glyphicon-minus-sign -->
  418. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  419. <span class="intro-toggle-text">Hide description</span>
  420. </button>
  421. <!-- Item list in the field -->
  422. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  423. <ul id="field_02" class="item_list sortable connectedList">
  424. <!-- html format of the added items: -->
  425. <!-- <li class="added_item">
  426. <span class=" handle glyphicon glyphicon-th"></span>
  427. <span class="glyphicon glyphicon-trash remove"></span>
  428. <textarea name="field_02[]">Item 1</textarea>
  429. </li> -->
  430. </ul>
  431. <!-- The Box With All User input Things -->
  432. <div class="add_box">
  433. <!-- # Add idea link -->
  434. <a class="add-idea" href="#">
  435. Add an idea
  436. </a>
  437. <!-- # User Input -->
  438. <div class="user-input">
  439. <label>Your Idea</label><br>
  440. <p>
  441. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  442. </p>
  443. <p class="chars-count">
  444. <span class="chars">100</span>
  445. characters remaining</p>
  446. <button type="button" class="add_btn">Add</button>
  447. </div>
  448. <!-- end of user input -->
  449. </div>
  450. <!-- end of add_box-->
  451. </div>
  452. <!-- end of .card -->
  453. </div>
  454. </div>
  455. <!-- ================ 4 col ==================== -->
  456. <div class="masonry-layout4 " id="4-col-layout">
  457. <div class="masonry-layout__panel ">
  458. <div class="card field_03 masonry-layout__panel-content bg--seagreen ">
  459. <h2 class="field-title">
  460. <!-- Field 3 -->
  461. Products and Services provided
  462. </h2>
  463. <p class="intro">
  464. Discuss the different types of products and services that your project will provide.</p>
  465. <!-- Into text toggler -->
  466. <button type="button" class="intro-toggle">
  467. <!-- glyphicon glyphicon-minus-sign -->
  468. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  469. <span class="intro-toggle-text">Hide description</span>
  470. </button>
  471. <!-- Item list in the field -->
  472. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  473. <ul id="field_03" class="item_list sortable connectedList">
  474. <!-- html format of the added items: -->
  475. <!-- <li class="added_item">
  476. <span class=" handle glyphicon glyphicon-th"></span>
  477. <span class="glyphicon glyphicon-trash remove"></span>
  478. <textarea name="field_03[]">Item 1</textarea>
  479. </li> -->
  480. </ul>
  481. <!-- The Box With All User input Things -->
  482. <div class="add_box">
  483. <!-- # Add idea link -->
  484. <a class="add-idea" href="#">
  485. Add an idea
  486. </a>
  487. <!-- # User Input -->
  488. <div class="user-input">
  489. <label>Your Idea</label><br>
  490. <p>
  491. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  492. </p>
  493. <p class="chars-count">
  494. <span class="chars">100</span>
  495. characters remaining</p>
  496. <button type="button" class="add_btn">Add</button>
  497. </div>
  498. <!-- end of user input -->
  499. </div>
  500. <!-- end of add_box-->
  501. </div>
  502. <!-- end of .card -->
  503. </div>
  504. <div class="masonry-layout__panel">
  505. <div class="card field_09 masonry-layout__panel-content bg--blue ">
  506. <h2 class="field-title">
  507. <!-- Field 9 -->
  508. Impact of Product or Service Failure
  509. </h2>
  510. <p class="intro">
  511. Negative impacts of failure of your products or services such as technical failure, human failure, etc.</p>
  512. <!-- Into text toggler -->
  513. <button type="button" class="intro-toggle">
  514. <!-- glyphicon glyphicon-minus-sign -->
  515. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  516. <span class="intro-toggle-text">Hide description</span>
  517. </button>
  518. <!-- Item list in the field -->
  519. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  520. <ul id="field_09" class="item_list sortable connectedList">
  521. <!-- html format of the added items: -->
  522. <!-- <li class="added_item">
  523. <span class=" handle glyphicon glyphicon-th"></span>
  524. <span class="glyphicon glyphicon-trash remove"></span>
  525. <textarea name="field_09[]">Item 1</textarea>
  526. </li> -->
  527. </ul>
  528. <!-- The Box With All User input Things -->
  529. <div class="add_box">
  530. <!-- # Add idea link -->
  531. <a class="add-idea" href="#">
  532. Add an idea
  533. </a>
  534. <!-- # User Input -->
  535. <div class="user-input">
  536. <label>Your Idea</label><br>
  537. <p>
  538. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  539. </p>
  540. <p class="chars-count">
  541. <span class="chars">100</span>
  542. characters remaining</p>
  543. <button type="button" class="add_btn">Add</button>
  544. </div>
  545. <!-- end of user input -->
  546. </div>
  547. <!-- end of add_box-->
  548. </div>
  549. <!-- end of .card -->
  550. </div>
  551. <div class="masonry-layout__panel ">
  552. <div class="card field_10 masonry-layout__panel-content bg--green ">
  553. <h2 class="field-title">
  554. <!-- Field 10 -->
  555. Impact of Resource Consumption
  556. </h2>
  557. <p class="intro">
  558. Possible negative impacts of the consumption of resources of your project, e.g. climate impacts, privacy impacts, employment impacts.</p>
  559. <!-- Into text toggler -->
  560. <button type="button" class="intro-toggle">
  561. <!-- glyphicon glyphicon-minus-sign -->
  562. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  563. <span class="intro-toggle-text">Hide description</span>
  564. </button>
  565. <!-- Item list in the field -->
  566. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  567. <ul id="field_10" class="item_list sortable connectedList">
  568. <!-- html format of the added items: -->
  569. <!-- <li class="added_item">
  570. <span class=" handle glyphicon glyphicon-th"></span>
  571. <span class="glyphicon glyphicon-trash remove"></span>
  572. <textarea name="field_10[]">Item 1</textarea>
  573. </li> -->
  574. </ul>
  575. <!-- The Box With All User input Things -->
  576. <div class="add_box">
  577. <!-- # Add idea link -->
  578. <a class="add-idea" href="#">
  579. Add an idea
  580. </a>
  581. <!-- # User Input -->
  582. <div class="user-input">
  583. <label>Your Idea</label><br>
  584. <p>
  585. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  586. </p>
  587. <p class="chars-count">
  588. <span class="chars">100</span>
  589. characters remaining</p>
  590. <button type="button" class="add_btn">Add</button>
  591. </div>
  592. <!-- end of user input -->
  593. </div>
  594. <!-- end of add_box-->
  595. </div>
  596. <!-- end of .card -->
  597. </div>
  598. <div class="masonry-layout__panel ">
  599. <div class="card field_04 masonry-layout__panel-content bg--green1 ">
  600. <h2 class="field-title">
  601. <!-- Field 4 -->
  602. Resources Needed
  603. </h2>
  604. <p class="intro">
  605. The consumption of energy or raw materials, but also about the consumption of human resources for your project</p>
  606. <!-- Into text toggler -->
  607. <button type="button" class="intro-toggle">
  608. <!-- glyphicon glyphicon-minus-sign -->
  609. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  610. <span class="intro-toggle-text">Hide description</span>
  611. </button>
  612. <!-- Item list in the field -->
  613. <!-- the ul id is used in js code to give the right name attribute to the added cards (user input) -->
  614. <ul id="field_04" class="item_list sortable connectedList">
  615. <!-- html format of the added items: -->
  616. <!-- <li class="added_item">
  617. <span class=" handle glyphicon glyphicon-th"></span>
  618. <span class="glyphicon glyphicon-trash remove"></span>
  619. <textarea name="field_04[]">Item 1</textarea>
  620. </li> -->
  621. </ul>
  622. <!-- The Box With All User input Things -->
  623. <div class="add_box">
  624. <!-- # Add idea link -->
  625. <a class="add-idea" href="#">
  626. Add an idea
  627. </a>
  628. <!-- # User Input -->
  629. <div class="user-input">
  630. <label>Your Idea</label><br>
  631. <p>
  632. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  633. </p>
  634. <p class="chars-count">
  635. <span class="chars">100</span>
  636. characters remaining</p>
  637. <button type="button" class="add_btn">Add</button>
  638. </div>
  639. <!-- end of user input -->
  640. </div>
  641. <!-- end of add_box-->
  642. </div>
  643. <!-- end of .card -->
  644. </div>
  645. </div>
  646. </div>
  647. <!-- end of .canvas.box -->
  648. <!-- FORM BUTTON BOX -->
  649. <div class="row">
  650. <div class="imp-exp-btn col-md-4 col-md-offset-4">
  651. <!-- form buttons -->
  652. <?php if (!empty($name)) { ?>
  653. <p class="text-center">
  654. <!-- Export JSON and also save the canvas for the registered user -->
  655. <button class="json_exp" type="button" name="json_exp">Save This Canvas</button>
  656. </p>
  657. <!-- BEGIN SHARE CANVAS -->
  658. <p class="text-center">
  659. <button class="share_canvas" type="submit" name="share-canvas">Share This Canvas</button>
  660. </p>
  661. <div class="share_canvas_email text-center">
  662. <p>
  663. <label>Send this canvas to:</label>
  664. </p>
  665. <p>
  666. <input type="email" name="share-canvas-email" placeholder="type an email adress here..."/>
  667. </p>
  668. <p class="text-center">
  669. <button class="share_canvas_send" type="button" name="share-canvas-send">Send</button>
  670. </p>
  671. </div>
  672. <!-- END SHARE CANVAS -->
  673. <?php } else{?>
  674. <p class="text-center">
  675. <!-- Export JSON and also save the canvas for the registered user -->
  676. <a class="login-to-save" href="../index.html">Sign up or login to save your canvas</a>
  677. </p>
  678. <?php }?>
  679. <!-- BEGIN EXPORT PDF -->
  680. <p class="text-center">
  681. <input class="pdf_exp" type="submit" name="export-pdf" value="Download as PDF">
  682. </p>
  683. <!-- END EXPORT PDF -->
  684. </div>
  685. </div>
  686. </form>
  687. <!-- end of .form -->
  688. <!-- hidden place to show JSON info -->
  689. <pre id="result" class="text-center">
  690. </pre>
  691. <div class="row">
  692. <footer class="col-md-12 text-center">
  693. <div class="contact">
  694. <h2>Contact us:</h2>
  695. <p> hello@ethicscanvas.org </p>
  696. </div>
  697. <div class="license">
  698. <p>The Ethics Canvas is adapted from Alex Osterwalder’s Business Model Canvas.</p>
  699. <p>The Business Model Canvas is designed by: Business Model Foundry AG.
  700. </p>
  701. <p>
  702. This work is licensed under the Creative Commons Attribution-Share Alike 3.0 unported license.</p>
  703. <p class="cc"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> View a copy of this license on:</p>
  704. <p>
  705. <a href="https://creativecommons.org/licenses/by-sa/3.0/">creativecommons.org</a>
  706. </p>
  707. <p class="bmc"><span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
  708. View the original Business Model Canvas on:
  709. </p>
  710. <p>
  711. <a href="https://strategyzer.com/canvas">strategyzer.com</a>
  712. </p>
  713. </div>
  714. <div class="license-icons">
  715. <ul>
  716. <li><img src="../icon/by.large.png" alt="ethics-canvas-by-icon"/> </li>
  717. <li><img src="../icon/share.large.png" alt="ethics-canvas-share-icon"/> </li>
  718. <li><img src="../icon/cc.large.png" alt="ethics-canvas-cc-icon"/> </li>
  719. <li> <img src="../icon/remix.large.png" alt="ethics-canvas-remix-icon"/></li>
  720. <li> <img src="../icon/sa.large.png" alt="ethics-canvas-sa-icon"/></li>
  721. </ul>
  722. </div>
  723. <p class="ethics-copy terms"><a href="../privacy-terms/terms.html">Terms of Service</a></p>
  724. <p class="ethics-copy privacy"><a href="../privacy-terms/privacy.html">Privacy Policy</a></p>
  725. <p class="ethics-copy">The ADAPT Centre for Digital Content Technology</p> <p class="ethics-copy">is funded under the SFI Research Centres Programme (Grant 13/RC/2106).</p><p class="ethics-copy">It is co-funded under the European Regional Development Fund.</p>
  726. <p class="ethics-copy">Ethics Canvas v1.7|&copy; ADAPT Center & Trinity College Dublin & Dublin City University, 2016</p>
  727. </footer>
  728. </div>
  729. </div>
  730. <!-- end of container-fluid -->
  731. <!-- jQuery -->
  732. <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
  733. <!-- jquery UI -->
  734. <script src="https://code.jquery.com/ui/1.12.0-rc.2/jquery-ui.min.js" integrity="sha256-55Jz3pBCF8z9jBO1qQ7cIf0L+neuPTD1u7Ytzrp2dqo=" crossorigin="anonymous"></script>
  735. <!-- Bootstrap -->
  736. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
  737. <!-- The app javascript -->
  738. <script src="js/canvas.js" charset="utf-8"></script>
  739. <script language="javascript" type="text/javascript"></script>
  740. </body>
  741. </html>