index.php 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905
  1. <?php
  2. session_start();
  3. if (isset($_SESSION['userlogin'], $_SESSION['userfirstname'])) {
  4. $email = $_SESSION['userlogin'];
  5. $name = $_SESSION['userfirstname'];
  6. }
  7. if (isset($_SESSION['canvas_id'])) {
  8. $canvas_id = $_SESSION['canvas_id'];
  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. <meta name="description" content="Brainstorm about the ethical implications of your project and represent them in a canvas.">
  17. <meta name="keywords" content="ethics canvas, ethics, social entrepreneurship, research, innovation, privacy, business development, business model canvas, open source tools">
  18. <title>The Ethics Canvas</title>
  19. <!-- Favicon -->
  20. <link rel="icon" href="../icon/favicon.ico" />
  21. <!-- Bootstrap -->
  22. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous" />
  23. <!-- Google font -->
  24. <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css" />
  25. <!-- App style -->
  26. <link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css" />
  27. <link rel="stylesheet" type="text/css" href="css/canvas.css" />
  28. <!-- PHP variables have to be retieved here as js variable -->
  29. <script type="text/javascript">
  30. var email_save_canvas = '<?php echo $email; ?>';
  31. var user_save_canvas = '<?php echo $name; ?>';
  32. var current_canvas_id = '<?php echo $canvas_id; ?>';
  33. </script>
  34. </head>
  35. <body>
  36. <div class="container-fluid">
  37. <form class="canvas-form form" action="mpdf/canvas-pdf.php" method="post" target="_blank">
  38. <!-- Username -->
  39. <!-- <input type="hidden" name="username" value="<?php echo($email) ?>" /> -->
  40. <input type="hidden" name="username" value="dave.lewis@adaptcentre.ie" />
  41. <!-- Canvas Form Header -->
  42. <div class="form-header row text-center">
  43. <div class="col-md-3">
  44. <!-- Logo -->
  45. <h1 class="page_title">
  46. <a class="logo" href="../index.html">
  47. <img src="icons/logo-black-text.svg" alt="Online Ethics Canvas"/>
  48. </a>
  49. </h1>
  50. </div>
  51. <div class="col-md-3 ">
  52. <label class="project_title">Project Title</label>
  53. <input class="proj_title" name="field_00[]" type="text"/>
  54. </div>
  55. <div class="col-md-3 ">
  56. <label class="project_date">Date</label>
  57. <input class="proj_date" name="field_00[]" type="date"/>
  58. </div>
  59. <!-- Login coming soon -->
  60. <div class="col-md-3 ">
  61. <?php if (!empty($name)) { ?>
  62. <!-- Bootstrap dropdown component -->
  63. <div class="dropdown user-profile">
  64. <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
  65. <img src="../icon/profile.svg"/><span><?php echo $name; ?></span>
  66. <span class="caret"></span>
  67. </button>
  68. <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
  69. <li><a id="toDashboard" href="php/dashboard.php">Your Canvases</a></li>
  70. <!-- <li><a href="#">Something else here</a></li> -->
  71. <li role="separator" class="divider"></li>
  72. <li><a id="logout" href="#">Log Out</a></li>
  73. </ul>
  74. </div>
  75. <?php } ?>
  76. </div>
  77. </div>
  78. <!-- Jump to -->
  79. <div class="jump-to-click-area">&nbsp;</div>
  80. <div class="jump-to row">
  81. <div class="col-s-12">
  82. <label><img class="jump-to-img jump-to-arrow-0" src="icons/glyphicon-chevron-right.gif" />Jump to...</label>
  83. <!-- <a href="#"><label class="jump_to"><span class="jump-to-arrow glyphicon glyphicon-chevron-right"></span> Jump to...</label></a> -->
  84. <div class="jump-to-list">
  85. <hr />
  86. <ul>
  87. <li>
  88. <a href="#row_saved_tags">Saved tags</a>
  89. </li>
  90. <li>
  91. <a href="#panel_01">1.&nbsp;&nbsp;Individuals Affected</a>
  92. </li>
  93. <li>
  94. <a href="#panel_02">2.&nbsp;&nbsp;Groups Affected</a>
  95. </li>
  96. <li>
  97. <a href="#panel_03">3.&nbsp;&nbsp;Behaviour</a>
  98. </li>
  99. <li>
  100. <a href="#panel_04">4.&nbsp;&nbsp;Relations</a>
  101. </li>
  102. <li>
  103. <a href="#panel_05">5.&nbsp;&nbsp;Worldviews</a>
  104. </li>
  105. <li>
  106. <a href="#panel_06">6.&nbsp;&nbsp;Group Conflicts</a>
  107. </li>
  108. <li>
  109. <a href="#panel_07">7.&nbsp;&nbsp;Product or Service Failure</a>
  110. </li>
  111. <li>
  112. <a href="#panel_08">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  113. </li>
  114. <li>
  115. <a href="#panel_09">9.&nbsp;&nbsp;What can we do?</a>
  116. </li>
  117. </ul>
  118. </div>
  119. </div>
  120. </div>
  121. <!-- Saved tags -->
  122. <div class="saved-tags row" id="row_saved_tags">
  123. <div class="col-s-12">
  124. <label>Saved Tags</label>
  125. <p>You haven't added any tags yet.</p>
  126. </div>
  127. </div>
  128. <!-- LAYOUT -->
  129. <!-- ================ 7/5 col ================ -->
  130. <div class="canvas-box">
  131. <div class="masonry-layout7-5" id="7-5-col-layout">
  132. <div class="masonry-layout__panel" id="panel_01">
  133. <div class="card field_01 masonry-layout__panel-content bg--purple">
  134. <h2 class="field-title">
  135. <!-- FIELD -->
  136. <a href="#" data-toggle="tooltip" data-placement="left" title="Who use your product or service? Who are affected by it’s use? Are they men/women, of different ages, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Individuals Affected&nbsp;&nbsp;
  137. </h2>
  138. <!--
  139. <p class="intro">
  140. Who use your product or service? Who are affected by it’s use? Are they men/women, of different ages, etc?
  141. </p>
  142. -->
  143. <!-- Into text toggle -->
  144. <!-- <button type="button" class="intro-toggle"> -->
  145. <!-- glyphicon glyphicon-minus-sign -->
  146. <!--
  147. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  148. <span class="intro-toggle-text">Hide description</span>
  149. </button>
  150. -->
  151. <!-- Item list in the field -->
  152. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  153. <ul id="field_01" class="item_list sortable connectedList">
  154. </ul>
  155. <!-- The Box With All User input Thing -->
  156. <!-- # Tag selected term link -->
  157. <p class="tag-selected-term">
  158. <a href="#">
  159. Tag selected term
  160. </a>
  161. </p>
  162. <div class="add_box">
  163. <!-- # Add idea link -->
  164. <p>
  165. <a class="add-idea" href="#">
  166. Add an idea
  167. </a>
  168. </p>
  169. <!-- # User Input -->
  170. <div class="user-input">
  171. <label>Your Idea</label><br />
  172. <p>
  173. <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>
  174. </p>
  175. <p class="chars-count">
  176. <span class="chars">100</span>
  177. characters remaining
  178. </p>
  179. <button type="button" class="add_btn">Add</button>
  180. </div>
  181. <!-- End of user input -->
  182. </div>
  183. <!-- End of add_box -->
  184. <div class="field-bottom">
  185. <img src="./icons/field1.svg" alt="field1" />
  186. <img src="./icons/number1.svg" alt="number1" />
  187. </div>
  188. </div>
  189. <!-- End of .card -->
  190. </div>
  191. <div class="masonry-layout__panel" id="panel_03">
  192. <div class="card field_03 masonry-layout__panel-content bg--blue">
  193. <h2 class="field-title">
  194. <!-- FIELD -->
  195. <a href="#" data-toggle="tooltip" data-placement="left" title="How might people’s behaviour change because of your product or service? Their habits, time schedules, choice of activities, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Behaviour
  196. </h2>
  197. <!--
  198. <p class="intro">
  199. How might people’s behaviour change because of your product or service? Their habits, time schedules, choice of activities, etc?
  200. </p>
  201. -->
  202. <!-- Into text toggle -->
  203. <!-- <button type="button" class="intro-toggle"> -->
  204. <!-- glyphicon glyphicon-minus-sign -->
  205. <!--
  206. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  207. <span class="intro-toggle-text">Hide description</span>
  208. </button>
  209. -->
  210. <!-- Item list in the field -->
  211. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  212. <ul id="field_03" class="item_list sortable connectedList">
  213. </ul>
  214. <!-- The Box With All User input Thing -->
  215. <!-- # Tag selected term link -->
  216. <p class="tag-selected-term">
  217. <a href="#">
  218. Tag selected term
  219. </a>
  220. </p>
  221. <div class="add_box">
  222. <!-- # Add idea link -->
  223. <p>
  224. <a class="add-idea" href="#">
  225. Add an idea
  226. </a>
  227. </p>
  228. <!-- # User Input -->
  229. <div class="user-input">
  230. <label>Your Idea</label><br />
  231. <p>
  232. <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>
  233. </p>
  234. <p class="chars-count">
  235. <span class="chars">100</span>
  236. characters remaining
  237. </p>
  238. <button type="button" class="add_btn">Add</button>
  239. </div>
  240. <!-- End of user input -->
  241. </div>
  242. <!-- End of add_box -->
  243. <div class="field-bottom">
  244. <img src="./icons/field3.svg" alt="field3" />
  245. <img src="./icons/number3.svg" alt="number3" />
  246. </div>
  247. </div>
  248. <!-- End of .card -->
  249. </div>
  250. <div class="masonry-layout__panel" id="panel_04">
  251. <div class="card field_04 masonry-layout__panel-content bg--green">
  252. <h2 class="field-title">
  253. <!-- Field -->
  254. <a href="#" data-toggle="tooltip" data-placement="left" title="How might relations between people and groups change because of your product or service? Between friends, family members, co-workers, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Relations
  255. </h2>
  256. <!--
  257. <p class="intro">
  258. How might relations between people and groups change because of your product or service? Between friends, family members, co-workers, etc?
  259. </p>
  260. -->
  261. <!-- Into text toggle -->
  262. <!-- <button type="button" class="intro-toggle"> -->
  263. <!-- glyphicon glyphicon-minus-sign -->
  264. <!--
  265. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  266. <span class="intro-toggle-text">Hide description</span>
  267. </button>
  268. -->
  269. <!-- Item list in the field -->
  270. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  271. <ul id="field_04" class="item_list sortable connectedList">
  272. </ul>
  273. <!-- The Box With All User input Thing -->
  274. <!-- # Tag selected term link -->
  275. <p class="tag-selected-term">
  276. <a href="#">
  277. Tag selected term
  278. </a>
  279. </p>
  280. <div class="add_box">
  281. <!-- # Add idea link -->
  282. <p>
  283. <a class="add-idea" href="#">
  284. Add an idea
  285. </a>
  286. </p>
  287. <!-- # User Input -->
  288. <div class="user-input">
  289. <label>Your Idea</label><br />
  290. <p>
  291. <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>
  292. </p>
  293. <p class="chars-count">
  294. <span class="chars">100</span>
  295. characters remaining
  296. </p>
  297. <button type="button" class="add_btn">Add</button>
  298. </div>
  299. <!-- End of user input -->
  300. </div>
  301. <!-- End of add_box -->
  302. <div class="field-bottom">
  303. <img src="./icons/field4.svg" alt="field4" />
  304. <img src="./icons/number4.svg" alt="number4" />
  305. </div>
  306. </div>
  307. <!-- End of .card -->
  308. </div>
  309. <div class="masonry-layout__panel" id="panel_09">
  310. <div class="card field_09 masonry-layout__panel-content bg--darkblue">
  311. <h2 class="field-title">
  312. <!-- Field -->
  313. <a href="#" data-toggle="tooltip" data-placement="left" title="What are the most important ethical impacts you found? How can you address these by changing your design, organisation, or by proposing broader changes?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>What can we do?
  314. </h2>
  315. <!--
  316. <p class="intro">
  317. What are the most important ethical impacts you found? How can you address these by changing your design, organisation, or by proposing broader changes?
  318. </p>
  319. -->
  320. <!-- Into text toggle -->
  321. <!-- <button type="button" class="intro-toggle"> -->
  322. <!-- glyphicon glyphicon-minus-sign -->
  323. <!--
  324. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  325. <span class="intro-toggle-text">Hide description</span>
  326. </button>
  327. -->
  328. <!-- Item list in the field -->
  329. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  330. <ul id="field_09" class="item_list sortable connectedList">
  331. </ul>
  332. <!-- The Box With All User input Thing -->
  333. <!-- # Tag selected term link -->
  334. <p class="tag-selected-term">
  335. <a href="#">
  336. Tag selected term
  337. </a>
  338. </p>
  339. <div class="add_box">
  340. <!-- # Add idea link -->
  341. <p>
  342. <a class="add-idea" href="#">
  343. Add an idea
  344. </a>
  345. </p>
  346. <!-- # User Input -->
  347. <div class="user-input">
  348. <label>Your Idea</label><br />
  349. <p>
  350. <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>
  351. </p>
  352. <p class="chars-count">
  353. <span class="chars">100</span>
  354. characters remaining
  355. </p>
  356. <button type="button" class="add_btn">Add</button>
  357. </div>
  358. <!-- End of user input -->
  359. </div>
  360. <!-- End of add_box -->
  361. <div class="field-bottom">
  362. <img src="./icons/field9.svg" alt="field9" />
  363. <img src="./icons/number9.svg" alt="number9" />
  364. </div>
  365. </div>
  366. <!-- End of .card -->
  367. </div>
  368. <div class="masonry-layout__panel" id="panel_05">
  369. <div class="card field_05 masonry-layout__panel-content bg--seagreen">
  370. <h2 class="field-title">
  371. <!-- Field -->
  372. <a href="#" data-toggle="tooltip" data-placement="left" title="How might people’s worldviews be affected by your product or service? Their ideas about consumption, religion, work, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Worldviews
  373. </h2>
  374. <!--
  375. <p class="intro">
  376. How might people’s worldviews be affected by your product or service? Their ideas about consumption, religion, work, etc?
  377. </p>
  378. -->
  379. <!-- Into text toggle -->
  380. <!-- <button type="button" class="intro-toggle"> -->
  381. <!-- glyphicon glyphicon-minus-sign -->
  382. <!--
  383. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  384. <span class="intro-toggle-text">Hide description</span>
  385. </button>
  386. -->
  387. <!-- Item list in the field -->
  388. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  389. <ul id="field_05" class="item_list sortable connectedList">
  390. </ul>
  391. <!-- The Box With All User input Thing -->
  392. <!-- # Tag selected term link -->
  393. <p class="tag-selected-term">
  394. <a href="#">
  395. Tag selected term
  396. </a>
  397. </p>
  398. <div class="add_box">
  399. <!-- # Add idea link -->
  400. <p>
  401. <a class="add-idea" href="#">
  402. Add an idea
  403. </a>
  404. </p>
  405. <!-- # User Input -->
  406. <div class="user-input">
  407. <label>Your Idea</label><br />
  408. <p>
  409. <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>
  410. </p>
  411. <p class="chars-count">
  412. <span class="chars">100</span>
  413. characters remaining
  414. </p>
  415. <button type="button" class="add_btn">Add</button>
  416. </div>
  417. <!-- End of user input -->
  418. </div>
  419. <!-- End of add_box -->
  420. <div class="field-bottom">
  421. <img src="./icons/field5.svg" alt="field5" />
  422. <img src="./icons/number5.svg" alt="number5" />
  423. </div>
  424. </div>
  425. <!-- End of .card -->
  426. </div>
  427. <div class="masonry-layout__panel" id="panel_06">
  428. <div class="card field_06 masonry-layout__panel-content bg--green1">
  429. <h2 class="field-title">
  430. <!-- Field -->
  431. <a href="#" data-toggle="tooltip" data-placement="left" title="How might group conflict arise or be affected by your product or service? Could it disciminate between people, put them out of work, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Group Conflicts
  432. </h2>
  433. <!--
  434. <p class="intro">
  435. How might group conflict arise or be affected by your product or service? Could it disciminate between people, put them out of work, etc?
  436. </p>
  437. -->
  438. <!-- Into text toggle -->
  439. <!-- <button type="button" class="intro-toggle"> -->
  440. <!-- glyphicon glyphicon-minus-sign -->
  441. <!--
  442. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  443. <span class="intro-toggle-text">Hide description</span>
  444. </button>
  445. -->
  446. <!-- Item list in the field -->
  447. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  448. <ul id="field_06" class="item_list sortable connectedList">
  449. </ul>
  450. <!-- The Box With All User input Thing -->
  451. <!-- # Tag selected term link -->
  452. <p class="tag-selected-term">
  453. <a href="#">
  454. Tag selected term
  455. </a>
  456. </p>
  457. <div class="add_box">
  458. <!-- # Add idea link -->
  459. <p>
  460. <a class="add-idea" href="#">
  461. Add an idea
  462. </a>
  463. </p>
  464. <!-- # User Input -->
  465. <div class="user-input">
  466. <label>Your Idea</label><br />
  467. <p>
  468. <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>
  469. </p>
  470. <p class="chars-count">
  471. <span class="chars">100</span>
  472. characters remaining
  473. </p>
  474. <button type="button" class="add_btn">Add</button>
  475. </div>
  476. <!-- End of user input -->
  477. </div>
  478. <!-- End of add_box -->
  479. <div class="field-bottom">
  480. <img src="./icons/field6.svg" alt="field6" />
  481. <img src="./icons/number6.svg" alt="number6" />
  482. </div>
  483. </div>
  484. <!-- End of .card -->
  485. </div>
  486. <div class="masonry-layout__panel" id="panel_02">
  487. <div class="card field_02 masonry-layout__panel-content bg--purple">
  488. <h2 class="field-title">
  489. <!-- Field -->
  490. <a href="#" data-toggle="tooltip" data-placement="left" title="Which groups are involved in the design, production, distribution and use of your product or service? Which groups might be affected by it? Are these work-related organisation, interest groups, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Groups Affected
  491. </h2>
  492. <!--
  493. <p class="intro">
  494. Which groups are involved in the design, production, distribution and use of your product or service? Which groups might be affected by it? Are these work-related organisation, interest groups, etc?
  495. </p>
  496. -->
  497. <!-- Into text toggle -->
  498. <!-- <button type="button" class="intro-toggle"> -->
  499. <!-- glyphicon glyphicon-minus-sign -->
  500. <!--
  501. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  502. <span class="intro-toggle-text">Hide description</span>
  503. </button>
  504. -->
  505. <!-- Item list in the field -->
  506. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  507. <ul id="field_02" class="item_list sortable connectedList">
  508. </ul>
  509. <!-- The Box With All User input Thing -->
  510. <!-- # Tag selected term link -->
  511. <p class="tag-selected-term">
  512. <a href="#">
  513. Tag selected term
  514. </a>
  515. </p>
  516. <div class="add_box">
  517. <!-- # Add idea link -->
  518. <p>
  519. <a class="add-idea" href="#">
  520. Add an idea
  521. </a>
  522. </p>
  523. <!-- # User Input -->
  524. <div class="user-input">
  525. <label>Your Idea</label><br />
  526. <p>
  527. <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>
  528. </p>
  529. <p class="chars-count">
  530. <span class="chars">100</span>
  531. characters remaining
  532. </p>
  533. <button type="button" class="add_btn">Add</button>
  534. </div>
  535. <!-- End of user input -->
  536. </div>
  537. <!-- End of add_box -->
  538. <div class="field-bottom">
  539. <img src="./icons/field2.svg" alt="field2" />
  540. <img src="./icons/number2.svg" alt="number2" />
  541. </div>
  542. </div>
  543. <!-- End of .card -->
  544. </div>
  545. </div>
  546. <!-- ================ 4 col ================ -->
  547. <div class="masonry-layout2" id="2-col-layout">
  548. <div class="masonry-layout__panel" id="panel_07">
  549. <div class="card field_07 masonry-layout__panel-content bg--blue">
  550. <h2 class="field-title">
  551. <!-- Field -->
  552. <a href="#" data-toggle="tooltip" data-placement="left" title="What are potential negative impact of your product or service failing to operate or to be used as intended? What happens with technical errors, security failures, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Product or Service Failure
  553. </h2>
  554. <!--
  555. <p class="intro">
  556. What are potential negative impact of your product or service failing to operate or to be used as intended?
  557. What happens with technical errors, security failures, etc?
  558. </p>
  559. -->
  560. <!-- Into text toggle -->
  561. <!-- <button type="button" class="intro-toggle"> -->
  562. <!-- glyphicon glyphicon-minus-sign -->
  563. <!--
  564. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  565. <span class="intro-toggle-text">Hide description</span>
  566. </button>
  567. -->
  568. <!-- Item list in the field -->
  569. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  570. <ul id="field_07" class="item_list sortable connectedList">
  571. </ul>
  572. <!-- The Box With All User input Thing -->
  573. <!-- # Tag selected term link -->
  574. <p class="tag-selected-term">
  575. <a href="#">
  576. Tag selected term
  577. </a>
  578. </p>
  579. <div class="add_box">
  580. <!-- # Add idea link -->
  581. <p>
  582. <a class="add-idea" href="#">
  583. Add an idea
  584. </a>
  585. </p>
  586. <!-- # User Input -->
  587. <div class="user-input">
  588. <label>Your Idea</label><br />
  589. <p>
  590. <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>
  591. </p>
  592. <p class="chars-count">
  593. <span class="chars">100</span>
  594. characters remaining
  595. </p>
  596. <button type="button" class="add_btn">Add</button>
  597. </div>
  598. <!-- End of user input -->
  599. </div>
  600. <!-- End of add_box -->
  601. <div class="field-bottom">
  602. <img src="./icons/field7.svg" alt="field7" />
  603. <img src="./icons/number7.svg" alt="number7" />
  604. </div>
  605. </div>
  606. <!-- End of .card -->
  607. </div>
  608. <div class="masonry-layout__panel" id="panel_08">
  609. <div class="card field_08 masonry-layout__panel-content bg--green">
  610. <h2 class="field-title">
  611. <!-- Field -->
  612. <a href="#" data-toggle="tooltip" data-placement="left" title="What are potential negative impacts of the consumption of resources relating to your project? What happens with its use of energy, personal data, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Problematic Use of Resources
  613. </h2>
  614. <!--
  615. <p class="intro">
  616. What are potential negative impacts of the consumption of resources relating to your project? What happens with its use of energy, personal data, etc?
  617. </p>
  618. -->
  619. <!-- Into text toggle -->
  620. <!-- <button type="button" class="intro-toggle"> -->
  621. <!-- glyphicon glyphicon-minus-sign -->
  622. <!--
  623. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  624. <span class="intro-toggle-text">Hide description</span>
  625. </button>
  626. -->
  627. <!-- Item list in the field -->
  628. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  629. <ul id="field_08" class="item_list sortable connectedList">
  630. </ul>
  631. <!-- The Box With All User input Thing -->
  632. <!-- # Tag selected term link -->
  633. <p class="tag-selected-term">
  634. <a href="#">
  635. Tag selected term
  636. </a>
  637. </p>
  638. <div class="add_box">
  639. <!-- # Add idea link -->
  640. <p>
  641. <a class="add-idea" href="#">
  642. Add an idea
  643. </a>
  644. </p>
  645. <!-- # User Input -->
  646. <div class="user-input">
  647. <label>Your Idea</label><br />
  648. <p>
  649. <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>
  650. </p>
  651. <p class="chars-count">
  652. <span class="chars">100</span>
  653. characters remaining
  654. </p>
  655. <button type="button" class="add_btn">Add</button>
  656. </div>
  657. <!-- End of user input -->
  658. </div>
  659. <!-- End of add_box -->
  660. <div class="field-bottom">
  661. <img src="./icons/field8.svg" alt="field8" />
  662. <img src="./icons/number8.svg" alt="number8" />
  663. </div>
  664. </div>
  665. <!-- End of .card -->
  666. </div>
  667. </div>
  668. </div>
  669. <!-- End of .canvas.box -->
  670. <!-- FORM BUTTON BOX -->
  671. <div class="row">
  672. <div class="imp-exp-btn col-md-4 col-md-offset-4">
  673. <!-- Form button -->
  674. <?php if (!empty($name)) { ?>
  675. <p class="text-center">
  676. <!-- Export JSON and also save the canvas for the registered user -->
  677. <button class="json_exp" type="button" name="json_exp">Save This Canvas</button>
  678. </p>
  679. <!-- BEGIN SHARE CANVAS -->
  680. <p class="text-center">
  681. <button class="share_canvas" type="submit" name="share-canvas">Share This Canvas</button>
  682. </p>
  683. <div class="share_canvas_email text-center">
  684. <p>
  685. <label>Send this canvas to:</label>
  686. </p>
  687. <p>
  688. <input type="email" name="share-canvas-email" placeholder="type an email adress here..."/>
  689. </p>
  690. <p class="text-center">
  691. <button class="share_canvas_send" type="button" name="share-canvas-send">Send</button>
  692. </p>
  693. </div>
  694. <!-- END SHARE CANVAS -->
  695. <?php } else { ?>
  696. <p class="text-center">
  697. <!-- Export JSON and also save the canvas for the registered user -->
  698. <a class="login-to-save" href="../index.html">Sign&nbsp;up&nbsp;or&nbsp;login to&nbsp;save&nbsp;your&nbsp;canvas</a>
  699. </p>
  700. <?php }?>
  701. <!-- BEGIN EXPORT PDF -->
  702. <p class="text-center">
  703. <input class="pdf_exp" type="submit" name="export-pdf" value="Download as PDF">
  704. </p>
  705. <!-- END EXPORT PDF -->
  706. </div>
  707. </div>
  708. <!-- Start of move-window -->
  709. <div class="window" id="move-window">
  710. <button type="button" class="close" aria-label="Close">
  711. <span aria-hidden="true">&times;</span>
  712. </button>
  713. <h2>Move idea to...</h2>
  714. <ul>
  715. <li>
  716. <a href="#">1.&nbsp;&nbsp;Individuals Affected</a>
  717. </li>
  718. <li>
  719. <a href="#">2.&nbsp;&nbsp;Groups Affected</a>
  720. </li>
  721. <li>
  722. <a href="#">3.&nbsp;&nbsp;Behaviour</a>
  723. </li>
  724. <li>
  725. <a href="#">4.&nbsp;&nbsp;Relations</a>
  726. </li>
  727. <li>
  728. <a href="#">5.&nbsp;&nbsp;Worldviews</a>
  729. </li>
  730. <li>
  731. <a href="#">6.&nbsp;&nbsp;Group Conflicts</a>
  732. </li>
  733. <li>
  734. <a href="#">7.&nbsp;&nbsp;Product or Service Failure</a>
  735. </li>
  736. <li>
  737. <a href="#">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  738. </li>
  739. <li>
  740. <a href="#">9.&nbsp;&nbsp;What can we do?</a>
  741. </li>
  742. </ul>
  743. <!--
  744. <h2 id="tag-description">
  745. Tag description
  746. </h2>
  747. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  748. <p class="chars-count">
  749. <span class="chars">200</span>
  750. characters remaining
  751. </p>
  752. <button type="button" class="move-window-button" id="save-tag">Save tag</button>&nbsp;
  753. <button type="button" class="move-window-button" id="delete-tag">Delete tag</button>
  754. <h2 class="similar-tags">Similar tags by other users</h2>
  755. <p class='similar-tags-description-none'>No similar tags could be found!</p>
  756. -->
  757. </div>
  758. <!-- End of move-window -->
  759. <!-- Start of tag-window -->
  760. <div class="window" id="tag-window">
  761. <button type="button" class="close" aria-label="Close">
  762. <span aria-hidden="true">&times;</span>
  763. </button>
  764. <h2 id="tag-description">
  765. Tag description
  766. </h2>
  767. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  768. <p class="chars-count">
  769. <span class="chars">200</span>
  770. characters remaining
  771. </p>
  772. <button type="button" class="tag-window-button" id="save-tag">Save tag</button>&nbsp;
  773. <button type="button" class="tag-window-button" id="delete-tag">Delete tag</button>
  774. <h2 class="similar-tags">Similar tags by other users</h2>
  775. <p class='similar-tags-description-none'>No similar tags could be found!</p>
  776. </div>
  777. <!-- End of tag-window -->
  778. </form>
  779. <!-- End of .form -->
  780. <!-- Hidden place to show JSON info -->
  781. <pre id="result" class="text-center">
  782. </pre>
  783. <div class="row">
  784. <footer class="col-md-12 text-center">
  785. <div class="contact">
  786. <h2>Contact us:</h2>
  787. <p> hello@ethicscanvas.org </p>
  788. </div>
  789. <div class="license">
  790. <p>The Ethics Canvas is adapted from Alex Osterwalder’s Business Model Canvas.</p>
  791. <p>The Business Model Canvas is designed by: Business Model Foundry AG.
  792. </p>
  793. <p>
  794. This work is licensed under the Creative Commons Attribution-Share Alike 3.0 unported license.</p>
  795. <p class="cc"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> View a copy of this license on:</p>
  796. <p>
  797. <a href="https://creativecommons.org/licenses/by-sa/3.0/">creativecommons.org</a>
  798. </p>
  799. <p class="bmc"><span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
  800. View the original Business Model Canvas on:
  801. </p>
  802. <p>
  803. <a href="https://strategyzer.com/canvas">strategyzer.com</a>
  804. </p>
  805. </div>
  806. <div class="license-icons">
  807. <ul>
  808. <li><img src="../icon/by.large.png" alt="ethics-canvas-by-icon"/> </li>
  809. <li><img src="../icon/share.large.png" alt="ethics-canvas-share-icon"/> </li>
  810. <li><img src="../icon/cc.large.png" alt="ethics-canvas-cc-icon"/> </li>
  811. <li> <img src="../icon/remix.large.png" alt="ethics-canvas-remix-icon"/></li>
  812. <li> <img src="../icon/sa.large.png" alt="ethics-canvas-sa-icon"/></li>
  813. </ul>
  814. </div>
  815. <p class="ethics-copy terms"><a href="../privacy-terms/terms.html">Terms of Service</a></p>
  816. <p class="ethics-copy privacy"><a href="../privacy-terms/privacy.html">Privacy Policy</a></p>
  817. <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>
  818. <p class="ethics-copy">Ethics Canvas v1.7|&copy; ADAPT Center &amp; Trinity College Dublin &amp; Dublin City University, 2016</p>
  819. </footer>
  820. </div>
  821. </div>
  822. <!-- End of container-fluid -->
  823. <!-- Start of dialogs -->
  824. <div id="shadow">&nbsp;</div>
  825. <div class="dialog" id="dialog-log-in">
  826. <div class="dialog-header">
  827. <button type="button" class="close" aria-label="Close">
  828. <span aria-hidden="true">&times;</span>
  829. </button>
  830. <h2>
  831. Please log in
  832. </h2>
  833. </div>
  834. <div class="dialog-content"><p>Please log in to use this function.</p></div>
  835. </div>
  836. <div class="dialog" id="dialog-select-term">
  837. <div class="dialog-header">
  838. <button type="button" class="close" aria-label="Close">
  839. <span aria-hidden="true">&times;</span>
  840. </button>
  841. <h2>
  842. Please select term
  843. </h2>
  844. </div>
  845. <div class="dialog-content"><p>Please select a term to be tagged.</p></div>
  846. </div>
  847. <!--
  848. <div class="dialog" id="dialog-tag-already-exists" title="Tag already exists">
  849. <p>The tag already exists!</p>
  850. </div>
  851. -->
  852. <!-- End of ialogs -->
  853. <!-- jQuery -->
  854. <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
  855. <!-- jquery UI -->
  856. <script src="https://code.jquery.com/ui/1.12.0-rc.2/jquery-ui.min.js" integrity="sha256-55Jz3pBCF8z9jBO1qQ7cIf0L+neuPTD1u7Ytzrp2dqo=" crossorigin="anonymous"></script>
  857. <!-- Bootstrap -->
  858. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
  859. <!-- Bootstrap -->
  860. <script src="js/jquery-fieldselection.min.js"></script>
  861. <!-- The app javascript -->
  862. <script src="js/canvas.js" charset="utf-8"></script>
  863. <script language="javascript" type="text/javascript"></script>
  864. </body>
  865. </html>